1 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
8 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
14 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
17 2014-10-08 Joseph Myers <joseph@codesourcery.com>
20 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
21 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
23 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
24 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
26 (__adjtimex): Define using libc_hidden_ver.
27 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
29 (ntp_gettime): Call __adjtimex directly.
30 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
32 (ntp_gettimex): Call __adjtimex directly.
33 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
34 __adjtimex_internal alias.
36 2014-10-08 Roland McGrath <roland@hack.frob.com>
39 * nscd/nscd.c (more_help): Rewrite list of tables collection
40 using xstrdup and asprintf.
42 * nscd/nscd_conf.c: Remove local xstrdup declaration.
44 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45 Roland McGrath <roland@hack.frob.com>
47 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
48 (do_lookup_unique): ... local function 'enter' here; update callers.
50 2014-10-06 Joseph Myers <joseph@codesourcery.com>
52 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
53 compat_symbol calls on [SHARED].
54 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
55 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
57 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
58 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
59 (oldsetrlimit): Remove.
60 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
61 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
62 (lchown): New syscall entry.
63 (oldsetrlimit): Remove.
64 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
65 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
66 (oldsetrlimit): Remove.
67 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
70 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
71 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
72 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
73 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
74 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
75 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
77 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
79 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
82 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
85 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
86 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
87 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
88 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
90 (__old_sem_post): Likewise.
92 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
94 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
95 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
96 HAVE_CLOCK_GETTIME_VSYSCALL macros.
97 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
98 Use INLINE_VSYSCALL macro.
99 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
100 __vdso_clock_gettime.
101 * sysdeps/unix/sysv/linux/tile/init-first.c
102 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
103 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
104 __vdso_clock_gettime.
106 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
107 to set up frame more cleanly.
109 * sysdeps/tile/memcmp.c: New file.
111 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
113 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
114 * sysdeps/tile/tilegx/strcasestr.c: New file.
115 * sysdeps/tile/tilegx/strnlen.c: New file.
116 * sysdeps/tile/tilegx/strstr.c: New file.
118 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
120 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
122 * nptl/tst-setuid3.c: Write errors to stdout.
124 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
127 (preload): New functions broken out of _dl_map_object_deps.
128 (_dl_map_object_deps): Remove a nested function. Update call sites.
130 2014-10-01 Joseph Myers <joseph@codesourcery.com>
133 * sysdeps/unix/sysv/linux/execve.c: Remove file.
134 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
136 2014-10-01 Steve Ellcey <sellcey@mips.com>
138 * sysdeps/mips/strcmp.S: New.
140 2014-09-30 Joseph Myers <joseph@codesourcery.com>
143 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
146 (readlinkat): Likewise.
147 (renameat): Likewise.
148 (symlinkat): Likewise.
149 (unlinkat): Likewise.
150 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
151 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
152 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
153 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
154 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
155 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
156 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
158 2014-09-30 Will Newton <will.newton@linaro.org>
160 * math/math.h: Define long double math functions if
161 _LIBC_TEST is defined.
162 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
164 * localedata/Makefile: Move assignment to tests-special
165 into an ifdef testing run-built-tests.
166 * timezone/Makefile: Likewise.
168 2014-09-29 Joseph Myers <joseph@codesourcery.com>
170 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
171 with $(BASH) not $(SHELL).
173 2014-09-29 Carlos O'Donell <carlos@redhat.com>
174 Matthew LeGendre <legendre1@llnl.gov>
177 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
180 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
182 * stdio-common/printf_fp.c
183 (hack_digit): New function, broken out of ...
184 (__printf_fp): ... local function here. Update call sites.
185 hack_digit now takes an additional parameter that is a pointer
186 to a struct of the referenced locals. Those locals moved inside
187 the struct and references updated.
189 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
191 * aclocal.m4: Require autoconf 2.69.
192 * configure: Regenerated.
193 * sysdeps/aarch64/configure: Likewise.
194 * sysdeps/alpha/configure: Likewise.
195 * sysdeps/arm/armv7/configure: Likewise.
196 * sysdeps/arm/configure: Likewise.
197 * sysdeps/ia64/configure: Likewise.
198 * sysdeps/mach/configure: Likewise.
199 * sysdeps/mips/configure: Likewise.
200 * sysdeps/s390/configure: Likewise.
201 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
204 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
206 * sysdeps/ia64/configure.ac: Likewise.
208 2014-09-26 Joseph Myers <joseph@codesourcery.com>
210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
211 specify symbol version for ld.so. Do not include entry for
213 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
214 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
215 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
218 * Makeconfig [$(build-shared) = yes]
219 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
221 [$(build-shared) = yes && $(soversions.mk-done) = t]
222 ($(common-objpfx)gnu/lib-names.h): Remove rule.
223 [$(build-shared) = yes && $(soversions.mk-done) = t]
224 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
226 [$(build-shared) = yes && $(soversions.mk-done) = t]
227 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
229 [$(build-shared) = yes && $(soversions.mk-done) = t]
230 (common-generated): Don't append gnu/lib-names.h and
231 gnu/lib-names.stmp here.
232 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
233 (lib-names-h-abi): New variable.
234 [$(build-shared) = yes && $(soversions.mk-done) = t]
235 (lib-names-stmp-abi): Likewise.
236 [$(build-shared) = yes && $(soversions.mk-done) = t &&
237 abi-variants] (before-compile): Append
238 $(common-objpfx)$(lib-names-h-abi).
239 [$(build-shared) = yes && $(soversions.mk-done) = t &&
240 abi-variants] (common-generated): Append gnu/lib-names.h.
241 [$(build-shared) = yes && $(soversions.mk-done) = t &&
242 abi-variants] (install-others-nosubdir): Depend on
243 $(inst_includedir)/$(lib-names-h-abi).
244 [$(build-shared) = yes && $(soversions.mk-done) = t &&
245 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
246 [$(build-shared) = yes && $(soversions.mk-done) = t]
247 ($(common-objpfx)$(lib-names-h-abi)): New rule.
248 [$(build-shared) = yes && $(soversions.mk-done) = t]
249 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
250 [$(build-shared) = yes && $(soversions.mk-done) = t]
251 (common-generated): Append $(lib-names-h-abi) and
252 $(lib-names-stmp-abi).
253 * scripts/lib-names.awk: Do not handle multi being set.
254 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
256 (abi-lp64_be-ld-soname): Likewise.
257 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
259 (abi-hard-ld-soname): Likewise.
260 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
261 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
263 (abi-o32_hard-ld-soname): Likewise.
264 (abi-o32_soft_2008-ld-soname): Likewise.
265 (abi-o32_hard_2008-ld-soname): Likewise.
266 (abi-n32_soft-ld-soname): Likewise.
267 (abi-n32_hard-ld-soname): Likewise.
268 (abi-n32_soft_2008-ld-soname): Likewise.
269 (abi-n32_hard_2008-ld-soname): Likewise.
270 (abi-n64_soft-ld-soname): Likewise.
271 (abi-n64_hard-ld-soname): Likewise.
272 (abi-n64_soft_2008-ld-soname): Likewise.
273 (abi-n64_hard_2008-ld-soname): Likewise.
274 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
276 (abi-64-v2-ld-soname): Likewise.
277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
279 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
281 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
283 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
285 (abi-64-ld-soname): Likewise.
286 (abi-x32-ld-soname): Likewise.
287 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
289 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
291 2014-09-23 Joseph Myers <joseph@codesourcery.com>
294 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
295 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
296 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
297 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
298 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
299 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
300 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
301 syscall entry for GLIBC_2.2 symbol version.
302 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
305 (setrlimit): Likewise.
306 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
309 2014-09-23 Will Newton <will.newton@linaro.org>
311 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
312 _LINUX_ARM_SYSDEP_H include guard too.
313 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
316 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
318 * sysdeps/unix/sysv/linux/eventfd.c:
319 Make first argument unsigned.
320 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
321 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
323 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
325 * socket/recvmmsg.c (recvmmsg): Drop const argument.
326 * socket/sys/socket.h: Likewise
327 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
329 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
331 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
333 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
335 * time/tst-ftime.c: New test.
336 * time/Makefile (tests): Add tst-ftime.
338 2014-09-17 Joseph Myers <joseph@codesourcery.com>
340 * soft-fp/extended.h: Fix comment formatting.
341 * soft-fp/op-1.h: Likewise.
342 * soft-fp/op-2.h: Likewise.
343 * soft-fp/op-4.h: Likewise.
344 * soft-fp/op-8.h: Likewise.
345 * soft-fp/op-common.h: Likewise.
346 * soft-fp/soft-fp.h: Likewise.
348 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
350 2014-09-16 Joseph Myers <joseph@codesourcery.com>
353 * Makeconfig (soversions-default-setname): Remove variable.
354 ($(common-objpfx)soversions.i): Don't pass default_setname to
356 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
357 oldest_abi to abi-versions.awk.
358 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
359 * config.make.in (oldest-abi): Remove variable.
360 * configure.ac (--enable-oldest-abi): Remove configure option.
361 * configure: Regenerated.
362 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
364 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
365 * scripts/soversions.awk: Do not handle default_setname variable.
366 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
368 * sysdeps/mach/hurd/configure: Regenerated.
369 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
371 * sysdeps/unix/sysv/linux/configure: Regenerated.
373 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
375 * elf/Makefile (CFLAGS-interp.c): Remove.
376 ($(elf-objpfx)runtime-linker.h): Generate header with linker
378 * elf/interp.c: Include generated runtime-linker.h
380 * Makerules (lib%.so): Don't include $(+interp) in
382 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
383 * dlfcn/eval.c: Remove file.
385 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
389 * misc/sys/cdefs.h: Define __extern_always_inline for clang
393 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
395 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
396 Jakub Jelinek <jakub@redhat.com>
399 * libio/stdio.h: Check definition of __fortify_function
400 instead of __extern_always_inline to include bits/stdio2.h.
401 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
402 check if __extern_always_inline is defined.
403 [__USE_MISC || __USE_XOPEN]: Likewise.
404 [__USE_ISOC99] Likewise.
405 * misc/sys/cdefs.h (__fortify_function): Define only if
406 __extern_always_inline is defined.
407 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
408 __extern_always_inline and __extern_inline only for g++-4.3
409 and newer or a compatible gcc.
411 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
414 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
415 last change to handle zero prefix length.
417 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
419 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
422 * posix/getconf.c (vars): Add _POSIX_IPV6 and
425 2014-09-13 Allan McRae <allan@archlinux.org>
427 * po/ru.po: Update Russian translation from translation project.
429 2014-09-12 Roland McGrath <roland@hack.frob.com>
431 * locale/programs/locale.c (show_locale_vars): Inline local function
432 into its sole call site. Clean up some style nits.
433 (print_item): New function, broken out of ...
434 (show_info): ... local function here. Clean up style nits.
436 * locale/programs/ld-ctype.c (set_one_default): New function, broken
438 (set_class_defaults): ... local function set_default here.
439 Define set_default as a macro locally to pass constant parameters.
440 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
441 rather than a shared local.
443 * stdlib/rpmatch.c (try): New function, broken out of ...
444 (rpmatch): ... local function here. Also, prototypify definition.
446 2014-09-12 Joseph Myers <joseph@codesourcery.com>
448 * scripts/soversions.awk: Do not handle configuration names.
449 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
450 vendor and os variables to soversions.awk.
451 * configure.ac: Do not modify gnu-* host_os.
452 * configure: Regenerated
453 * shlib-versions: Remove first column with configuration names.
454 * nptl/shlib-versions: Likewise.
455 * nptl_db/shlib-versions: Likewise.
456 * sysdeps/hppa/shlib-versions: Likewise.
457 * sysdeps/m68k/shlib-versions: Likewise.
458 * sysdeps/mach/hurd/shlib-versions: Likewise.
459 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
460 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
461 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
462 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
463 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
464 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
465 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
466 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
469 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
470 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
471 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
472 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
473 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
474 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
475 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
476 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
479 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
482 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
484 Condition symbol version definitions on [HAVE_ELFV2_ABI].
486 * shlib-versions: Remove OS-specific entries. Moved to files in
488 * sysdeps/mach/hurd/shlib-versions: New file.
489 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
491 * nptl/shlib-versions: Remove architecture-specific entries.
492 Moved to files in sysdeps.
493 * shlib-versions: Likewise.
494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
496 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
497 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
498 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
499 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
501 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
502 (UDP_NO_CHECK6_RX): Likewise.
504 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
506 * sysdeps/posix/sysconf.c (__sysconf): Spell
507 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
509 2014-08-12 Florian Weimer <fweimer@redhat.com>
511 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
513 * iconv/Versions (__gconv_transliterate): Export for use from
515 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
516 (struct __gconv_trans_data, __gconv_trans_fct,
517 __gconv_trans_context_fct, __gconv_trans_query_fct,
518 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
520 (struct __gconv_step_data): Remove __trans member.
521 (__gconv_transliterate): Declaration moved from gconv_int.h. No
522 longer hidden. Remove unused trans_data argument.
523 * iconv/gconv_int.h (struct trans_struct): Remove definition.
524 (__gconv_translit_find): Remove declaration.
525 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
527 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
528 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
529 trans_data argument. Add hidden definition.
530 (__gconv_translit_find): Remove.
531 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
532 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
533 * iconv/skeleton.c: Remove transliteration initialization.
534 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
535 __gconv_step_data initialization.
536 * libio/iofwide.c (__libio_translit_): Remove.
537 (_IO_fwide): Adjust struct __gconv_step_data initialization.
538 * wcsmbs/btowc.c (__btowc): Likewise.
539 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
540 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
541 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
542 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
543 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
544 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
545 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
546 * wcsmbs/wctob.c (wctob): Likewise.
548 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
551 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
552 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
554 * sysdeps/x86/Makefile: Adjust.
556 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
557 Roland McGrath <roland@hack.frob.com>
559 * locale/weight.h: Add include guard.
560 (findidx): Make static rather than auto; take new parameters
561 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
562 * locale/weightwc.h: Likewise.
563 * posix/fnmatch_loop.c
564 (FCT): Change type of EXTRA from int32_t to wint_t.
565 Don't include either header inside the function.
566 Call FINDIDX rather than findidx, and pass new arguments.
567 #undef FINDIDX at the end of the file.
568 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
569 FINDIDX before including fnmatch_loop.c for the non-wide version.
570 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
571 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
572 for the wide version.
573 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
574 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
575 Pass new arguments to findidx.
576 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
577 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
578 Don't #include it inside the function. Pass new arguments to findidx.
579 * posix/regex_internal.h
580 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
581 (re_string_elem_size_at): Don't #include it inside the function.
582 Pass new arguments to findidx.
583 * string/strcoll_l.c: #include WEIGHT_H at top level.
584 (get_next_seq): Don't #include it inside the function.
585 Pass new arguments to findidx.
586 (get_next_seq_nocache): Likewise.
587 * string/strxfrm_l.c: #include WEIGHT_H at top level.
588 (STRXFRM): Don't #include it inside the function.
589 Pass new arguments to findidx.
591 2014-09-11 Florian Weimer <fweimer@redhat.com>
594 * malloc/malloc.c (unlink): Turn asserts into a call to
597 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
600 * libio/wfileops (do_ftell_wide): Free OUT.
602 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
604 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
606 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
609 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
610 group if the current group is empty.
612 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
614 * benchtests/bench-memset.c (test_main): Add more test from size
615 from 32 to 512 bytes.
616 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
617 Add POWER8 memset object.
618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
619 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
620 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
622 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
624 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
625 multiarch POWER8 memset optimization.
626 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
627 POWER8 memset optimization.
629 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
630 Remove bzero multiarch objects.
631 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
632 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
633 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
634 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
636 [__bzero]: Redefine to specific name.
637 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
638 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
639 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
641 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
642 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
644 2014-09-10 Florian Weimer <fweimer@redhat.com>
646 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
647 warnings into errors.
649 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
650 __cxa_thread_atexit_impl prototype.
652 2014-09-09 Steve Ellcey <sellcey@mips.com>
654 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
655 Fix capitalization of error message.
657 2014-09-09 Steve Ellcey <sellcey@mips.com>
659 * sysdeps/mips/preconfigure: Modify ABI tests.
661 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
663 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
665 2014-09-07 Roland McGrath <roland@hack.frob.com>
666 Carlos O'Donell <carlos@systemhalted.org>
668 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
669 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
670 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
671 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
672 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
673 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
674 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
675 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
676 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
677 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
678 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
679 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
680 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
681 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
682 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
683 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
684 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
685 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
686 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
687 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
688 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
689 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
690 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
691 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
692 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
693 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
694 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
695 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
696 Deconditionalize the code that was previously under [RESET_PID].
697 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
698 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
699 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
700 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
703 2014-09-08 Allan McRae <allan@archlinux.org>
705 * version.h (RELEASE): Set to "development".
706 (VERSION): Set to "2.20.90"
708 2014-09-07 Allan McRae <allan@archlinux.org
710 * version.h (RELEASE): Set to "stable".
711 (VERSION): Set to "2.20"
712 * include/features.h (__GLIBC_MINOR__): Set to 20.
714 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
717 * po/ko.po: Update Korean translation from translation project.
719 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
722 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
723 macro for handling signed relocations.
725 2014-09-03 Florian Weimer <fweimer@redhat.com>
728 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
729 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
731 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
732 * iconvdata/ibm935.c (BODY): Likewise.
733 * iconvdata/ibm937.c (BODY): Likewise.
734 * iconvdata/ibm939.c (BODY): Likewise.
735 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
737 * iconvdata/Makefile (iconv-test.out): Pass module list to test
739 * iconvdata/run-iconv-test.sh: New test loop for checking for
742 2014-09-02 Khem Raj <raj.khem@gmail.com>
744 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
747 2014-09-01 Allan McRae <allan@archlinux.org>
749 * po/eo.po: Update Esperanto translation from translation project.
751 * po/ca.po: Update Catalan translation from translation project.
753 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
755 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
758 2014-08-27 Mark Wielaard <mjw@redhat.com>
761 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
762 to call set_thread_area instead of hand written asm.
763 (__NR_set_thread_area): Removed define.
764 (TLS_FLAG_WRITABLE): Likewise.
765 (__ASSUME_SET_THREAD_AREA): Remove check.
766 (TLS_EBX_ARG): Remove define.
767 (TLS_LOAD_EBX): Likewise.
769 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
771 Simplify atomicity of socket creation in bind.
773 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
774 looking up the name after linking the file.
776 2014-08-27 Allan McRae <allan@archlinux.org>
778 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
780 2014-08-26 Florian Weimer <fweimer@redhat.com>
783 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
784 trans_compare, open_translit, __gconv_translit_find):
785 Remove module loading code.
787 2014-08-26 Allan McRae <allan@archlinux.org>
789 * po/vi.po: Update Vietnamese translation from translation project.
791 * po/uk.po: Update Ukrainian translation from translation project.
793 * po/fr.po: Update French translation from translation project.
795 * po/ru.po: Update Russian translation from translation project.
797 * po/pl.po: Update Polish translation from translation project.
799 * po/cs.po: Update Czech translation from translation project.
801 * po/de.po: Update German translation from translation project.
803 * po/bg.po: Update Bulgarian translation from translation project.
805 * po/sv.po: Update Sweedish translation from translation project.
807 * po/nl.po: Update Dutch translation from translation project.
809 * po/es.po: Update Spanish translation from translation project.
811 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
813 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
815 * catgets/Makefile (CPPFLAGS-gencat): Remove.
816 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
817 (CPPFLAGS-iconvconfig): Likewise.
818 * timezone/Makefile (CPPFLAGS-zic): Likewise.
820 * include/libc-symbols.h: Remove unnecessary check for
822 * nptl/pthreadP.h: Likewise.
823 * sysdeps/aarch64/setjmp.S: Likewise.
824 * sysdeps/alpha/setjmp.S: Likewise.
825 * sysdeps/arm/sysdep.h: Likewise.
826 * sysdeps/i386/setjmp.S: Likewise.
827 * sysdeps/m68k/setjmp.c: Likewise.
828 * sysdeps/posix/getcwd.c: Likewise.
829 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
830 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
831 * sysdeps/s390/s390-32/setjmp.S: Likewise.
832 * sysdeps/s390/s390-64/setjmp.S: Likewise.
833 * sysdeps/sh/sh3/setjmp.S: Likewise.
834 * sysdeps/sh/sh4/setjmp.S: Likewise.
835 * sysdeps/unix/alpha/sysdep.h: Likewise.
836 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
837 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
838 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
839 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
842 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
843 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
844 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
845 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
846 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
847 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
848 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
849 * sysdeps/x86_64/setjmp.S: Likewise.
851 2014-08-13 Joseph Myers <joseph@codesourcery.com>
854 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
856 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
857 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
859 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
861 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
864 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
865 and __x86_64__ when disabling x87 inline functions.
867 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
870 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
871 asm statement with __cpuid_count.
873 2014-08-12 Mike Frysinger <vapier@gentoo.org>
875 * configure.ac: Change __ehdr_start code to dereference the struct.
876 Run readelf on the output to look for relocations.
877 * configure: Regenerated.
879 2014-08-12 Joseph Myers <joseph@codesourcery.com>
882 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
884 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
886 2014-08-12 Roland McGrath <roland@hack.frob.com>
888 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
890 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
893 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
894 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
896 2014-08-12 Sean Anderson <seanga2@gmail.com>
898 * malloc/malloc.c: Fix typo in comment.
900 2014-08-09 Allan McRae <allan@archlinux.org>
902 * Regenerate libc.po.
904 2014-08-08 Mike Frysinger <vapier@gentoo.org>
906 * intl/tst-gettext2.sh: Check every lang file for creation.
908 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
910 * sysdeps/aarch64/fpu/math_private.h
911 (libc_feholdsetround_noex_aarch64_ctx): New function.
913 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
915 * sysdeps/arm/armv6/strcpy.S (strcpy):
916 Fix performance issue in misaligned cases.
918 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
920 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
921 Move definition from termios.h.
922 (struct termio): Likewise.
923 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
924 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
925 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
926 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
928 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
929 Move definition to ioctl-types.h
930 (struct termio): Likewise.
931 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
932 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
933 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
934 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
937 2014-08-05 Richard Henderson <rth@redhat.com>
939 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
941 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
943 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
945 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
946 Protect libm symbols with IS_IN_libm.
948 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
950 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
952 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
954 2014-08-04 Will Newton <will.newton@linaro.org>
956 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
959 2014-08-04 Mike Frysinger <vapier@gentoo.org>
961 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
962 variants for each function.
964 2014-08-04 Roland McGrath <roland@hack.frob.com>
966 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
968 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
969 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
971 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
972 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
973 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
974 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
975 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
976 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
977 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
978 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
979 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
980 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
981 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
982 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
983 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
984 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
985 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
986 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
987 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
988 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
989 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
990 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
991 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
992 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
993 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
994 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
995 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
996 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
997 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
998 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
999 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1000 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1001 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1002 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1003 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1004 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1005 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1006 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1007 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1008 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1009 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1010 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1011 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1012 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1013 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1014 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1015 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1016 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1017 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1018 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1019 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1020 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1021 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1022 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1023 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1025 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1026 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1028 2014-08-04 Roland McGrath <roland@hack.frob.com>
1030 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1031 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1032 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1033 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1034 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1035 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1037 2014-08-04 Roland McGrath <roland@hack.frob.com>
1039 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1040 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1041 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1042 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1044 2014-08-04 Roland McGrath <roland@hack.frob.com>
1046 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1047 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1048 (__libc_vfork): Define function under this name.
1049 (__vfork): Define as an alias.
1050 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1051 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1053 2014-08-04 Roland McGrath <roland@hack.frob.com>
1055 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1056 that was previously under [RESET_PID].
1057 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1059 2014-08-04 Andreas Schwab <schwab@suse.de>
1061 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1063 2014-08-03 Mike Frysinger <vapier@gentoo.org>
1065 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1068 2014-08-01 Roland McGrath <roland@hack.frob.com>
1070 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1072 2014-08-01 Richard Henderon <rth@redhat.com>
1074 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1075 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1076 typo in exact zero test.
1077 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1078 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1079 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1081 2014-08-01 Roland McGrath <roland@hack.frob.com>
1083 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1084 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1085 * sysdeps/arm/sysdep.h: ... here.
1086 [!__ASSEMBLER__]: Include <stdint.h>.
1088 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1090 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1091 (HAVE_WCTYPE_H): Likewise.
1092 (HAVE_ISWCTYPE): Likewise.
1093 (ENABLE_NLS): Likewise.
1094 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1095 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1097 * posix/regex_internal.c: Check if DEBUG is defined and is
1100 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1101 (HAVE_MBSRTOWCS): Likewise.
1102 * posix/fnmatch.c: Include string.h unconditionally.
1104 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1106 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1109 2014-07-31 Roland McGrath <roland@hack.frob.com>
1111 * sysdeps/generic/safe-fatal.h: New file.
1112 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1113 * nptl/forward.c: Include it.
1114 (__pthread_unwind): Use __safe_fatal as default action, rather
1115 than a bogus use of INTERNAL_SYSCALL that could never work.
1117 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1118 * configure.ac (libc_cv_builtin_trap): New test.
1119 * configure: Regenerated.
1120 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1121 (ABORT_INSTRUCTION): Define using __builtin_trap.
1123 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1124 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1125 * sysdeps/nptl/nptl-signals.h: New file.
1126 * nptl/pthreadP.h: Include <nptl-signals.h>.
1128 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1130 * sysdeps/s390/s390-64/utf16-utf32-z9.c
1131 (ONE_DIRECTION): Define.
1132 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1133 (ONE_DIRECTION): Define.
1134 * sysdeps/s390/s390-64/utf8-utf32-z9.c
1135 (ONE_DIRECTION): Define.
1137 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1139 * sysdeps/s390/Makefile: Delete file.
1140 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1141 * sysdeps/s390/__longjmp.c: Delete file.
1142 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1143 Remove fields __flags and __reserved.
1144 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1146 * sysdeps/s390/rtld-__longjmp.c: Delete file.
1147 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1148 * sysdeps/s390/rtld-setjmp.S: Likewise.
1149 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1150 * sysdeps/s390/s390-32/__longjmp.c: ... here.
1151 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1152 * sysdeps/s390/s390-32/setjmp.S: ... here.
1154 (__sigsetjmp): Remove setting __flags field.
1155 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1156 * sysdeps/s390/s390-64/__longjmp.c: ... here.
1157 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1158 * sysdeps/s390/s390-64/setjmp.S: ... here.
1160 (__sigsetjmp): Remove setting __flags field.
1161 * sysdeps/s390/setjmp.S: Delete file.
1162 * sysdeps/s390/sigjmp.c: Likewise.
1163 * sysdeps/s390/v1-longjmp.c: Likewise.
1164 * sysdeps/s390/v1-setjmp.h: Likewise.
1165 * sysdeps/s390/v1-sigjmp.c: Likewise.
1166 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1167 Remove v1-longjmp_chk.
1168 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1169 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1170 Include debug/longjmp_chk.c and add versioning.
1171 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1172 Include nptl/pt-longjmp.c and add versioning.
1173 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1174 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1175 Include __longjmp.c.
1176 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1178 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1179 (__getcontext): Remove setting __flags field.
1181 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1182 Don't restore upper high grps.
1183 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1185 (__swapcontext): Remove setting uc_flags field.
1186 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1188 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1189 Include __longjmp.c.
1190 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1192 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1193 (__getcontext): Remove setting __flags field.
1195 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1196 (__swapcontext): Remove setting uc_flags field.
1197 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1198 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1199 Remove fields uc_high_gprs and __reserved.
1200 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1201 New file with reverted content.
1202 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1203 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1205 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1208 2014-07-31 Andreas Schwab <schwab@suse.de>
1210 * config.h.in (HAVE_IFUNC): Define to 0.
1211 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1214 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
1216 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1217 memmove-avx-unaligned, memcpy-avx-unaligned and
1218 mempcpy-avx-unaligned.
1219 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1220 Add tests for AVX memcpy functions.
1221 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1222 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1224 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1225 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1227 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1228 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1230 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1231 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1232 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1234 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1237 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1240 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
1243 * manual/llio.texi: Add section about open file description locks.
1244 * manual/examples/ofdlocks.c: Example of open file description
1246 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1247 F_OFD_SETLK, and F_OFD_SETLKW.
1249 2014-07-23 Allan McRae <allan@archlinux.org>
1251 * po/es.po: Update Spanish translation from translation project.
1253 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
1255 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1257 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
1260 * sysdeps/arm/dl-machine.h (elf_machine_rela)
1261 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1262 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1264 2014-07-17 Joseph Myers <joseph@codesourcery.com>
1267 * math/fesetenv.c (__fesetenv)
1268 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1269 * math/feupdateenv.c (__feupdateenv)
1270 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1272 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1273 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1274 (__ASSUME_SOCKETCALL): Do not define.
1276 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1277 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1278 (__ASSUME_SOCKETCALL): Do not define.
1279 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1280 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1281 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1282 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1283 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1284 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1285 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1286 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1288 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1289 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1290 (__ASSUME_SOCKETCALL): Do not define.
1291 (__ASSUME_IPC64): Define unconditionally.
1292 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1293 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1294 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1295 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1296 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1297 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1298 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1301 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1302 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1303 (__ASSUME_SOCKETCALL): Do not define.
1304 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1305 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1306 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1307 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1308 (__ASSUME_REQUEUE_PI): Define unconditionally.
1309 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1310 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1311 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1312 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1313 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1314 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1316 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1317 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1318 (__ASSUME_SOCKETCALL): Do not define.
1319 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1320 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1321 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1322 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1323 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1324 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1326 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1327 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1328 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1329 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1330 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1331 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1332 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1333 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1334 (__ASSUME_GETCPU_SYSCALL): Likewise.
1336 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1337 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
1338 cases for individual architectures.
1339 * sysdeps/gnu/configure: Regenerated.
1340 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1341 LIBC_SLIBDIR_RTLDDIR.
1342 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1343 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1344 LIBC_SLIBDIR_RTLDDIR.
1345 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1347 LIBC_SLIBDIR_RTLDDIR.
1348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1350 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1351 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1353 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1354 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1356 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1357 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1358 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1359 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1361 * sysdeps/aarch64/shlib-versions: Move to ...
1362 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1363 * sysdeps/alpha/shlib-versions: Move to ...
1364 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1365 * sysdeps/arm/shlib-versions: Move to ...
1366 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1367 * sysdeps/hppa/shlib-versions: Move all contents except for
1368 libgcc_s entry to ...
1369 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
1371 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
1372 * sysdeps/ia64/shlib-versions: Move to ...
1373 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
1375 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
1376 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1377 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1378 * sysdeps/microblaze/shlib-versions: Move to ...
1379 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1380 * sysdeps/mips/shlib-versions: Move to ...
1381 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
1383 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
1384 * sysdeps/tile/shlib-versions: Move to ...
1385 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1386 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1388 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
1389 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1391 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
1393 2014-07-17 Will Newton <will.newton@linaro.org>
1395 * sysdeps/arm/bits/atomic.h
1396 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1397 (__arch_compare_and_exchange_bool_16_int): Likewise.
1398 (__arch_compare_and_exchange_bool_64_int): Likewise.
1400 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1401 into an #else block.
1403 2014-07-16 Roland McGrath <roland@hack.frob.com>
1405 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1406 just Linux configurations. Test empirically that the compiler sets
1407 __ARM_EABI__, rather than using the tuple to decide.
1408 * sysdeps/arm/preconfigure: Regenerated.
1409 * sysdeps/unix/sysv/linux/arm/configure: File removed.
1410 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1411 contents appended ...
1412 * sysdeps/arm/configure.ac: ... here.
1413 * sysdeps/arm/configure: Regenerated.
1415 2014-07-15 Roland McGrath <roland@hack.frob.com>
1417 * nptl/pthread_kill.c: New file.
1418 * nptl/pthread_sigmask.c: New file.
1419 * nptl/pthread_sigqueue.c: New file.
1421 * sysdeps/nptl/lowlevellock.h: New file.
1422 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1423 * sysdeps/nptl/lowlevellock-futex.h: New file.
1425 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1426 Remove dead declarations.
1428 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
1430 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1431 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1433 * sysdeps/x86_64/configure.ac: Likewise.
1434 * sysdeps/i386/configure: Regenerated.
1435 * sysdeps/x86_64/configure: Likewise.
1436 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1437 memset-avx2 only if config-cflags-avx2 is yes.
1438 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1439 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1441 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1442 only if HAVE_AVX2_SUPPORT is defined.
1443 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1445 2014-07-14 Alan Modra <amodra@gmail.com>
1448 * elf/elf.h (DT_PPC64_NUM): Correct value.
1449 * NEWS: Add to fixed bug list.
1451 2014-07-13 Jim Meyering <meyering@fb.com>
1454 regex: don't deref NULL upon heap allocation failure
1455 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1456 failure in one more place.
1457 To trigger the segfault, configure grep -with-included-regex,
1458 build it, and run these commands:
1459 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1461 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
1463 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1465 2014-07-11 Richard Henderson <rth@redhat.com>
1467 * sysdeps/aarch64/libm-test-ulps: Update.
1469 2014-07-10 Florian Weimer <fweimer@redhat.com>
1472 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1473 * nptl/allocatestack.c (__nptl_setxid_error): New function.
1474 (__nptl_setxid): Initialize error member. Call
1475 __nptl_setxid_error.
1476 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1477 * nptl/descr.h (struct xid_command): Add error member.
1478 * nptl/tst-setuid3.c: New file.
1479 * nptl/Makefile (tests): Add it.
1481 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1483 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1485 (__lll_trylock): Use __lll_base_trylock.
1486 (__lll_cond_trylock): Likewise.
1488 2014-07-10 Roland McGrath <roland@hack.frob.com>
1490 * nptl/pthread_create.c (start_thread): Use atomic_or and
1491 lll_futex_wake directly rather than lll_robust_dead.
1492 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1493 (lll_robust_dead): Macro removed.
1494 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1495 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1496 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1497 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1498 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1499 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1500 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1501 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1502 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1503 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1504 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1505 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1506 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1507 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1508 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1510 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1511 Use atomic_compare_and_exchange_val_acq directly rather than
1513 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1514 (__lll_robust_trylock, lll_robust_trylock): Removed.
1515 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1516 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1517 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1518 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1519 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1520 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1521 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1522 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1523 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1524 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1525 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1526 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1527 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1528 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1530 2014-07-02 Florian Weimer <fweimer@redhat.com>
1532 * manual/locale.texi (Locale Names): New section documenting
1533 locale name syntax. Adjust menu and node chaining accordingly.
1534 (Choosing Locale): Reference Locale Names, Locale Categories.
1535 Mention setting LC_ALL=C. Reflect that name syntax is now
1537 (Locale Categories): New section title. Reference Locale Names.
1538 LC_ALL is an environment variable, but not a category.
1539 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1540 description, now in Locale Name. Reference that section. Locale
1541 name syntax is now documented.
1543 2014-07-02 Florian Weimer <fweimer@redhat.com>
1546 * locale/findlocale.c (name_present, valid_locale_name): New
1548 (_nl_find_locale): Use the loc_name variable to store name
1549 candidates. Call name_present and valid_locale_name to check and
1550 validate locale names. Return an error if the locale is invalid.
1552 2014-07-02 Florian Weimer <fweimer@redhat.com>
1554 * locale/setlocale.c (setlocale): Use strdup for allocating
1555 composite name copy.
1557 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1559 Sync up with gnulib.
1560 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1561 [!_LIBC && ENABLE_NLS]: Include gettext.h.
1562 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1563 and _GL_ARG_NONNULL.
1564 [USE_UNLOCKED_IO]: Include unlocked-io.h.
1565 [!_LIBC]: Include code for Windows and Cygwin.
1566 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1567 Include prototype for int strerror_r.
1568 [!_LIBC] (is_open): New function.
1569 (flush_stdout): New function.
1570 (print_errno_message): Use it.
1572 (error_at_line): Likewise.
1573 (error_tail) Add function attribute macros. Use
1576 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1578 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1580 * io/ftw.c: Include sys/param.h unconditionally.
1582 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1585 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1587 (freecache): New function to free CACHE on exit.
1589 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1592 2014-07-09 David S. Miller <davem@davemloft.net>
1594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1596 * sysdeps/sparc/nptl/internaltypes.h: Delete.
1597 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1598 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1599 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1600 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1601 * sysdeps/sparc/nptl/sem_init.c: Likewise.
1602 * sysdeps/sparc/nptl/sem_post.c: Likewise.
1603 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1604 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1605 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1606 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1607 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1608 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1610 2014-07-09 Andreas Schwab <schwab@suse.de>
1612 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1614 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1615 (do_test): Likewise.
1617 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1619 2014-07-09 Will Newton <will.newton@linaro.org>
1621 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1622 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1623 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1624 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1625 * sysdeps/hppa/start.S (_start): Likewise.
1627 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1629 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1631 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1634 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1636 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1637 after checking that it is non-NULL.
1639 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1641 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1643 * sysdeps/powerpc/memmove.c: Remove file.
1644 * sysdeps/powerpc/powerpc32/power4/memcopy.h
1645 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1646 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1647 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1648 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1649 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1650 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1651 string memmove instead of removed powerpc one.
1653 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1654 [weak_alias]: Fix compiler warning due trailing data.
1655 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1656 [weak_alias]: Likewise.
1657 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1658 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1660 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1661 (__libc_ifunc_impl_list): Add memmove functions.
1663 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1665 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1667 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1669 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1671 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1673 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1675 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1677 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1679 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1681 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1683 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1685 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1687 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1689 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1691 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1693 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1695 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1697 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1700 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1702 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1703 to avoid alignment traps in non-cacheable memory.
1704 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1706 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1708 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1709 file: multiarch power7 memmove.
1710 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1711 multiarch default memmove.
1712 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1713 multiarch memove for powerpc32/power4.
1715 * string/bcopy.c: Use full path to include memmove.c.
1716 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1718 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1719 bcopy for powerpc64.
1720 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1721 bcopy for powerpc64.
1722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1723 and memmove implementations.
1724 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1725 optimized multiarch memmove for POWER7/powerpc64.
1726 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1727 default multiarch memmove for powerpc64.
1728 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1729 multiarch for powerpc64.
1730 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1731 for POWER7/powerpc64.
1732 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1733 memmove for POWER7/powerpc64.
1735 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1738 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1739 __ELF_NATIVE_CLASS equal to 64.
1741 2014-07-07 Roland McGrath <roland@hack.frob.com>
1743 * sysdeps/nptl/lowlevellock.h: File removed.
1745 * NEWS: NPTL is no longer an add-on!
1746 * nptl/internaltypes.h: Moved ...
1747 * sysdeps/nptl/internaltypes.h: ... here.
1748 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1749 * sysdeps/nptl/fork.c: Likewise.
1750 * sysdeps/nptl/gai_misc.h: Likewise.
1751 * sysdeps/nptl/librt-cancellation.c: Likewise.
1752 * sysdeps/nptl/jmp-unwind.c: Likewise.
1753 * sysdeps/nptl/setxid.h: Likewise.
1754 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1755 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1756 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1757 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1758 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1759 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1760 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1761 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1762 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1763 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1764 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1765 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1766 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1767 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1768 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1769 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1770 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1771 * nptl/Makeconfig: Moved ...
1772 * sysdeps/nptl/Makeconfig: ... here.
1773 * nptl/configure: File removed.
1774 * nptl/ANNOUNCE: File removed.
1775 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1776 * sysdeps/unix/sysv/linux/configure: Regenerated.
1778 * nptl/Makefile (routines): Add libc_pthread_init,
1779 libc_multiple_threads, register-atfork and unregister-atfork.
1780 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1781 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1782 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1783 pthread-pi-defines.sym, structsem.sym.
1784 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1785 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1786 [$(subdir) = nptl] (tests): Add tst-setgetname.
1787 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1788 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1789 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1790 [!LIBC_SIGACTION]: Remove aliases.
1791 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1792 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1793 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1794 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1795 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1796 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1797 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1798 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1799 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1800 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1801 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1802 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1803 __libc_allocate_rtsig_private.
1804 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1805 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1806 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1807 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1808 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1809 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1810 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1811 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1812 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1813 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1814 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1815 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1816 * nptl/internaltypes.h: ... here.
1817 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1818 * sysdeps/nptl/jmp-unwind.c: ... here.
1819 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1820 * nptl/libc-lowlevellock.c: ... here.
1821 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1822 * nptl/libc_multiple_threads.c: ... here.
1823 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1824 * nptl/libc_pthread_init.c: ... here.
1825 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1826 * nptl/lowlevelbarrier.sym: ... here.
1827 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1828 * nptl/lowlevelcond.sym: ... here.
1829 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1830 * nptl/lowlevellock.c: ... here.
1831 * nptl/lowlevellock.h: Moved ...
1832 * sysdeps/nptl/lowlevellock.h: ... here.
1833 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1834 * nptl/lowlevelrobustlock.c: ... here.
1835 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1836 * nptl/lowlevelrobustlock.sym: ... here.
1837 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1838 * nptl/lowlevelrwlock.sym: ... here.
1839 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1840 * nptl/pt-fork.c: ... here.
1841 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1842 * nptl/pthread-pi-defines.sym: ... here.
1843 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1844 * nptl/pthread_attr_getaffinity.c: ... here.
1845 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1846 * nptl/pthread_attr_setaffinity.c: ... here.
1847 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1848 * nptl/pthread_mutex_cond_lock.c: ... here.
1849 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1851 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1852 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1853 * nptl/pthread_once.c: ... here, replacing old file.
1854 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1855 * nptl/pthread_yield.c: ... here.
1856 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1857 * nptl/register-atfork.c: ... here.
1858 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1859 * nptl/sem_post.c: ... here.
1860 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1861 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1862 * nptl/sem_timedwait.c: ... here.
1863 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1864 * nptl/sem_trywait.c: ... here.
1865 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1866 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1867 * nptl/sem_wait.c: ... here.
1868 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1869 * nptl/structsem.sym: ... here.
1870 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1871 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1872 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1873 * nptl/unregister-atfork.c: ... here.
1874 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1875 * nptl/unwindbuf.sym: ... here.
1876 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1877 * sysdeps/nptl/fork.c: ... here.
1878 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1879 * sysdeps/nptl/fork.h: ... here.
1880 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1881 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1882 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1883 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1884 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1885 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1886 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1887 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1888 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1889 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1890 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1891 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1892 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1893 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1894 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1895 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1896 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1897 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1898 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1899 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1900 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1901 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1902 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1903 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1904 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1905 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1906 * sysdeps/unix/sysv/linux/raise.c: ... here.
1907 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1908 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1909 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1910 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1911 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1912 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1913 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1914 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1915 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1916 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1917 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1918 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1919 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1920 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1921 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1923 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1925 * sysdeps/generic/memcopy.h: Add comment for
1926 MEMCPY_OK_FOR_FWD_MEMMOVE.
1928 2014-07-04 Will Newton <will.newton@linaro.org>
1930 * string/memchr.c: Merge from gnulib.
1931 [_LIBC]: Remove conditionals.
1932 (__ptr_t): Remove define.
1933 (LONG_MAX_32_BITS): Likewise.
1934 (LONG_MAX): Likewise.
1935 (MEMCHR): Use ANSI prototype and optimize algorithm.
1937 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1939 2014-07-03 Roland McGrath <roland@hack.frob.com>
1941 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1942 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1944 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1945 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1946 in a bare environment with no <stdlib.h> installed.
1947 * sysdeps/nptl/configure: Regenerated.
1949 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1951 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1952 AC_EGREP_CPP for kernel header checks, so they only succeed if
1953 including <linux/version.h> actually works right.
1954 * sysdeps/unix/sysv/linux/configure: Regenerated.
1956 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1957 value so it's not diagnosed as unused.
1959 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1960 thing) with "ifeq ($(subdir),rt)".
1962 2014-07-03 Richard Henderson <rth@redhat.com>
1964 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1965 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1966 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1968 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1969 (math_force_eval): New.
1971 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1972 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1974 * sysdeps/alpha/fpu/s_round.c: Remove file.
1975 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1977 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1978 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1979 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1980 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1981 (_dl_start, print_statistics): Likewise.
1982 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1983 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1985 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1986 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1987 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1988 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1989 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1990 (HP_SMALL_TIMING_AVAIL): Define.
1991 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1992 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1993 (HP_SMALL_TIMING_AVAIL): Define.
1994 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1995 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1997 * sysdeps/aarch64/hp-timing.h: New file.
1999 * sysdeps/generic/hp-timing.h: Remove dead comment.
2000 * sysdeps/generic/hp-timing-common.h: New file.
2001 * sysdeps/alpha/hp-timing.h: Include it.
2002 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2003 * sysdeps/i386/i686/hp-timing.h: Likewise.
2004 * sysdeps/ia64/hp-timing.h: Likewise.
2005 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2006 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2007 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2008 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2009 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2010 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2013 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2014 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2015 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2016 * elf/rtld.c (_dl_start_final): Likewise.
2017 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2018 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2019 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2020 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2021 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2022 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2023 (HP_TIMING_DIFF_INIT): Remove.
2024 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2025 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2026 (HP_TIMING_DIFF_INIT): Remove.
2027 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2028 * sysdeps/i386/i686/hp-timing.c: Remove file.
2029 * sysdeps/x86_64/hp-timing.c: Remove file.
2030 * sysdeps/ia64/hp-timing.c: Remove file.
2031 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2032 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2033 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2034 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2036 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2037 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2038 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2039 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2040 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2041 (HP_TIMING_ACCUM): Remove.
2042 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2043 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2044 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2046 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2047 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2048 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2049 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2050 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2051 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2052 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2053 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2055 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2057 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
2059 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2061 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2063 Sync up with gettext.
2064 * intl/loadmsgcat.c: Define O_BINARY if not defined.
2065 [_MSC_VER]: Include malloc.h
2066 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2067 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2068 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
2069 TEMP_FAILURE_RETRY. Cast return of alloca.
2070 [!_LIBC] Call gl_rwlock_init.
2071 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2073 2014-07-02 Roland McGrath <roland@hack.frob.com>
2075 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2076 before checking its value.
2078 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2080 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2082 * debug/memcpy_chk.c: Don't include pagecopy.h.
2083 * debug/mempcpy_chk.c: Likewise.
2084 * string/memcpy.c: Likewise.
2085 * string/memmove.c: Likewise.
2086 * sysdeps/powerpc/memmove.c: Likewise.
2087 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
2088 definition of PAGE_COPY_FWD_MAYBE here...
2089 * sysdeps/generic/pagecopy.h: ... from here.
2090 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2092 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2093 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2095 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2096 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2098 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2099 (__libc_ifunc_impl_list): Likewise.
2100 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2101 multiarch strcat for PPC64.
2102 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2103 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2105 2014-07-02 Roland McGrath <roland@hack.frob.com>
2107 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2109 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2111 * intl/loadmsgcat.c: Remove declaration of
2112 get_sysdep_segment_value.
2113 (get_sysdep_segment_value): Use ISO C style.
2114 (_nl_load_domain): Use ISO C style. Get rid of redundant
2115 semicolon. Fix typo and formatting in comment.
2116 (_nl_unload_domain): Use ISO C style.
2118 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2120 2014-07-02 Will Newton <will.newton@linaro.org>
2122 * malloc/obstack.c: Merge from gnulib master.
2123 [HAVE_CONFIG_H]: Remove conditional code.
2124 [!_LIBC]: Include config.h.
2125 [!ELIDE_CODE]: Don't include inttypes.h, include
2126 stdint.h unconditionally.
2127 (print_and_abort): Mark as _Noreturn.
2128 (_obstack_allocated_p): Mark as __attribute_pure__.
2129 (obstack_free): Rename to __obstack_free.
2130 [!__attribute__]: Remove conditional code.
2131 * malloc/obstack.h: Merge from gnulib master.
2132 [__cplusplus]: Move conditional down.
2133 [!__attribute_pure__]: Define __attribute_pure__ here
2134 if it is not already defined.
2135 (_obstack_memory_used): Mark as __attribute_pure__.
2136 [!__obstack_free]: Define as obstack_free.
2137 [__GNUC__]: Remove check for ancient NeXT gcc.
2139 2014-07-02 Will Newton <will.newton@linaro.org>
2140 Paul Eggert <eggert@cs.ucla.edu>
2142 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2144 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2146 * resolv/gethnamaddr.c: Add comment warning that the file is
2149 2014-07-01 Carlos O'Donell <carlos@redhat.com>
2151 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2154 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2155 entry for aio_cancel and aio_cancel64.
2156 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2157 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2158 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2159 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2160 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2161 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2162 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2163 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2164 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2165 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2166 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2167 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2168 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2170 2014-07-01 Roland McGrath <roland@hack.frob.com>
2172 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2173 * nptl/pthread_mutex_lock.c: Likewise.
2174 * nptl/pthread_mutex_timedlock.c: Likewise.
2175 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2177 2014-07-01 Richard henderson <rth@redhat.com>
2179 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2180 (__isnan, __isnanl): Remove.
2181 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2183 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2185 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2187 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2189 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2191 * resolv/nss_dns/dns-host.c (getanswer_r)
2192 [MULTI_PTRS_ARE_ALIASES]: Remove code.
2194 2014-07-01 Joseph Myers <joseph@codesourcery.com>
2196 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2197 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2199 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2200 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2202 2014-07-01 Roland McGrath <roland@hack.frob.com>
2204 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2205 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2207 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2208 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2210 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2211 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2213 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2214 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2216 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2217 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2218 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2219 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2221 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2222 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2223 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2224 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2225 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2227 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2229 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2230 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2231 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2232 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2233 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2234 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2235 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2236 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2237 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2238 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2239 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2240 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2241 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2242 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2243 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2244 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2245 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2246 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2247 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2248 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2250 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2251 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2252 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2253 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2254 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2255 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2256 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2257 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2259 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
2261 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2262 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2263 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2266 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2270 2014-06-30 Joseph Myers <joseph@codesourcery.com>
2272 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2273 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2275 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2277 * sysdeps/arm/libm-test-ulps: Regenerated.
2279 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2280 Roland McGrath <roland@hack.frob.com>
2282 * test-skeleton.c (signal_handler): Kill the whole process group
2283 before killing the child individually.
2284 (main): Report any failure on `setpgid'.
2286 2014-06-30 Roland McGrath <roland@hack.frob.com>
2288 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2289 from _TLS_H to _ARM_NPTL_TLS_H.
2290 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2291 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2293 2014-06-30 Joseph Myers <joseph@codesourcery.com>
2296 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2297 (__expm1l): Return argument unchanged when small but not
2300 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2302 (_FP_UNPACK_RAW_1_P): Likewise.
2303 (_FP_PACK_RAW_1): Likewise.
2304 (_FP_PACK_RAW_1_P): Likewise.
2305 (_FP_MUL_MEAT_1_wide): Likewise.
2306 (_FP_MUL_MEAT_DW_1_hard): Likewise.
2307 (_FP_MUL_MEAT_1_hard): Likewise.
2308 (_FP_DIV_MEAT_1_imm): Likewise.
2309 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2310 (_FP_DIV_MEAT_1_udiv): Likewise.
2311 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2312 (_FP_UNPACK_RAW_2): Likewise.
2313 (_FP_UNPACK_RAW_2_P): Likewise.
2314 (_FP_PACK_RAW_2): Likewise.
2315 (_FP_PACK_RAW_2_P): Likewise.
2316 (_FP_MUL_MEAT_DW_2_wide): Likewise.
2317 (_FP_MUL_MEAT_2_wide): Likewise.
2318 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2319 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2320 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2321 (_FP_MUL_MEAT_2_gmp): Likewise.
2322 (_FP_DIV_MEAT_2_udiv): Likewise.
2323 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2324 (_FP_FRAC_SRL_4): Likewise.
2325 (_FP_FRAC_SRST_4): Likewise.
2326 (_FP_FRAC_SRS_4): Likewise.
2327 (_FP_UNPACK_RAW_4): Likewise.
2328 (_FP_UNPACK_RAW_4_P): Likewise.
2329 (_FP_PACK_RAW_4): Likewise.
2330 (_FP_PACK_RAW_4_P): Likewise.
2331 (_FP_MUL_MEAT_DW_4_wide): Likewise.
2332 (_FP_MUL_MEAT_4_wide): Likewise.
2333 (_FP_MUL_MEAT_4_gmp): Likewise.
2334 (umul_ppppmnnn): Likewise.
2335 (_FP_DIV_MEAT_4_udiv): Likewise.
2336 (__FP_FRAC_ADD_4): Likewise.
2337 (__FP_FRAC_SUB_3): Likewise.
2338 (__FP_FRAC_SUB_4): Likewise.
2339 (__FP_FRAC_DEC_3): Likewise.
2340 (__FP_FRAC_DEC_4): Likewise.
2341 (__FP_FRAC_ADDI_4): Likewise.
2342 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2343 (_FP_FRAC_SRL_8): Likewise.
2344 (_FP_FRAC_SRS_8): Likewise.
2346 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2348 (FP_UNPACK_RAW_EP): Likewise.
2349 (FP_PACK_RAW_E): Likewise.
2350 (FP_PACK_RAW_EP): Likewise.
2351 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2352 (_FP_ISSIGNAN): Likewise.
2353 (_FP_ADD_INTERNAL): Likewise.
2354 (_FP_FMA): Likewise.
2355 (_FP_CMP): Likewise.
2356 (_FP_SQRT): Likewise.
2357 (_FP_TO_INT): Likewise.
2358 (_FP_FROM_INT): Likewise.
2359 (FP_EXTEND): Likewise.
2360 (_FP_DIV_MEAT_N_loop): Likewise.
2362 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2364 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2367 2014-06-29 Joseph Myers <joseph@codesourcery.com>
2370 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2371 result with correct sign in case of exponents that produce
2372 overflow except for X very close to 1.
2374 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
2376 mktime: merge #if/#ifdef usage from glibc
2377 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2378 as that works with both Glibc's and Gnulib's style.
2379 See thread starting at Siddhesh Poyarekar's bug report at:
2380 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2382 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2384 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2385 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2386 * sysdeps/tile/tilegx/memmove.c: Remove file.
2388 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2390 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2391 abi-name definition.
2392 * scripts/soversions.awk: Do not handle or generate ABI lines.
2393 * shlib-versions: Remove ABI entries.
2394 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2395 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2397 2014-06-27 Roland McGrath <roland@hack.frob.com>
2399 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2400 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2401 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2402 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2403 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2404 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2405 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2407 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2409 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2410 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2411 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2412 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2413 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2414 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2415 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2416 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2417 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2418 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2419 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2420 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2421 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2423 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2424 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2425 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2426 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2427 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2428 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2430 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2431 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2433 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2434 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2435 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2436 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2438 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2439 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2440 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2441 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2442 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2443 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2444 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2445 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2447 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2448 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2449 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2450 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2452 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2453 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2455 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2456 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2457 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2458 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2460 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2462 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2463 Identical file removed.
2464 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2466 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2467 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2468 Identical file removed.
2469 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2470 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2471 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2473 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2474 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2475 Identical file removed.
2476 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2477 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2478 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2479 Identical file removed.
2480 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2481 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2482 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2483 Identical file removed.
2484 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2485 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2486 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2487 Identical file removed.
2488 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2490 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2491 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2492 Identical file removed.
2493 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2495 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2496 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2497 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2498 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2499 Identical file removed.
2500 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2502 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2504 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2505 Identical file removed.
2506 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2508 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2509 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2510 Identical file removed.
2511 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2513 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2514 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2515 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2516 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2517 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2518 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2520 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2521 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2522 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2524 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2525 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2526 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2527 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2528 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2530 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
2533 * nscd/nscd.c (monitor_child): Return exit status of child
2534 instead of return value from wait syscall.
2536 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2538 * configure.ac (libc_commonpagesize): Remove variable.
2539 (libc_relro_required): Likewise.
2540 (libc_cv_z_relro): Remove configure test.
2541 * configure: Regenerated.
2542 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2544 (libc_relro_required): Likewise.
2545 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2546 (libc_relro_required): Likewise.
2547 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2548 (libc_relro_required): Likewise.
2549 * sysdeps/arm/preconfigure: Regenerated.
2550 * sysdeps/ia64/preconfigure: Remove file.
2551 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2553 (libc_relro_required): Likewise.
2557 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2558 (__ieee754_yn): Set FE_TONEAREST mode internally and then
2559 recompute overflowing results in original rounding mode.
2560 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2561 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2562 recompute overflowing results in original rounding mode.
2563 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2564 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2565 recompute overflowing results in original rounding mode.
2566 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2567 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2568 recompute overflowing results in original rounding mode.
2569 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2570 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2571 recompute overflowing results in original rounding mode.
2572 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2573 (libc_feholdsetround_ctx): New macro.
2574 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2575 * sysdeps/i386/fpu/libm-test-ulps: Update.
2576 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2578 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2580 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2581 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2582 corresponding .cpsetup call.
2584 2014-06-26 Roland McGrath <roland@hack.frob.com>
2586 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2587 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2588 * sysdeps/arm/Makefile [$(subdir) = csu]
2589 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2590 (static-only-routines): Add aeabi_read_tp here.
2591 (shared-only-routines): Add libc-aeabi_read_tp here.
2592 (CFLAGS-libc-start.c): Add -fexceptions here.
2593 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2594 (sysdep_routines, static-only-routines, shared-only-routines):
2595 Don't add to these here.
2596 (CFLAGS-libc-start.c): Likewise.
2598 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2599 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2600 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2601 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2602 * sysdeps/arm/Makefile [$(subdir) = rt]
2603 (librt-sysdep_routines, librt-shared-only-routines):
2604 Append rt-aeabi_unwind_cpp_pr1 here.
2605 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2606 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2607 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2608 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2609 Append nptl-aeabi_unwind_cpp_pr1 here.
2610 (tests): Filter out tst-cleanupx4 here.
2611 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2612 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2613 Don't do those here.
2615 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2617 * scripts/list-sources.sh: Do not handle ports specially.
2619 2014-06-26 Roland McGrath <roland@hack.frob.com>
2621 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2622 * sysdeps/arm/feupdateenv.c: Likewise.
2624 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2626 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2628 * manual/texinfo.tex: Update to version 2014-05-05.10 with
2629 trailing whitespace removed.
2630 * scripts/config.guess: Update to version 2014-03-23.
2631 * scripts/config.sub: Update to version 2014-05-01
2632 * scripts/install-sh: Update to version 2013-12-25.23.
2633 * scripts/move-if-change: Update from gnulib.
2635 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2637 * debug/memmove_chk.c: Remove pagecopy.h include.
2639 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
2641 * time/mktime.c (leapyear): Remove inline keyword. The code is now
2642 identical to gnulib mktime.
2644 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2646 * configure.ac: Do not test for machine being rs6000. Do not test
2648 * configure: Regenerated.
2650 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2652 * configure: Regenerated.
2653 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2654 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2655 Remove configure test.
2656 * sysdeps/arm/configure: Regenerated.
2657 * sysdeps/nptl/configure.ac: Do not check
2658 libc_cv_asm_cfi_directives.
2659 * sysdeps/nptl/configure: Regenerated.
2660 * sysdeps/x86_64/nptl/configure.ac: Remove file.
2661 * sysdeps/x86_64/nptl/configure: Remove generated file.
2662 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2664 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2666 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2668 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2669 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2670 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2673 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2674 instead of whether it is defined.
2675 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2676 * sysdeps/hppa/dl-machine.h: Likewise.
2677 * sysdeps/ia64/dl-machine.h: Likewise.
2678 * sysdeps/m68k/dl-machine.h: Likewise.
2679 * sysdeps/microblaze/dl-machine.h: Likewise.
2680 * sysdeps/mips/dl-machine.: Likewise.
2681 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2682 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2683 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2684 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2685 * sysdeps/sh/dl-machine.h: Likewise.
2686 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2687 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2688 * sysdeps/tile/dl-machine.h: Likewise.
2689 * sysdeps/x86_64/dl-machine.h: Likewise.
2691 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2693 (verify_persistent_db): Likewise.
2695 2014-06-26 Roland McGrath <roland@hack.frob.com>
2697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2698 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2700 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2703 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2706 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2708 Identical file removed.
2709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2710 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2712 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2714 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2716 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2718 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2721 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2723 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2725 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2728 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2730 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2732 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2734 Identical file removed.
2735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2736 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2738 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2741 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2744 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2746 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2748 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2750 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2752 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2755 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2758 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2760 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2763 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2765 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2767 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2769 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2770 * sysdeps/unix/sysv/linux/s390/Versions
2771 (libpthread: GLIBC_2.19): New version set.
2772 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2773 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2774 (librt: GLIBC_2.3.3): New version set.
2775 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2776 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2777 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2778 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2779 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2780 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2781 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2782 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2783 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2784 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2785 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2786 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2787 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2788 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2789 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2790 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2791 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2792 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2793 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2794 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2795 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2796 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2797 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2798 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2799 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2800 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2801 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2802 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2803 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2804 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2805 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2806 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2807 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2808 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2809 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2810 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2811 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2812 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2813 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2814 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2815 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2816 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2817 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2818 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2819 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2821 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2822 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2823 (__libc_vfork): Define the function under this name.
2824 [!NOT_IN_libc] (__vfork): Make this an alias.
2825 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2826 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2827 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2828 (__libc_vfork): Define the function under this name.
2829 [!NOT_IN_libc] (__vfork): Make this an alias.
2830 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2831 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2832 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2833 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2834 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2835 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2837 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2838 code that was previously under [RESET_PID].
2839 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2840 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2841 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2843 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2844 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2845 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2846 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2847 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2848 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2849 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2850 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2851 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2852 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2853 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2855 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2856 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2857 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2858 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2859 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2860 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2861 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2862 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2863 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2864 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2865 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2866 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2867 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2868 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2869 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2870 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2871 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2872 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2873 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2874 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2875 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2876 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2877 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2878 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2879 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2880 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2881 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2882 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2883 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2885 2014-06-25 Roland McGrath <roland@hack.frob.com>
2887 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2888 that was previously under [RESET_PID].
2889 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2891 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2893 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2894 not undefine and redefine.
2895 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2896 [O_CLOEXEC]: Make code unconditional.
2897 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2898 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2899 <kernel-features.h>.
2900 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2901 conditional variable definition.
2902 (shm_open) [O_CLOEXEC]: Make code unconditional.
2903 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2906 * configure.ac (USE_REGPARMS): Don't define here.
2907 * configure: Regenerated.
2908 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2909 * sysdeps/i386/configure: Regenerated.
2911 * nptl/createthread.c: Don't include kernel-features.h.
2912 * nptl/pthread_cancel.c: Likewise.
2913 * nptl/pthread_condattr_setclock.c: Likewise.
2914 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2915 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2916 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2917 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2918 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2919 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2920 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2921 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2922 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2923 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2924 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2925 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2926 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2927 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2928 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2929 * nscd/gai.c: Likewise.
2930 * nss/nss_db/db-open.c: Likewise.
2931 * sysdeps/generic/ldsodefs.h: Likewise.
2932 * sysdeps/sh/nptl/tls.h: Likewise.
2933 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2934 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2935 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2936 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2937 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2938 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2939 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2940 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2941 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2942 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2943 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2944 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2945 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2946 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2947 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2948 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2949 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2950 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2951 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2952 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2953 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2954 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2955 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2956 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2957 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2958 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2959 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2960 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2961 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2962 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2963 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2964 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2965 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2966 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2967 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2968 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2969 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2970 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2971 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2972 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2973 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2974 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2975 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2976 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2977 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2978 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2979 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2980 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2981 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2982 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2983 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2984 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2985 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2986 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2987 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2988 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2989 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2990 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3013 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3014 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3015 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3016 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3017 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3018 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3019 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3020 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3021 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3022 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3023 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3024 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3025 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3026 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3027 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3028 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3029 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3030 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3031 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3032 * sysdeps/unix/sysv/linux/system.c: Likewise.
3033 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3034 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3035 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3036 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3037 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3038 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3039 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3041 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3042 * configure: Regenerated.
3043 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3045 * configure.ac (base_machine): Do not set specially for particular
3047 * configure: Regenerated.
3048 * sysdeps/powerpc/preconfigure: Move machine and base_machine
3049 settings from configure.ac.
3050 * sysdeps/i386/preconfigure: New file.
3051 * sysdeps/s390/preconfigure: Likewise.
3052 * sysdeps/sh/preconfigure: Likewise.
3053 * sysdeps/sparc/preconfigure: Likewise.
3055 2014-06-25 Roland McGrath <roland@hack.frob.com>
3057 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3058 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3059 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3060 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3061 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3062 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3063 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3064 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3065 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3066 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3067 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3068 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3069 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3070 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3071 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3072 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3073 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3074 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3075 * sysdeps/sparc/sparc64/Makefile: ... appended here.
3077 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3078 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3079 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3080 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3081 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3082 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3083 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3084 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3085 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3086 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3087 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3088 * sysdeps/sparc/sparc32/sem_post.c: ... here.
3089 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3090 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3091 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3092 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3093 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3094 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3095 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3096 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3097 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3098 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3099 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3100 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3101 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3102 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3103 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3104 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3105 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3106 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3107 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3108 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3109 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3110 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3111 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3112 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3113 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3114 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3117 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3119 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3122 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3125 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3127 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3130 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3132 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3134 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3136 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3139 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3142 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3144 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3147 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3149 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3151 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3153 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3155 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3158 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3161 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3163 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3166 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3168 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3170 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3172 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3175 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3178 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3180 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3183 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3185 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3187 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3189 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3191 * timezone/checktab.awk: Update from tzcode 2014e.
3192 * timezone/private.h: Likewise.
3193 * timezone/tzfile.h: Likewise.
3194 * timezone/zdump.c: Likewise.
3195 * timezone/zic.c: Likewise.
3197 * sysdeps/unix/sysv/linux/kernel-features.h
3198 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3199 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3200 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3201 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3202 Remove conditional code.
3204 2014-06-25 Will Newton <will.newton@linaro.org>
3206 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3207 (_dl_arm_cap_flags): Add HWCAP2 values.
3208 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3209 (_DL_HWCAP_COUNT): Increase to 37.
3210 (_DL_HWCAP_LAST): New define.
3211 (_DL_HWCAP2_LAST): New define.
3212 (_dl_procinfo): Add support for printing
3214 (_dl_string_hwcap): Use _dl_hwcap_string.
3216 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3220 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3222 * README: Do not mention ports directory.
3224 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3226 * sysdeps/unix/sysv/linux/futimes.c: Do not include
3227 <kernel-features.h>.
3228 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3229 conditional variable definition.
3230 (__futimes): Update comment.
3231 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3232 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3235 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3236 arguments close to 0.
3237 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3239 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3241 * math/auto-libm-test-in: Add more tests of exp10.
3242 * math/auto-libm-test-out: Regenerated.
3243 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3245 * sysdeps/unix/sysv/linux/kernel-features.h
3246 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3247 * sysdeps/unix/sysv/linux/readv.c: Do not include
3248 <kernel-features.h>.
3249 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3250 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3251 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3253 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3255 * sysdeps/unix/sysv/linux/writev.c: Do not include
3256 <kernel-features.h>.
3257 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3258 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3259 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3261 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3264 2014-06-25 Will Newton <will.newton@linaro.org>
3266 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3267 comment changes throughout the file. Remove checks
3268 for HAVE_*_H definitions that are not required.
3269 (__gen_tempname): Call abort if an unknown kind value is
3272 2014-06-25 Andreas Schwab <schwab@suse.de>
3275 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3276 scalbln, scalblnf, scalblnl in libc.
3278 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3281 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3282 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3283 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3285 2014-06-24 Roland McGrath <roland@hack.frob.com>
3287 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3288 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3289 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3290 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3292 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3293 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3295 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3296 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3297 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3298 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3299 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3300 * sysdeps/x86/bits/pthreadtypes.h: ... here.
3301 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3302 * sysdeps/x86/bits/semaphore.h: ... here.
3303 * sysdeps/x86/nptl/elide.h: Moved ...
3304 * sysdeps/x86/elide.h: ... here.
3305 * sysdeps/x86_64/nptl/Implies: File removed.
3306 * sysdeps/i386/nptl/Implies: File removed.
3308 2014-06-24 Joseph Myers <joseph@codesourcery.com>
3311 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3312 return the argument for normal arguments with exponent below -64.
3313 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3315 * math/auto-libm-test-in: Add another test of expm1.
3316 * math/auto-libm-test-out: Regenerated.
3319 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3320 calling __erfcl for arguments at least 16.
3321 * math/auto-libm-test-in: Add more tests of erf.
3322 * math/auto-libm-test-out: Regenerated.
3324 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3325 individual architectures.
3326 * sysdeps/unix/sysv/linux/configure: Regenerated.
3327 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3328 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3329 * sysdeps/unix/sysv/linux/powerpc/configure.ac
3330 (ldd_rewrite_script): Define variable.
3331 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3336 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3337 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3338 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3339 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3340 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3341 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3342 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3343 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3345 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3348 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3349 Rename member __data.d to __data.__elision_data.
3351 2014-06-24 Wilco <wdijkstr@arm.com>
3353 * NEWS: Add 16918 to fixed bug list.
3355 2014-06-24 Wilco <wdijkstr@arm.com>
3357 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3359 2014-06-24 Wilco <wdijkstr@arm.com>
3361 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3362 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3363 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3364 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3365 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3366 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3367 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3370 2014-06-24 Wilco <wdijkstr@arm.com>
3372 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3374 2014-06-24 Wilco <wdijkstr@arm.com>
3376 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3377 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3378 * sysdeps/arm/fesetround.c (fesetround): Remove space.
3379 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3381 2014-06-24 Wilco <wdijkstr@arm.com>
3384 * sysdeps/arm/feupdateenv.c (feupdateenv):
3385 Rewrite to reduce FPSCR accesses and fix return value.
3387 2014-06-24 Wilco <wdijkstr@arm.com>
3389 * sysdeps/arm/fclrexcpt.c (feclearexcept):
3390 Optimize to avoid unnecessary FPSCR writes.
3391 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3392 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3393 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3394 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3396 2014-06-24 Wilco <wdijkstr@arm.com>
3398 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3399 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3400 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3401 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3402 Call libc_fetestexcept_vfp.
3403 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3404 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3405 __SOFTFP__ ifdef so that they can be built for softfp.
3407 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3409 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3410 argument type signed char.
3412 * Makerules (check-abi): Dump diff of symlist if the test
3415 2014-06-23 Roland McGrath <roland@hack.frob.com>
3417 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3420 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3421 Remove unused variable ST.
3423 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3427 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3428 small arguments before calling __expm1.
3429 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3430 small arguments before calling __expm1f.
3431 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3432 small arguments before calling __expm1l.
3433 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3435 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3436 * math/auto-libm-test-in: Add more cosh tests. Do not allow
3437 spurious underflow for some cosh tests.
3438 * math/auto-libm-test-out: Regenerated.
3439 * sysdeps/i386/fpu/libm-test-ulps: Update.
3442 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3443 (__ieee754_y1): Set errno if return value overflows.
3444 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3445 (__ieee754_y1f): Set errno if return value overflows.
3446 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3447 (__ieee754_y1l): Set errno if return value overflows.
3448 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3449 (__ieee754_y1l): Set errno if return value overflows.
3450 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3451 * math/auto-libm-test-out: Regenerated.
3453 * math/gen-auto-libm-tests.c: Document use of
3454 ignore-zero-inf-sign.
3455 (input_flag_type): Add value flag_ignore_zero_inf_sign.
3456 (input_flags): Add ignore-zero-inf-sign.
3457 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3458 * math/gen-libm-test.pl (generate_testfile): Handle
3459 ignore-zero-inf-sign.
3460 * math/auto-libm-test-in: Mark some cpow tests with
3461 ignore-zero-inf-sign and some with xfail-rounding.
3462 * math/auto-libm-test-out: Regenerated.
3463 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3464 * sysdeps/i386/fpu/libm-test-ulps: Update.
3465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3468 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3469 overflowing or underflowing operations take place with sign of
3471 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3472 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3473 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3474 (__ieee754_pow): Recompute overflowing and underflowing results in
3475 original rounding mode.
3476 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3477 (__powl_helper): Allow negative argument X and scale negated value
3478 as needed. Avoid passing value outside [-1, 1] to f2xm1.
3479 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3480 overflowing or underflowing operations take place with sign of
3482 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3484 * math/auto-libm-test-in: Add more tests of pow.
3485 * math/auto-libm-test-out: Regenerated.
3486 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3487 (pow_tonearest_test_data): Remove.
3488 (pow_test_tonearest): Likewise.
3489 (pow_towardzero_test_data): Likewise.
3490 (pow_test_towardzero): Likewise.
3491 (pow_downward_test_data): Likewise.
3492 (pow_test_downward): Likewise.
3493 (pow_upward_test_data): Likewise.
3494 (pow_test_upward): Likewise.
3495 (main): Don't call removed functions.
3496 * sysdeps/i386/fpu/libm-test-ulps: Update.
3497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3499 2014-06-23 Roland McGrath <roland@hack.frob.com>
3501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3675 2014-06-23 Will Newton <will.newton@linaro.org>
3676 Wilco <wdijkstr@arm.com>
3678 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3679 implementation. Include get-rounding-mode.h.
3680 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3681 [!libc_feholdsetround_noex_ctx]: Define
3682 libc_feholdsetround_noex_ctx.
3683 [!libc_feholdsetround_noexf_ctx]: Define
3684 libc_feholdsetround_noexf_ctx.
3685 [!libc_feholdsetround_noexl_ctx]: Define
3686 libc_feholdsetround_noexl_ctx.
3687 (libc_feholdsetround_ctx): New function.
3688 (libc_feresetround_ctx): New function.
3689 (libc_feholdsetround_noex_ctx): New function.
3690 (libc_feresetround_noex_ctx): New function.
3692 2014-06-23 Roland McGrath <roland@hack.frob.com>
3694 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3695 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3696 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3697 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3698 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3699 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3701 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3702 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3703 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3704 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3705 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3706 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3707 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3708 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3709 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3710 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3711 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3713 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3715 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3716 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3717 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3718 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3719 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3721 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3722 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3723 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3724 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3725 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3726 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3727 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3728 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3730 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3731 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3733 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3734 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3735 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3736 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3738 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3739 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3740 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3741 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3742 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3743 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3744 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3745 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3746 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3747 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3749 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3751 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3752 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3753 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3754 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3755 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3756 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3757 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3758 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3759 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3760 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3761 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3762 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3763 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3765 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3766 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3767 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3768 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3769 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3770 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3772 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3773 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3774 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3775 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3776 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3778 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3779 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3780 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3781 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3782 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3783 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3784 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3785 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3786 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3787 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3788 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3789 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3790 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3791 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3792 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3793 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3794 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3795 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3796 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3797 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3798 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3799 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3800 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3801 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3802 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3803 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3804 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3805 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3807 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3809 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3810 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3811 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3812 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3813 (IPV6_PMTUDISC_INTERFACE): Likewise.
3814 (IPV6_PMTUDISC_OMIT): Likewise.
3816 2014-06-23 Andreas Schwab <schwab@suse.de>
3818 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3819 Remove unused errout label.
3821 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3823 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3824 macro: hardware supports Vector Crypto instructions.
3826 2014-06-23 Will Newton <will.newton@linaro.org>
3828 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3829 rather than __builtin_expect.
3831 * elf/dl-lookup.c (undefined_msg): Remove variable.
3832 (_dl_lookup_symbol_x): Replace undefined_msg with string
3835 * elf/dl-lookup.c (do_lookup_unique): New function.
3836 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3837 to a separate function.
3839 2014-06-23 Andreas Schwab <schwab@suse.de>
3842 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3843 before reading the next line.
3845 2014-06-23 Will Newton <will.newton@linaro.org>
3847 * test-skeleton.c (signal_handler): Use printf and %m
3848 rather than perror. Use printf rather than fprintf to
3849 stderr. Use puts rather than fputs to stderr.
3852 2014-06-22 Ludovic Courtès <ludo@gnu.org>
3854 * nscd/nscd.c (thread_info_t): Remove typedef.
3855 (thread_info): Remove variable.
3857 2014-06-21 Allan McRae <allan@archlinux.org>
3859 * NEWS: Mention CVE-2014-4043.
3861 2014-06-20 Roland McGrath <roland@hack.frob.com>
3863 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3864 * nptl/smp.h: ... here.
3866 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3868 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3869 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3870 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3871 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3873 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3874 * nptl/stack-aliasing.h: New file.
3875 * sysdeps/i386/i686/stack-aliasing.h: New file.
3876 * sysdeps/i386/i686/nptl/Makefile: File removed.
3877 * sysdeps/x86_64/stack-aliasing.h: New file.
3878 * sysdeps/x86_64/nptl/Makefile
3879 (CFLAGS-pthread_create.c): Variable removed.
3881 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3882 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3884 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3885 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3888 2014-06-21 Joseph Myers <joseph@codesourcery.com>
3890 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3891 (__ASSUME_SIGFRAME_V2): Remove macro.
3892 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3893 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3894 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3895 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3896 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3897 Declare as function. Remove conditional macro definitions.
3898 (__default_rt_sa_restorer): Likewise.
3899 (__default_sa_restorer_v1): Remove declaration.
3900 (__default_sa_restorer_v2): Likewise.
3901 (__default_rt_sa_restorer_v1): Likewise.
3902 (__default_rt_sa_restorer_v2): Likewise.
3903 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3904 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3905 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3907 2014-06-20 Roland McGrath <roland@hack.frob.com>
3909 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3910 (libpthread-routines): Add sysdep.
3911 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3912 * sysdeps/unix/sysv/linux/sparc/Versions
3913 (libpthread: GLIBC_2.3.3): New version set.
3914 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3915 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3916 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3917 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3918 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3919 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3921 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3922 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3923 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3924 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3925 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3926 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3927 * sysdeps/sparc/nptl/sem_init.c: ... here.
3928 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3929 * sysdeps/sparc/nptl/sem_post.c: ... here.
3930 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3931 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3932 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3933 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3934 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3935 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3936 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3937 (libpthread-routines): Add cpu_relax.
3938 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3940 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3941 (librt: GLIBC_2.3.3): New version set.
3942 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3943 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3944 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3945 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3946 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3947 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3948 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3949 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3951 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3952 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3953 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3954 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3955 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3956 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3957 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3958 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3959 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3960 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3962 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3964 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3966 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3968 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3970 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3972 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3974 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3976 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3978 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3980 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3982 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3984 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3985 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3986 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3987 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3988 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3989 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3990 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3991 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3992 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3993 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3994 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3996 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3997 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3998 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3999 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4000 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4002 2014-06-20 Joseph Myers <joseph@codesourcery.com>
4004 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4005 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4006 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4007 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4008 * nscd/nscd.c: Likewise.
4009 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4010 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4011 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4012 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4014 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4015 <kernel-features.h>.
4016 (init_mq_netlink): Remove conditional have_sock_cloexec
4017 definitions. Remove code conditional on have_sock_cloexec < 0.
4018 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4019 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4020 * sysdeps/unix/sysv/linux/opensock.c: Do not include
4021 <kernel-features.h>.
4022 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4023 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4025 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4027 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4028 Add tests for memset_chk and memset.
4030 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4033 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4036 * elf/tst-dl-iter-static.c: New file.
4037 * elf/Makefile (tests-static): Add tst-dl-iter-static.
4039 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4042 2014-06-20 Joseph Myers <joseph@codesourcery.com>
4044 * sysdeps/unix/sysv/linux/kernel-features.h
4045 (__ASSUME_F_GETOWN_EX): Remove macro.
4046 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4047 <kernel-features.h>.
4048 (miss_F_GETOWN_EX): Remove variable or macro.
4049 (do_fcntl): Do not check miss_F_GETOWN_EX.
4050 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4052 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4054 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4055 [!__ASSUME_AT_RANDOM]: Remove conditional code.
4056 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4058 * sysdeps/unix/sysv/linux/kernel-features.h
4059 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4060 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4061 [ADJ_OFFSET_SS_READ]: Make code unconditional.
4062 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4064 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4067 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4068 Fix calculation of the symbol's value.
4069 * sysdeps/arm/tst-armtlsdescloc.c: New file.
4070 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4071 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4072 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4073 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4074 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4075 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4076 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4077 (modules-names): Add `tst-armtlsdescmod',
4078 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4079 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4080 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4081 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4082 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4083 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4084 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4085 ($(objpfx)tst-armtlsdescloc): New dependency.
4086 ($(objpfx)tst-armtlsdescextnow): Likewise.
4087 ($(objpfx)tst-armtlsdescextlazy): Likewise.
4088 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4090 * sysdeps/arm/configure: Regenerate.
4092 2014-06-20 Joseph Myers <joseph@codesourcery.com>
4094 * include/fcntl.h (__atfct_seterrno): Remove prototype.
4095 (__atfct_seterrno_2): Likewise.
4096 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4097 <kernel-features.h>.
4098 (__ASSUME_ATFCTS): Do not undefine and redefine.
4099 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4100 (__have_atfcts): Remove conditional definition.
4101 (__fxstatat([__NR_fstatat64]: Make code unconditional.
4102 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4103 unreachable if [__ASSUME_ATFCTS].
4104 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4105 not undefine and redefine.
4106 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4107 <kernel-features.h>.
4108 (faccessat) [__NR_faccessat]: Make code unconditional.
4109 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4110 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4111 <kernel-features.h>.
4112 (fchmodat) [__NR_fchmodat]: Make code unconditional.
4113 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4114 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4115 <kernel-features.h>.
4116 (fchownat) [__NR_fchownat]: Make code unconditional.
4117 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4118 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4119 <kernel-features.h>.
4120 (futimesat) [__NR_futimesat]: Make code unconditional.
4121 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4122 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4123 <kernel-features.h>.
4124 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4125 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4126 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4127 <kernel-features.h>.
4128 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4129 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4130 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4131 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4132 <kernel-features.h>.
4133 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4134 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4135 * sysdeps/unix/sysv/linux/linkat.c: Do not include
4136 <kernel-features.h>.
4137 (linkat) [__NR_linkat]: Make code unconditional.
4138 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4139 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4140 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4141 <kernel-features.h>.
4142 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4143 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4144 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4145 <kernel-features.h>.
4146 (mkdirat) [__NR_mkdirat]: Make code unconditional.
4147 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4148 * sysdeps/unix/sysv/linux/openat.c: Do not include
4149 <kernel-features.h>.
4150 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4151 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4152 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4153 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4154 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4155 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4156 <kernel-features.h>.
4157 (readlinkat) [__NR_readlinkat]: Make code unconditional.
4158 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
4159 result of INLINE_SYSCALL directly, not via int variable.
4160 * sysdeps/unix/sysv/linux/renameat.c: Do not include
4161 <kernel-features.h>.
4162 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4163 (renameat) [__NR_renameat]: Make code unconditional.
4164 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4165 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4166 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4167 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4168 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4169 (__ASSUME_ATFCTS): Do not undefine and redefine.
4170 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4171 <kernel-features.h>.
4172 (symlinkat) [__NR_symlinkat]: Make code unconditional.
4173 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4174 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4175 <kernel-features.h>.
4176 (unlinkat) [__NR_unlinkat]: Make code unconditional.
4177 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4178 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4179 (__ASSUME_ATFCTS): Do not undefine and redefine.
4180 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4181 <kernel-features.h>.
4182 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4183 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4184 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4185 <kernel-features.h>.
4186 (__xmknodat) [__NR_mknodat]: Make code unconditional.
4187 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4189 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4191 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4193 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
4196 * posix/regcomp.c (parse_reg_exp): Deallocate partially
4197 constructed tree before returning error.
4198 * posix/bug-regexp36.c: Expand test case.
4200 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4203 * math/libm-test.inc (scalbln_test_date):
4204 Add errno expectations.
4205 * math/w_scalblnf.c: New File.
4206 Add wrapper which checks for setting errno to ERANGE.
4207 Add weak_alias for corresponding scalbln function.
4208 * math/w_scalbln.c: Likewise.
4209 * math/w_scalblnl.c: Likewise.
4210 * math/Makefile (libm-calls): Add w_scalbln.
4211 * sysdeps/ieee754/flt-32/s_scalblnf.c:
4212 Remove weak_alias for corresponding scalbln function.
4213 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4214 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4215 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4216 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4217 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4218 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4219 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4220 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4221 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4222 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4223 Remove long_double_symbol for scalblnl function in libm, libc.
4224 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4225 Add wrapper which checks for setting errno to ERANGE.
4226 Add long_double_symbol for scalblnl function in libm, libc.
4227 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4228 Remove long_double_symbol for scalblnl in libm.
4229 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4230 Add wrapper which checks for setting errno to ERANGE.
4231 Add long_double_symbol for scalblnl function in libm.
4232 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4233 Do not use wrapper because of own implementation.
4235 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
4237 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4238 3 bytes for __pad1 for x32.
4239 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4241 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
4242 H.J. Lu <hongjiu.lu@intel.com>
4244 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4245 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4246 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4247 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4248 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4250 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
4253 * posix/regcomp.c (parse_expression): Deallocate partially
4254 constructed tree before returning error.
4255 * posix/Makefile.c (tests): Add bug-regex36.
4256 (generated): Add bug-regex36.mtrace.
4257 (tests-special): Add $(objpfx)bug-regex36-mem.out
4258 (bug-regex36-ENV): New variable.
4259 ($(objpfx)bug-regex36-mem.out): New rule.
4260 * posix/bug-regex36.c: New file.
4262 2014-06-19 Will Newton <will.newton@linaro.org>
4264 * malloc/malloc.c (systrim): If extra is zero then return
4267 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4269 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4271 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
4273 * sysdeps/aarch64/strchr.S: New file.
4275 2014-06-18 Joseph Myers <joseph@codesourcery.com>
4278 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4279 from arguments -2 or below.
4280 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4281 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4283 2014-06-18 Andreas Schwab <schwab@suse.de>
4286 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4287 of a bracket expr not to run off the end of the string.
4288 * posix/Makefile (tests): Add tst-fnmatch3.
4289 * posix/tst-fnmatch3.c: New file.
4291 2014-06-18 Joseph Myers <joseph@codesourcery.com>
4293 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4294 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4295 [$(cross-compiling) = no]: Likewise.
4296 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4297 [$(cross-compiling) = no]: Likewise.
4299 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4302 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4303 double, adjusted for any remainder from the high double.
4304 * math/libm-test.inc (nearbyint): Add tests.
4307 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4309 * nptl/sysdeps/powerpc/Makefile: Moved ...
4310 * sysdeps/powerpc/nptl/Makefile: ... here.
4311 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4312 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4313 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4314 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4315 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4316 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4317 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4318 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4319 * nptl/sysdeps/powerpc/tls.h: Moved ...
4320 * sysdeps/powerpc/nptl/tls.h: ... here.
4322 2014-06-16 Joseph Myers <joseph@codesourcery.com>
4325 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4326 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4327 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4328 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4329 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4330 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4331 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4332 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4333 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4335 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
4337 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4339 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
4341 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4344 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4347 2014-06-16 Florian Weimer <fweimer@redhat.com>
4350 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4351 non-executed part of the test.
4353 2014-06-16 Andreas Schwab <schwab@suse.de>
4355 * string/bits/string2.h (strdup, strndup): Update feature guard.
4357 2014-06-14 David S. Miller <davem@davemloft.net>
4359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4361 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
4363 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4364 that was previously under [RESET_PID].
4365 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4367 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4368 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4369 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4370 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4371 (__libc_vfork): New strong alias.
4372 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4374 2014-06-14 Andi Kleen <ak@linux.intel.com>
4376 * sysdeps/generic/elide.h: New file.
4378 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4380 * Makefile (installed-headers): Adjust path of pthread.h header.
4382 2014-06-13 Roland McGrath <roland@hack.frob.com>
4384 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4385 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4386 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4387 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4389 * nptl/sysdeps/s390/Makefile: Moved ...
4390 * sysdeps/s390/nptl/Makefile: ... here.
4391 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4392 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4393 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4394 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4395 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4396 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4397 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4398 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4399 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4400 * sysdeps/s390/nptl/pthreaddef.h: ... here.
4401 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4402 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4403 * nptl/sysdeps/s390/tls.h: Moved ...
4404 * sysdeps/s390/nptl/tls.h: ... here.
4406 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4407 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4409 2014-06-13 David S. Miller <davem@davemloft.net>
4411 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4412 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4413 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4414 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4415 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4416 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4417 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4418 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4419 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4420 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4421 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4422 Remove RESET_PID cpp guards.
4423 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4424 Remove RESET_PID cpp guards.
4425 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4427 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
4429 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4432 2014-06-13 Andi Kleen <ak@linux.intel.com>
4434 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4435 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4436 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4437 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4438 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4439 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4440 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4441 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4442 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4443 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4444 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4445 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4446 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4447 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4448 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4449 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4450 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4451 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4452 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4453 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4455 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4456 (pthread_rwlock_rdlock): Add elision.
4457 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4458 (pthread_rwlock_wrlock): Add elision.
4459 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4460 (pthread_rwlock_trywrlock): Add elision.
4461 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4462 (pthread_rwlock_tryrdlock): Add elision.
4463 * nptl/pthread_rwlock_unlock.c: Include elide.h.
4464 (pthread_rwlock_tryrdlock): Add elision unlock.
4465 * nptl/sysdeps/pthread/pthread.h:
4466 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4467 (PTHREAD_RWLOCK_INITIALIZER,
4468 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4469 Handle new elision field.
4470 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4471 * sysdeps/arm/nptl/bits/pthreadtypes.h
4472 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4473 * sysdeps/sh/nptl/bits/pthreadtypes.h
4474 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4475 * sysdeps/tile/nptl/bits/pthreadtypes.h
4476 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4477 * sysdeps/a/nptl/bits/pthreadtypes.h
4478 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4479 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4480 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4481 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4482 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4483 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4484 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4485 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4486 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4487 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4488 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4489 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4490 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4491 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4492 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4493 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4494 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4495 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4496 (elision_init): Set try_xbegin to zero when no RTM.
4497 * sysdeps/x86/nptl/bits/pthreadtypes.h
4498 (pthread_rwlock_t): Change __pad1 to __rwelision.
4499 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4501 2014-06-13 Andi Kleen <ak@linux.intel.com>
4503 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4504 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4505 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4506 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4508 2014-06-13 Meador Inge <meadori@codesourcery.com>
4511 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4512 that the cached result has been set before returning it.
4514 2014-06-12 Roland McGrath <roland@hack.frob.com>
4516 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4517 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4518 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4519 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4520 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4521 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4523 * nptl/sysdeps/sparc/Makefile: Moved ...
4524 * sysdeps/sparc/nptl/Makefile: ... here.
4525 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4526 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4527 * nptl/sysdeps/sparc/tls.h: Moved ...
4528 * sysdeps/sparc/nptl/tls.h: ... here.
4529 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4530 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4531 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4532 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4533 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4534 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4535 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4536 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4537 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4538 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4539 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4540 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4541 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4542 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4543 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4544 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4545 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4546 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4548 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4549 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4551 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4552 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4554 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4555 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4558 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4560 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4561 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4563 * sysdeps/pthread/posix-timer.h: Include <list.h>.
4564 (struct list_links): Type removed.
4565 (struct thread_node, struct timer_node): Replace struct list_links
4566 with struct list_head.
4567 (list_unlink_ip): Likewise.
4568 * sysdeps/pthread/timer_routines.c
4569 (timer_free_list, thread_free_list, thread_active_list): Likewise.
4570 (list_append, list_insbefore): Likewise.
4571 (list_init): Function removed.
4572 (thread_init, init_module): Use INIT_LIST_HEAD instead.
4573 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4574 * sysdeps/pthread/Makefile: ... here, new file.
4576 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4577 * sysdeps/nptl/Implies: ... here.
4578 * sysdeps/unix/sysv/linux/Implies: Add nptl.
4579 * nptl/sysdeps/pthread/list.h: Moved ...
4580 * include/list.h: ... here.
4581 * nptl/sysdeps/pthread/createthread.c: Moved ...
4582 * nptl/createthread.c: ... here.
4583 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4584 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4585 * nptl/pt-longjmp.c: ... here.
4586 * nptl/sysdeps/pthread/Makefile: Moved ...
4587 * sysdeps/nptl/Makefile: ... here.
4588 * nptl/sysdeps/pthread/Subdirs: Moved ...
4589 * sysdeps/nptl/Subdirs: ... here.
4590 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4591 * sysdeps/nptl/aio_misc.h: ... here.
4592 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4593 * sysdeps/nptl/bits/libc-lock.h: ... here.
4594 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4595 * sysdeps/nptl/bits/libc-lockP.h: ... here.
4596 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4597 * sysdeps/nptl/bits/stdio-lock.h: ... here.
4598 * nptl/sysdeps/pthread/configure: Moved ...
4599 * sysdeps/nptl/configure: ... here.
4600 * nptl/sysdeps/pthread/configure.ac: Moved ...
4601 * sysdeps/nptl/configure.ac: ... here.
4602 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4603 * sysdeps/nptl/gai_misc.h: ... here.
4604 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4605 * sysdeps/nptl/librt-cancellation.c: ... here.
4606 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4607 * sysdeps/nptl/malloc-machine.h: ... here.
4608 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4609 * sysdeps/nptl/pthread-functions.h: ... here.
4610 * nptl/sysdeps/pthread/pthread.h: Moved ...
4611 * sysdeps/nptl/pthread.h: ... here.
4612 * nptl/sysdeps/pthread/setxid.h: Moved ...
4613 * sysdeps/nptl/setxid.h: ... here.
4614 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4615 * sysdeps/nptl/sigfillset.c: ... here.
4616 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4617 * sysdeps/nptl/tcb-offsets.h: ... here.
4618 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4619 * sysdeps/nptl/tst-mqueue8x.c: ... here.
4620 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4621 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4622 * nptl/sysdeps/pthread/allocalim.h: Moved ...
4623 * sysdeps/pthread/allocalim.h: ... here.
4624 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4625 * sysdeps/pthread/bits/sigthread.h: ... here.
4626 * nptl/sysdeps/pthread/flockfile.c: Moved ...
4627 * sysdeps/pthread/flockfile.c: ... here.
4628 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4629 * sysdeps/pthread/ftrylockfile.c: ... here.
4630 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4631 * sysdeps/pthread/funlockfile.c: ... here.
4632 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4633 * sysdeps/pthread/posix-timer.h: ... here.
4634 * nptl/sysdeps/pthread/timer_create.c: Moved ...
4635 * sysdeps/pthread/timer_create.c: ... here.
4636 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4637 * sysdeps/pthread/timer_delete.c: ... here.
4638 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4639 * sysdeps/pthread/timer_getoverr.c: ... here.
4640 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4641 * sysdeps/pthread/timer_gettime.c: ... here.
4642 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4643 * sysdeps/pthread/timer_routines.c: ... here.
4644 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4645 * sysdeps/pthread/timer_settime.c: ... here.
4646 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4647 * sysdeps/pthread/tst-timer.c: ... here.
4648 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4649 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4651 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4652 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4654 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4655 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4656 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4657 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4658 Update #include target.
4659 * nptl/sysdeps/i386/i686/Makefile: Moved ...
4660 * sysdeps/i386/i686/nptl/Makefile: ... here.
4661 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4662 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4663 Update #include target.
4664 * nptl/sysdeps/i386/i686/tls.h: Moved ...
4665 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
4666 * nptl/sysdeps/i386/Makefile: Moved ...
4667 * sysdeps/i386/nptl/Makefile: ... here.
4668 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4669 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4670 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4671 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4672 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4673 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4674 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4675 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4676 * sysdeps/i386/nptl/pthreaddef.h: ... here.
4677 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4678 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4679 * nptl/sysdeps/i386/tls.h: Moved ...
4680 * sysdeps/i386/nptl/tls.h: ... here.
4682 * sysdeps/sh/Makefile [$(subdir) = csu]
4683 (gen-as-const-headers): Add tcb-offsets.sym.
4684 * nptl/sysdeps/sh/Makefile: File removed.
4685 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4686 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4687 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4688 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4689 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4690 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4691 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4692 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4693 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4694 * sysdeps/sh/nptl/pthreaddef.h: ... here.
4695 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4696 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4697 * nptl/sysdeps/sh/tls.h: Moved ...
4698 * sysdeps/sh/nptl/tls.h: ... here.
4699 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4700 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4701 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4702 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4703 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4704 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4705 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4706 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4707 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4708 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4709 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4710 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4711 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4712 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4713 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4714 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4715 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4716 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4717 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4718 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4719 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4720 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4721 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4722 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4723 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4725 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4726 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4728 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4729 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4730 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4731 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4732 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4733 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4734 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4735 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4736 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4737 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4738 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4739 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4740 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4741 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4742 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4743 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4744 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4745 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4746 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4748 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4750 * posix/spawn_faction_addopen.c: Include string.h.
4752 2014-06-11 Roland McGrath <roland@hack.frob.com>
4754 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4755 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4756 * nptl/sysdeps/x86_64/Makefile: Moved ...
4757 * sysdeps/x86_64/nptl/Makefile: ... here.
4758 * nptl/sysdeps/x86_64/configure: Moved ...
4759 * sysdeps/x86_64/nptl/configure: ... here.
4760 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4761 * sysdeps/x86_64/nptl/configure.ac: ... here.
4762 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4763 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4764 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4765 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4766 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4767 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4768 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4769 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4770 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4771 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4772 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4773 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4774 * nptl/sysdeps/x86_64/tls.h: Moved ...
4775 * sysdeps/x86_64/nptl/tls.h: ... here.
4776 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4777 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4778 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4779 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4781 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4783 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4787 2014-06-11 Joseph Myers <joseph@codesourcery.com>
4789 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4791 [POSIX] (off_t): Likewise.
4792 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4793 [POSIX] (S_ISBLK): Require macro.
4794 [POSIX] (S_ISCHR): Likewise.
4795 [POSIX] (S_ISDIR): Likewise.
4796 [POSIX] (S_ISFIFO): Likewise.
4797 [POSIX] (S_ISREG): Likewise.
4798 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4800 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4802 [POSIX] (time_t): Likewise.
4803 [POSIX] (timer_t): Likewise.
4805 2014-06-11 Florian Weimer <fweimer@redhat.com>
4808 * posix/spawn_int.h (struct __spawn_action): Make the path string
4809 non-const to support deallocation.
4810 * posix/spawn_faction_addopen.c
4811 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4812 * posix/spawn_faction_destroy.c
4813 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4814 path in all spawn_do_open actions.
4815 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4816 posix_spawn_file_actions_addopen.
4818 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4820 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4821 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4822 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4823 conditional code always true.
4824 (__libc_vfork): New alias.
4826 2014-06-11 Roland McGrath <roland@hack.frob.com>
4828 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4829 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4831 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4833 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4834 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4836 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4837 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4839 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4840 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4842 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4844 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4845 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4846 multiarch strcmp for PPC64.
4847 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4848 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4849 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4850 multiarch optimizations.
4851 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4852 (__libc_ifunc_impl_list): Likewise.
4854 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4856 * benchtests/scripts/validate_benchout.py: New script.
4857 * benchtests/Makefile (bench-func): Call it.
4858 * benchtests/scripts/benchout.schema.json: New file.
4860 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4862 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4863 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4864 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4865 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4866 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4867 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4868 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4869 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4870 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4871 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4872 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4873 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4874 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4875 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4876 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4877 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4981 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4982 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4983 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4984 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4985 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4987 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4989 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4990 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4991 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4992 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4993 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4994 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4995 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4996 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4997 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4998 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4999 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5000 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5001 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
5003 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5004 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
5006 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5007 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5008 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5009 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
5011 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5012 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5013 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5014 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5015 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5016 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5017 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
5019 2014-06-10 Wilco <wdijkstr@arm.com>
5021 * math/test-fenv-return.c: New file.
5022 * math/Makefile: Add new test test-fenv-return.
5024 2014-06-10 Joseph Myers <joseph@codesourcery.com>
5027 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5029 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5030 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5031 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5032 0.0L for an argument of 1.0L.
5033 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5035 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5036 value when x - 1 is zero.
5037 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5038 * sysdeps/i386/fpu/libm-test-ulps: Update.
5039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5041 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
5044 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5046 2014-06-09 Roland McGrath <roland@hack.frob.com>
5048 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5049 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5051 2014-06-09 Roland McGrath <roland@hack.frob.com>
5053 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5054 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5056 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5057 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5059 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5060 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5062 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5063 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5065 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5066 if not already defined.
5067 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5068 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5069 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5070 (TLS_INIT_TP): Use it.
5071 (TLS_DEFINE_INIT_TP): New macro.
5072 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5074 2014-06-09 Joseph Myers <joseph@codesourcery.com>
5076 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5078 [POSIX] (IXANY): Likewise.
5079 [POSIX] (OLCUC): Likewise.
5080 [POSIX || POSIX2008] (CBAUD): Do not allow.
5081 [POSIX || POSIX2008] (DEFECHO): Likewise.
5082 [POSIX || POSIX2008] (ECHOCTL): Likewise.
5083 [POSIX || POSIX2008] (ECHOKE): Likewise.
5084 [POSIX || POSIX2008] (ECHOPRT): Likewise.
5085 [POSIX || POSIX2008] (EXTA): Likewise.
5086 [POSIX || POSIX2008] (EXTB): Likewise.
5087 [POSIX || POSIX2008] (FLUSHO): Likewise.
5088 [POSIX || POSIX2008] (LOBLK): Likewise.
5089 [POSIX || POSIX2008] (PENDIN): Likewise.
5090 [POSIX || POSIX2008] (SWTCH): Likewise.
5091 [POSIX || POSIX2008] (VDISCARD): Likewise.
5092 [POSIX || POSIX2008] (VDSUSP): Likewise.
5093 [POSIX || POSIX2008] (VLNEXT): Likewise.
5094 [POSIX || POSIX2008] (VREPRINT): Likewise.
5095 [POSIX || POSIX2008] (VSTATUS): Likewise.
5096 [POSIX || POSIX2008] (VWERASE): Likewise.
5097 (B*): Change to B[0123456789]*.
5098 * conform/data/time.h-data [POSIX || UNIX98]
5099 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5100 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5101 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5102 [POSIX] (tm_*): Do not allow.
5104 2014-06-07 Joseph Myers <joseph@codesourcery.com>
5106 * Makefile (install): Don't set LANGUAGE.
5107 * Makefile.in (install): Likewise.
5108 * assert/Makefile (test-assert-ENV): Remove variable.
5109 (test-assert-perr-ENV): Likewise.
5110 * elf/Makefile (neededtest4-ENV): Likewise.
5111 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5112 [$(cross-compiling) = no]: Don't set LANGUAGE.
5113 * io/ftwtest-sh (LANG): Remove variable.
5114 * libio/Makefile (tst-widetext-ENV): Likewise.
5115 * manual/install.texi (Running make install): Don't refer to
5116 environment settings for make install.
5117 * INSTALL: Regenerated.
5118 * nptl/tst-tls6.sh: Don't set LANG.
5119 * posix/globtest.sh (LANG): Remove variable.
5120 * string/Makefile (tester-ENV): Likewise.
5121 (inl-tester-ENV): Likewise.
5122 (noinl-tester-ENV): Likewise.
5123 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5124 [$(cross-compiling) = no]: Don't set LANGUAGE.
5125 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5126 without explicit environment settings.
5128 2014-06-06 Roland McGrath <roland@hack.frob.com>
5130 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5131 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5132 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5133 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5135 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
5137 * crypt/crypt-private.h [DOS]: Add some includes taken from the
5138 other files in the crypt directory.
5139 * crypt/crypt.c: Remove duplicate includes.
5140 * crypt/crypt-entry.c: Likewise.
5141 * crypt/crypt_util.c: Likewise.
5143 2014-06-06 Joseph Myers <joseph@codesourcery.com>
5145 * Makeconfig (run-program-env): New variable.
5146 (run-program-prefix-before-env): Likewise.
5147 (run-program-prefix-after-env): Likewise.
5148 (run-program-prefix): Define in terms of new variables.
5149 (built-program-cmd-before-env): New variable.
5150 (built-program-cmd-after-env): Likewise.
5151 (built-program-cmd): Define in terms of new variables.
5152 (test-program-prefix-before-env): New variable.
5153 (test-program-prefix-after-env): Likewise.
5154 (test-program-prefix): Define in terms of new variables.
5155 (test-program-cmd-before-env): New variable.
5156 (test-program-cmd-after-env): Likewise.
5157 (test-program-cmd): Define in terms of new variables.
5158 * Rules (make-test-out): Use $(run-program-env).
5159 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5160 (help): Do not mention environment variables. Mention
5161 --timeoutfactor option.
5162 (timeoutfactor): New variable.
5163 (blacklist_exports): Remove function.
5164 (exports): Remove variable.
5165 (command): Do not include ${exports}.
5166 * manual/install.texi (Configuring and compiling): Do not mention
5167 test wrappers preserving environment variables. Mention that last
5168 assignment to a variable must take precedence.
5169 * INSTALL: Regenerated.
5170 * benchtests/Makefile (run-bench): Use $(run-program-env).
5171 * catgets/Makefile ($(objpfx)test1.cat): Use
5172 $(built-program-cmd-before-env), $(run-program-env) and
5173 $(built-program-cmd-after-env).
5174 ($(objpfx)test2.cat): Do not specify environment variables
5176 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5177 $(run-program-env) and $(built-program-cmd-after-env).
5178 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5179 $(run-program-env) and $(test-program-cmd-after-env).
5180 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5182 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5183 run_program_env and test_program_cmd_after_env arguments.
5184 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5185 * elf/tst-pathopt.sh: Use run_program_env argument.
5186 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5187 $(test-wrapper-env) and $(run-program-env).
5188 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5189 run_program_env arguments.
5190 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5191 * intl/Makefile ($(objpfx)tst-gettext.out): Use
5192 $(test-program-prefix-before-env), $(run-program-env) and
5193 $(test-program-prefix-after-env).
5194 ($(objpfx)tst-gettext2.out): Likewise.
5195 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5196 run_program_env and test_program_prefix_after_env arguments.
5197 * intl/tst-gettext2.sh: Likewise.
5198 * intl/tst-gettext4.sh: Do not set environment variables
5200 * intl/tst-gettext6.sh: Likewise.
5201 * intl/tst-translit.sh: Likewise.
5202 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5203 $(test-program-prefix-before-env), $(run-program-env) and
5204 $(test-program-prefix-after-env).
5205 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5206 run_program_env and test_program_prefix_after_env arguments.
5207 * math/Makefile (run-regen-ulps): Use $(run-program-env).
5208 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5209 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
5210 explicitly with each use of ${test_wrapper_env}.
5211 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5212 $(test-program-prefix-before-env), $(run-program-env) and
5213 $(test-program-prefix-after-env).
5214 * posix/tst-getconf.sh: Do not set environment variables
5216 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5217 run_program_env and test_program_prefix_after_env arguments.
5218 * stdio-common/tst-printf.sh: Do not set environment variables
5220 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5221 $(test-program-prefix-before-env), $(run-program-env) and
5222 $(test-program-prefix-after-env).
5223 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5224 run_program_env and test_program_prefix_after_env arguments.
5225 Split $test calls into $test_pre and $test.
5226 * timezone/Makefile (build-testdata): Use
5227 $(built-program-cmd-before-env), $(run-program-env) and
5228 $(built-program-cmd-after-env).
5230 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5232 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5233 strlen for non SHARED builds.
5235 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5237 * nptl/allocatestack.c (check_list): Inlined function...
5238 (__reclaim_stacks): ... here.
5240 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
5243 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5246 2014-06-05 Joseph Myers <joseph@codesourcery.com>
5248 * Rules (make-test-out): Include
5249 LOCPATH=$(common-objpfx)localedata in default environment.
5250 * debug/Makefile (tst-chk1-ENV): Remove variable.
5251 (tst-chk2-ENV): Likewise.
5252 (tst-chk3-ENV): Likewise.
5253 (tst-chk4-ENV): Likewise.
5254 (tst-chk5-ENV): Likewise.
5255 (tst-chk6-ENV): Likewise.
5256 (tst-lfschk1-ENV): Likewise.
5257 (tst-lfschk2-ENV): Likewise.
5258 (tst-lfschk3-ENV): Likewise.
5259 (tst-lfschk4-ENV): Likewise.
5260 (tst-lfschk5-ENV): Likewise.
5261 (tst-lfschk6-ENV): Likewise.
5262 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5263 (tst-iconv7-ENV): Likewise.
5264 * intl/Makefile (LOCPATH-ENV): Likewise.
5265 (tst-codeset-ENV): Likewise.
5266 (tst-gettext3-ENV): Likewise.
5267 (tst-gettext5-ENV): Likewise.
5268 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5269 (tst-fopenloc-ENV): Likewise.
5270 (tst-fgetws-ENV): Remove variable.
5271 (tst-ungetwc1-ENV): Likewise.
5272 (tst-ungetwc2-ENV): Likewise.
5273 (bug-ungetwc2-ENV): Likewise.
5274 (tst-swscanf-ENV): Likewise.
5275 (bug-ftell-ENV): Likewise.
5276 (tst-fgetwc-ENV): Likewise.
5277 (tst-fseek-ENV): Likewise.
5278 (tst-ftell-partial-wide-ENV): Likewise.
5279 (tst-ftell-active-handler-ENV): Likewise.
5280 (tst-ftell-append-ENV): Likewise.
5281 * posix/Makefile (tst-fnmatch-ENV): Likewise.
5282 (tst-regexloc-ENV): Likewise.
5283 (bug-regex1-ENV): Likewise.
5284 (tst-regex-ENV): Likewise.
5285 (tst-regex2-ENV): Likewise.
5286 (bug-regex5-ENV): Likewise.
5287 (bug-regex6-ENV): Likewise.
5288 (bug-regex17-ENV): Likewise.
5289 (bug-regex18-ENV): Likewise.
5290 (bug-regex19-ENV): Likewise.
5291 (bug-regex20-ENV): Likewise.
5292 (bug-regex22-ENV): Likewise.
5293 (bug-regex23-ENV): Likewise.
5294 (bug-regex25-ENV): Likewise.
5295 (bug-regex26-ENV): Likewise.
5296 (bug-regex30-ENV): Likewise.
5297 (bug-regex32-ENV): Likewise.
5298 (bug-regex33-ENV): Likewise.
5299 (bug-regex34-ENV): Likewise.
5300 (bug-regex35-ENV): Likewise.
5301 (tst-rxspencer-ENV): Likewise.
5302 (tst-rxspencer-no-utf8-ENV): Likewise.
5303 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5304 (tst-sscanf-ENV): Likewise.
5305 (tst-swprintf-ENV): Likewise.
5306 (tst-swscanf-ENV): Likewise.
5307 (test-vfprintf-ENV): Likewise.
5308 (scanf13-ENV): Likewise.
5309 (bug14-ENV): Likewise.
5310 (tst-grouping-ENV): Likewise.
5311 * stdlib/Makefile (tst-strtod-ENV): Likewise.
5312 (tst-strtod3-ENV): Likewise.
5313 (tst-strtod4-ENV): Likewise.
5314 (tst-strtod5-ENV): Likewise.
5315 (testmb2-ENV): Likewise./
5316 * string/Makefile (tst-strxfrm-ENV): Likewise.
5317 (tst-strxfrm2-ENV): Likewise.
5318 (bug-strcoll1-ENV): Likewise.
5319 (test-strcasecmp-ENV): Likewise.
5320 (test-strncasecmp-ENV): Likewise.
5321 * time/Makefile (tst-strptime-ENV): Likewise.
5322 (tst-ftime_l-ENV): Likewise.
5323 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5324 (tst-mbrtowc-ENV): Likewise.
5325 (tst-wcrtomb-ENV): Likewise.
5326 (tst-mbrtowc2-ENV): Likewise.
5327 (tst-c16c32-1-ENV): Likewise.
5328 (tst-mbsnrtowcs-ENV): Likewise.
5330 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
5332 * manual/resource.texi (How to get information about the memory
5333 subsystem?): Fix typo.
5334 Reported by Peon de la Parra Ivan <peon@keba.com>
5336 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
5339 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5340 (pthread_spin_lock): Branch out of spin loop to proper location.
5341 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5342 (pthread_spin_lock): Likewise.
5344 * nptl/tst-spin4.c: New test.
5345 * nptl/Makefile (tests): Add tst-spin4.
5347 2014-06-03 Andreas Schwab <schwab@suse.de>
5350 * resolv/res_send.c (send_dg): Reload file descriptor after
5353 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
5355 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5357 2014-06-03 Richard Henderson <rth@redhat.com>
5359 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5360 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5361 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5362 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
5363 in the SAVE_PID block.
5364 (__libc_vfork): New alias.
5365 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5367 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5368 child in registers, not on the stack. Remove RESET_PID conditionals.
5369 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5371 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
5373 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5375 2014-06-03 Wilco <wdijkstr@arm.com>
5377 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5378 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5379 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5380 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5381 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5384 2014-06-03 Wilco <wdijkstr@arm.com>
5386 * sysdeps/aarch64/fpu/math_private.h
5387 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5388 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5389 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5390 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5393 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5395 * crypt/crypt-private.h: Include ufc-crypt.h.
5396 (__b64_from_24bit): Declare extern.
5397 * crypt/crypt_util.c(__b64_from_24bit): New function.
5398 (b64t): New static const variable.
5399 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5400 (b64t): Remove variable.
5401 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5402 * crypt/sha256-crypt.c: Include crypt-private.h.
5403 (b64t): Remove variable.
5404 (__sha256_crypt_r): Remove b64_from_24bit and replace
5405 with __b64_from_24bit.
5406 * crypt/sha512-crypt.c: Likewise.
5408 2014-06-02 Roland McGrath <roland@hack.frob.com>
5410 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5411 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5412 Label the code __libc_vfork rather than __vfork.
5413 [!NOT_IN_libc] (vfork): Define as weak alias.
5414 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5415 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5416 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5418 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5420 * malloc/malloc.c (malloc_info): Fix format specifier for
5423 2014-06-02 Wilco <wdijkstr@arm.com>
5425 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5428 2014-06-02 Wilco <wdijkstr@arm.com>
5431 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5432 Rewrite to reduce FPCR/FPSR accesses.
5434 2014-06-01 David S. Miller <davem@davemloft.net>
5436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5438 2014-05-31 David S. Miller <davem@davemloft.net>
5440 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5441 to occur in round to nearest mode when |x| >= 2.0
5443 2014-05-30 Richard Henderson <rth@twiddle.net>
5445 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5446 (PSEUDO_RET_NOERRNO): Remove.
5447 (ret): Don't redefine.
5448 (ret_NOERRNO): Define in terms of ret.
5449 (ret_ERRVAL): Likewise.
5451 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5452 use of PSEUDO_RET; perform the error check directly.
5454 2014-05-30 Marko Myllynen <myllynen@redhat.com>
5456 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5459 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5461 * malloc/malloc (malloc_info): Fix formatting.
5463 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5464 Roland McGrath <roland@hack.frob.com>
5466 * malloc/malloc (malloc_info): Also print mmapped statistics.
5468 2014-05-30 Roland McGrath <roland@hack.frob.com>
5470 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5471 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5473 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
5475 * malloc/malloc.c (malloc_info): Inline mi_arena.
5477 2014-05-29 Richard Henderson <rth@twiddle.net>
5479 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5480 Remove comma before expanding ASM_ARGS_##nr.
5481 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5482 Make _x0 a strict output; make _x8 a strict input; adjust expansion
5484 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5485 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5486 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5487 (ASM_ARGS_1): Add leading comma.
5489 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5490 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5491 to __errno_location.
5492 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5493 Remove the expected plt for __errno_location.
5495 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5496 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5499 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5500 Always allocate 64 bytes of stack frame. Use ldp/stp to create
5501 it and break it down.
5502 (DOCARGS_0, DOCARGS_1): Do nothing.
5503 (DOCARGS_2): Update to store into the new stack frame.
5504 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5505 (UNDOCARGS_1): Update to restore from the new stack frame.
5506 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5507 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5509 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5510 (SINGLE_THREAD_P): New parameter for result regno.
5511 (PSEUDO): Update to match; use cbz instead of beq.
5513 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5514 Use ENTRY to define the _nocancel entry point. Share the syscall
5515 and syscall error check paths with the cancel path.
5518 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5519 whitespace; tabs before and after asm mnemonics.
5521 2014-05-29 Eric Wong <normalperson@yhbt.net>
5524 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5525 Call fstat64 or stat64 internally, depending on arguments passed.
5526 Replace stat buffer argument with file descriptor argument.
5527 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5528 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5529 Pass fd to __internal_statvfs instead of calling fstat64.
5530 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5531 Pass fd to __internal_statvfs64 instead of calling fstat64.
5532 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5533 Pass -1 to __internal_statvfs instead of calling stat64.
5534 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5535 Pass -1 to __internal_statvfs64 instead of calling stat64.
5537 2014-05-28 Roland McGrath <roland@hack.frob.com>
5539 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5540 that was previously under [RESET_PID].
5541 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5543 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5544 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5546 2014-05-27 Roland McGrath <roland@hack.frob.com>
5548 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5550 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5551 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5553 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
5555 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5557 2014-05-27 Andreas Schwab <schwab@suse.de>
5559 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5561 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5562 * elf/rtld.c (init_tls, dl_main): Likewise.
5563 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5564 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5565 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5566 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5567 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5568 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5569 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5570 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5571 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5572 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5573 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5574 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5575 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5576 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5577 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5578 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5579 * sysdeps/generic/tls.h: Update description.
5581 2014-05-27 Will Newton <will.newton@linaro.org>
5584 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5585 and restore r2 rather than just restoring.
5587 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5590 * libio/tst-ftell-append.c: New test case.
5591 * libio/Makefile (tests): Add test case.
5592 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5594 * libio/wfileops.c (do_ftell_wide): Likewise.
5596 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5600 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5604 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5605 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5606 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5607 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5608 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5609 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5610 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5613 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5616 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5617 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5618 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5619 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5620 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5622 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5623 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5625 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5627 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5629 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5630 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5631 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5633 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5634 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5635 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5636 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5638 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5641 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5644 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5647 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5651 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5654 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5659 conditional [RESET_PID].
5660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5661 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5663 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5668 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5669 (__libc_vfork): New strong alias.
5670 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5672 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5677 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5678 (__libc_vfork): New strong alias.
5679 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5681 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5684 2014-05-26 Carlos O'Donell <carlos@redhat.com>
5686 * malloc/malloc.c (mi_arena): New function.
5687 (malloc_info): Remove nested function mi_arena. Call non-nosted
5690 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5692 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5694 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5695 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5696 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5697 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5698 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5699 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5700 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5702 2014-05-26 Andreas Schwab <schwab@suse.de>
5705 * locale/programs/repertoire.c (repertoire_read): Add slash
5706 between I18NPATH element and file name.
5707 * locale/programs/locfile.c (locfile_read): Likewise.
5709 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5711 * nptl/pthread_mutexattr_settype.c
5712 (__pthread_mutexattr_settype):
5713 Disable lock elision for PTHREAD_MUTEX_NORMAL.
5715 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5717 * nptl/tst-mutex5 (do_test):
5718 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5720 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5722 * benchtests/README: Document 'init' directive.
5723 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5725 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5726 (parse_file): Recognize 'init' directive.
5728 2014-05-26 Kyle McMartin <kyle@redhat.com>
5731 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5732 alignment of struct pthread.
5734 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5737 * nscd/netgroupcache.c (addgetnetgrentX): Look for
5738 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5739 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5740 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5742 2014-05-25 Richard Henderson <rth@twiddle.net>
5744 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5745 (SINGLE_THREAD_P_PIC): Remove.
5746 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5747 (SINGLE_THREAD_P_PIC): Remove.
5749 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5750 branch to syscall error ...
5752 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5753 from __local_syscall_error to .Lsyscall_error.
5754 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5755 (SYSCALL_ERROR): Update label name.
5757 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5758 Do not use DOARGS/UNDOARGS.
5759 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5760 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5761 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5762 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5763 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5765 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5768 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5769 define if !NOT_IN_libc.
5770 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5771 define with non-default symbol versions.
5773 2014-05-23 Richard Henderson <rth@twiddle.net>
5775 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5776 (vfork, __vfork): Define via compat_symbol.
5778 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5779 [!HAVE_IFUNC] (vfork_compat): Remove.
5780 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5782 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5785 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5786 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5789 2014-05-23 Richard Henderson <rth@twiddle.net>
5791 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5792 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5793 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5794 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5796 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5797 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5798 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5799 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5800 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5801 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5802 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5803 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5804 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5805 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5806 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5807 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5808 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5809 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5810 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5811 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5812 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5813 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5814 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5815 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5816 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5817 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5818 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5819 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5820 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5821 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5822 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5823 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5824 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5825 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5826 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5827 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5828 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5829 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5830 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5831 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5832 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5833 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5834 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5835 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5836 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5837 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5838 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5839 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5840 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5841 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5842 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5843 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5844 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5845 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5846 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5847 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5848 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5849 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5850 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5851 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5853 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5854 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5855 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5856 before exiting on error.
5857 (__libc_vfork): New strong alias.
5858 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5859 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5861 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5862 that was previously under [RESET_PID].
5863 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5865 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5867 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5870 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5871 value when x - 1 is zero.
5872 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5873 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5874 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5875 0.0L for an argument of 1.0L.
5876 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5878 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5879 value when x - 1 is zero.
5880 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5881 * sysdeps/i386/fpu/libm-test-ulps: Update.
5882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5884 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5886 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5887 alphasort and versionsort.
5889 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5891 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5893 [copysignf]: Likewise.
5895 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5897 * crypt/md5-crypt.c: Fix formatting.
5899 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5901 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5902 (b64_from_24bit): New function.
5904 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5906 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5907 libc_hidden_builtin_def to ifunc.
5908 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5909 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5911 2014-05-21 Roland McGrath <roland@hack.frob.com>
5913 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5914 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5916 2014-05-21 Joseph Myers <joseph@codesourcery.com>
5918 * nscd/Depend (linuxthreads): Remove.
5920 * resolv/Depend (linuxthreads): Remove.
5921 * rt/Depend (linuxthreads): Remove.
5923 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5924 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5925 $(common-objpfx)elf/.
5926 (link-libc-before-gnulib): Likewise.
5927 (elfobjdir): Remove variable.
5928 * Makefile (install): Use $(elf-objpfx) instead of
5929 $(common-objpfx)elf/.
5930 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5932 (link-libc-deps): Likewise.
5933 ($(common-objpfx)libc.so): Likewise.
5934 ($(common-objpfx)linkobj/libc.so): Likewise.
5935 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5936 instead of $(common-objpfx)elf/.
5937 (symbolic-link-list): Likewise.
5938 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5939 [$(cross-compiling) = no]: Likewise.
5940 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5942 (static-gnulib-arch): Likewise.
5943 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5944 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5945 $(common-objpfx)elf/.
5947 2014-05-21 Richard Henderson <rth@redhat.com>
5949 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5950 (SINGLE_THREAD_P): Use the correct width load. Fold
5951 into the ldr offset.
5953 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5954 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5956 2014-05-20 Joseph Myers <joseph@codesourcery.com>
5958 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5959 (libgcc_s_resume): Use __attribute_used__.
5960 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5963 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5965 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5966 optimization when used with float constants.
5968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5970 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5973 * locale/nl_langinfo_l.c: Make direct reference to every
5974 _nl_current_CATEGORY symbol.
5975 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5976 (tests-static): Add tst-langinfo-static.
5977 (tests-special): Add tst-langinfo-static.out.
5978 ($(objpfx)tst-langinfo.out): Redirect output.
5979 ($(objpfx)tst-langinfo-static.out): New.
5980 * localedata/tst-langinfo.sh: Send output to stdout.
5981 * localedata/tst-langinfo-static.c: New file.
5984 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5985 when the shift amount is modulo the limb size.
5987 2014-05-20 Richard Henderson <rth@redhat.com>
5990 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5991 Change type of sa_flags from unsigned int to int.
5994 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5996 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5998 2014-05-20 Will Newton <will.newton@linaro.org>
6000 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6001 Test the return value of the system call in the nocancel case.
6003 2014-05-20 Will Newton <will.newton@linaro.org>
6004 Yvan Roux <yvan.roux@linaro.org>
6006 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6007 #include of asm/ptrace.h.
6008 (PTRACE_GET_THREAD_AREA): Remove #undef.
6009 (PTRACE_GETHBPREGS): Likewise.
6010 (PTRACE_SETHBPREGS): Likewise.
6011 (struct user_regs_struct): New structure.
6012 (struct user_fpsimd_struct): New structure.
6013 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6014 #include of asm/ptrace.h and second #include of sys/user.h.
6015 (PTRACE_GET_THREAD_AREA): Remove #undef.
6016 (PTRACE_GETHBPREGS): Likewise.
6017 (PTRACE_SETHBPREGS): Likewise.
6018 (ELF_NGREG): Use new struct user_regs_struct.
6019 (elf_fpregset_t): Use new struct user_fpsimd_struct.
6021 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6023 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6024 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6026 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6029 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6030 membar to avoid block loads/stores to overlap previous stores.
6032 2014-05-17 Richard Henderson <rth@redhat.com>
6034 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6035 Create the __##syscall_name##_nocancel entry point.
6036 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6037 Remove; let the sysdep-cancel.h code create it.
6039 2014-05-17 David S. Miller <davem@davemloft.net>
6041 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6042 Protect with __USE_GNU.
6043 (TIOCSET_TEMPT): Likewise.
6044 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6045 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6046 these are already provided in bits/ioctl-types.h
6048 2014-05-16 Roland McGrath <roland@hack.frob.com>
6050 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6051 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6053 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6054 Use wait4 regardless of [__NR_waitpid].
6056 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6059 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6060 (_FP_NANSIGN_Q): Set the quiet bit.
6062 2014-05-16 Joseph Myers <joseph@codesourcery.com>
6064 * benchtests/Makefile
6065 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6066 not $(common-objpfx)math/libm.so.
6067 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6068 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6069 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6070 $(common-objpfx)dlfcn/libdl.so.
6071 ($(objpfx)tst-audit8): Depend on $(libm), not
6072 $(common-objpfx)math/libm.so.
6073 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6074 not $(common-objpfx)dlfcn/libdl.so.
6076 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6077 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
6078 [$(build-shared) = yes].
6079 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6080 $(common-objpfx)nptl/libpthread.so.
6081 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6082 $(common-objpfx)math/libm.so$(libm.so-version) or
6083 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6084 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6085 $(common-objpfx)dlfcn/libdl.so.
6086 * setjmp/Makefile (link-libm): Remove variable.
6087 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6088 * stdio-common/Makefile (link-libm): Remove variable.
6089 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6090 * stdlib/Makefile (link-libm): Remove variable.
6091 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6092 ($(objpfx)tst-strtod-round): Likewise.
6093 ($(objpfx)tst-tininess): Likewise.
6094 ($(objpfx)tst-strtod-underflow): Likewise.
6095 ($(objpfx)tst-strtod6): Likewise.
6096 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6097 $(libdl), not $(common-objpfx)nptl/libpthread.so and
6098 $(common-objpfx)dlfcn/libdl.so.
6100 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6102 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6103 BSD terminal modes definitions.
6105 2014-05-16 Roland McGrath <roland@hack.frob.com>
6107 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6108 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6110 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
6111 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6112 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6113 Don't do #include_next.
6114 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6115 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6116 Don't do #include_next.
6117 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6118 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6119 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6120 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6122 2014-05-16 Allan McRae <allan@archlinux.org>
6124 * po/sv.po: Update Swedish translation from translation project.
6126 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6129 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
6132 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6133 errno if the TIOCGPTN ioctl fails with an error different than
6135 * login/tst-ptsname.c: New file.
6136 * login/Makefile (tests): Add tst-ptsname.
6139 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6142 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6146 herrno to return EAI_AGAIN.
6148 2014-05-14 Roland McGrath <roland@hack.frob.com>
6150 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6151 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6152 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6153 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6154 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6155 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6156 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6157 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6158 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6159 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6160 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6161 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6162 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6163 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6164 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6165 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6166 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6167 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6168 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6169 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6170 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6171 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6172 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6173 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6174 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6175 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6176 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6177 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6178 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6179 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6181 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6183 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6186 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6188 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6190 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6192 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6194 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6196 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6198 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6200 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6202 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6204 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6206 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6208 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6210 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6212 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6215 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6217 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6219 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6221 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6223 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6225 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6227 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6229 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6231 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6233 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6236 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6238 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6240 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6241 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6242 (libpthread-sysdep_routines): Add elision-related stuff here instead.
6243 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6244 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6245 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6246 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6247 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6248 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6249 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6250 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6251 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6252 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6253 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6254 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6255 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6256 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6257 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6258 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6259 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6260 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6261 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6262 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6263 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6264 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6265 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6266 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6267 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6268 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6269 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6270 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6272 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6273 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6275 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6276 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6277 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6278 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6279 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6280 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6282 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6283 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6285 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6286 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6288 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6289 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6291 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6292 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6293 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6294 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6296 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6297 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6298 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6299 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6300 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6301 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6302 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6303 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6305 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6306 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6308 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6310 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6311 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6312 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6313 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6314 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6316 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6318 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6320 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6321 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6322 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6323 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6324 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6325 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6327 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6328 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6330 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6331 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6333 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6334 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6336 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6337 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6338 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6339 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6341 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6342 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6343 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6344 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6345 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6346 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6347 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6348 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6350 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6351 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6353 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6355 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6356 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6357 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6358 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6359 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6361 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6363 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6365 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6366 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6367 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6368 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6369 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6370 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6371 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6372 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6373 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6374 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6376 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6377 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6379 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6380 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6382 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6383 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6385 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6386 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6387 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6388 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6389 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6390 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6392 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6393 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6394 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6395 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6396 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6397 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6398 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6399 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6401 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6402 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6404 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6406 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6407 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6408 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6409 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6410 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6412 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6414 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6416 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6417 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6418 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6419 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6420 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6421 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6422 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6423 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6424 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6425 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6426 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6428 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6429 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6431 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6432 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6434 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6435 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6436 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6437 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6438 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6439 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6440 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6441 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6442 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6443 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6444 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6445 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6446 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6447 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6448 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6449 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6450 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6451 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6453 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6454 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6455 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6456 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6458 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6459 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6460 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6461 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6462 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6463 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6464 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6465 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6467 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6468 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6470 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6471 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6472 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6473 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6474 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6475 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6476 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6477 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6478 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6479 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6480 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6481 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6482 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6483 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6484 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6485 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6486 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6488 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6489 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6490 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6491 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6492 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6494 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6495 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6496 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6497 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6498 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6499 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6500 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6501 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6502 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6503 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6505 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6506 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6508 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6509 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6510 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6511 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6512 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6513 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6514 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6515 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6516 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6517 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6518 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6519 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6520 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6521 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6522 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6524 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6526 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6528 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6530 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6532 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6534 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6536 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6538 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6540 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6542 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6543 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6544 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6545 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6546 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6547 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6548 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6549 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6550 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6551 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6552 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6553 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6554 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6555 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
6556 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
6558 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6559 that was previously under [RESET_PID].
6560 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6561 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6562 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6564 * sysdeps/i386/nptl/Implies: New file.
6565 * sysdeps/x86_64/nptl/Implies: New file.
6566 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6567 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6568 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6569 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6571 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6572 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6573 (__libc_vfork): New strong alias.
6574 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6575 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6577 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6578 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6579 (__libc_vfork): New strong alias.
6580 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6581 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6583 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6584 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6585 (__libc_vfork): New strong alias.
6586 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6587 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6588 * nptl/pt-vfork.c: New file.
6589 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6590 (libpthread: GLIBC_2.20): New version set (empty).
6592 2014-05-14 Will Newton <will.newton@linaro.org>
6594 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6597 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6600 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6601 arguments with exponent 65 or above.
6602 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6603 arguments 0x1p113L or above.
6604 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6605 to arguments 0x1p107L or above.
6606 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6607 positive arguments with exponent 65 or above.
6608 * math/auto-libm-test-in: Add more tests of log1p.
6609 * math/auto-libm-test-out: Regenerated.
6612 * math/s_cacos.c (__cacos): Ensure zero real part of result from
6613 non-finite arguments is +0.
6614 * math/s_cacosf.c (__cacosf): Likewise.
6615 * math/s_cacosl.c (__cacosl): Likewise.
6616 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6617 * sysdeps/i386/fpu/libm-test-ulps: Update.
6618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6621 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6623 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6624 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6625 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6626 for explicit high bit of mantissa when testing for argument equal
6628 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6629 * sysdeps/i386/fpu/libm-test-ulps: Update.
6630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6633 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6634 (__erf): Scale by 16 instead of 8 in potentially underflowing
6635 case. Ensure exception if result actually underflows.
6636 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6637 (__erff): Scale by 16 instead of 8 in potentially underflowing
6638 case. Ensure exception if result actually underflows.
6639 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6640 (efx8): Remove variable.
6641 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6642 case. Ensure exception if result actually underflows.
6643 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6644 (efx8): Remove variable.
6645 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6646 case. Ensure exception if result actually underflows.
6647 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6648 (efx8): Remove variable.
6649 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6650 case. Ensure exception if result actually underflows.
6651 * math/auto-libm-test-in: Add more tests of erf.
6652 * math/auto-libm-test-out: Regenerated.
6654 2014-05-14 Andreas Schwab <schwab@suse.de>
6656 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6657 Remove code conditionalized on USE___THREAD.
6659 * config.h.in (HAVE_PT_CHOWN): Define as 0.
6660 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6663 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6665 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6666 Define unconditionally.
6667 (__ASSUME_O_CLOEXEC): Likewise.
6668 (__ASSUME_SOCK_CLOEXEC): Likewise.
6669 (__ASSUME_IN_NONBLOCK): Likewise.
6670 (__ASSUME_PIPE2): Likewise.
6671 (__ASSUME_EVENTFD2): Likewise.
6672 (__ASSUME_SIGNALFD4): Likewise.
6673 (__ASSUME_DUP3): Likewise.
6674 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6675 (__ASSUME_DUP3): Do not define.
6676 (__ASSUME_EVENTFD2): Likewise.
6677 (__ASSUME_IN_NONBLOCK): Likewise.
6678 (__ASSUME_O_CLOEXEC): Likewise.
6679 (__ASSUME_PIPE2): Likewise.
6680 (__ASSUME_SIGNALFD4): Likewise.
6681 (__ASSUME_SOCK_CLOEXEC): Likewise.
6682 (__ASSUME_UTIMES): Undefine.
6683 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6684 (__ASSUME_UTIMES): Do not define.
6685 (__ASSUME_O_CLOEXEC): Likewise.
6686 (__ASSUME_SOCK_CLOEXEC): Likewise.
6687 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6688 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6690 (__ASSUME_PIPE2): Likewise.
6691 (__ASSUME_EVENTFD2): Likewise.
6692 (__ASSUME_SIGNALFD4): Likewise.
6693 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6694 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6696 (__ASSUME_EVENTFD2): Likewise.
6697 (__ASSUME_SIGNALFD4): Likewise.
6698 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6699 (__ASSUME_32BITUIDS): Likewise.
6700 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6701 (__ASSUME_IPC64): Likewise.
6702 (__ASSUME_ST_INO_64_BIT): Likewise.
6703 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6704 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6705 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6706 (__ASSUME_UTIMES): Do not define.
6707 (__ASSUME_PSELECT): Likewise.
6708 (__ASSUME_PPOLL): Likewise.
6709 (__ASSUME_O_CLOEXEC): Likewise.
6710 (__ASSUME_SOCK_CLOEXEC): Likewise.
6711 (__ASSUME_IN_NONBLOCK): Likewise.
6712 (__ASSUME_PIPE2): Likewise.
6713 (__ASSUME_EVENTFD2): Likewise.
6714 (__ASSUME_SIGNALFD4): Likewise.
6715 (__ASSUME_DUP3): Likewise.
6716 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6717 (__ASSUME_UTIMES): Likewise.
6718 (__ASSUME_O_CLOEXEC): Likewise.
6719 (__ASSUME_SOCK_CLOEXEC): Likewise.
6720 (__ASSUME_IN_NONBLOCK): Likewise.
6721 (__ASSUME_PIPE2): Likewise.
6722 (__ASSUME_EVENTFD2): Likewise.
6723 (__ASSUME_SIGNALFD4): Likewise.
6724 (__ASSUME_DUP3): Likewise.
6725 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6726 (__ASSUME_UTIMES): Likewise.
6727 (__ASSUME_O_CLOEXEC): Likewise.
6728 (__ASSUME_SOCK_CLOEXEC): Likewise.
6729 (__ASSUME_IN_NONBLOCK): Likewise.
6730 (__ASSUME_PIPE2): Likewise.
6731 (__ASSUME_EVENTFD2): Likewise.
6732 (__ASSUME_SIGNALFD4): Likewise.
6733 (__ASSUME_DUP3): Likewise.
6734 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6736 (__ASSUME_UTIMES): Likewise.
6737 (__ASSUME_EVENTFD2): Likewise.
6738 (__ASSUME_SIGNALFD4): Likewise.
6739 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6740 (__ASSUME_O_CLOEXEC): Likewise.
6741 (__ASSUME_SOCK_CLOEXEC): Likewise.
6742 (__ASSUME_IN_NONBLOCK): Likewise.
6743 (__ASSUME_PIPE2): Likewise.
6744 (__ASSUME_EVENTFD2): Likewise.
6745 (__ASSUME_SIGNALFD4): Likewise.
6746 (__ASSUME_DUP3): Likewise.
6747 (__ASSUME_UTIMES): Undefine.
6749 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6750 feclearexcept. Remove symbol versioning code.
6751 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
6752 symbol versioning code.
6753 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
6754 symbol versioning code.
6755 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6756 feupdateenv. Remove symbol versioning code.
6757 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6758 fegetexceptflag. Remove symbol versioning code.
6759 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6760 fesetexceptflag. Remove symbol versioning code.
6761 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6762 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6763 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6764 (__posix_fadvise64_l32): Remove prototype.
6765 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6768 2014-05-13 Roland McGrath <roland@hack.frob.com>
6770 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6771 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6772 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6773 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6775 2014-05-13 Sami Kerola <kerolasa@iki.fi>
6777 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6778 current working directory
6780 2014-05-13 Roland McGrath <roland@hack.frob.com>
6782 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6783 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6784 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6785 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6786 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6787 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6788 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6789 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6790 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6791 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6792 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6793 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6794 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6795 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6796 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6797 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6798 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6799 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6800 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6801 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6802 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6803 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6804 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6805 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6806 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6807 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6808 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6809 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6810 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6811 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6812 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6813 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6814 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6815 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6816 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6817 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6818 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6819 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6820 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6821 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6822 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6823 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6825 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6826 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6828 * sysdeps/unix/sysv/linux/arm/Makefile
6829 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6830 Add rt-aeabi_unwind_cpp_pr1.
6831 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6832 Add nptl-aeabi_unwind_cpp_pr1.
6833 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6834 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6835 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6836 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6837 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6838 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6840 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6841 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6842 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6843 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6845 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6846 Deconditionalize the code that was previously under [RESET_PID].
6847 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6849 * sysdeps/generic/exit-thread.h: New file.
6850 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6851 * include/unistd.h (__exit_thread): Remove declaration.
6852 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6853 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6854 * csu/libc-start.c: Include <exit-thread.h>.
6855 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6856 * nptl/pthread_create.c: Include <exit-thread.h>.
6857 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6858 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6859 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6860 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6861 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6862 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6863 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6864 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6865 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6866 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6867 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6868 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6869 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6870 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6871 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6872 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6873 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6875 2014-05-13 Andreas Schwab <schwab@suse.de>
6877 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6879 2014-05-12 Joseph Myers <joseph@codesourcery.com>
6881 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6882 (__ASSUME_UTIMES): Do not condition on kernel version.
6883 (__ASSUME_PSELECT): Define unconditionally.
6884 (__ASSUME_PPOLL): Likewise.
6885 (__ASSUME_ATFCTS): Likewise.
6886 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6887 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6888 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6889 (__ASSUME_UTIMENSAT): Define unconditionally.
6890 (__ASSUME_PRIVATE_FUTEX): Likewise.
6891 (__ASSUME_FALLOCATE): Likewise.
6892 (__ASSUME_O_CLOEXEC): Likewise.
6893 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6894 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6895 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6896 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6897 (__ASSUME_IN_NONBLOCK): Likewise.
6898 (__ASSUME_PIPE2): Likewise.
6899 (__ASSUME_EVENTFD2): Likewise.
6900 (__ASSUME_SIGNALFD4): Likewise.
6901 (__ASSUME_DUP3): Likewise.
6902 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6903 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6904 (__ASSUME_AT_RANDOM): Likewise.
6905 (__ASSUME_PREADV): Likewise.
6906 (__ASSUME_PWRITEV): Likewise.
6907 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6908 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6909 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6910 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6911 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6912 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6913 (__ASSUME_O_CLOEXEC): Define unconditionally.
6914 (__ASSUME_PSELECT): Do not undefine conditionally.
6915 (__ASSUME_PPOLL): Likewise.
6916 (__ASSUME_ATFCTS): Likewise.
6917 (__ASSUME_SET_ROBUST_LIST): Likewise.
6918 (__ASSUME_UTIMENSAT): Likewise.
6919 (__ASSUME_FDATASYNC): Define unconditionally.
6920 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6921 (__ASSUME_SIGFRAME_V2): Likewise.
6922 )__ASSUME_EVENTFD2): Likewise.
6923 (__ASSUME_SIGNALFD4): Likewise.
6924 (__ASSUME_PSELECT): Do not undefine conditionally.
6925 (__ASSUME_PPOLL): Likewise.
6926 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6927 (__ASSUME_PSELECT): Define unconditionally.
6928 (__ASSUME_PPOLL): Likewise.
6929 (__ASSUME_O_CLOEXEC): Likewise.
6930 (__ASSUME_SOCK_CLOEXEC): Likewise.
6931 (__ASSUME_IN_NONBLOCK): Likewise.
6932 (__ASSUME_PIPE2): Likewise.
6933 (__ASSUME_EVENTFD2): Likewise.
6934 (__ASSUME_SIGNALFD4): Likewise.
6935 (__ASSUME_DUP3): Likewise.
6936 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6937 (__ASSUME_O_CLOEXEC): Likewise.
6938 (__ASSUME_SOCK_CLOEXEC): Likewise.
6939 (__ASSUME_IN_NONBLOCK): Likewise.
6940 (__ASSUME_PIPE2): Likewise.
6941 (__ASSUME_EVENTFD2): Likewise.
6942 (__ASSUME_SIGNALFD4): Likewise.
6943 (__ASSUME_DUP3): Likewise.
6944 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6945 (__ASSUME_EVENTFD2): Likewise.
6946 (__ASSUME_SIGNALFD4): Likewise.
6947 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6949 2014-05-12 Andreas Schwab <schwab@suse.de>
6952 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6953 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6954 than maximum RPC packet size.
6955 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6956 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6957 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6958 (_nss_nis_getservbyport_r): Likewise.
6960 2014-05-12 Will Newton <will.newton@linaro.org>
6962 * malloc/Makefile (tests): Add tst-mallopt.
6963 * malloc/tst-mallopt.c: New file.
6965 2014-05-09 Roland McGrath <roland@hack.frob.com>
6967 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6968 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6970 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6972 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6973 (tst-tlsmod6.so): Likewise.
6975 2014-05-09 Roland McGrath <roland@hack.frob.com>
6977 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6979 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6982 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6983 and <dl-procinfo.h>.
6984 (__fegetenv): Save SSE state in envp->__eip if supported.
6985 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6986 envp->__eip if supported.
6987 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6988 and <dl-procinfo.h>.
6989 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6990 __data_offset and __data_selector in environment to 0. Set SSE
6992 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6994 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6996 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6998 2014-05-09 Will Newton <will.newton@linaro.org>
7000 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7001 and libc_relro_required for ARM.
7002 * sysdeps/arm/preconfigure: Regenerate.
7004 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
7005 Stefan Liebler <stli@linux.vnet.ibm.com>
7007 * config.make.in (enable-lock-elision): New Makefile variable.
7008 * configure.ac: Likewise.
7009 * configure: Regenerate.
7010 * sysdeps/s390/configure.ac:
7011 Add check for gcc transactions support.
7012 * sysdeps/s390/configure: Regenerate.
7013 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7014 Build elision files if enabled.
7015 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7016 Add lock elision support for s390.
7017 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7018 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7019 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7020 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7021 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7022 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7023 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7025 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7027 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7029 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7031 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7032 (__lll_timedlock_elision, __lll_lock_elision)
7033 (__lll_unlock_elision, __lll_trylock_elision)
7034 (lll_timedlock_elision, lll_lock_elision)
7035 (lll_unlock_elision, lll_trylock_elision): Add.
7036 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7037 (pthread_mutex_t): Add lock elision support for s390.
7039 2014-05-14 Wilco <wdijkstr@arm.com>
7041 * sysdeps/arm/fclrexcpt.c: Cleanup.
7042 * sysdeps/arm/fedisblxcpt.c: Cleanup.
7043 * sysdeps/arm/feenablxcpt.c: Cleanup.
7044 * sysdeps/arm/fegetenv.c: Cleanup.
7045 * sysdeps/arm/fegetexcept.c: Cleanup.
7046 * sysdeps/arm/fegetround.c: Cleanup.
7047 * sysdeps/arm/feholdexcpt.c: Cleanup.
7048 * sysdeps/arm/fesetenv.c: Cleanup.
7049 * sysdeps/arm/fesetround.c: Cleanup.
7050 * sysdeps/arm/feupdateenv.c: Cleanup.
7051 * sysdeps/arm/fgetexcptflg.c: Cleanup.
7052 * sysdeps/arm/fraiseexcpt.c: Cleanup.
7053 * sysdeps/arm/fsetexcptflg.c: Cleanup.
7054 * sysdeps/arm/ftestexcept.c: Cleanup.
7055 * sysdeps/arm/get-rounding-mode.h: Cleanup.
7056 * sysdeps/arm/setfpucw.c: Cleanup.
7058 2014-05-09 Will Newton <will.newton@linaro.org>
7060 * sysdeps/arm/armv7/strcmp.S: New file.
7061 * NEWS: Mention addition of ARMv7 optimized strcmp.
7063 2014-05-08 Roland McGrath <roland@hack.frob.com>
7065 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7066 look for %.ac rather than %.in.
7068 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7069 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7070 * sysdeps/mach/hurd/configure: Regenerated.
7071 * sysdeps/unix/sysv/linux/configure: Regenerated.
7073 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7075 2014-05-07 Steve Ellcey <sellcey@mips.com>
7078 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7082 2014-05-07 Andreas Schwab <schwab@suse.de>
7084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7085 when skipping over non-matching result from nscd.
7087 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
7090 * nptl/sockperf.c (client): Check socket return value.
7093 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7094 nscd security class.
7096 2014-05-06 Roland McGrath <roland@hack.frob.com>
7098 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7099 * sysdeps/arm/unwind.h: ... here.
7101 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
7104 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7107 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7109 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7110 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7111 multiarch strncpy for PPC64.
7112 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7113 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7115 multiarch optimizations.
7116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7117 (__libc_ifunc_impl_list): Likewise.
7118 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7119 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7120 multiarch stpncpy for PPC64.
7121 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7122 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7124 2014-05-06 Andreas Schwab <schwab@suse.de>
7127 * gmon/mcount.c (_MCOUNT_DECL): Use
7128 atomic_compare_and_exchange_bool_acq instead of
7129 catomic_compare_and_exchange_bool_acq.
7131 2014-05-05 Roland McGrath <roland@hack.frob.com>
7133 * elf/Makefile (others, install-bin): Remove pldd.
7134 (pldd-modules): Variable removed.
7135 ($(objpfx)pldd): Target removed.
7136 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7137 (others, install-bin): Append pldd here.
7138 ($(objpfx)pldd): New target.
7140 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7141 to 0, so the first #if test emitted later doesn't see it undefined.
7142 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7143 * sysdeps/gnu/errlist.c: Regenerated.
7145 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7147 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7148 [libc_hidden_builtin_def]: Define to empty value.
7149 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7150 [libc_hidden_builtin_def]: Likewise.
7151 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7152 [libc_hidden_builtin_def]: Likewise.
7153 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7154 [libc_hidden_builtin_def]: Likewise.
7155 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7156 __redirect_memcpy and define ifunc as default hidden symbol.
7157 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7158 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7160 2014-05-04 Adam Conrad <adconrad@0c3.net>
7162 * locale/iso-4217.def: Reintroduce XDR currency.
7164 2014-05-04 Allan McRae <allan@archlinux.org>
7166 * po/eo.po: Update Esperanto translation from translation project.
7168 2014-05-02 Carlos O'Donell <carlos@redhat.com>
7170 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7171 and FEATURE_INDEX_MAX to 1.
7172 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7174 2014-05-01 Steve Ellcey <sellcey@mips.com>
7176 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7177 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7178 * iconvdata/big5.c (ONE_DIRECTION): Define.
7179 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7180 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7181 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7182 * iconvdata/cp932.c (ONE_DIRECTION): Define.
7183 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7184 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7185 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7186 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7187 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7188 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7189 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7190 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7191 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7192 * iconvdata/gbk.c (ONE_DIRECTION): Define.
7193 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7194 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7195 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7196 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7197 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7198 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7199 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7200 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7201 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7202 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7203 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7204 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7205 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7206 * iconvdata/iso646.c (ONE_DIRECTION): Define.
7207 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7208 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7209 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7210 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7211 * iconvdata/johab.c (ONE_DIRECTION): Define.
7212 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7213 * iconvdata/sjis.c (ONE_DIRECTION): Define.
7214 * iconvdata/t.61.c (ONE_DIRECTION): Define.
7215 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7216 * iconvdata/tscii.c (ONE_DIRECTION): Define.
7217 * iconvdata/uhc.c (ONE_DIRECTION): Define.
7218 * iconvdata/unicode.c (ONE_DIRECTION): Define.
7219 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7220 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7221 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7223 2014-05-01 Roland McGrath <roland@hack.frob.com>
7225 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7226 (_IO_JUMPS_OFFSET): Define to 0.
7228 * nptl/sysdeps/pthread/bits/libc-lock.h
7229 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7230 (__libc_lock_define_initialized_recursive): Always define using
7231 initializer. Modern compilers treat uninitialized (implicit zero) and
7232 explicit zero initializers the same (i.e. put the datum in bss).
7234 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7236 * nscd/nscd-client.h: Include <string.h>.
7238 2014-05-01 David S. Miller <davem@davemloft.net>
7241 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7242 multiple zero bytes exist at the end of a string.
7243 Reported by Aurelien Jarno <aurelien@aurel32.net>
7245 * string/test-strcmp.c (check): Add explicit test for situations where
7246 there are multiple zero bytes after the first.
7248 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7251 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7252 when compiling wprintf.
7253 * stdio-common/tstdiomisc.c (t3): New function.
7256 2014-05-01 Steve Ellcey <sellcey@mips.com>
7258 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7259 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7260 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7261 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7263 2014-05-01 Steve Ellcey <sellcey@mips.com>
7265 * stdlib/longlong.h: Updated from GCC.
7267 2014-05-01 Will Newton <will.newton@linaro.org>
7268 Bernard Ogden <bernie.ogden@linaro.org>
7270 * NEWS: Update fixed bug list.
7273 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7275 2014-04-30 David S. Miller <davem@davemloft.net>
7277 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7278 (libc_feholdexcept_setround_sparc_ctx): New function.
7279 (libc_fesetenv_sparc_ctx): Likewise.
7280 (libc_feupdateenv_sparc_ctx): Likewise.
7281 (libc_feholdsetround_sparc_ctx): Likewise.
7282 (libc_feholdexcept_setround_ctx): Define.
7283 (libc_feholdexcept_setroundf_ctx): Likewise.
7284 (libc_feholdexcept_setroundl_ctx): Likewise.
7285 (libc_fesetenv_ctx): Likewise.
7286 (libc_fesetenvf_ctx): Likewise.
7287 (libc_fesetenvl_ctx): Likewise.
7288 (libc_feupdateenv_ctx): Likewise.
7289 (libc_feupdateenvf_ctx): Likewise.
7290 (libc_feupdateenvl_ctx): Likewise.
7291 (libc_feresetround_ctx): Likewise.
7292 (libc_feresetroundf_ctx): Likewise.
7293 (libc_feresetroundl_ctx): Likewise.
7294 (libc_feholdsetround_ctx): Likewise.
7295 (libc_feholdsetroundf_ctx): Likewise.
7296 (libc_feholdsetroundl_ctx): Likewise.
7298 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7299 with __USE_GNU instead of XOPEN cpp guards.
7301 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7304 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7305 with XOPEN cpp guards.
7307 2014-04-30 Julian Brown <julian@codesourcery.com>
7310 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7313 2014-04-30 Joseph Myers <joseph@codesourcery.com>
7316 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7318 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7319 * sysdeps/unix/sysv/linux/configure: Regenerated.
7320 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7321 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7322 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7323 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7324 * README: Update reference to required Linux kernel version.
7325 * manual/install.texi (Linux): Update reference to required Linux
7326 kernel headers version.
7327 * INSTALL: Regenerated.
7329 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7331 [POSIX] (limits.h): Likewise.
7332 [POSIX] (math.h): Likewise.
7333 [POSIX] (sys/wait.h): Likewise.
7334 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7336 [POSIX] (stddef.h): Do not allow header inclusion.
7338 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7340 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7342 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
7344 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7345 Return immediately after lll_futex_wake.
7347 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7350 * nscd/nscd-client.h (datahead_init_common): Initialize entire
7352 (datahead_init_pos): Call datahead_init_common early.
7353 (datahead_init_neg): Likewise.
7355 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7356 datahead_init_neg): New functions.
7357 * nscd/aicache.c (addhstaiX): Use them.
7358 * nscd/grpcache.c (cache_addgr): Likewise.
7359 * nscd/hstcache.c (cache_addhst): Likewise.
7360 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7361 * nscd/netgroupcache.c (do_notfound): Likewise.
7362 (addgetnetgrentX): Likewise.
7363 (addinnetgrX): Likewise.
7364 * nscd/pwdcache.c (cache_addpw): Likewise.
7365 * nscd/servicescache.c (cache_addserv): Likewise.
7367 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7368 Atsushi Onoe <atsushi@onoe.org>
7373 * resolv/res_query.c (__libc_res_nsearch): Return if at least
7374 one response is valid.
7375 * resolv/res_send.c (send_dg): Check for validity of other
7376 response if the current response is a referral.
7378 2014-04-29 Steve Ellcey <sellcey@mips.com>
7380 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7382 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
7385 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7386 Always divide by positive zero when computing -Inf result.
7387 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7388 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7390 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7392 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7393 FPSCR if value do not change.
7394 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7395 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7396 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7397 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7398 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7399 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7402 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
7404 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7405 * sysdeps/unix/sysv/linux/hppa: Move directory from
7406 ports/systeps/unix/sysv/linux/hppa.
7407 * README: Update listing for hppa-*-linux-gnu.
7409 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
7412 * manual/stdio.texi (Hook functions): Fix types of stream hook
7415 * socket/sys/socket.h: Fix typo in comment.
7417 2014-04-28 Wilco <wdijkstr@arm.com>
7419 * sysdeps/arm/fenv_private.h: New file.
7420 * sysdeps/arm/math_private.h: New file.
7421 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7423 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
7425 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7427 (La_x86_64_retval): Likewise.
7429 2014-04-24 Ian Bolton <ian.bolton@arm.com>
7431 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7432 fpsr if value didn't change.
7433 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7434 to fpcr if value didn't change.
7435 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7436 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7437 fpsr or fpcr if value didn't change.
7438 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7439 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7440 fpcr if value didn't change.
7441 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7442 to fpsr if value didn't change.
7444 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7446 * nptl/tst-sem3.c: Use test-skeleton.c
7447 (main): Rename to do_test. Use return instead of
7449 * nptl/tst-sem4.c: Use test-skeleton.c
7450 (main): Rename to do_test.
7452 2014-04-22 David S. Miller <davem@davemloft.net>
7454 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7455 (struct sigaction): New struct member __glibc_reserved0, change
7456 type of sa_flags to int.
7458 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
7460 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7461 (COUNT_LEADING_ZEROS_0): Define for AArch64.
7463 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7465 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7466 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7468 2014-04-22 Will Newton <will.newton@linaro.org>
7469 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
7471 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7472 (__longjmp): Add longjmp and longjmp_target SystemTap
7474 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7475 (__sigsetjmp): Add setjmp SystemTap probe.
7477 2014-04-17 Carlos O'Donell <carlos@redhat.com>
7479 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7482 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7484 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7486 * sysdeps/powerpc/fpu/fenv_private.h
7487 (libc_feholdexcept_setroundl_ctx): Define to
7488 libc_feholdexcept_setround_ppc_ctx.
7489 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7490 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7491 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7492 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7494 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7496 * sysdeps/aarch64/math-tests.h: New file.
7498 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
7500 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7502 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7503 Check and set bit_AVX2_Usable.
7504 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7506 (bit_AVX2): Likewise.
7507 (index_AVX2_Usable): Likewise.
7508 (CPUID_AVX2): Likewise.
7509 (HAS_AVX2): Likewise.
7511 2014-04-17 Will Newton <will.newton@linaro.org>
7513 * manual/setjmp.texi (System V contexts): Add note that
7514 calling setcontext on a context created by a call to a
7515 signal handler is undefined. Update text to note that
7516 setcontext from a signal handler is possible but not
7520 * stdlib/tst-setcontext.c: Include signal.h.
7521 (main): Check that the signal stack before and
7522 after swapcontext is the same.
7524 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7525 Re-implement to restore registers in user code and avoid
7526 rt_sigreturn system call.
7528 2014-04-17 Wilco <wdijkstr@arm.com>
7530 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7531 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7532 * math/test-fenv.c: Skip exception trap tests on targets which only
7533 support non-stop mode.
7535 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7536 Wilco Dijkstra <wilco.dijkstra@arm.com>
7538 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7539 (libc_feholdsetround_aarch64_ctx)
7540 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7541 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7542 (libc_feresetround_ctx, libc_feresetroundf_ctx)
7543 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7544 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7545 (libc_feresetround_noexl_ctx): Define.
7547 2014-04-16 Richard Henderson <rth@redhat.com>
7549 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7551 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7554 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7555 const from the non-libc, non-ldso copy.
7557 * sysdeps/alpha/libm-test-ulps: Regenerate.
7559 2014-04-16 Ian Bolton <ian.bolton@arm.com>
7560 Wilco Dijkstra <wilco.dijkstra@arm.com>
7562 * sysdeps/aarch64/fpu/math_private.h: New file.
7564 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
7566 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7568 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
7571 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7572 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7573 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7574 Intel MPX bound registers before _dl_profile_fixup.
7575 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7576 registers after _dl_profile_fixup. Save and restore bound
7577 registers bnd0/bnd1 when calling _dl_call_pltexit.
7578 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7579 (LR_BND_OFFSET): Likewise.
7580 (LRV_BND0_OFFSET): Likewise.
7581 (LRV_BND1_OFFSET): Likewise.
7583 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7585 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7587 * sysdeps/mach/hurd/i386/tls.h: ... here.
7588 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7589 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7592 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7594 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7596 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7598 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7600 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7603 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7604 * sysdeps/s390/configure: Regenerate.
7607 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7608 Set round-to-nearest internally to reduce error accumulation.
7610 2014-04-16 Alan Modra <amodra@gmail.com>
7614 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7615 * math/libm-test.inc (frexp_test_data): Add tests.
7616 * NEWS: Update fixed bug list.
7618 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7620 * benchtests/Makefile: Depend on libraries in build directory.
7621 (bench-math): Separate out math tests.
7622 (bench-pthread): Separate out pthread tests.
7623 (bench): Include math and pthread tests.
7625 2014-04-14 Carlos O'Donell <carlos@redhat.com>
7628 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7629 _dl_debug_initialize.
7631 * configure.ac: Remove SELinux header check.
7632 * configure: Regenerate.
7633 * nscd/selinux.c (perms): Array of const char* to permission names.
7634 (nscd_request_avc_has_perm): Call security_deny_unknown to find
7635 default policy. Call string_to_security_class and string_to_av_perm to
7636 translate strings. Enforce default policy and call avs_has_perm with
7637 results of translated strings.
7639 2014-04-13 David S. Miller <davem@davemloft.net>
7641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7643 2014-04-12 Allan McRae <allan@archlinux.org>
7646 * manual/string.texi (Collation Functions): Fix qsort argument
7648 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7650 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
7652 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7653 Make the test a no-op if there are no exceptions defined.
7655 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7657 * elf/Makefile (tests): make tst-dlopen-aout conditional on
7658 enable-hardcoded-path-in-tests
7660 2014-04-11 Will Newton <will.newton@linaro.org>
7662 * benchtests/Makefile (extra-objs): Add json-lib.o.
7663 (bench-func): Tidy up JSON output.
7664 * benchtests/bench-skeleton.c: Include json-lib.h.
7665 (main): Use JSON library functions to do output of
7667 * benchtests/bench-timing-type.c (main): Output the
7668 timing type simply, leaving formatting to the user.
7669 * benchtests/json-lib.c: New file.
7670 * benchtests/json-lib.h: Likewise.
7672 2014-04-11 Torvald Riegel <triegel@redhat.com>
7675 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7676 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
7677 memory barriers. Add comments.
7678 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7679 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7680 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7681 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7682 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7683 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7685 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7687 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7688 * sysdeps/s390/s390-64/configure.ac: ... this ...
7689 * sysdeps/s390/configure.ac: ... to here.
7690 * sysdeps/s390/s390-32/configure: Delete file.
7691 * sysdeps/s390/s390-64/configure: Delete file.
7692 * sysdeps/s390/configure: Regenerate.
7694 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
7696 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7698 2014-04-11 Will Newton <will.newton@linaro.org>
7700 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7701 to zero if it is not defined elsewhere. (mtrim): Test
7702 the value of MALLOC_DEBUG with #if rather than #ifdef.
7704 2014-04-10 Torvald Riegel <triegel@redhat.com>
7706 * benchtests/pthread_once-inputs: New file.
7707 * benchtests/pthread_once-source.c: New file.
7708 * benchtests/README: Update documentation.
7710 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
7711 H.J. Lu <hongjiu.lu@intel.com>
7714 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7715 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7716 * sysdeps/x86_64/configure: Regenerated.
7717 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7719 (REGISTER_SAVE_RAX): Likewise.
7720 (REGISTER_SAVE_RCX): Likewise.
7721 (REGISTER_SAVE_RDX): Likewise.
7722 (REGISTER_SAVE_RSI): Likewise.
7723 (REGISTER_SAVE_RDI): Likewise.
7724 (REGISTER_SAVE_R8): Likewise.
7725 (REGISTER_SAVE_R9): Likewise.
7726 (REGISTER_SAVE_BND0): Likewise.
7727 (REGISTER_SAVE_BND1): Likewise.
7728 (REGISTER_SAVE_BND2): Likewise.
7729 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
7730 bound registers when calling _dl_fixup.
7732 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7734 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7735 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7737 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7738 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7739 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7740 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7741 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7742 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7743 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7745 2014-04-09 Peter Brett <peter@peter-b.co.uk>
7748 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7749 pathconf(_PC_NAME_MAX).
7751 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7753 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7755 (__PTHREAD_SPINS): Move definition to ...
7756 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7757 (__PTHREAD_SPINS): ... here.
7758 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7759 (__PTHREAD_SPIN): Likewise.
7760 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7761 (__PTHREAD_SPIN): Likewise.
7762 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7763 (__PTHREAD_SPIN): Likewise.
7764 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7765 (__PTHREAD_SPIN): Likewise.
7766 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7767 (__PTHREAD_SPIN): Likewise.
7768 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7769 (__PTHREAD_SPIN): Likewise.
7770 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7771 (__PTHREAD_SPIN): Likewise.
7772 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7773 (__PTHREAD_SPIN): Likewise.
7774 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7775 (__PTHREAD_SPIN): Likewise.
7776 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7777 (__PTHREAD_SPIN): Likewise.
7778 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7779 (__PTHREAD_SPIN): Likewise.
7780 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7781 (__PTHREAD_SPIN): Likewise.
7783 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7784 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7785 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7786 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7788 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7789 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7790 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7791 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7793 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7794 strlen symbol for non multi-arch builds.
7795 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7796 missing hidden_def and weak_alias.
7798 2014-04-08 Carlos O'Donell <carlos@redhat.com>
7800 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7802 2014-04-07 Will Newton <will.newton@linaro.org>
7804 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7805 and contents. [!_LIBC] Remove #ifndef and contents.
7806 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7807 * string/memccpy.c (__memccpy): Use ANSI prototype.
7808 * string/memfrob.c (memfrob): Likewise.
7809 * string/strcoll.c (STRCOLL): Likewise.
7810 * string/strlen.c (strlen): Likewise.
7811 * string/strtok.c (STRTOK): Likewise.
7812 * string/strcat.c: Remove unused #include of memcopy.h.
7813 (strcat): Use ANSI prototype.
7814 * string/strchr.c: Remove unused #include of memcopy.h.
7815 (strchr): Use ANSI prototype.
7816 * string/strcmp.c: Remove unused #include of memcopy.h.
7817 (strcmp): Use ANSI prototype.
7818 * string/strcpy.c: Remove unused #include of memcopy.h.
7819 (strcpy): Use ANSI prototype.
7821 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7823 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7824 * config.make.in (config-extra-cppflags): Set it from
7825 libc_extra_cppflags.
7826 * configure.ac (libc_extra_cflags): Make it accumulate over
7827 configure fragments.
7828 (libc_extra_cppflags): New flag.
7829 * configure. Regenerate.
7830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7831 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7832 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7836 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7837 result for FE_DOWNWARD rounding mode.
7838 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7842 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7844 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7845 in function argument name.
7847 2014-04-03 David Svoboda <svoboda@cert.org>
7850 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7853 2014-04-03 Roland McGrath <roland@hack.frob.com>
7855 * elf/dl-unmap-segments.h: New file.
7856 * sysdeps/generic/ldsodefs.h
7857 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7858 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7859 * elf/dl-fptr.c: Likewise.
7860 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7861 * sysdeps/aarch64/tlsdesc.c: Likewise.
7862 * sysdeps/arm/tlsdesc.c: Likewise.
7863 * sysdeps/i386/tlsdesc.c: Likewise.
7864 * sysdeps/tile/dl-runtime.c: Likewise.
7865 * sysdeps/x86_64/tlsdesc.c: Likewise.
7866 * elf/dl-load.h: New file.
7867 * elf/dl-load.c: Include it.
7868 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7869 Macros moved to dl-load.h.
7870 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7871 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7872 Use _dl_unmap_segments in place of __munmap.
7873 Break out segment-mapping loop into ...
7874 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7876 2014-04-03 Will Newton <will.newton@linaro.org>
7878 * elf/dl-lookup.c (do_lookup_x): Remove comment
7879 referring to nested function and move variable
7880 declarations down to before first use.
7882 2014-04-02 Joseph Myers <joseph@codesourcery.com>
7886 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7888 * math/s_catanf.c (__catanf): Likewise.
7889 * math/s_catanh.c (__catanh): Likewise.
7890 * math/s_catanhf.c (__catanhf): Likewise.
7891 * math/s_catanhl.c (__catanhl): Likewise.
7892 * math/s_catanl.c (__catanl): Likewise.
7893 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7894 by positive zero when computing -Inf result.
7895 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7896 (catanh_test): Likewise.
7897 * sysdeps/i386/fpu/libm-test-ulps: Update.
7898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7901 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7902 instead of using underflowing value in computing result.
7903 * math/s_clog10.c (__clog10): Likewise.
7904 * math/s_clog10f.c (__clog10f): Likewise.
7905 * math/s_clog10l.c (__clog10l): Likewise.
7906 * math/s_clogf.c (__clogf): Likewise.
7907 * math/s_clogl.c (__clogl): Likewise.
7908 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7909 (clog10_test): Likewise.
7910 * sysdeps/i386/fpu/libm-test-ulps: Update.
7911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7913 2014-04-02 Alan Modra <amodra@gmail.com>
7916 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7917 output when value is near a power of two. Use int64_t for lx and
7918 remove casts. Use decimal rather than hex exponent constants.
7919 Don't use long double multiplication when double will suffice.
7920 * math/libm-test.inc (nextafter_test_data): Add tests.
7921 * NEWS: Add 16739 and 16786 to bug list.
7923 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7925 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7927 2014-04-01 Will Newton <will.newton@linaro.org>
7929 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7930 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7932 2014-04-01 Florian Weimer <fweimer@redhat.com>
7935 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7936 * nptl/tst-setuid2.c: New file.
7937 * nptl/Makefile (xtests): Add tst-setuid2.
7939 2014-04-01 Alan Modra <amodra@gmail.com>
7942 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7944 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7948 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7949 set errno as appropriate.
7950 * math/w_scalbf.c (__scalbf): Likewise.
7951 * math/w_scalbl.c (__scalbl): Likewise.
7952 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7953 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7954 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7958 * math/w_atan2.c: Include <errno.h>.
7959 (__atan2): Set errno for result underflowing to zero.
7960 * math/w_atan2f.c: Include <errno.h>.
7961 (__atan2f): Set errno for result underflowing to zero.
7962 * math/w_atan2l.c: Include <errno.h>.
7963 (__atan2l): Set errno for result underflowing to zero.
7964 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7966 * math/auto-libm-test-out: Regenerated.
7968 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7970 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7971 Encode instruction correctly in little endian.
7972 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7974 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7976 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7978 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7981 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7984 * sysdeps/unix/sysv/linux/kernel-features.h
7985 [__sparc__ && !__arch64__ && !__sparc_v9__]
7986 (__ASSUME_SET_ROBUST_LIST): Do not define.
7987 [__sparc__ && !__arch64__ && !__sparc_v9__]
7988 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7989 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7991 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7992 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7993 (__ASSUME_REQUEUE_PI): Likewise.
7994 (__ASSUME_SET_ROBUST_LIST): Likewise.
7995 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7996 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7998 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7999 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8001 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8003 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8005 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8006 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8008 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8009 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8013 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8014 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8015 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8017 2014-03-31 Will Newton <will.newton@linaro.org>
8019 * benchtests/Makefile (bench): Add ffs and ffsll to list
8021 * benchtests/ffs-inputs: New file.
8022 * benchtests/ffsll-inputs: Likewise.
8024 2014-03-29 Joseph Myers <joseph@codesourcery.com>
8027 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8028 too large before casting to int.
8029 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8030 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8031 * math/libm-test.inc (scalb_test_data): Add more tests.
8033 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8035 * benchtests/Makefile (DETAILED_OPT): New make option.
8036 (bench-func): Run benchmark program with -d if DETAILED_OPT is
8038 * benchtests/bench-skeleton.c: Include stdbool.h.
8039 (main): Store and print timings per input.
8040 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8041 member to each argument value.
8042 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8043 (_print_arg_data): Initialize per-input timing to 0.
8045 * benchtests/Makefile (timing-type): New binary.
8046 (bench-clean): Also remove bench-timing-type.
8047 (bench): New target for timing-type.
8048 (bench-func): Print output in JSON format.
8049 * benchtests/bench-skeleton.c (main): Print output in JSON
8051 * benchtests/bench-timing-type.c: New file.
8052 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8053 (TIMING_PRINT_STATS): Remove.
8054 * benchtests/scripts/bench.py (_print_arg_data): Store variant
8057 * benchtests/bench-modf.c: Remove.
8058 * benchtests/modf-inputs: New inputs file.
8060 2014-03-28 Joseph Myers <joseph@codesourcery.com>
8063 * math/s_clog10.c (M_PI_LOG10E): New macro.
8064 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8065 imaginary parts are 0.
8066 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8067 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8068 imaginary parts are 0.
8069 * math/s_clog10l.c (M_PI_LOG10El): New macro.
8070 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8071 imaginary parts are 0.
8072 * math/libm-test.inc (clog10_test_data): Update expected results
8073 for when real and imaginary parts are 0.
8075 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
8077 * elf/dl-load.c: Finish conversion of __builtin_expect into
8080 2014-03-27 Joseph Myers <joseph@codesourcery.com>
8083 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8084 1+x for argument with exponent below -67.
8085 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8087 * math/auto-libm-test-in: Add more tests of exp.
8088 * math/auto-libm-test-out: Regenerated.
8090 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8093 * inet/getnetgrent_r.c (get_nonempty_val): New function.
8094 (nscd_getnetgrent): Use it.
8097 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8100 2014-03-27 Andi Kleen <ak@linux.intel.com>
8102 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8103 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8104 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8105 (lll_robust_unlock): Remove out of line section. Use cfi
8107 (LLL_STUB_UNWIND_INFO*): Remove.
8108 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8109 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8110 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8111 (lll_robust_unlock): Remove out of line section. Use cfi
8113 (LLL_STUB_UNWIND_INFO*): Remove.
8115 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8118 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8121 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
8123 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8125 2014-03-26 Joseph Myers <joseph@codesourcery.com>
8128 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8130 * math/test-fenv-preserve.c: New file.
8131 * math/Makefile (tests): Add test-fenv-preserve.
8133 2014-03-26 Will Newton <will.newton@linaro.org>
8135 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8137 2014-03-25 Roland McGrath <roland@hack.frob.com>
8139 * scripts/versionlist.awk: Partition the version sets and emit all
8140 GLIBC_* (sorted) before all others (sorted).
8142 2014-03-25 Joseph Myers <joseph@codesourcery.com>
8144 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8145 GLIBC_2.2.5 version.
8147 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8149 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8152 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8157 2014-03-25 Andreas Schwab <schwab@suse.de>
8159 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8160 label to be used after in6ailist is initialized.
8162 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8164 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8165 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8167 2014-03-25 Joseph Myers <joseph@codesourcery.com>
8171 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8173 (fp_formats): Update initializers.
8174 (init_fp_formats): Initialize new field.
8175 (output_for_one_input_case): Allow underflow for results up to
8177 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8178 * math/auto-libm-test-in: Don't mark some underflows from asin and
8180 * math/auto-libm-test-out: Regenerated.
8181 * sysdeps/i386/fpu/libm-test-ulps: Update.
8182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8184 2014-03-25 Andreas Schwab <schwab@suse.de>
8186 * libio/Makefile (tst-ftell-partial-wide-ENV)
8187 (tst-ftell-active-handler-ENV): Define.
8189 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8191 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8193 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8195 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8197 2014-03-24 Joseph Myers <joseph@codesourcery.com>
8199 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8200 * sysdeps/x86_64/fpu/multiarch/e_exp.c
8201 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8203 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8206 * elf/dl-load.c (open_verify): Add mode parameter.
8207 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8208 (open_path): Change from boolean 'secure' to complete flag 'mode'
8209 (_dl_map_object): Adjust.
8210 * elf/Makefile (tests): Add tst-dlopen-aout.
8211 * elf/tst-dlopen-aout.c: New test.
8213 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8216 * sysdeps/unix/sysv/linux/s390/bits/stat.h
8217 (struct stat): Rename member pad0 to __glibc_reserved0.
8220 * sysdeps/s390/s390-32/bits/wordsize.h
8221 (__WORDSIZE32_SIZE_ULONG): New define.
8222 * sysdeps/s390/s390-64/bits/wordsize.h
8223 (__WORDSIZE32_SIZE_ULONG): Likewise.
8224 * sysdeps/generic/stdint.h (SIZE_MAX):
8225 Define as UL if __WORDSIZE32_SIZE_ULONG.
8228 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8229 (__glibc_reserved0): New variable.
8230 (sa_flags): Change type to int.
8232 * posix/Makefile (before-compile): Use += before-compile instead
8235 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8236 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8238 2014-03-20 Andreas Schwab <schwab@suse.de>
8241 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8242 non-matching result from nscd.
8244 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8246 * scripts/bench.py: Moved to ...
8247 * benchtests/scripts/bench.py: ... here.
8248 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8250 2014-03-24 Andreas Schwab <schwab@suse.de>
8253 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8254 alloca_account and account alloca use for struct in6ailist.
8256 2014-03-24 Joseph Myers <joseph@codesourcery.com>
8259 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8260 rounding mode to recompute results that overflow to infinity or
8262 * math/auto-libm-test-in: Don't mark tests as expected to fail for
8264 * math/auto-libm-test-out: Regenerated.
8265 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8266 (ccosh_test): Likewise.
8267 (csin_test_data): Use plus_oflow.
8268 (csin_test): Use ALL_RM_TEST.
8269 (csinh_test_data): Use plus_oflow.
8270 (csinh_test): Use ALL_RM_TEST.
8271 * sysdeps/i386/fpu/libm-test-ulps: Update.
8272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8274 2014-03-21 Joseph Myers <joseph@codesourcery.com>
8276 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8277 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8278 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8281 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8283 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8284 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8285 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8286 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8288 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8289 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8291 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8292 * sysdeps/i386/fpu/libm-test-ulps: Update.
8293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8295 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8297 * scripts/bench.pl: Remove file.
8298 * scripts/bench.py: New benchmark script.
8299 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8300 * benchtests/README: Mention python dependency.
8301 * scripts/pylintrc: New file.
8302 * scripts/pylint: New file.
8304 * bits/mathdef.h: Use #ifdef instead of #if.
8305 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8306 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8307 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8308 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8309 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8310 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8312 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8313 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8315 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8316 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8317 and strpbrk-ppc64 objects.
8318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8319 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8320 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8321 multiarch strpbrk for POWER7.
8322 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8323 multiarch strpbrk for PPC64.
8324 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8326 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8329 2014-03-20 Joseph Myers <joseph@codesourcery.com>
8331 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8332 (atan_test): Likewise.
8333 (atanh_test_data): Use NO_TEST_INLINE for two tests.
8334 (atanh_test): Use ALL_RM_TEST.
8335 (atan2_test_data): Likewise.
8336 (cabs_test): Likewise.
8337 (cacosh_test): Likewise.
8338 (carg_test): Likewise.
8339 (casin_test): Likewise.
8340 (casinh_test): Likewise.
8341 (cbrt_test): Likewise.
8342 (csqrt_test): Likewise.
8343 (erf_test): Likewise.
8344 (erfc_test): Likewise.
8345 (pow10_test): Likewise.
8346 (exp2_test): Likewise.
8347 (hypot_test): Likewise.
8348 (j0_test): Likewise.
8349 (j1_test): Likewise.
8350 (lgamma_test): Likewise.
8351 (gamma_test): Likewise.
8352 (sincos_test): Likewise.
8353 (tanh_test): Likewise.
8354 (y0_test): Likewise.
8355 (y1_test): Likewise.
8356 * sysdeps/i386/fpu/libm-test-ulps: Update.
8357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8359 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8361 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8362 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8363 and strcspn-ppc64 objects.
8364 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8365 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8366 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8367 multiarch strcspn for POWER7.
8368 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8369 multiarch strcspn for PPC64.
8370 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8372 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8375 2014-03-20 Joseph Myers <joseph@codesourcery.com>
8377 * math/gen-libm-test.pl (generate_testfile): Expect only function
8378 name as argument to AUTO_TESTS_* and pass results for all rounding
8379 modes to parse_args.
8380 (parse_auto_input): Separate inputs of automatic tests from
8381 outputs before storing in %auto_tests.
8382 * math/libm-test.inc (acos_test_data): Update call to
8384 (acos_test): Use ALL_RM_TEST.
8385 (acos_tonearest_test_data): Remove.
8386 (acos_test_tonearest): Likewise.
8387 (acos_towardzero_test_data): Likewise.
8388 (acos_test_towardzero): Likewise.
8389 (acos_downward_test_data): Likewise.
8390 (acos_test_downward): Likewise.
8391 (acos_upward_test_data): Likewise.
8392 (acos_test_upward): Likewise.
8393 (acosh_test_data): Update call to AUTO_TESTS_f_f.
8394 (asin_test_data): Likewise.
8395 (asin_test): Use ALL_RM_TEST.
8396 (asin_tonearest_test_data): Remove.
8397 (asin_test_tonearest): Likewise.
8398 (asin_towardzero_test_data): Likewise.
8399 (asin_test_towardzero): Likewise.
8400 (asin_downward_test_data): Likewise.
8401 (asin_test_downward): Likewise.
8402 (asin_upward_test_data): Likewise.
8403 (asin_test_upward): Likewise.
8404 (asinh_test_data): Update call to AUTO_TESTS_f_f.
8405 (atan_test_data): Likewise.
8406 (atanh_test_data): Likewise.
8407 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8408 (cabs_test_data): Update call to AUTO_TESTS_c_f.
8409 (carg_test_data): Likewise.
8410 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8411 (ccos_test_data): Update call to AUTO_TESTS_c_c.
8412 (ccosh_test_data): Likewise.
8413 (cexp_test_data): Likewise.
8414 (clog_test_data): Likewise.
8415 (clog10_test_data): Likewise.
8416 (cos_test_data): Update call to AUTO_TESTS_f_f.
8417 (cos_test): Use ALL_RM_TEST.
8418 (cos_tonearest_test_data): Remove.
8419 (cos_test_tonearest): Likewise.
8420 (cos_towardzero_test_data): Likewise.
8421 (cos_test_towardzero): Likewise.
8422 (cos_downward_test_data): Likewise.
8423 (cos_test_downward): Likewise.
8424 (cos_upward_test_data): Likewise.
8425 (cos_test_upward): Likewise.
8426 (cosh_test_data): Update call to AUTO_TESTS_f_f.
8427 (cosh_test): Use ALL_RM_TEST.
8428 (cosh_tonearest_test_data): Remove.
8429 (cosh_test_tonearest): Likewise.
8430 (cosh_towardzero_test_data): Likewise.
8431 (cosh_test_towardzero): Likewise.
8432 (cosh_downward_test_data): Likewise.
8433 (cosh_test_downward): Likewise.
8434 (cosh_upward_test_data): Likewise.
8435 (cosh_test_upward): Likewise.
8436 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8437 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8438 (ctan_test_data): Likewise.
8439 (ctan_test): Use ALL_RM_TEST.
8440 (ctan_tonearest_test_data): Remove.
8441 (ctan_test_tonearest): Likewise.
8442 (ctan_towardzero_test_data): Likewise.
8443 (ctan_test_towardzero): Likewise.
8444 (ctan_downward_test_data): Likewise.
8445 (ctan_test_downward): Likewise.
8446 (ctan_upward_test_data): Likewise.
8447 (ctan_test_upward): Likewise.
8448 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8449 (ctanh_test): Use ALL_RM_TEST.
8450 (ctanh_tonearest_test_data): Remove.
8451 (ctanh_test_tonearest): Likewise.
8452 (ctanh_towardzero_test_data): Likewise.
8453 (ctanh_test_towardzero): Likewise.
8454 (ctanh_downward_test_data): Likewise.
8455 (ctanh_test_downward): Likewise.
8456 (ctanh_upward_test_data): Likewise.
8457 (ctanh_test_upward): Likewise.
8458 (erf_test_data): Update call to AUTO_TESTS_f_f.
8459 (erfc_test_data): Likewise.
8460 (exp_test_data): Likewise.
8461 (exp_test): Use ALL_RM_TEST.
8462 (exp_tonearest_test_data): Remove.
8463 (exp_test_tonearest): Likewise.
8464 (exp_towardzero_test_data): Likewise.
8465 (exp_test_towardzero): Likewise.
8466 (exp_downward_test_data): Likewise.
8467 (exp_test_downward): Likewise.
8468 (exp_upward_test_data): Likewise.
8469 (exp_test_upward): Likewise.
8470 (exp10_test_data): Update call to AUTO_TESTS_f_f.
8471 (exp10_test): Use ALL_RM_TEST.
8472 (exp10_tonearest_test_data): Remove.
8473 (exp10_test_tonearest): Likewise.
8474 (exp10_towardzero_test_data): Likewise.
8475 (exp10_test_towardzero): Likewise.
8476 (exp10_downward_test_data): Likewise.
8477 (exp10_test_downward): Likewise.
8478 (exp10_upward_test_data): Likewise.
8479 (exp10_test_upward): Likewise.
8480 (exp2_test_data): Update call to AUTO_TESTS_f_f.
8481 (expm1_test_data): Likewise.
8482 (expm1_test): Use ALL_RM_TEST.
8483 (expm1_tonearest_test_data): Remove.
8484 (expm1_test_tonearest): Likewise.
8485 (expm1_towardzero_test_data): Likewise.
8486 (expm1_test_towardzero): Likewise.
8487 (expm1_downward_test_data): Likewise.
8488 (expm1_test_downward): Likewise.
8489 (expm1_upward_test_data): Likewise.
8490 (expm1_test_upward): Likewise.
8491 (fma_test_data): Update call to AUTO_TESTS_fff_f.
8492 (fma_test): Use ALL_RM_TEST.
8493 (fma_towardzero_test_data): Remove.
8494 (fma_test_towardzero): Likewise.
8495 (fma_downward_test_data): Likewise.
8496 (fma_test_downward): Likewise.
8497 (fma_upward_test_data): Likewise.
8498 (fma_test_upward): Likewise.
8499 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8500 (j0_test_data): Update call to AUTO_TESTS_f_f.
8501 (j1_test_data): Likewise.
8502 (jn_test_data): Update call to AUTO_TESTS_if_f.
8503 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8504 (log_test_data): Update call to AUTO_TESTS_f_f.
8505 (log10_test_data): Likewise.
8506 (log1p_test_data): Likewise.
8507 (log2_test_data): Likewise.
8508 (pow_test_data): Update call to AUTO_TESTS_ff_f.
8509 (pow_tonearest_test_data): Likewise.
8510 (sin_test_data): Update call to AUTO_TESTS_f_f.
8511 (sin_test): Use ALL_RM_TEST.
8512 (sin_tonearest_test_data): Remove.
8513 (sin_test_tonearest): Likewise.
8514 (sin_towardzero_test_data): Likewise.
8515 (sin_test_towardzero): Likewise.
8516 (sin_downward_test_data): Likewise.
8517 (sin_test_downward): Likewise.
8518 (sin_upward_test_data): Likewise.
8519 (sin_test_upward): Likewise.
8520 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8521 (sinh_test_data): Update call to AUTO_TESTS_f_f.
8522 (sinh_test): Use ALL_RM_TEST.
8523 (sinh_tonearest_test_data): Remove.
8524 (sinh_test_tonearest): Likewise.
8525 (sinh_towardzero_test_data): Likewise.
8526 (sinh_test_towardzero): Likewise.
8527 (sinh_downward_test_data): Likewise.
8528 (sinh_test_downward): Likewise.
8529 (sinh_upward_test_data): Likewise.
8530 (sinh_test_upward): Likewise.
8531 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8532 (sqrt_test): Use ALL_RM_TEST.
8533 (sqrt_tonearest_test_data): Remove.
8534 (sqrt_test_tonearest): Likewise.
8535 (sqrt_towardzero_test_data): Likewise.
8536 (sqrt_test_towardzero): Likewise.
8537 (sqrt_downward_test_data): Likewise.
8538 (sqrt_test_downward): Likewise.
8539 (sqrt_upward_test_data): Likewise.
8540 (sqrt_test_upward): Likewise.
8541 (tan_test_data): Update call to AUTO_TESTS_f_f.
8542 (tan_test): Use ALL_RM_TEST.
8543 (tan_tonearest_test_data): Remove.
8544 (tan_test_tonearest): Likewise.
8545 (tan_towardzero_test_data): Likewise.
8546 (tan_test_towardzero): Likewise.
8547 (tan_downward_test_data): Likewise.
8548 (tan_test_downward): Likewise.
8549 (tan_upward_test_data): Likewise.
8550 (tan_test_upward): Likewise.
8551 (tanh_test_data): Update call to AUTO_TESTS_f_f.
8552 (tgamma_test_data): Likewise.
8553 (y0_test_data): Likewise.
8554 (y1_test_data): Likewise.
8555 (yn_test_data): Update call to AUTO_TESTS_if_f.
8556 (main): Do not call removed functions.
8558 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8560 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8561 (ldexp_test_data): Remove.
8562 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
8564 (scalb_test): Use ALL_RM_TEST.
8566 2014-03-19 Andreas Schwab <schwab@suse.de>
8568 * nscd/nscd.service: Also invalidate netgroup cache on reload.
8570 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8573 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8574 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8575 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8576 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8577 (__ASSUME_PREADV): Undefine.
8578 (__ASSUME_PWRITEV): Likewise.
8580 2014-03-18 Roland McGrath <roland@hack.frob.com>
8582 * bits/mman-linux.h: Add comment about non-Linux use.
8583 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8584 bits/mman-linux.h resting place.
8586 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8587 * bits/mman-linux.h: ... here.
8589 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8591 * conform/conformtest.pl: Add standard definition when calling C
8592 preprocessor on data files.
8593 (checknamespace): Remove unused variable.
8595 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8597 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8598 minus_oflow, plus_uflow and minus_uflow in expected results.
8599 * math/libm-test.inc (scalbn_test_data): Add more tests of
8600 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
8602 (scalbn_test): Use ALL_RM_TEST.
8603 (scalbln_test_data): Add more tests of negative arguments. Use
8604 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8605 (scalbln_test): Use ALL_RM_TEST.
8607 2014-03-18 Roland McGrath <roland@hack.frob.com>
8609 * scripts/abilist.awk: Ignore symbols marked with .hidden.
8611 2014-03-18 Will Newton <will.newton@linaro.org>
8613 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8616 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8618 * Makerules [!subdir] (check-abi): Exit with error status if a
8621 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8623 * math/libm-test.inc (nearbyint_test_data): Include all tests used
8624 for rint. Include results for all rounding modes.
8625 (nearbyint_test): Use ALL_RM_TEST.
8626 (rint_test_data): Include all tests used for nearbyint.
8628 2014-03-17 Will Newton <will.newton@linaro.org>
8630 * nptl/sysdeps/pthread/pthread.h: Revert previous
8633 * sysdeps/generic/ldsodefs.h: Revert previous
8636 * libio/genops.c: Revert previous change.
8637 * libio/libioP.h: Likewise.
8638 * stdio-common/vfprintf.c: Likewise.
8640 * sysdeps/generic/math_private.h: Revert previous
8643 * sysdeps/generic/math_private.h: Check whether
8644 HAVE_RM_CTX is defined with #ifdef rather
8647 * argp/argp-fmtstream.h: Check whether
8648 __STRICT_ANSI__ is defined with #ifdef rather
8650 * argp/argp.h: Likewise.
8652 * libio/genops.c: Check whether
8653 _IO_JUMPS_OFFSET is defined with #ifdef rather
8655 * libio/libioP.h: Likewise.
8656 * stdio-common/vfprintf.c: Likewise.
8658 * sysdeps/generic/ldsodefs.h: Check whether
8659 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8662 * nptl/sysdeps/pthread/pthread.h: Check
8663 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8666 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8668 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8670 * libio/tst-ftell-active-handler.c (do_append_test): Add a
8674 * libio/fileops.c (_IO_file_open): Seek to end of file but
8675 don't cache the offset.
8676 (get_file_offset): Remove function.
8677 (do_ftell): Use cached offset when available.
8678 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8679 don't cache the offset.
8680 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8682 (do_one_test): Call it.
8683 (do_ftell_test): Fix up expected old offset for a+ mode.
8684 * libio/wfileops.c (do_ftell_wide): Used cached offset when
8687 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8688 up test status with function return status.
8689 (do_write_test): Likewise.
8690 (do_append_test): Likewise.
8692 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8693 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8696 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8698 * math/gen-libm-test.pl (parse_args): Handle results specified for
8699 each rounding mode separately.
8700 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8701 tests and results from lrint_tonearest_test_data,
8702 lrint_towardzero_test_data, lrint_downward_test_data and
8703 lrint_upward_test_data.
8704 (lrint_test): Use ALL_RM_TEST.
8705 (lrint_tonearest_test_data): Remove.
8706 (lrint_test_tonearest): Likewise.
8707 (lrint_towardzero_test_data): Likewise.
8708 (lrint_test_towardzero): Likewise.
8709 (lrint_downward_test_data): Likewise.
8710 (lrint_test_downward): Likewise.
8711 (lrint_upward_test_data): Likewise.
8712 (lrint_test_upward): Likewise.
8713 (llrint_test_data): Merge in per-rounding-mode tests and results
8714 from llrint_tonearest_test_data, llrint_towardzero_test_data,
8715 llrint_downward_test_data and llrint_upward_test_data.
8716 (llrint_test): Use ALL_RM_TEST.
8717 (llrint_tonearest_test_data): Remove.
8718 (llrint_test_tonearest): Likewise.
8719 (llrint_towardzero_test_data): Likewise.
8720 (llrint_test_towardzero): Likewise.
8721 (llrint_downward_test_data): Likewise.
8722 (llrint_test_downward): Likewise.
8723 (llrint_upward_test_data): Likewise.
8724 (llrint_test_upward): Likewise.
8725 (rint_test_data): Merge in per-rounding-mode tests and results
8726 from rint_tonearest_test_data, rint_towardzero_test_data,
8727 rint_downward_test_data and rint_upward_test_data. Add
8728 per-rounding-mode results for tests not in those arrays.
8729 (rint_test): Use ALL_RM_TEST.
8730 (rint_tonearest_test_data): Remove.
8731 (rint_test_tonearest): Likewise.
8732 (rint_towardzero_test_data): Likewise.
8733 (rint_test_towardzero): Likewise.
8734 (rint_downward_test_data): Likewise.
8735 (rint_test_downward): Likewise.
8736 (rint_upward_test_data): Likewise.
8737 (rint_test_upward): Likewise.
8738 (main): Don't call removed functions.
8740 2014-03-14 Roland McGrath <roland@hack.frob.com>
8742 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8743 "Compiled on ..." crapola. It is anti-useful.
8745 2014-03-14 Joseph Myers <joseph@codesourcery.com>
8747 * scripts/evaluate-test.sh: Handle fourth argument to determine
8748 whether test run should stop on failure.
8749 * Makeconfig (stop-on-test-failure): New variable.
8750 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8751 $(stop-on-test-failure).
8752 * Makefile (tests): Give a summary of results from testing and
8753 exit with failure status if they include an ERROR or FAIL.
8755 * manual/install.texi (Configuring and compiling): Mention
8756 stop-on-test-failure=y.
8757 * INSTALL: Regenerated.
8759 2014-03-14 Roland McGrath <roland@hack.frob.com>
8761 * scripts/versionlist.awk: New file.
8762 * Makerules [$(build-shared) = yes]
8763 (postclean-generated): Add Versions.def, not Versions.def.v and
8765 ($(common-objpfx)Versions.def.v.i): Target removed.
8766 ($(common-objpfx)Versions.def): New target.
8767 ($(common-objpfx)Versions.all): Depend on that rather that
8768 $(common-objpfx)Versions.def.v.
8769 * Versions.def: File removed.
8771 * Makeconfig (+gccwarn): Add -Wundef.
8772 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8773 a dl-sysdep.h breaking its contract.
8774 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8775 * include/stackinfo.h: New file.
8776 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8777 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8778 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8779 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8780 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8781 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8782 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8783 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8784 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8785 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8786 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8787 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8788 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8789 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8790 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8792 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8795 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8797 * math/libm-test.inc (round_test_data): Add more tests.
8800 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8802 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8805 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8807 * math/libm-test.inc (ceil_test_data): Add more tests.
8809 * math/libm-test.inc (trunc_test_data): Add more tests related to
8812 2014-03-14 Roland McGrath <roland@hack.frob.com>
8814 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8815 with #if rather than #ifdef.
8816 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8818 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8820 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8821 first. Disable AVX-512 GCC support if assembler doesn't support
8823 * sysdeps/x86_64/configure: Regenerated.
8825 2014-03-13 Carlos O'Donell <carlos@redhat.com>
8827 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8828 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8829 (__old_pthread_attr_setstack): Likewise.
8830 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8831 [!_STACK_GROWS_DOWN]: Likewise.
8833 2014-03-13 Mike Frysinger <vapier@gentoo.org>
8835 * config.make.in (have-bash2): Delete.
8836 * configure.ac (libc_cv_have_bash2): Delete.
8837 * configure: Regenerate.
8838 * elf/Makefile (common-ldd-rewrite): Rename to ...
8839 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8840 (sh-ldd-rewrite): Delete.
8841 (bash-ldd-rewrite): Delete.
8842 (have-bash2): Delete checks.
8843 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8846 * config.make.in (have-ksh): Delete.
8848 * configure.ac (libc_cv_have_ksh): Delete.
8849 * configure: Regenerate.
8851 * elf/Makefile: Delete $(have-ksh) check.
8852 ($(objpfx)sotruss): Change KSH to BASH.
8853 * elf/sotruss.ksh: Rename to ...
8854 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8855 function style to match POSIX. Drop ksh vim mode setting.
8857 * manual/time.texi (Specifying the Time Zone with TZ): Change
8858 Tuesday to Thursday.
8860 * debug/tst-longjmp_chk2.c: Update header comment.
8861 (stackoverflow_handler): Add comment. Call assert on pass value.
8863 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8866 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8867 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8868 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8869 (La_x86_64_vector): Add zmm.
8870 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8871 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8872 ($(objpfx)tst-audit10): New target.
8873 ($(objpfx)tst-audit10.out): Likewise.
8874 (tst-audit10-ENV): New.
8875 (AVX512-CFLAGS): Likewise.
8876 (CFLAGS-tst-audit10.c): Likewise.
8877 (CFLAGS-tst-auditmod10a.c): Likewise.
8878 (CFLAGS-tst-auditmod10b.c): Likewise.
8879 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8880 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8881 * sysdeps/x86_64/configure: Regenerated.
8882 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8883 AVX-512 zmm register support.
8884 (_dl_x86_64_save_sse): Likewise.
8885 (_dl_x86_64_restore_sse): Likewise.
8886 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8887 size vector registers.
8888 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8889 (ZMM_SIZE): Likewise.
8890 * sysdeps/x86_64/tst-audit10.c: New file.
8891 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8892 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8894 2014-03-13 Roland McGrath <roland@hack.frob.com>
8896 * configure.ac (HAVE_EHDR_START): New check.
8897 * configure: Regenerated.
8898 * config.h.in (HAVE_EHDR_START): New #undef.
8899 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8900 assuming the lowest-addressed segment maps the start of the file.
8902 2014-03-13 Joseph Myers <joseph@codesourcery.com>
8904 * INSTALL: Regenerated.
8906 2014-03-13 Will Newton <will.newton@linaro.org>
8908 * manual/setjmp.texi (System V contexts): Improve
8909 clarity and grammar of documentation.
8911 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8914 * elf/Makefile (tests): Add tst-pie2.
8915 (tests-pie): Add tst-pie2.
8916 * elf/tst-pie2.c: New file.
8917 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8919 * elf/rtld.c (map_doit): Load executable as lt_executable.
8920 (dl_main): Likewise.
8922 2014-03-12 Joseph Myers <joseph@codesourcery.com>
8925 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8926 (__ASSUME_PSELECT): Undefine.
8928 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8931 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8932 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8934 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8935 selector for static builds.
8937 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8940 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8943 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8945 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8946 IFUNC selector for static builds.
8948 2014-03-11 Joseph Myers <joseph@codesourcery.com>
8950 * sysdeps/mips/math_private.h [__mips_hard_float]
8951 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8952 libc_feresetround_mips_ctx.
8953 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8954 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8955 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8958 * math/s_nextafter.c (__nextafter): Do not return value from
8959 overflowing computation.
8960 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8961 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8962 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8964 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8966 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8967 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8969 2014-03-11 Roland McGrath <roland@hack.frob.com>
8971 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8972 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8973 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8974 the new mov targetting sp.
8976 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8979 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8980 Define it for static builds as well.
8981 (NO_BZERO_IMPL): Likewise.
8983 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8985 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8986 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8987 multiarch strspn for PPC64.
8988 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8989 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8990 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8991 (__libc_ifunc_impl_list): Likewise.
8992 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8993 multiarch optimizations
8994 * string/strspn.c (strspn): Using macro to redefine symbol name.
8996 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8997 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8999 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9000 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9001 multiarch strncat for PPC64.
9002 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9003 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9004 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9005 (__libc_ifunc_impl_list): Likewise.
9006 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9007 multiarch optimizations
9009 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9012 * nscd/nscd.service: Make service type forking.
9014 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9016 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9017 sign in non default rounding modes.
9018 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9020 2014-03-08 Joseph Myers <joseph@codesourcery.com>
9022 * math/libm-test.inc (ALL_RM_TEST): New macro.
9023 (ceil_test): Use ALL_RM_TEST.
9024 (cimag_test): Likewise.
9025 (conj_test): Likewise.
9026 (copysign_test): Likewise.
9027 (cproj_test): Likewise.
9028 (creal_test): Likewise.
9029 (fabs_test): Likewise.
9030 (floor_test): Likewise.
9031 (fmax_test): Likewise.
9032 (fmin_test): Likewise.
9033 (fmod_test): Likewise.
9034 (fpclassify_test): Likewise.
9035 (frexp_test): Likewise.
9036 (ilogb_test): Likewise.
9037 (isfinite_test): Likewise.
9038 (finite_test): Likewise.
9039 (isgreater_test): Likewise.
9040 (isgreaterequal_test): Likewise.
9041 (isinf_test): Likewise.
9042 (isless_test): Likewise.
9043 (islessequal_test): Likewise.
9044 (islessgreater_test): Likewise.
9045 (isnan_test): Likewise.
9046 (isnormal_test): Likewise.
9047 (issignaling_test): Likewise.
9048 (isunordered_test): Likewise.
9049 (logb_test): Likewise.
9050 (logb_downward_test_data): Remove.
9051 (logb_test_downward): Likewise.
9052 (lround_test): Use ALL_RM_TEST.
9053 (llround_test): Likewise.
9054 (modf_test): Likewise.
9055 (nexttoward_test): Likewise.
9056 (remainder_test): Likewise.
9057 (drem_test): Likewise.
9058 (remainder_tonearest_test_data): Likewise.
9059 (remainder_test_tonearest): Likewise.
9060 (drem_test_tonearest): Likewise.
9061 (remainder_towardzero_test_data): Likewise.
9062 (remainder_test_towardzero): Likewise.
9063 (drem_test_towardzero): Likewise.
9064 (remainder_downward_test_data): Likewise.
9065 (remainder_test_downward): Likewise.
9066 (drem_test_downward): Likewise.
9067 (remainder_upward_test_data): Likewise.
9068 (remainder_test_upward): Likewise.
9069 (drem_test_upward): Likewise.
9070 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
9071 (round_test): Use ALL_RM_TEST.
9072 (signbit_test): Likewise.
9073 (trunc_test): Likewise.
9074 (significand_test): Likewise.
9075 (main): Don't call removed functions.
9077 2014-03-07 Joseph Myers <joseph@codesourcery.com>
9080 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9082 (ILL_ILLOPN): Likewise.
9083 (ILL_ILLADR): Likewise.
9084 (ILL_ILLTRP): Likewise.
9085 (ILL_PRVOPC): Likewise.
9086 (ILL_PRVREG): Likewise.
9087 (ILL_COPROC): Likewise.
9088 (ILL_BADSTK): Likewise.
9089 (FPE_INTDIV): Likewise.
9090 (FPE_INTOVF): Likewise.
9091 (FPE_FLTDIV): Likewise.
9092 (FPE_FLTOVF): Likewise.
9093 (FPE_FLTUND): Likewise.
9094 (FPE_FLTRES): Likewise.
9095 (FPE_FLTINV): Likewise.
9096 (FPE_FLTSUB): Likewise.
9097 (SEGV_MAPERR): Likewise.
9098 (SEGV_ACCERR): Likewise.
9099 (BUS_ADRALN): Likewise.
9100 (BUS_ADRERR): Likewise.
9101 (BUS_OBJERR): Likewise.
9102 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9103 (TRAP_TRACE): Likewise.
9104 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9106 (CLD_KILLED): Likewise.
9107 (CLD_DUMPED): Likewise.
9108 (CLD_TRAPPED): Likewise.
9109 (CLD_STOPPED): Likewise.
9110 (CLD_CONTINUED): Likewise.
9111 (POLL_IN): Likewise.
9112 (POLL_OUT): Likewise.
9113 (POLL_MSG): Likewise.
9114 (POLL_ERR): Likewise.
9115 (POLL_PRI): Likewise.
9116 (POLL_HUP): Likewise.
9117 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9119 (ILL_ILLOPN): Likewise.
9120 (ILL_ILLADR): Likewise.
9121 (ILL_ILLTRP): Likewise.
9122 (ILL_PRVOPC): Likewise.
9123 (ILL_PRVREG): Likewise.
9124 (ILL_COPROC): Likewise.
9125 (ILL_BADSTK): Likewise.
9126 (FPE_INTDIV): Likewise.
9127 (FPE_INTOVF): Likewise.
9128 (FPE_FLTDIV): Likewise.
9129 (FPE_FLTOVF): Likewise.
9130 (FPE_FLTUND): Likewise.
9131 (FPE_FLTRES): Likewise.
9132 (FPE_FLTINV): Likewise.
9133 (FPE_FLTSUB): Likewise.
9134 (SEGV_MAPERR): Likewise.
9135 (SEGV_ACCERR): Likewise.
9136 (BUS_ADRALN): Likewise.
9137 (BUS_ADRERR): Likewise.
9138 (BUS_OBJERR): Likewise.
9139 (BUS_MCEERR_AR): Likewise.
9140 (BUS_MCEERR_AO): Likewise.
9141 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9142 (TRAP_TRACE): Likewise.
9143 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9145 (CLD_KILLED): Likewise.
9146 (CLD_DUMPED): Likewise.
9147 (CLD_TRAPPED): Likewise.
9148 (CLD_STOPPED): Likewise.
9149 (CLD_CONTINUED): Likewise.
9150 (POLL_IN): Likewise.
9151 (POLL_OUT): Likewise.
9152 (POLL_MSG): Likewise.
9153 (POLL_ERR): Likewise.
9154 (POLL_PRI): Likewise.
9155 (POLL_HUP): Likewise.
9156 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9157 (ILL_ILLOPN): Likewise.
9158 (ILL_ILLADR): Likewise.
9159 (ILL_ILLTRP): Likewise.
9160 (ILL_PRVOPC): Likewise.
9161 (ILL_PRVREG): Likewise.
9162 (ILL_COPROC): Likewise.
9163 (ILL_BADSTK): Likewise.
9164 (FPE_INTDIV): Likewise.
9165 (FPE_INTOVF): Likewise.
9166 (FPE_FLTDIV): Likewise.
9167 (FPE_FLTOVF): Likewise.
9168 (FPE_FLTUND): Likewise.
9169 (FPE_FLTRES): Likewise.
9170 (FPE_FLTINV): Likewise.
9171 (FPE_FLTSUB): Likewise.
9172 (SEGV_MAPERR): Likewise.
9173 (SEGV_ACCERR): Likewise.
9174 (BUS_ADRALN): Likewise.
9175 (BUS_ADRERR): Likewise.
9176 (BUS_OBJERR): Likewise.
9177 (BUS_MCEERR_AR): Likewise.
9178 (BUS_MCEERR_AO): Likewise.
9179 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9180 (TRAP_TRACE): Likewise.
9181 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9183 (CLD_KILLED): Likewise.
9184 (CLD_DUMPED): Likewise.
9185 (CLD_TRAPPED): Likewise.
9186 (CLD_STOPPED): Likewise.
9187 (CLD_CONTINUED): Likewise.
9188 (POLL_IN): Likewise.
9189 (POLL_OUT): Likewise.
9190 (POLL_MSG): Likewise.
9191 (POLL_ERR): Likewise.
9192 (POLL_PRI): Likewise.
9193 (POLL_HUP): Likewise.
9194 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9196 (ILL_ILLOPN): Likewise.
9197 (ILL_ILLADR): Likewise.
9198 (ILL_ILLTRP): Likewise.
9199 (ILL_PRVOPC): Likewise.
9200 (ILL_PRVREG): Likewise.
9201 (ILL_COPROC): Likewise.
9202 (ILL_BADSTK): Likewise.
9203 (ILL_BADIADDR): Likewise.
9204 (ILL_BREAK): Likewise.
9205 (FPE_INTDIV): Likewise.
9206 (FPE_INTOVF): Likewise.
9207 (FPE_FLTDIV): Likewise.
9208 (FPE_FLTOVF): Likewise.
9209 (FPE_FLTUND): Likewise.
9210 (FPE_FLTRES): Likewise.
9211 (FPE_FLTINV): Likewise.
9212 (FPE_FLTSUB): Likewise.
9213 (FPE_DECOVF): Likewise.
9214 (FPE_DECDIV): Likewise.
9215 (FPE_DECERR): Likewise.
9216 (FPE_INVASC): Likewise.
9217 (FPE_INVDEC): Likewise.
9218 (SEGV_MAPERR): Likewise.
9219 (SEGV_ACCERR): Likewise.
9220 (SEGV_PSTKOVF): Likewise.
9221 (BUS_ADRALN): Likewise.
9222 (BUS_ADRERR): Likewise.
9223 (BUS_OBJERR): Likewise.
9224 (BUS_MCEERR_AR): Likewise.
9225 (BUS_MCEERR_AO): Likewise.
9226 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9227 (TRAP_TRACE): Likewise.
9228 (TRAP_BRANCH): Likewise.
9229 (TRAP_HWBKPT): Likewise.
9230 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9232 (CLD_KILLED): Likewise.
9233 (CLD_DUMPED): Likewise.
9234 (CLD_TRAPPED): Likewise.
9235 (CLD_STOPPED): Likewise.
9236 (CLD_CONTINUED): Likewise.
9237 (POLL_IN): Likewise.
9238 (POLL_OUT): Likewise.
9239 (POLL_MSG): Likewise.
9240 (POLL_ERR): Likewise.
9241 (POLL_PRI): Likewise.
9242 (POLL_HUP): Likewise.
9243 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9244 (ILL_ILLOPN): Likewise.
9245 (ILL_ILLADR): Likewise.
9246 (ILL_ILLTRP): Likewise.
9247 (ILL_PRVOPC): Likewise.
9248 (ILL_PRVREG): Likewise.
9249 (ILL_COPROC): Likewise.
9250 (ILL_BADSTK): Likewise.
9251 (FPE_INTDIV): Likewise.
9252 (FPE_INTOVF): Likewise.
9253 (FPE_FLTDIV): Likewise.
9254 (FPE_FLTOVF): Likewise.
9255 (FPE_FLTUND): Likewise.
9256 (FPE_FLTRES): Likewise.
9257 (FPE_FLTINV): Likewise.
9258 (FPE_FLTSUB): Likewise.
9259 (SEGV_MAPERR): Likewise.
9260 (SEGV_ACCERR): Likewise.
9261 (BUS_ADRALN): Likewise.
9262 (BUS_ADRERR): Likewise.
9263 (BUS_OBJERR): Likewise.
9264 (BUS_MCEERR_AR): Likewise.
9265 (BUS_MCEERR_AO): Likewise.
9266 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9267 (TRAP_TRACE): Likewise.
9268 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9270 (CLD_KILLED): Likewise.
9271 (CLD_DUMPED): Likewise.
9272 (CLD_TRAPPED): Likewise.
9273 (CLD_STOPPED): Likewise.
9274 (CLD_CONTINUED): Likewise.
9275 (POLL_IN): Likewise.
9276 (POLL_OUT): Likewise.
9277 (POLL_MSG): Likewise.
9278 (POLL_ERR): Likewise.
9279 (POLL_PRI): Likewise.
9280 (POLL_HUP): Likewise.
9281 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9282 (ILL_ILLOPN): Likewise.
9283 (ILL_ILLADR): Likewise.
9284 (ILL_ILLTRP): Likewise.
9285 (ILL_PRVOPC): Likewise.
9286 (ILL_PRVREG): Likewise.
9287 (ILL_COPROC): Likewise.
9288 (ILL_BADSTK): Likewise.
9289 (FPE_INTDIV): Likewise.
9290 (FPE_INTOVF): Likewise.
9291 (FPE_FLTDIV): Likewise.
9292 (FPE_FLTOVF): Likewise.
9293 (FPE_FLTUND): Likewise.
9294 (FPE_FLTRES): Likewise.
9295 (FPE_FLTINV): Likewise.
9296 (FPE_FLTSUB): Likewise.
9297 (SEGV_MAPERR): Likewise.
9298 (SEGV_ACCERR): Likewise.
9299 (BUS_ADRALN): Likewise.
9300 (BUS_ADRERR): Likewise.
9301 (BUS_OBJERR): Likewise.
9302 (BUS_MCEERR_AR): Likewise.
9303 (BUS_MCEERR_AO): Likewise.
9304 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9305 (TRAP_TRACE): Likewise.
9306 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9308 (CLD_KILLED): Likewise.
9309 (CLD_DUMPED): Likewise.
9310 (CLD_TRAPPED): Likewise.
9311 (CLD_STOPPED): Likewise.
9312 (CLD_CONTINUED): Likewise.
9313 (POLL_IN): Likewise.
9314 (POLL_OUT): Likewise.
9315 (POLL_MSG): Likewise.
9316 (POLL_ERR): Likewise.
9317 (POLL_PRI): Likewise.
9318 (POLL_HUP): Likewise.
9319 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9320 (ILL_ILLOPN): Likewise.
9321 (ILL_ILLADR): Likewise.
9322 (ILL_ILLTRP): Likewise.
9323 (ILL_PRVOPC): Likewise.
9324 (ILL_PRVREG): Likewise.
9325 (ILL_COPROC): Likewise.
9326 (ILL_BADSTK): Likewise.
9327 (FPE_INTDIV): Likewise.
9328 (FPE_INTOVF): Likewise.
9329 (FPE_FLTDIV): Likewise.
9330 (FPE_FLTOVF): Likewise.
9331 (FPE_FLTUND): Likewise.
9332 (FPE_FLTRES): Likewise.
9333 (FPE_FLTINV): Likewise.
9334 (FPE_FLTSUB): Likewise.
9335 (SEGV_MAPERR): Likewise.
9336 (SEGV_ACCERR): Likewise.
9337 (BUS_ADRALN): Likewise.
9338 (BUS_ADRERR): Likewise.
9339 (BUS_OBJERR): Likewise.
9340 (BUS_MCEERR_AR): Likewise.
9341 (BUS_MCEERR_AO): Likewise.
9342 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9343 (TRAP_TRACE): Likewise.
9344 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9346 (CLD_KILLED): Likewise.
9347 (CLD_DUMPED): Likewise.
9348 (CLD_TRAPPED): Likewise.
9349 (CLD_STOPPED): Likewise.
9350 (CLD_CONTINUED): Likewise.
9351 (POLL_IN): Likewise.
9352 (POLL_OUT): Likewise.
9353 (POLL_MSG): Likewise.
9354 (POLL_ERR): Likewise.
9355 (POLL_PRI): Likewise.
9356 (POLL_HUP): Likewise.
9357 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9358 (ILL_ILLOPN): Likewise.
9359 (ILL_ILLADR): Likewise.
9360 (ILL_ILLTRP): Likewise.
9361 (ILL_PRVOPC): Likewise.
9362 (ILL_PRVREG): Likewise.
9363 (ILL_COPROC): Likewise.
9364 (ILL_BADSTK): Likewise.
9365 (ILL_DBLFLT): Likewise.
9366 (ILL_HARDWALL): Likewise.
9367 (FPE_INTDIV): Likewise.
9368 (FPE_INTOVF): Likewise.
9369 (FPE_FLTDIV): Likewise.
9370 (FPE_FLTOVF): Likewise.
9371 (FPE_FLTUND): Likewise.
9372 (FPE_FLTRES): Likewise.
9373 (FPE_FLTINV): Likewise.
9374 (FPE_FLTSUB): Likewise.
9375 (SEGV_MAPERR): Likewise.
9376 (SEGV_ACCERR): Likewise.
9377 (BUS_ADRALN): Likewise.
9378 (BUS_ADRERR): Likewise.
9379 (BUS_OBJERR): Likewise.
9380 (BUS_MCEERR_AR): Likewise.
9381 (BUS_MCEERR_AO): Likewise.
9382 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9383 (TRAP_TRACE): Likewise.
9384 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9386 (CLD_KILLED): Likewise.
9387 (CLD_DUMPED): Likewise.
9388 (CLD_TRAPPED): Likewise.
9389 (CLD_STOPPED): Likewise.
9390 (CLD_CONTINUED): Likewise.
9391 (POLL_IN): Likewise.
9392 (POLL_OUT): Likewise.
9393 (POLL_MSG): Likewise.
9394 (POLL_ERR): Likewise.
9395 (POLL_PRI): Likewise.
9396 (POLL_HUP): Likewise.
9397 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9398 (ILL_ILLOPN): Likewise.
9399 (ILL_ILLADR): Likewise.
9400 (ILL_ILLTRP): Likewise.
9401 (ILL_PRVOPC): Likewise.
9402 (ILL_PRVREG): Likewise.
9403 (ILL_COPROC): Likewise.
9404 (ILL_BADSTK): Likewise.
9405 (FPE_INTDIV): Likewise.
9406 (FPE_INTOVF): Likewise.
9407 (FPE_FLTDIV): Likewise.
9408 (FPE_FLTOVF): Likewise.
9409 (FPE_FLTUND): Likewise.
9410 (FPE_FLTRES): Likewise.
9411 (FPE_FLTINV): Likewise.
9412 (FPE_FLTSUB): Likewise.
9413 (SEGV_MAPERR): Likewise.
9414 (SEGV_ACCERR): Likewise.
9415 (BUS_ADRALN): Likewise.
9416 (BUS_ADRERR): Likewise.
9417 (BUS_OBJERR): Likewise.
9418 (BUS_MCEERR_AR): Likewise.
9419 (BUS_MCEERR_AO): Likewise.
9420 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9421 (TRAP_TRACE): Likewise.
9422 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9424 (CLD_KILLED): Likewise.
9425 (CLD_DUMPED): Likewise.
9426 (CLD_TRAPPED): Likewise.
9427 (CLD_STOPPED): Likewise.
9428 (CLD_CONTINUED): Likewise.
9429 (POLL_IN): Likewise.
9430 (POLL_OUT): Likewise.
9431 (POLL_MSG): Likewise.
9432 (POLL_ERR): Likewise.
9433 (POLL_PRI): Likewise.
9434 (POLL_HUP): Likewise.
9435 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9436 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9439 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9440 before #include of <time.h>.
9441 [!__USE_XOPEN2K] (__need_timespec): Likewise.
9442 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9443 (test-xfail-UNIX98/sched.h/conform): Likewise.
9445 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
9447 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9448 error absence of trapping exception support.
9449 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9451 2014-03-07 Joseph Myers <joseph@codesourcery.com>
9453 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9454 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9455 * timezone/Makefile (testdata): Move definition above include of
9457 (test-zones): New variable.
9458 (tests-special): Add zone files.
9459 (build-testdata): Use $(evaluate-test).
9461 * elf/Makefile (tests-special): Rename tests to end with .out.
9462 ($(objpfx)noload-mem): Likewise.
9463 ($(objpfx)tst-leaks1-mem): Likewise.
9464 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9465 * iconv/Makefile (xtests-special): Change test-iconvconfig to
9466 $(objpfx)test-iconvconfig.out.
9467 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
9468 set -e inside subshell and redirect output to file.
9469 * iconvdata/Makefile (generated): Rename tests to end with .out.
9471 (tests-special): Rename tests to end with .out.
9472 ($(objpfx)mtrace-tst-loading): Likewise.
9473 * intl/Makefile (generated): Likewise.
9474 (tests-special): Likewise.
9475 ($(objpfx)mtrace-tst-gettext): Likewise.
9476 * misc/Makefile (generated): Likewise.
9477 (tests-special): Likewise.
9478 ($(objpfx)tst-error1-mem): Likewise.
9479 * nptl/Makefile (tests-special): Likewise.
9480 ($(objpfx)tst-stack3-mem): Likewise.
9481 (generated): Likewise.
9482 * posix/Makefile (generated): Likewise.
9483 (tests-special): Likewise.
9484 (xtests-special): Likewise.
9485 ($(objpfx)tst-fnmatch-mem): Likewise.
9486 ($(objpfx)bug-regex2-mem): Likewise.
9487 ($(objpfx)bug-regex14-mem): Likewise.
9488 ($(objpfx)bug-regex21-mem): Likewise.
9489 ($(objpfx)bug-regex31-mem): Likewise.
9490 ($(objpfx)tst-vfork3-mem): Likewise.
9491 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9492 ($(objpfx)tst-pcre-mem): Likewise.
9493 ($(objpfx)tst-boost-mem): Likewise.
9494 ($(objpfx)bug-ga2-mem): Likewise.
9495 ($(objpfx)bug-glob2-mem): Likewise.
9496 * resolv/Makefile (generate): Likewise.
9497 (tests-special): Likewise.
9498 (xtests-special): Likewise.
9499 (generated): Likewise.
9500 ($(objpfx)mtrace-tst-leaks): Likewise.
9501 ($(objpfx)mtrace-tst-leaks2): Likewise.
9503 * scripts/merge-test-results.sh: New file.
9504 * Makefile (tests-special-notdir): New variable.
9505 (tests): Run merge-test-results.sh.
9507 * Rules (tests-special-notdir): New variable.
9508 (xtests-special-notdir): Likewise.
9509 (tests): Run merge-test-results.sh
9512 * Makeconfig (test-xfail-name): New variable.
9513 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9514 compute variable name for expected failures.
9515 * conform/Makefile (conformtest-headers-data): New variable.
9516 (conformtest-standards): Likewise.
9517 (conformtest-headers-ISO): Likewise.
9518 (conformtest-headers-ISO99): Likewise.
9519 (conformtest-headers-ISO11): Likewise.
9520 (conformtest-headers-POSIX): Likewise.
9521 (conformtest-headers-XPG3): Likewise.
9522 (conformtest-headers-XPG4): Likewise.
9523 (conformtest-headers-UNIX98): Likewise.
9524 (conformtest-headers-XOPEN2K): Likewise.
9525 (conformtest-headers-POSIX2008): Likewise.
9526 (conformtest-headers-XOPEN2K8): Likewise.
9527 (conformtest-header-list-base): Likewise.
9528 (conformtest-header-list-tests): Likewise.
9529 (conformtest-header-base): Likewise.
9530 (conformtest-header-tests): Likewise.
9531 (tests-special): Add $(conformtest-header-list-tests). If
9532 [$(fast-check) && !$(cross-compiling)], add
9533 $(conformtest-header-tests) instead of
9534 $(objpfx)run-conformtest.out.
9535 (generated): Add $(conformtest-header-list-base). If
9536 [$(fast-check) && !$(cross-compiling)], add
9537 $(conformtest-header-base). Remove previous setting.
9538 ($(conformtest-header-list-tests)): New target.
9539 (test-xfail-run-conformtest): Remove variable.
9540 ($(objpfx)run-conformtest.out): Remove target.
9541 (test-xfail-ISO11/complex.h/conform): New variable.
9542 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9543 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9544 (test-xfail-XPG3/varargs.h/conform): Likewise.
9545 (test-xfail-XPG4/varargs.h/conform): Likewise.
9546 (test-xfail-UNIX98/varargs.h/conform): Likewise.
9547 (test-xfail-XPG4/ndbm.h/conform): Likewise.
9548 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9549 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9550 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9551 (test-xfail-XPG3/fcntl.h/conform): Likewise.
9552 (test-xfail-XPG3/ftw.h/conform): Likewise.
9553 (test-xfail-XPG3/grp.h/conform): Likewise.
9554 (test-xfail-XPG3/langinfo.h/conform): Likewise.
9555 (test-xfail-XPG3/limits.h/conform): Likewise.
9556 (test-xfail-XPG3/pwd.h/conform): Likewise.
9557 (test-xfail-XPG3/search.h/conform): Likewise.
9558 (test-xfail-XPG3/signal.h/conform): Likewise.
9559 (test-xfail-XPG3/stdio.h/conform): Likewise.
9560 (test-xfail-XPG3/stdlib.h/conform): Likewise.
9561 (test-xfail-XPG3/string.h/conform): Likewise.
9562 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9563 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9564 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9565 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9566 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9567 (test-xfail-XPG3/sys/types.h/conform): Likewise.
9568 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9569 (test-xfail-XPG3/termios.h/conform): Likewise.
9570 (test-xfail-XPG3/time.h/conform): Likewise.
9571 (test-xfail-XPG3/unistd.h/conform): Likewise.
9572 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9573 (test-xfail-XPG4/fcntl.h/conform): Likewise.
9574 (test-xfail-XPG4/langinfo.h/conform): Likewise.
9575 (test-xfail-XPG4/netdb.h/conform): Likewise.
9576 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9577 (test-xfail-XPG4/signal.h/conform): Likewise.
9578 (test-xfail-XPG4/stdio.h/conform): Likewise.
9579 (test-xfail-XPG4/stdlib.h/conform): Likewise.
9580 (test-xfail-XPG4/stropts.h/conform): Likewise.
9581 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9582 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9583 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9584 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9585 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9586 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9587 (test-xfail-XPG4/sys/time.h/conform): Likewise.
9588 (test-xfail-XPG4/sys/types.h/conform): Likewise.
9589 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9590 (test-xfail-XPG4/termios.h/conform): Likewise.
9591 (test-xfail-XPG4/ucontext.h/conform): Likewise.
9592 (test-xfail-XPG4/unistd.h/conform): Likewise.
9593 (test-xfail-XPG4/utmpx.h/conform): Likewise.
9594 (test-xfail-POSIX/sched.h/conform): Likewise.
9595 (test-xfail-POSIX/signal.h/conform): Likewise.
9596 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9597 (test-xfail-POSIX/tar.h/conform): Likewise.
9598 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9599 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9600 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9601 (test-xfail-UNIX98/netdb.h/conform): Likewise.
9602 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9603 (test-xfail-UNIX98/sched.h/conform): Likewise.
9604 (test-xfail-UNIX98/signal.h/conform): Likewise.
9605 (test-xfail-UNIX98/stdio.h/conform): Likewise.
9606 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9607 (test-xfail-UNIX98/stropts.h/conform): Likewise.
9608 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9609 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9610 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9611 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9612 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9613 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9614 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9615 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9616 (test-xfail-UNIX98/unistd.h/conform): Likewise.
9617 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9618 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9619 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9620 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9621 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9622 (test-xfail-XOPEN2K/math.h/conform): Likewise.
9623 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9624 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9625 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9626 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9627 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9628 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9629 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9630 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9631 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9632 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9633 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9634 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9635 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9636 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9637 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9638 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9639 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9640 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9641 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9642 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9643 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9644 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9645 (test-xfail-POSIX2008/signal.h/conform): Likewise.
9646 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9647 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9648 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9649 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9650 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9651 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9652 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9653 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9654 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9655 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9656 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9657 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9658 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9659 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9660 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9661 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9662 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9663 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9664 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9665 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9666 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9667 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9668 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9669 (conformtest-cc-flags): Likewise.
9670 ($(conformtest-header-tests): New target.
9671 * conform/check-header-lists.sh: New file.
9672 * conform/run-conformtest.sh: Remove.
9674 * conform/conformtest.pl: Allow ' and \ in values given for
9676 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9678 [POSIX] (sys/types.h): Likewise.
9679 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9681 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9683 * conform/data/signal.h-data (SIGIO): Remove expectation.
9684 [XPG3] (SIGBUS): Do not expect.
9685 [POSIX || XPG3] (SIGPOLL): Likewise.
9686 [POSIX || XPG3] (SIGPROF): Likewise.
9687 [POSIX || XPG3] (SIGSYS): Likewise.
9688 [XPG3] (SIGTRAP): Likewise.
9689 [POSIX || XPG3] (SIGURG): Likewise.
9690 [POSIX || XPG3] (SIGVTALRM): Likewise.
9691 [POSIX || XPG3] (SIGXCPU): Likewise.
9692 [POSIX || XPG3] (SIGXFSZ): Likewise.
9693 [POSIX] (SA_SIGINFO): Expect.
9694 [XPG3] (siginfo_t): Do not expect type or contents.
9695 [POSIX] (si_pid): Do not expect element.
9696 [POSIX] (si_uid): Likewise.
9697 [POSIX] (si_addr): Likewise.
9698 [POSIX] (si_status): Likewise.
9699 [POSIX] (si_band): Likewise.
9700 [XPG4] (si_value): Likewise.
9701 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9702 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9703 [POSIX || XPG3] (ILL_ILLADR): Likewise.
9704 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9705 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9706 [POSIX || XPG3] (ILL_PRVREG): Likewise.
9707 [POSIX || XPG3] (ILL_COPROC): Likewise.
9708 [POSIX || XPG3] (ILL_BADSTK): Likewise.
9709 [POSIX || XPG3] (FPE_INTDIV): Likewise.
9710 [POSIX || XPG3] (FPE_INTOVF): Likewise.
9711 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9712 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9713 [POSIX || XPG3] (FPE_FLTUND): Likewise.
9714 [POSIX || XPG3] (FPE_FLTRES): Likewise.
9715 [POSIX || XPG3] (FPE_FLTINV): Likewise.
9716 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9717 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9718 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9719 [POSIX || XPG3] (BUS_ADRALN): Likewise.
9720 [POSIX || XPG3] (BUS_ADRERR): Likewise.
9721 [POSIX || XPG3] (BUS_OBJERR): Likewise.
9722 [POSIX || XPG3] (CLD_EXITED): Likewise.
9723 [POSIX || XPG3] (CLD_KILLED): Likewise.
9724 [POSIX || XPG3] (CLD_DUMPED): Likewise.
9725 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9726 [POSIX || XPG3] (CLD_STOPPED): Likewise.
9727 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9728 [POSIX || XPG3] (POLL_IN): Likewise.
9729 [POSIX || XPG3] (POLL_OUT): Likewise.
9730 [POSIX || XPG3] (POLL_MSG): Likewise.
9731 [POSIX || XPG3] (POLL_ERR): Likewise.
9732 [POSIX || XPG3] (POLL_PRI): Likewise.
9733 [POSIX || XPG3] (POLL_HUP): Likewise.
9734 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9735 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9736 (SIG*): Do not allow.
9737 [XPG3] (si_*): Likewise.
9738 [XPG3] (SI_*): Likewise.
9739 [XPG3 || XPG4] (sigev_*): Likewise.
9740 [XPG3 || XPG4] (SIGEV_*): Likewise.
9741 [XPG3 || XPG4] (sival_*): Likewise.
9742 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9743 [POSIX || XPG3] (BUS_*): Likewise.
9744 [POSIX || XPG3] (CLD_*): Likewise.
9745 [POSIX || XPG3] (FPE_*): Likewise.
9746 [POSIX || XPG3] (ILL_*): Likewise.
9747 [POSIX || XPG3] (POLL_*): Likewise.
9748 [POSIX || XPG3] (SEGV_*): Likewise.
9749 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9750 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9751 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9752 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9753 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9754 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9755 Specify type and value.
9756 (TVERSLEN): Likewise.
9757 (REGTYPE): Likewise.
9758 (AREGTYPE): Likewise.
9759 (LNKTYPE): Likewise.
9760 (SYMTYPE): Likewise.
9761 (CHRTYPE): Likewise.
9762 (BLKTYPE): Likewise.
9763 (DIRTYPE): Likewise.
9764 (FIFOTYPE): Likewise.
9765 (CONTTYPE): Likewise.
9770 (TUWRITE): Likewise.
9773 (TGWRITE): Likewise.
9776 (TOWRITE): Likewise.
9778 [POSIX] (TSVTX): Expect constant.
9780 2014-03-06 Joseph Myers <joseph@codesourcery.com>
9782 * Makefile (tests): Change dependencies to ....
9783 (tests-special): ... additions to this variable.
9784 (tests): Depend on $(tests-special).
9785 * Makerules (check-abi-list): New variable.
9786 (check-abi): Depend on $(check-abi-list).
9787 [$(subdir) = elf] (tests-special): Add
9788 $(objpfx)check-abi-libc.out.
9789 [$(build-shared) = yes && subdir] (tests-special): Add
9791 [$(build-shared) = yes && subdir] (tests): Do not depend on
9793 * Rules (tests): Depend on $(tests-special).
9794 (xtests): Depend on $(xtests-special).
9795 * catgets/Makefile (tests): Change dependencies to ....
9796 (tests-special): ... additions to this variable.
9797 * conform/Makefile (tests): Change dependencies to ....
9798 (tests-special): ... additions to this variable.
9799 * elf/Makefile (tests): Change dependencies to ....
9800 (tests-special): ... additions to this variable.
9801 * grp/Makefile (tests): Change dependencies to ....
9802 (tests-special): ... additions to this variable.
9803 * iconv/Makefile (xtests): Change dependencies to ....
9804 (xtests-special): ... additions to this variable.
9805 * iconvdata/Makefile (tests): Change dependencies to ....
9806 (tests-special): ... additions to this variable.
9807 * intl/Makefile (tests): Change dependencies to ....
9808 (tests-special): ... additions to this variable. Also add
9809 $(objpfx)tst-gettext.out.
9810 * io/Makefile (tests): Change dependencies to ....
9811 (tests-special): ... additions to this variable.
9812 * libio/Makefile (tests): Change dependencies to ....
9813 (tests-special): ... additions to this variable.
9814 * malloc/Makefile (tests): Change dependencies to ....
9815 (tests-special): ... additions to this variable.
9816 * misc/Makefile (tests): Change dependencies to ....
9817 (tests-special): ... additions to this variable.
9818 * nptl/Makefile (tests): Change dependencies to ....
9819 (tests-special): ... additions to this variable.
9820 * nptl_db/Makefile (tests): Change dependencies to ....
9821 (tests-special): ... additions to this variable.
9822 * posix/Makefile (tests): Change dependencies to ....
9823 (tests-special): ... additions to this variable.
9824 (xtests): Change dependencies to ....
9825 (xtests-special): ... additions to this variable.
9826 * resolv/Makefile (tests): Change dependencies to ....
9827 (tests-special): ... additions to this variable.
9828 (xtests): Change dependencies to ....
9829 (xtests-special): ... additions to this variable.
9830 * stdio-common/Makefile (tests): Change dependencies to ....
9831 (tests-special): ... additions to this variable.
9832 (do-tst-unbputc): Remove target.
9833 (do-tst-printf): Likewise.
9834 * stdlib/Makefile (tests): Change dependencies to ....
9835 (tests-special): ... additions to this variable.
9836 * string/Makefile (tests): Change dependencies to ....
9837 (tests-special): ... additions to this variable.
9838 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9839 (tests-special): ... additions to this variable.
9841 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9843 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9845 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9846 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9848 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9849 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9850 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9851 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9852 * conform/data/libgen.h-data [XPG3]: Likewise.
9853 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9854 * conform/data/ndbm.h-data [XPG3]: Likewise.
9855 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9856 * conform/data/netdb.h-data [XPG3]: Likewise.
9857 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9858 * conform/data/poll.h-data [XPG3]: Likewise.
9859 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9860 * conform/data/strings.h-data [XPG3]: Likewise.
9861 * conform/data/stropts.h-data [XPG3]: Likewise.
9862 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9863 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9864 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9866 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9867 * conform/data/sys/time.h-data [XPG3]: Likewise.
9868 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9869 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9870 * conform/data/sys/un.h-data [XPG3]: Likewise.
9871 * conform/data/syslog.h-data [XPG3]: Likewise.
9872 * conform/data/ucontext.h-data [XPG3]: Likewise.
9873 * conform/data/utmpx.h-data [XPG3]: Likewise.
9874 * conform/data/varargs.h-data [UNIX98]: Enable file.
9876 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9878 * math/libm-test.inc (struct test_f_f_data): Move expected results
9879 into structure for each rounding mode.
9880 (struct test_ff_f_data): Likewise.
9881 (struct test_ff_f_data_nexttoward): Likewise.
9882 (struct test_fi_f_data): Likewise.
9883 (struct test_fl_f_data): Likewise.
9884 (struct test_if_f_data): Likewise.
9885 (struct test_fff_f_data): Likewise.
9886 (struct test_c_f_data): Likewise.
9887 (struct test_f_f1_data): Likewise.
9888 (struct test_fF_f1_data): Likewise.
9889 (struct test_ffI_f1_data): Likewise.
9890 (struct test_c_c_data): Likewise.
9891 (struct test_cc_c_data): Likewise.
9892 (struct test_f_i_data): Likewise.
9893 (struct test_ff_i_data): Likewise.
9894 (struct test_f_l_data): Likewise.
9895 (struct test_f_L_data): Likewise.
9896 (struct test_fFF_11_data): Likewise.
9898 (RM_FE_DOWNWARD): Likewise.
9899 (RM_FE_TONEAREST): Likewise.
9900 (RM_FE_TOWARDZERO): Likewise.
9901 (RM_FE_UPWARD): Likewise.
9902 (RUN_TEST_LOOP_f_f): Update references to expected results.
9903 (RUN_TEST_LOOP_2_f): Likewise.
9904 (RUN_TEST_LOOP_fff_f): Likewise.
9905 (RUN_TEST_LOOP_c_f): Likewise.
9906 (RUN_TEST_LOOP_f_f1): Likewise.
9907 (RUN_TEST_LOOP_fF_f1): Likewise.
9908 (RUN_TEST_LOOP_fI_f1): Likewise.
9909 (RUN_TEST_LOOP_ffI_f1): Likewise.
9910 (RUN_TEST_LOOP_c_c): Likewise.
9911 (RUN_TEST_LOOP_cc_c): Likewise.
9912 (RUN_TEST_LOOP_f_i): Likewise.
9913 (RUN_TEST_LOOP_f_i_tg): Likewise.
9914 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9915 (RUN_TEST_LOOP_f_b): Likewise.
9916 (RUN_TEST_LOOP_f_b_tg): Likewise.
9917 (RUN_TEST_LOOP_f_l): Likewise.
9918 (RUN_TEST_LOOP_f_L): Likewise.
9919 (RUN_TEST_LOOP_fFF_11): Likewise.
9920 * math/gen-libm-test.pl (parse_args): Output four copies of
9921 expected results for each test.
9923 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9924 (__ASSUME_UTIMES): Remove.
9925 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9926 (__ASSUME_UTIMES): Likewise.
9928 * math/gen-auto-libm-tests.c: Update comment on output format.
9929 (output_for_one_input_case): Generate before-rounding and
9930 after-rounding information as conditions on output flags not
9931 floating-point format.
9932 * math/auto-libm-test-out: Regenerated.
9933 * math/gen-libm-test.pl (cond_value): New function.
9934 (or_cond_value): Use cond_value.
9935 (generate_testfile): Handle conditional exceptions.
9937 2014-03-05 Joseph Myers <joseph@codesourcery.com>
9939 * math/libm-test.inc (max_valid_error): New variable.
9940 (init_max_error): Take new argument specifying whether function
9941 results are exactly determined. Set max_valid_error and bound
9942 other variables for errors based on this argument.
9943 (set_max_error): Do not record results above max_valid_error.
9944 (check_float_internal): Only accept errors of up to 0.5ulps if
9945 also at most max_valid_error.
9946 (START): Take new argument EXACT and pass it to init_max_error.
9947 (acos_test): Update call to START.
9948 (acos_test_tonearest): Likewise.
9949 (acos_test_towardzero): Likewise.
9950 (acos_test_downward): Likewise.
9951 (acos_test_upward): Likewise.
9952 (acosh_test): Likewise.
9953 (asin_test): Likewise.
9954 (asin_test_tonearest): Likewise.
9955 (asin_test_towardzero): Likewise.
9956 (asin_test_downward): Likewise.
9957 (asin_test_upward): Likewise.
9958 (asinh_test): Likewise.
9959 (atan_test): Likewise.
9960 (atanh_test): Likewise.
9961 (atan2_test): Likewise.
9962 (cabs_test): Likewise.
9963 (cacos_test): Likewise.
9964 (cacosh_test): Likewise.
9965 (carg_test): Likewise.
9966 (casin_test): Likewise.
9967 (casinh_test): Likewise.
9968 (catan_test): Likewise.
9969 (catanh_test): Likewise.
9970 (cbrt_test): Likewise.
9971 (ccos_test): Likewise.
9972 (ccosh_test): Likewise.
9973 (ceil_test): Likewise.
9974 (cexp_test): Likewise.
9975 (cimag_test): Likewise.
9976 (clog_test): Likewise.
9977 (clog10_test): Likewise.
9978 (conj_test): Likewise.
9979 (copysign_test): Likewise.
9980 (cos_test): Likewise.
9981 (cos_test_tonearest): Likewise.
9982 (cos_test_towardzero): Likewise.
9983 (cos_test_downward): Likewise.
9984 (cos_test_upward): Likewise.
9985 (cosh_test): Likewise.
9986 (cosh_test_tonearest): Likewise.
9987 (cosh_test_towardzero): Likewise.
9988 (cosh_test_downward): Likewise.
9989 (cosh_test_upward): Likewise.
9990 (cpow_test): Likewise.
9991 (cproj_test): Likewise.
9992 (creal_test): Likewise.
9993 (csin_test): Likewise.
9994 (csinh_test): Likewise.
9995 (csqrt_test): Likewise.
9996 (ctan_test): Likewise.
9997 (ctan_test_tonearest): Likewise.
9998 (ctan_test_towardzero): Likewise.
9999 (ctan_test_downward): Likewise.
10000 (ctan_test_upward): Likewise.
10001 (ctanh_test): Likewise.
10002 (ctanh_test_tonearest): Likewise.
10003 (ctanh_test_towardzero): Likewise.
10004 (ctanh_test_downward): Likewise.
10005 (ctanh_test_upward): Likewise.
10006 (erf_test): Likewise.
10007 (erfc_test): Likewise.
10008 (exp_test): Likewise.
10009 (exp_test_tonearest): Likewise.
10010 (exp_test_towardzero): Likewise.
10011 (exp_test_downward): Likewise.
10012 (exp_test_upward): Likewise.
10013 (exp10_test): Likewise.
10014 (exp10_test_tonearest): Likewise.
10015 (exp10_test_towardzero): Likewise.
10016 (exp10_test_downward): Likewise.
10017 (exp10_test_upward): Likewise.
10018 (pow10_test): Likewise.
10019 (exp2_test): Likewise.
10020 (expm1_test): Likewise.
10021 (expm1_test_tonearest): Likewise.
10022 (expm1_test_towardzero): Likewise.
10023 (expm1_test_downward): Likewise.
10024 (expm1_test_upward): Likewise.
10025 (fabs_test): Likewise.
10026 (fdim_test): Likewise.
10027 (floor_test): Likewise.
10028 (fma_test): Likewise.
10029 (fma_test_towardzero): Likewise.
10030 (fma_test_downward): Likewise.
10031 (fma_test_upward): Likewise.
10032 (fmax_test): Likewise.
10033 (fmin_test): Likewise.
10034 (fmod_test): Likewise.
10035 (fpclassify_test): Likewise.
10036 (frexp_test): Likewise.
10037 (hypot_test): Likewise.
10038 (ilogb_test): Likewise.
10039 (isfinite_test): Likewise.
10040 (finite_test): Likewise.
10041 (isgreater_test): Likewise.
10042 (isgreaterequal_test): Likewise.
10043 (isinf_test): Likewise.
10044 (isless_test): Likewise.
10045 (islessequal_test): Likewise.
10046 (islessgreater_test): Likewise.
10047 (isnan_test): Likewise.
10048 (isnormal_test): Likewise.
10049 (issignaling_test): Likewise.
10050 (isunordered_test): Likewise.
10051 (j0_test): Likewise.
10052 (j1_test): Likewise.
10053 (jn_test): Likewise.
10054 (ldexp_test): Likewise.
10055 (lgamma_test): Likewise.
10056 (gamma_test): Likewise.
10057 (lrint_test): Likewise.
10058 (lrint_test_tonearest): Likewise.
10059 (lrint_test_towardzero): Likewise.
10060 (lrint_test_downward): Likewise.
10061 (lrint_test_upward): Likewise.
10062 (llrint_test): Likewise.
10063 (llrint_test_tonearest): Likewise.
10064 (llrint_test_towardzero): Likewise.
10065 (llrint_test_downward): Likewise.
10066 (llrint_test_upward): Likewise.
10067 (log_test): Likewise.
10068 (log10_test): Likewise.
10069 (log1p_test): Likewise.
10070 (log2_test): Likewise.
10071 (logb_test): Likewise.
10072 (logb_test_downward): Likewise.
10073 (lround_test): Likewise.
10074 (llround_test): Likewise.
10075 (modf_test): Likewise.
10076 (nearbyint_test): Likewise.
10077 (nextafter_test): Likewise.
10078 (nexttoward_test): Likewise.
10079 (pow_test): Likewise.
10080 (pow_test_tonearest): Likewise.
10081 (pow_test_towardzero): Likewise.
10082 (pow_test_downward): Likewise.
10083 (pow_test_upward): Likewise.
10084 (remainder_test): Likewise.
10085 (drem_test): Likewise.
10086 (remainder_test_tonearest): Likewise.
10087 (drem_test_tonearest): Likewise.
10088 (remainder_test_towardzero): Likewise.
10089 (drem_test_towardzero): Likewise.
10090 (remainder_test_downward): Likewise.
10091 (drem_test_downward): Likewise.
10092 (remainder_test_upward): Likewise.
10093 (drem_test_upward): Likewise.
10094 (remquo_test): Likewise.
10095 (rint_test): Likewise.
10096 (rint_test_tonearest): Likewise.
10097 (rint_test_towardzero): Likewise.
10098 (rint_test_downward): Likewise.
10099 (rint_test_upward): Likewise.
10100 (round_test): Likewise.
10101 (scalb_test): Likewise.
10102 (scalbn_test): Likewise.
10103 (scalbln_test): Likewise.
10104 (signbit_test): Likewise.
10105 (sin_test): Likewise.
10106 (sin_test_tonearest): Likewise.
10107 (sin_test_towardzero): Likewise.
10108 (sin_test_downward): Likewise.
10109 (sin_test_upward): Likewise.
10110 (sincos_test): Likewise.
10111 (sinh_test): Likewise.
10112 (sinh_test_tonearest): Likewise.
10113 (sinh_test_towardzero): Likewise.
10114 (sinh_test_downward): Likewise.
10115 (sinh_test_upward): Likewise.
10116 (sqrt_test): Likewise.
10117 (sqrt_test_tonearest): Likewise.
10118 (sqrt_test_towardzero): Likewise.
10119 (sqrt_test_downward): Likewise.
10120 (sqrt_test_upward): Likewise.
10121 (tan_test): Likewise.
10122 (tan_test_tonearest): Likewise.
10123 (tan_test_towardzero): Likewise.
10124 (tan_test_downward): Likewise.
10125 (tan_test_upward): Likewise.
10126 (tanh_test): Likewise.
10127 (tgamma_test): Likewise.
10128 (trunc_test): Likewise.
10129 (y0_test): Likewise.
10130 (y1_test): Likewise.
10131 (yn_test): Likewise.
10132 (significand_test): Likewise.
10134 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10135 individual tests in comment.
10136 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10137 (prev_max_error): New variable.
10138 (prev_real_max_error): Likewise.
10139 (prev_imag_max_error): Likewise.
10140 (compare_ulp_data): Don't refer to test names in comment.
10141 (find_test_ulps): Remove function.
10142 (find_function_ulps): Likewise.
10143 (find_complex_function_ulps): Likewise.
10144 (init_max_error): Take function name as argument. Look up ulps
10146 (print_ulps): Remove function.
10147 (print_max_error): Use prev_max_error instead of calling
10148 find_function_ulps.
10149 (print_complex_max_error): Use prev_real_max_error and
10150 prev_imag_max_error instead of calling find_complex_function_ulps.
10151 (check_float_internal): Take max_ulp parameter instead of calling
10152 find_test_ulps. Don't call print_ulps.
10153 (check_float): Update call to check_float_internal.
10154 (check_complex): Update calls to check_float_internal.
10155 (START): Pass argument to init_max_error.
10156 * math/gen-libm-test.pl (%results): Don't include "kind"
10158 (parse_ulps): Don't handle ulps of individual tests.
10159 (print_ulps_file): Likewise.
10160 (output_ulps): Likewise.
10161 * math/README.libm-test: Update.
10162 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10164 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10165 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10166 * sysdeps/arm/libm-test-ulps: Likewise.
10167 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10168 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10169 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10170 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10171 * sysdeps/microblaze/libm-test-ulps: Likewise.
10172 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10173 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10174 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10175 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10176 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10177 * sysdeps/sh/libm-test-ulps: Likewise.
10178 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10179 * sysdeps/tile/libm-test-ulps: Likewise.
10180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10182 2014-03-04 Joseph Myers <joseph@codesourcery.com>
10184 * math/libm-test.inc (print_complex_max_error): Check separately
10185 whether real and imaginary errors are within allowed range and
10186 pass 0 to print_complex_function_ulps instead of value within
10189 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10191 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10193 (get_handles_fopen): Likewise.
10194 (do_write_test): Likewise.
10196 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10198 * libio/fileops.c (do_ftell): Use cached offset when
10200 * libio/iofwide.c (do_ftell_wide): Likewise.
10201 * libio/iofdopen.c (_IO_new_fdopen): Don't use
10203 * libio/wfileops.c (_IO_fwide): Don't cache offset.
10206 * libio/libioP.h (get_file_offset): New function.
10207 * libio/fileops.c (get_file_offset): Likewise.
10208 (do_ftell): Likewise.
10209 (_IO_new_file_seekoff): Split out ftell logic.
10210 * libio/wfileops.c (do_ftell_wide): Likewise.
10211 (_IO_wfile_seekoff): Split out ftell logic.
10212 * libio/tst-ftell-active-handler.c: New test case.
10213 * libio/Makefile (tests): Add it.
10215 2014-03-03 Roland McGrath <roland@hack.frob.com>
10217 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10218 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10220 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10223 * nscd/connections.c (nscd_init): Call do_exit.
10224 (start_threads): Call do_exit and notify_parent.
10225 (begin_drop_privileges): Call do_exit.
10226 (finish_drop_privileges): Likewise.
10227 * nscd/selinux.c (preserve_capabilities): Likewise.
10228 (install_real_capabilities): Likewise.
10229 (nscd_selinux_enabled): Likewise.
10230 (avc_create_thread): Likewise.
10231 (avc_alloc_lock): Likewise.
10232 (nscd_avc_init): Likewise.
10233 * nscd/nscd.c (parent_fd): New static variable.
10234 (main): Create a pipe between parent and child processes.
10235 Skip closing parent_fd.
10236 (monitor_child): New function.
10237 (do_exit): Likewise.
10238 (notify_parent): Likewise.
10239 * nscd/nscd.h (notify_parent): Likewise.
10240 (do_exit): Likewise.
10242 2014-03-03 Carlos O'Donell <carlos@redhat.com>
10244 * malloc/malloc.c (__libc_calloc): Revert last change.
10246 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10250 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10252 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10253 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10255 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10256 (__libc_ifunc_impl_list): Likewise.
10257 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10258 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10259 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10260 * string/strrchr.c: Define STRRCHR.
10262 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
10264 * benchtest/bench-strtok.c (simple_strtok): Delete.
10265 (strtok_string): Use as benchmark.
10266 * string/strtok (STRTOK): New macro.
10268 2014-02-28 Carlos O'Donell <carlos@redhat.com>
10270 * manual/threads.texi: Add header and standard comments to all
10273 * elf/dl-lookup.c (check_match): New function.
10274 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10275 (do_lookup_x): Remove nested function check_match. Use non-nested
10276 function check_match.
10278 2014-02-28 Roland McGrath <roland@hack.frob.com>
10280 * csu/Makefile (generated, before-compile): Use += rather than =.
10281 * catgets/Makefile (generated, generated-dirs): Likewise.
10282 * debug/Makefile (generated): Likewise.
10283 * dlfcn/Makefile (generated): Likewise.
10284 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10285 * iconvdata/Makefile (before-compile, generated): Likewise.
10286 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10287 * libio/Makefile (generated): Likewise.
10288 * malloc/Makefile (generated): Likewise.
10289 * manual/Makefile (generated, generated-dirs): Likewise.
10290 * misc/Makefile (generated): Likewise.
10291 * posix/Makefile (generated): Likewise.
10292 * resolv/Makefile (generated): Likewise.
10293 * sunrpc/Makefile (generated, generated-dirs): Likewise.
10294 * timezone/Makefile (generated, generated-dirs): Likewise.
10296 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10298 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10300 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10301 power8 implementation.
10302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10303 file: POWER8 llround ifunc implementation.
10304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10305 (__lllround): Add POWER8 implementation.
10306 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10307 POWER8 llround implementation.
10309 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10310 power8 implementation.
10311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10312 file: POWER8 llrint ifunc implementation.
10313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10314 Add POWER8 implementation.
10315 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10316 POWER8 llrint implementation.
10318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10319 power8 implementation.
10320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10321 file: POWER8 finite ifunc implementation.
10322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10323 Add POWER8 implementation.
10324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10326 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10327 POWER8 finite implementation.
10328 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10330 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10331 power8 implementation.
10332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10333 file: POWER8 isinf ifunc implementation.
10334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10335 POWER8 implementation.
10336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10338 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10339 isinf implementation.
10340 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10342 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10343 (INIT_ARCH): Add hwcap2 initialization.
10344 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10345 power8 implementation.
10346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10347 file: POWER8 isnan ifunc implementation.
10348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10349 POWER8 implementation.
10350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10352 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10353 isnan implementation.
10354 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10356 2014-02-27 Joey Ye <joey.ye@arm.com>
10358 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10359 (_FP_NANFRAC_Q): Set to zero.
10361 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10364 * math/auto-libm-test-in: New test inputs.
10365 * math/auto-libm-test-out: Regenerate.
10366 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10369 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10371 2014-02-27 Joseph Myers <joseph@codesourcery.com>
10373 * scripts/evaluate-test.sh: Take new argument indicating whether
10374 failure is expected.
10375 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10376 indicating whether failure is expected.
10377 * conform/Makefile (test-xfail-run-conformtest): New variable.
10378 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10380 * posix/Makefile (test-xfail-annexc): New variable.
10381 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10383 2014-02-26 Joseph Myers <joseph@codesourcery.com>
10385 * argp/Makefile: Include Makeconfig immediately after defining
10387 * assert/Makefile: Likewise.
10388 * benchtests/Makefile: Likewise.
10389 * catgets/Makefile: Likewise.
10390 * conform/Makefile: Likewise.
10391 * crypt/Makefile: Likewise.
10392 * csu/Makefile: Likewise.
10393 (all): Remove target.
10394 * ctype/Makefile: Include Makeconfig immediately after defining
10396 * debug/Makefile: Likewise.
10397 * dirent/Makefile: Likewise.
10398 * dlfcn/Makefile: Likewise.
10399 * gmon/Makefile: Likewise.
10400 * gnulib/Makefile: Likewise.
10401 * grp/Makefile: Likewise.
10402 * gshadow/Makefile: Likewise.
10403 * hesiod/Makefile: Likewise.
10404 * hurd/Makefile: Likewise.
10405 (all): Remove target.
10406 * iconvdata/Makefile: Include Makeconfig immediately after
10408 * inet/Makefile: Likewise.
10409 * intl/Makefile: Likewise.
10410 * io/Makefile: Likewise.
10411 * libio/Makefile: Likewise.
10412 (all): Remove target.
10413 * locale/Makefile: Include Makeconfig immediately after defining
10415 * login/Makefile: Likewise.
10416 * mach/Makefile: Likewise.
10417 (all): Remove target.
10418 * malloc/Makefile: Include Makeconfig immediately after defining
10420 (all): Remove target.
10421 * manual/Makefile: Include Makeconfig immediately after defining
10423 * math/Makefile: Likewise.
10424 * misc/Makefile: Likewise.
10425 * nis/Makefile: Likewise.
10426 * nss/Makefile: Likewise.
10427 * po/Makefile: Likewise.
10428 (all): Remove target.
10429 * posix/Makefile: Include Makeconfig immediately after defining
10431 * pwd/Makefile: Likewise.
10432 * resolv/Makefile: Likewise.
10433 * resource/Makefile: Likewise.
10434 * rt/Makefile: Likewise.
10435 * setjmp/Makefile: Likewise.
10436 * shadow/Makefile: Likewise.
10437 * signal/Makefile: Likewise.
10438 * socket/Makefile: Likewise.
10439 * soft-fp/Makefile: Likewise.
10440 * stdio-common/Makefile: Likewise.
10441 * stdlib/Makefile: Likewise.
10442 * streams/Makefile: Likewise.
10443 * string/Makefile: Likewise.
10444 * sunrpc/Makefile: Likewise.
10445 (all): Remove target.
10446 * sysvipc/Makefile: Include Makeconfig immediately after defining
10448 * termios/Makefile: Likewise.
10449 * time/Makefile: Likewise.
10450 * timezone/Makefile: Likewise.
10451 (all): Remove target.
10452 * wcsmbs/Makefile: Include Makeconfig immediately after defining
10454 * wctype/Makefile: Likewise.
10456 2014-02-26 Steve Ellcey <sellcey@mips.com>
10458 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10459 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10460 (libc_feholdexcept_setround_mips): Ditto.
10461 (libc_feholdsetround): New.
10462 (libc_feholdsetroundf): New.
10463 (libc_feholdsetroundl): New.
10464 (libc_feupdateenv_test_mips): New.
10465 (libc_feupdateenv_test): New.
10466 (libc_feupdateenv_testf): New.
10467 (libc_feupdateenv_testl): New.
10468 (libc_feresetround): New.
10469 (libc_feresetroundf): New.
10470 (libc_feresetroundl): New.
10471 (libc_fetestexcept_mips): New.
10472 (libc_fetestexcept): New.
10473 (libc_fetestexceptf): New.
10474 (libc_fetestexceptl): New.
10475 (HAVE_RM_CTX): New.
10476 (libc_feholdexcept_setround_mips_ctx): New.
10477 (libc_feholdexcept_setround_ctx): New.
10478 (libc_feholdexcept_setroundf_ctx): New.
10479 (libc_feholdexcept_setroundl_ctx): New.
10480 (libc_fesetenv_mips_ctx): New.
10481 (libc_fesetenv_ctx): New.
10482 (libc_fesetenv_ctxf): New.
10483 (libc_fesetenv_ctxl): New.
10484 (libc_feupdateenv_mips_ctx): New.
10485 (libc_feupdateenv_ctx): New.
10486 (libc_feupdateenvf_ctx): New.
10487 (libc_feupdateenvl_ctx): New.
10488 (libc_feholdsetround_mips_ctx): New.
10489 (libc_feholdsetround_ctx): New.
10490 (libc_feholdsetroundf_ctx): New.
10491 (libc_feholdsetroundl_ctx): New.
10492 (libc_feresetround_mips_ctx): New.
10493 (libc_feresetround_ctx): New.
10494 (libc_feresetroundf_ctx): New.
10495 (libc_feresetroundl_ctx): New.
10497 2014-02-26 Carlos O'Donell <carlos@redhat.com>
10499 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10501 * manual/ipc.texi: New file.
10502 * manual/Makefile (chapters): Add ipc.
10503 * manual/job.texi: Add "Inter-Process Communication" to next.
10504 * manual/process.texi: Add "Inter-Process Communication" to prev.
10506 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10510 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
10512 * malloc/malloc.c (__libc_calloc): Simplify implementation.
10514 * manual/arith.texi: Fix spaces after sentences.
10515 * manual/charset.texi: Likewise.
10516 * manual/errno.texi: Likewise.
10517 * manual/install.texi: Likewise.
10518 * manual/llio.texi: Likewise.
10519 * manual/locale.texi: Likewise.
10520 * manual/maint.texi: Likewise.
10521 * manual/math.texi: Likewise.
10522 * manual/memory.texi: Likewise.
10523 * manual/message.texi: Likewise.
10524 * manual/probes.texi: Likewise.
10525 * manual/resource.texi: Likewise.
10526 * manual/signal.texi: Likewise.
10527 * manual/socket.texi: Likewise.
10528 * manual/stdio.texi: Likewise.
10529 * manual/string.texi: Likewise.
10530 * manual/time.texi: Likewise.
10531 * manual/users.texi: Likewise.
10533 2014-02-25 Carlos O'Donell <carlos@redhat.com>
10536 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10537 _DEFAULT_SOURCE is defined.
10539 2014-02-25 Ulrich Drepper <drepper@gmail.com>
10540 Carlos O'Donell <carlos@redhat.com>
10543 * elf/dl-tls.c (_dl_count_modids): New function.
10544 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10545 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10546 audit library and increment generation counter.
10547 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10548 * elf/tst-audit9.c: New file.
10549 * elf/tst-auditmod9a.c: New file.
10550 * elf/tst-auditmod9b.c: New file.
10551 * elf/Makefile: Add rules to build and run tst-audit9.
10553 2014-02-25 Florian Weimer <fweimer@redhat.com>
10556 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10558 2014-02-25 Will Newton <will.newton@linaro.org>
10560 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10561 (__longjmp): Restore sp and lr before restoring callee
10562 saved registers. Add longjmp and longjmp_target
10563 SystemTap probe point.
10564 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10565 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10566 Define to zero to match jmpbuf layout.
10567 * sysdeps/arm/setjmp.S: Include stap-probe.h.
10568 (__sigsetjmp): Save sp and lr before saving callee
10569 saved registers. Add setjmp SystemTap probe point.
10571 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10573 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10575 2014-02-24 Andreas Schwab <schwab@suse.de>
10578 * elf/pldd.c (wait_for_ptrace_stop): New function.
10579 (main): Call it after attaching.
10581 2014-02-22 Roland McGrath <roland@hack.frob.com>
10583 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10584 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10585 Versions files is now verboten.
10586 * hurd/Versions (libc: GLIBC_2.0):
10587 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10588 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10589 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10590 * mach/Versions: Likewise.
10592 * csu/Versions: Remove unused %include.
10593 * resolv/Versions: Likewise.
10595 2014-02-21 Joseph Myers <joseph@codesourcery.com>
10597 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10598 ($(objpfx)check-local-headers.out): Likewise.
10599 ($(objpfx)begin-end-check.out): Likewise.
10600 * Makerules (check-abi-%.out): Likewise.
10601 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10602 ($(objpfx)test2.cat): Likewise.
10603 ($(objpfx)de/libc.cat): Likewise.
10604 ($(objpfx)test-gencat.out): Likewise.
10605 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10606 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10607 ($(objpfx)noload-mem): Likewise.
10608 ($(objpfx)tst-pathopt.out): Likewise.
10609 ($(objpfx)tst-rtld-load-self.out): Likewise.
10610 ($(objpfx)tst-array1-cmp.out): Likewise.
10611 ($(objpfx)tst-array1-static-cmp.out): Likewise.
10612 ($(objpfx)tst-array2-cmp.out): Likewise.
10613 ($(objpfx)tst-array3-cmp.out): Likewise.
10614 ($(objpfx)tst-array4-cmp.out): Likewise.
10615 ($(objpfx)tst-array5-cmp.out): Likewise.
10616 ($(objpfx)tst-array5-static-cmp.out): Likewise.
10617 ($(objpfx)check-textrel.out): Likewise.
10618 ($(objpfx)check-execstack.out): Likewise.
10619 ($(objpfx)check-localplt.out): Likewise.
10620 ($(objpfx)order2-cmp.out): Likewise.
10621 ($(objpfx)tst-leaks1-mem): Likewise.
10622 ($(objpfx)tst-leaks1-static-mem): Likewise.
10623 ($(objpfx)tst-initorder-cmp.out): Likewise.
10624 ($(objpfx)tst-initorder2-cmp.out): Likewise.
10625 ($(objpfx)tst-unused-dep.out): Likewise.
10626 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10627 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10628 * iconv/Makefile (test-iconvconfig): Likewise.
10629 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10630 ($(objpfx)iconv-test.out): Likewise.
10631 ($(objpfx)tst-tables.out): Likewise.
10632 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10633 ($(objpfx)tst-gettext.out): Likewise.
10634 ($(objpfx)tst-translit.out): Likewise.
10635 ($(objpfx)tst-gettext2.out): Likewise.
10636 ($(objpfx)tst-gettext4.out): Likewise.
10637 ($(objpfx)tst-gettext6.out): Likewise.
10638 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10639 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10640 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10641 ($(objpfx)tst-fopenloc-mem.out): Likewise.
10642 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10643 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10644 * posix/Makefile ($(objpfx)globtest.out): Likewise.
10645 ($(objpfx)wordexp-tst.out): Likewise.
10646 ($(objpfx)annexc.out): Likewise.
10647 ($(objpfx)tst-fnmatch-mem): Likewise.
10648 ($(objpfx)bug-regex2-mem): Likewise.
10649 ($(objpfx)bug-regex14-mem): Likewise.
10650 ($(objpfx)bug-regex21-mem): Likewise.
10651 ($(objpfx)bug-regex31-mem): Likewise.
10652 ($(objpfx)tst-vfork3-mem): Likewise.
10653 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10654 ($(objpfx)tst-pcre-mem): Likewise.
10655 ($(objpfx)tst-boost-mem): Likewise.
10656 ($(objpfx)tst-getconf.out): Likewise.
10657 ($(objpfx)bug-ga2-mem): Likewise.
10658 ($(objpfx)bug-glob2-mem): Likewise.
10659 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10660 ($(objpfx)mtrace-tst-leaks2): Likewise.
10661 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10662 ($(objpfx)tst-printf.out): Likewise.
10663 ($(objpfx)tst-setvbuf1.out): Likewise.
10664 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10665 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10666 ($(objpfx)tst-fmtmsg.out): Likewise.
10667 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10668 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10670 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10671 * bits/sigaction.h [__USE_MISC]: Likewise.
10672 * bits/waitstatus.h: Update #endif comments.
10673 * ctype/ctype.h: Likewise.
10674 * dirent/dirent.h: Likewise.
10675 [__USE_MISC]: Remove redundant conditionals.
10676 * grp/grp.h: Update #endif comments.
10677 [__USE_GNU]: Remove redundant conditionals.
10678 [__USE_MISC]: Likewise.
10679 * inet/netinet/in.h [__USE_GNU]: Likewise.
10680 * io/sys/stat.h [__USE_MISC]: Likewise.
10681 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10682 * libio/bits/stdio.h: Update #endif comments.
10683 [__USE_MISC]: Remove redundant conditionals.
10684 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10685 * libio/stdio.h: Update #endif comments.
10686 [__USE_MISC]: Remove redundant conditionals.
10687 * math/bits/math-finite.h [__USE_MISC]: Likewise.
10688 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10689 * math/math.h: Update #else and #endif comments.
10690 [__USE_MISC]: Remove redundant conditionals.
10691 * misc/sys/uio.h: Update #endif comments.
10692 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10693 * posix/glob.h [__USE_MISC]: Likewise.
10694 * posix/sys/types.h: Update #endif comments.
10695 [__USE_MISC]: Remove redundant conditionals.
10696 * posix/sys/wait.h: Update #endif comments.
10697 [__USE_MISC]: Remove redundant conditionals.
10698 * posix/unistd.h: Update #endif comments.
10699 [__USE_MISC]: Remove redundant conditionals.
10700 * pwd/pwd.h [__USE_GNU]: Likewise.
10701 [__USE_MISC]: Likewise.
10702 * resolv/netdb.h [__USE_GNU]: Likewise.
10703 * signal/signal.h: Update #endif comments.
10704 [__USE_MISC]: Remove redundant conditionals.
10705 * stdlib/stdlib.h: Update #else and #endif comments.
10706 [__USE_MISC]: Remove redundant conditionals.
10707 [__USE_GNU]: Likewise.
10708 * string/bits/string2.h [__USE_MISC]: Likewise.
10709 * string/string.h: Update #endif comments.
10710 [__USE_MISC]: Remove redundant conditionals.
10711 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10713 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10714 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10715 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10717 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10719 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10721 [__USE_MISC]: Remove redundant conditionals.
10722 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10723 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10724 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10725 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10726 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10728 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10729 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10731 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10732 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10734 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10736 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10737 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10739 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10741 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10742 * sysdeps/x86/bits/string.h: Update #endif comments.
10743 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10745 * time/sys/time.h: Update #endif comments.
10746 * time/time.h: Likewise.
10747 [__USE_MISC]: Remove redundant conditionals.
10749 2014-02-21 Yury Gribov <y.gribov@samsung.com>
10752 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10754 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
10756 * Versions.def (librt): Add GLIBC_2.17.
10758 2014-02-21 Adam Conrad <adconrad@0c3.net>
10760 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10761 synonym for _SYS_AUXV_H to allow direct inclusion.
10762 * sysdeps/sparc/bits/hwcap.h: Likewise.
10763 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10764 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10765 * sysdeps/sparc/sysdep.h: Likewise.
10767 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10769 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10771 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10773 * benchtests/bench-strrchr.c: Print length instead of position.
10775 2014-02-20 Joseph Myers <joseph@codesourcery.com>
10778 * sysdeps/unix/sysv/linux/kernel-features.h
10779 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10780 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10781 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10782 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10784 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10785 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10786 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10787 (__ASSUME_SENDMMSG): Define instead of using previous
10788 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10789 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10790 (__ASSUME_SENDMMSG_SYSCALL): Define.
10791 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10792 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10794 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10795 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10797 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10798 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10800 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10801 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10802 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10803 [__ASSUME_SENDMMSG]: Change conditionals to
10804 [__ASSUME_SENDMMSG_SOCKETCALL].
10805 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10806 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10808 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10809 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10811 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10812 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10813 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10814 [!__ASSUME_SENDMMSG]: Change conditional to
10815 [!__ASSUME_SENDMMSG_SOCKETCALL].
10816 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10817 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10821 * sysdeps/unix/sysv/linux/kernel-features.h
10822 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10823 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10824 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10825 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10826 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10827 [__i386__ || __sparc__]
10828 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10829 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10830 (__ASSUME_RECVMMSG): Define instead of using previous
10831 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10832 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10833 (__ASSUME_RECVMMSG_SYSCALL): Define.
10834 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10835 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10837 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10838 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10840 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10841 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10843 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10844 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10845 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10846 [__ASSUME_RECVMMSG]: Change condition to
10847 [__ASSUME_RECVMMSG_SOCKETCALL].
10848 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10849 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10851 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10852 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10853 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10855 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10856 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10857 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10858 [!__ASSUME_RECVMMSG]: Change condition to
10859 [!__ASSUME_RECVMMSG_SOCKETCALL].
10860 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10861 (__ASSUME_RECVMMSG_SYSCALL): Define.
10864 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10865 __powerpc__ || __s390__ || __sh__ || __sparc__]
10866 (__ASSUME_SOCKETCALL): Define.
10867 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10868 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10869 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10870 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10871 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10872 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10873 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10874 (__ASSUME_ACCEPT4): Define instead of using previous
10875 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10876 __powerpc__ || __sparc__ || __s390__)] condition.
10877 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10878 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10879 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10880 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10881 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10882 [!__ASSUME_ACCEPT4]: Change condition to
10883 [!__ASSUME_ACCEPT4_SOCKETCALL].
10884 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10885 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10886 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10887 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10888 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10889 __ASSUME_ACCEPT4_SYSCALL.
10890 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10891 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10892 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10893 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10894 __ASSUME_ACCEPT4_SYSCALL.
10895 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10896 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10897 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10898 [__ASSUME_ACCEPT4]: Change condition to
10899 [__ASSUME_ACCEPT4_SOCKETCALL].
10900 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10901 (__ASSUME_SOCKETCALL): Define.
10902 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10903 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10904 (__ASSUME_SOCKETCALL): Define.
10905 (__ASSUME_ACCEPT4): Remove.
10906 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10908 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10909 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10911 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10912 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10914 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10916 (HWCAP_ARM_LPAE): Likewise.
10917 (HWCAP_ARM_EVTSTRM): Likewise.
10918 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10919 Add vpfd32, lpae and evtstrm.
10920 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10923 2014-02-19 Joseph Myers <joseph@codesourcery.com>
10925 * math/auto-libm-test-in: Add tests of clog10.
10926 * math/auto-libm-test-out: Regenerated.
10927 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10928 * sysdeps/i386/fpu/libm-test-ulps: Update.
10929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10931 2014-02-18 Andreas Schwab <schwab@suse.de>
10934 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10935 Store non-zero if the second buffer was newly allocated.
10936 (send_dg): Likewise.
10937 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10938 to send_vc and send_dg.
10939 (res_nsend): Pass NULL for ansp2_malloced.
10940 * resolv/res_query.c (__libc_res_nquery): Add parameter
10941 answerp2_malloced and pass it down to __libc_res_nsend.
10942 (res_nquery): Pass additional NULL to __libc_res_nquery.
10943 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10944 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10945 second answer buffer if answerp2_malloced was set.
10946 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10947 (__libc_res_nquerydomain): Add parameter
10948 answerp2_malloced and pass it down to __libc_res_nquery.
10949 (res_nquerydomain): Pass additional NULL to
10950 __libc_res_nquerydomain.
10951 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10952 additional NULL to __libc_res_nsend and __libc_res_nquery.
10953 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10954 additional NULL to __libc_res_nsearch.
10955 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10956 parameter of __libc_res_nsearch to check for separately allocated
10958 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10960 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10961 additional NULL to __libc_res_nquery.
10962 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10963 __libc_res_nsearch.
10964 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10965 * include/resolv.h: Update prototypes of __libc_res_nquery,
10966 __libc_res_nsearch, __libc_res_nsend.
10968 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10970 * math/auto-libm-test-in: Add tests of fma.
10971 * math/auto-libm-test-out: Regenerated.
10972 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10973 (fma_towardzero_test_data): Likewise.
10974 (fma_downward_test_data): Likewise.
10975 (fma_upward_test_data): Likewise.
10976 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10978 (rounding_modes): Add values for new field.
10979 (func_calc_method): Add value mpfr_fff_f.
10980 (func_calc_desc): Add mpfr_fff_f union field.
10981 (test_function): Add field exact_args.
10982 (FUNC): Add macro argument EXACT_ARGS.
10983 (FUNC_mpfr_f_f): Update call to FUNC.
10984 (FUNC_mpfr_f_f): Likewise.
10985 (FUNC_mpfr_ff_f): Likewise.
10986 (FUNC_mpfr_if_f): Likewise.
10987 (FUNC_mpc_c_f): Likewise.
10988 (FUNC_mpc_c_c): Likewise.
10989 (test_functions): Add fma. Update calls to FUNC.
10990 (handle_input_arg): Add argument exact_args.
10991 (add_test): Update call to handle_input_arg.
10992 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10993 (output_for_one_input_case): Update call to calc_generic_results.
10994 Recalculate exact zero results in each rounding mode.
10996 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10997 non-negative before setting low bit.
10998 * math/auto-libm-test-in: Mark one asin test possibly having
10999 spurious underflow.
11000 * math/auto-libm-test-out: Regenerated.
11001 * sysdeps/i386/fpu/libm-test-ulps: Update.
11002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11004 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
11006 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11007 * sysdeps/unix/sysv/linux/microblaze: Move directory from
11008 ports/sysdeps/unix/sysv/linux/microblaze.
11009 * README: Add missing listing for microblaze*-*-linux-gnu.
11011 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
11013 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11016 2014-02-16 Mike Frysinger <vapier@gentoo.org>
11018 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11019 * sysdeps/unix/sysv/linux/ia64: Move directory from
11020 ports/sysdeps/unix/sysv/linux/ia64.
11021 * README: Update listing for ia64-*-linux-gnu.
11023 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
11024 Joseph Myers <joseph@codesourcery.com>
11026 * Makeconfig (test-name): New variable.
11027 (evaluate-test): Likewise.
11028 * Makerules (do-test-clean): Remove .test-result files.
11029 (common-mostlyclean): Likewise.
11030 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11031 * scripts/evaluate-test.sh: New file.
11033 2014-02-14 Joseph Myers <joseph@codesourcery.com>
11035 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11036 separate $(objpfx)tst-fopenloc-cmp.out and
11037 $(objpfx)tst-fopenloc-mem.out targets.
11038 (tests): Update dependencies.
11039 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11040 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11041 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11042 (tst-rxspencer-no-utf8-ARGS): New variable.
11043 (tst-rxspencer-no-utf8-ENV): Likewise.
11044 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11045 instead of $(objpfx)tst-rxspencer-mem.
11046 ($(objpfx)tst-rxspencer-mem): Change target to
11047 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
11048 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11049 * posix/tst-rxspencer-no-utf8.c: New file.
11051 * elf/Makefile ($(objpfx)order.out): Remove rule.
11052 [$(run-built-tests) = yes] (tests): Depend on
11053 $(objpfx)order-cmp.out.
11054 ($(objpfx)order-cmp.out): New rule.
11055 [$(run-built-tests) = yes] (tests): Depend on
11056 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11057 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11058 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11059 $(objpfx)tst-array5-static-cmp.out.
11060 ($(objpfx)tst-array1.out): Remove rule.
11061 ($(objpfx)tst-array1-cmp.out): New rule.
11062 ($(objpfx)tst-array1-static.out): Remove rule.
11063 ($(objpfx)tst-array1-static-cmp.out): New rule.
11064 ($(objpfx)tst-array2.out): Remove rule.
11065 ($(objpfx)tst-array2-cmp.out): New rule.
11066 ($(objpfx)tst-array3.out): Remove rule.
11067 ($(objpfx)tst-array3-cmp.out): New rule.
11068 ($(objpfx)tst-array4.out): Remove rule.
11069 ($(objpfx)tst-array4-cmp.out): New rule.
11070 ($(objpfx)tst-array5.out): Remove rule.
11071 ($(objpfx)tst-array5-cmp.out): New rule.
11072 ($(objpfx)tst-array5-static.out): Remove rule.
11073 ($(objpfx)tst-array5-static-cmp.out): New rule.
11074 [$(run-built-tests) = yes] (tests): Depend on
11075 $(objpfx)order2-cmp.out.
11076 ($(objpfx)order2.out): Remove rule.
11077 ($(objpfx)order2-cmp.out): New rule.
11078 ($(objpfx)tst-initorder.out): Remove rule.
11079 [$(run-built-tests) = yes] (tests): Depend on
11080 $(objpfx)tst-initorder-cmp.out.
11081 ($(objpfx)tst-initorder-cmp.out): New rule.
11082 ($(objpfx)tst-initorder2.out): Remove rule.
11083 [$(run-built-tests) = yes] (tests): Depend on
11084 $(objpfx)tst-initorder2-cmp.out.
11085 ($(objpfx)tst-initorder2-cmp.out): New rule.
11086 [$(run-built-tests) = yes] (tests): Depend on
11087 $(objpfx)tst-unused-dep-cmp.out.
11088 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11089 ($(objpfx)tst-unused-dep-cmp.out): New rule.
11090 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11091 on $(objpfx)tst-setvbuf1-cmp.out.
11092 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11093 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11094 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11095 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11096 ($(objpfx)tst-svc.out): Remove rule.
11097 ($(objpfx)tst-svc-cmp.out): New rule.
11099 2014-02-13 Joseph Myers <joseph@codesourcery.com>
11101 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11102 * ctype/ctype.h [__USE_MISC]: Likewise.
11103 * dirent/dirent.h [__USE_MISC]: Likewise.
11104 * grp/grp.h [__USE_MISC]: Likewise.
11105 * io/fcntl.h [__USE_MISC]: Likewise.
11106 * io/sys/stat.h [__USE_MISC]: Likewise.
11107 * libio/stdio.h [__USE_MISC]: Likewise.
11108 * posix/unistd.h [__USE_MISC]: Likewise.
11109 * pwd/pwd.h [__USE_MISC]: Likewise.
11110 * stdlib.h [__USE_MISC]: Likewise.
11111 * string/bits/string2.h [__USE_MISC]: Likewise.
11112 * string/string.h [__USE_MISC]: Likewise.
11113 * time/time.h [__USE_MISC]: Likewise.
11115 2014-02-13 Andreas Schwab <schwab@suse.de>
11118 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11119 second answer buffer if it was separately allocated.
11121 2014-02-12 Joseph Myers <joseph@codesourcery.com>
11123 * sysdeps/mips/math-tests.h: Include <features.h>.
11124 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11125 (ROUNDING_TESTS_long_double): Do not define.
11126 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11127 (EXCEPTION_TESTS_long_double): Likewise.
11128 * sysdeps/mips/mips64/libm-test-ulps: Update.
11130 * include/features.h (__USE_BSD): Remove macro definitions.
11131 (__USE_SVID): Likewise.
11132 (_BSD_SOURCE): Likewise.
11133 (_SVID_SOURCE): Likewise.
11134 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11135 from definition of _DEFAULT_SOURCE.
11136 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11138 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11139 * bits/mman.h [__USE_BSD]: Likewise.
11140 * bits/termios.h [__USE_BSD]: Likewise.
11141 * bits/waitstatus.h [__USE_BSD]: Likewise.
11142 * ctype/ctype.h [__USE_SVID]: Likewise.
11143 * dirent/dirent.h [__USE_BSD]: Likewise.
11144 * grp/grp.h [__USE_SVID]: Likewise.
11145 [__USE_BSD]: Likewise.
11146 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11147 * io/fcntl.h [__USE_BSD]: Likewise.
11148 * io/ftw.h [__USE_BSD]: Likewise.
11149 * io/sys/stat.h [__USE_BSD]: Likewise.
11150 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11151 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11152 * libio/stdio.h [__USE_SVID]: Likewise.
11153 [__USE_BSD]: Likewise.
11154 * math/math.h [__USE_SVID]: Likewise.
11155 [__USE_BSD]: Likewise.
11156 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11157 * misc/bits/syslog.h [__USE_BSD]: Likewise.
11158 * misc/search.h [__USE_SVID]: Likewise.
11159 * misc/sys/mman.h [__USE_BSD]: Likewise.
11160 * misc/sys/syslog.h [__USE_BSD]: Likewise.
11161 * misc/sys/uio.h [__USE_BSD]: Likewise.
11162 * posix/bits/unistd.h [__USE_BSD]: Likewise.
11163 * posix/glob.h [__USE_BSD]: Likewise.
11164 * posix/regex.h [__USE_BSD]: Likewise.
11165 * posix/sys/types.h [__USE_BSD]: Likewise.
11166 [__USE_SVID]: Likewise.
11167 * posix/sys/utsname.h [__USE_SVID]: Likewise.
11168 * posix/sys/wait.h [__USE_BSD]: Likewise.
11169 [__USE_SVID]: Likewise.
11170 * posix/unistd.h [__USE_BSD]: Likewise.
11171 [__USE_SVID]: Likewise.
11172 * pwd/pwd.h [__USE_SVID]: Likewise.
11173 * resolv/netdb.h [__USE_BSD]: Likewise.
11174 * setjmp/setjmp.h [__USE_BSD]: Likewise.
11175 * signal/signal.h [__USE_BSD]: Likewise.
11176 [__USE_SVID]: Likewise.
11177 * socket/sys/socket.h [__USE_BSD]: Likewise.
11178 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11179 * stdlib/stdlib.h [__USE_BSD]: Likewise.
11180 [__USE_SVID]: Likewise.
11181 * string/bits/string2.h [__USE_BSD]: Likewise.
11182 [__USE_SVID]: Likewise.
11183 * string/bits/string3.h [__USE_BSD]: Likewise.
11184 * string/endian.h [__USE_BSD]: Likewise.
11185 * string/string.h [__USE_SVID]: Likewise.
11186 [__USE_BSD]: Likewise.
11187 * string/strings.h [__USE_BSD]: Likewise.
11188 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11189 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11190 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11191 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11192 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11193 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11195 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11197 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11198 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11200 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11201 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11203 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11205 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11206 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11207 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11209 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11211 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11212 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11213 * termios/termios.h [__USE_BSD]: Likewise.
11214 * time/sys/time.h [__USE_BSD]: Likewise.
11215 * time/time.h [__USE_BSD]: Likewise.
11216 [__USE_SVID]: Likewise.
11218 * Makefile (subdir_targets): Remove subdir_lint.out.
11220 * stdio-common/Makefile (do-tst-unbputc): Remove target.
11221 (do-tst-printf): Likewise.
11222 (tests): Depend directly on $(objpfx)tst-unbputc.out and
11223 $(objpfx)tst-printf.out.
11225 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11227 * Makerules (check-abi-%): Change target to
11228 $(objpfx)check-abi-%.out.
11229 (check-abi target): Update dependencies.
11230 (check-abi-pattern variable): Redirect output of diff to $@.
11231 (check-abi variable): Likewise.
11232 * elf/Makefile (check-abi): Update dependencies.
11234 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11236 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11237 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11239 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11240 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11241 value has largest subnormal exponent.
11242 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11243 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11244 * sysdeps/aarch64/soft-fp/sfp-machine.h
11245 (_FP_TININESS_AFTER_ROUNDING): New macro.
11246 * sysdeps/alpha/soft-fp/sfp-machine.h
11247 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11248 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11250 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11251 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11252 * sysdeps/mips/soft-fp/sfp-machine.h
11253 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11254 * sysdeps/powerpc/soft-fp/sfp-machine.h
11255 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11256 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11258 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11259 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11260 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11261 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11262 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11265 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
11268 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11271 2014-02-12 Richard Henderson <rth@redhat.com>
11273 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11274 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11275 * sysdeps/unix/sysv/linux/alpha: Move directory from
11276 ports/sysdeps/unix/sysv/linux/alpha.
11277 * README: Update listing for alpha-*-linux-gnu.
11279 2014-02-11 Joseph Myers <joseph@codesourcery.com>
11281 * include/features.h: Update comment documenting feature test
11283 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
11285 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11286 (_SVID_SOURCE): Likewise.
11287 (_DEFAULT_SOURCE): Update description of default features.
11288 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11290 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11291 (S_ISVTX): Likewise.
11292 * manual/math.texi (Mathematical Constants): Likewise.
11293 * manual/signal.texi (Interrupted Primitives): Likewise.
11294 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11295 * math/test-matherr.c (_SVID_SOURCE): Do not define.
11296 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11297 Don't refer to _SVID_SOURCE in warning text.
11299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11301 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11303 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11304 * sysdeps/mips/dl-lookup.c: Remove.
11305 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11307 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11310 * math/auto-libm-test-in: Add testcase for expl.
11311 * math/auto-libm-test-out: Regenerate.
11312 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11313 calculation of unsafe.
11314 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11316 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
11318 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11319 * sysdeps/unix/sysv/linux/aarch64: Move directory from
11320 ports/sysdeps/unix/sysv/linux/aarch64.
11321 * README: Update listing for aarch64*-*-linux-gnu.
11323 2014-02-11 Will Newton <will.newton@linaro.org>
11325 * manual/probes.texi (Mathematical Function Probes): Use
11326 "triggered" instead of "hit".
11328 * manual/probes.texi (Internal Probes): Add documentation
11329 of setjmp, longjmp and longjmp_target probes.
11331 * include/stap-probe.h: Add comment about probe argument
11334 * malloc/mtrace.c (attribute_hidden): Remove unused macro
11335 definition. (tr_where, tr_freehook, tr_mallochook,
11336 tr_reallochook, tr_memalignhook): Use ANSI protoype.
11338 2014-02-11 David S. Miller <davem@davemloft.net>
11340 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11341 processing int_tests.
11343 2014-02-10 Joseph Myers <joseph@codesourcery.com>
11345 * sysdeps/mips: Move directory from ports/sysdeps/mips.
11346 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11347 * sysdeps/unix/sysv/linux/mips: Move directory from
11348 ports/sysdeps/unix/sysv/linux/mips.
11349 * README: Update listing for mips-*-linux-gnu and
11350 mips64-*-linux-gnu.
11352 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
11354 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11355 * sysdeps/unix/sysv/linux/m68k: Move directory from
11356 ports/sysdeps/unix/sysv/linux/m68k.
11357 * README: Update listing for m68k-*-linux-gnu.
11359 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
11361 * sysdeps/tile: Move directory from ports/sysdeps/tile.
11362 * sysdeps/unix/sysv/linux/generic: Move directory from
11363 ports/sysdeps/unix/sysv/linux/generic.
11364 * sysdeps/unix/sysv/linux/tile: Move directory from
11365 ports/sysdeps/unix/sysv/linux/tile.
11366 * README: Update listing for tile*-*-linux-gnu.
11368 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
11370 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11372 * benchtests/bench-memmem.c (simple_memmem): Likewise.
11373 * catgets/open_catalog.c (__open_catalog): Likewise.
11374 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11375 * debug/confstr_chk.c: Likewise.
11376 * debug/fread_chk.c (__fread_chk): Likewise.
11377 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11378 * debug/getgroups_chk.c: Likewise.
11379 * debug/mbsnrtowcs_chk.c: Likewise.
11380 * debug/mbsrtowcs_chk.c: Likewise.
11381 * debug/mbstowcs_chk.c: Likewise.
11382 * debug/memcpy_chk.c: Likewise.
11383 * debug/memmove_chk.c: Likewise.
11384 * debug/mempcpy_chk.c: Likewise.
11385 * debug/memset_chk.c: Likewise.
11386 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11387 * debug/strcat_chk.c (__strcat_chk): Likewise.
11388 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11389 * debug/strncat_chk.c (__strncat_chk): Likewise.
11390 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11391 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11392 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11393 * debug/wcpncpy_chk.c: Likewise.
11394 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11395 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11396 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11397 * debug/wcsncpy_chk.c: Likewise.
11398 * debug/wcsnrtombs_chk.c: Likewise.
11399 * debug/wcsrtombs_chk.c: Likewise.
11400 * debug/wcstombs_chk.c: Likewise.
11401 * debug/wmemcpy_chk.c: Likewise.
11402 * debug/wmemmove_chk.c: Likewise.
11403 * debug/wmempcpy_chk.c: Likewise.
11404 * debug/wmemset_chk.c: Likewise.
11405 * dirent/scandirat.c (SCANDIRAT): Likewise.
11406 * dlfcn/dladdr1.c (dladdr1): Likewise.
11407 * dlfcn/dladdr.c (dladdr): Likewise.
11408 * dlfcn/dlclose.c (dlclose_doit): Likewise.
11409 * dlfcn/dlerror.c (__dlerror): Likewise.
11410 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11411 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11412 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11413 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11414 * dlfcn/dlsym.c (dlsym_doit): Likewise.
11415 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11416 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11417 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11419 * elf/dl-conflict.c: Likewise.
11420 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11421 * elf/dl-dst.h: Likewise.
11422 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11423 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11424 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11425 * elf/dl-init.c (call_init, _dl_init): Likewise.
11426 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11427 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11428 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11430 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11432 * elf/dl-minimal.c (__libc_memalign): Likewise.
11433 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11434 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11435 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11436 * elf/dl-sym.c (do_sym): Likewise.
11437 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11438 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11439 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11440 * elf/dl-writev.h (_dl_writev): Likewise.
11441 * elf/ldconfig.c (search_dir): Likewise.
11442 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11443 (dl_main): Likewise.
11444 * elf/setup-vdso.h (setup_vdso): Likewise.
11445 * grp/compat-initgroups.c (compat_call): Likewise.
11446 * grp/fgetgrent.c (fgetgrent): Likewise.
11447 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11448 * grp/putgrent.c (putgrent): Likewise.
11449 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11451 * hurd/hurdinit.c: Likewise.
11452 * iconvdata/8bit-gap.c (struct): Likewise.
11453 * iconvdata/ansi_x3.110.c : Likewise.
11454 * iconvdata/big5.c : Likewise.
11455 * iconvdata/big5hkscs.c : Likewise.
11456 * iconvdata/cp1255.c: Likewise.
11457 * iconvdata/cp1258.c : Likewise.
11458 * iconvdata/cp932.c : Likewise.
11459 * iconvdata/euc-cn.c: Likewise.
11460 * iconvdata/euc-jisx0213.c : Likewise.
11461 * iconvdata/euc-jp.c: Likewise.
11462 * iconvdata/euc-jp-ms.c : Likewise.
11463 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11464 * iconvdata/gb18030.c : Likewise.
11465 * iconvdata/gbbig5.c (const): Likewise.
11466 * iconvdata/gbgbk.c: Likewise.
11467 * iconvdata/gbk.c : Likewise.
11468 * iconvdata/ibm1364.c : Likewise.
11469 * iconvdata/ibm930.c : Likewise.
11470 * iconvdata/ibm932.c: Likewise.
11471 * iconvdata/ibm933.c : Likewise.
11472 * iconvdata/ibm935.c : Likewise.
11473 * iconvdata/ibm937.c : Likewise.
11474 * iconvdata/ibm939.c : Likewise.
11475 * iconvdata/ibm943.c: Likewise.
11476 * iconvdata/iso_11548-1.c: Likewise.
11477 * iconvdata/iso-2022-cn.c : Likewise.
11478 * iconvdata/iso-2022-cn-ext.c : Likewise.
11479 * iconvdata/iso-2022-jp-3.c: Likewise.
11480 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11481 * iconvdata/iso-2022-kr.c : Likewise.
11482 * iconvdata/iso646.c (gconv_end): Likewise.
11483 * iconvdata/iso_6937-2.c : Likewise.
11484 * iconvdata/iso_6937.c : Likewise.
11485 * iconvdata/iso8859-1.c: Likewise.
11486 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11487 * iconvdata/shift_jisx0213.c : Likewise.
11488 * iconvdata/sjis.c : Likewise.
11489 * iconvdata/t.61.c : Likewise.
11490 * iconvdata/tcvn5712-1.c : Likewise.
11491 * iconvdata/tscii.c: Likewise.
11492 * iconvdata/uhc.c : Likewise.
11493 * iconvdata/unicode.c (gconv_end): Likewise.
11494 * iconvdata/utf-16.c (gconv_end): Likewise.
11495 * iconvdata/utf-32.c (gconv_end): Likewise.
11496 * iconvdata/utf-7.c (base64): Likewise.
11497 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11498 * iconv/gconv_close.c (__gconv_close): Likewise.
11499 * iconv/gconv_open.c (__gconv_open): Likewise.
11500 * iconv/gconv_simple.c (internal_ucs4_loop_single)
11501 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11502 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11503 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11504 (ucs4le_internal_loop_single): Likewise.
11505 * iconv/iconv.c (iconv): Likewise.
11506 * iconv/iconv_close.c: Likewise.
11507 * iconv/loop.c (SINGLE): Likewise.
11508 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11509 * include/atomic.h: Likewise.
11510 * inet/inet6_option.c (option_alloc): Likewise.
11511 * intl/bindtextdom.c (set_binding_values): Likewise.
11512 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11513 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11514 * intl/localealias.c (read_alias_file): Likewise.
11515 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11516 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11517 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11518 * libio/fmemopen.c (fmemopen): Likewise.
11519 * libio/iofgets.c (_IO_fgets): Likewise.
11520 * libio/iofgets_u.c (fgets_unlocked): Likewise.
11521 * libio/iofgetws.c (fgetws): Likewise.
11522 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11523 * libio/iogetdelim.c (_IO_getdelim): Likewise.
11524 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11525 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11526 * locale/findlocale.c (_nl_find_locale): Likewise.
11527 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11528 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11530 * locale/setlocale.c (setlocale): Likewise.
11531 * login/programs/pt_chown.c (main): Likewise.
11532 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11533 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11534 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11535 (mmap, mmap64, mremap, munmap): Likewise.
11536 * math/e_exp2l.c: Likewise.
11537 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11538 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11539 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11540 * math/s_catan.c (__catan): Likewise.
11541 * math/s_catanf.c (__catanf): Likewise.
11542 * math/s_catanh.c (__catanh): Likewise.
11543 * math/s_catanhf.c (__catanhf): Likewise.
11544 * math/s_catanhl.c (__catanhl): Likewise.
11545 * math/s_catanl.c (__catanl): Likewise.
11546 * math/s_ccosh.c (__ccosh): Likewise.
11547 * math/s_ccoshf.c (__ccoshf): Likewise.
11548 * math/s_ccoshl.c (__ccoshl): Likewise.
11549 * math/s_cexp.c (__cexp): Likewise.
11550 * math/s_cexpf.c (__cexpf): Likewise.
11551 * math/s_cexpl.c (__cexpl): Likewise.
11552 * math/s_clog10.c (__clog10): Likewise.
11553 * math/s_clog10f.c (__clog10f): Likewise.
11554 * math/s_clog10l.c (__clog10l): Likewise.
11555 * math/s_clog.c (__clog): Likewise.
11556 * math/s_clogf.c (__clogf): Likewise.
11557 * math/s_clogl.c (__clogl): Likewise.
11558 * math/s_csin.c (__csin): Likewise.
11559 * math/s_csinf.c (__csinf): Likewise.
11560 * math/s_csinh.c (__csinh): Likewise.
11561 * math/s_csinhf.c (__csinhf): Likewise.
11562 * math/s_csinhl.c (__csinhl): Likewise.
11563 * math/s_csinl.c (__csinl): Likewise.
11564 * math/s_csqrt.c (__csqrt): Likewise.
11565 * math/s_csqrtf.c (__csqrtf): Likewise.
11566 * math/s_csqrtl.c (__csqrtl): Likewise.
11567 * math/s_ctan.c (__ctan): Likewise.
11568 * math/s_ctanf.c (__ctanf): Likewise.
11569 * math/s_ctanh.c (__ctanh): Likewise.
11570 * math/s_ctanhf.c (__ctanhf): Likewise.
11571 * math/s_ctanhl.c (__ctanhl): Likewise.
11572 * math/s_ctanl.c (__ctanl): Likewise.
11573 * math/w_pow.c: Likewise.
11574 * math/w_powf.c: Likewise.
11575 * math/w_powl.c: Likewise.
11576 * math/w_scalb.c (sysv_scalb): Likewise.
11577 * math/w_scalbf.c (sysv_scalbf): Likewise.
11578 * math/w_scalbl.c (sysv_scalbl): Likewise.
11579 * misc/error.c (error_tail): Likewise.
11580 * misc/pselect.c (__pselect): Likewise.
11581 * nis/nis_callback.c (__nis_create_callback): Likewise.
11582 * nis/nis_call.c (__nisfind_server): Likewise.
11583 * nis/nis_creategroup.c (nis_creategroup): Likewise.
11584 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11585 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11586 * nis/nis_getservlist.c (nis_getservlist): Likewise.
11587 * nis/nis_lookup.c (nis_lookup): Likewise.
11588 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11589 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11590 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11591 * nis/nis_xdr.c (xdr_endpoint): Likewise.
11592 * nis/nss_compat/compat-grp.c (getgrent_next_file)
11593 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11594 * nis/nss_compat/compat-initgroups.c (add_group)
11595 (internal_getgrent_r): Likewise.
11596 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11597 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11598 * nis/nss_compat/compat-spwd.c (getspent_next_file)
11599 (internal_getspnam_r): Likewise.
11600 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11601 (_nss_nis_getaliasbyname_r): Likewise.
11602 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11603 (_nss_nis_getntohost_r): Likewise.
11604 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11605 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11606 (_nss_nis_getgrgid_r): Likewise.
11607 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11608 (internal_nis_gethostent_r, internal_gethostbyname2_r)
11609 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11610 (_nss_nis_gethostbyname4_r): Likewise.
11611 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11612 (initgroups_netid): Likewise.
11613 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11614 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11615 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11616 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11617 (_nss_nis_getprotobynumber_r): Likewise.
11618 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11619 (_nss_nis_getsecretkey): Likewise.
11620 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11621 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11622 (_nss_nis_getpwuid_r): Likewise.
11623 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11624 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11625 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11626 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11627 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11628 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11629 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11631 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11632 (_nss_nisplus_getntohost_r): Likewise.
11633 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11634 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11635 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11636 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11638 * nis/nss_nisplus/nisplus-initgroups.c
11639 (_nss_nisplus_initgroups_dyn): Likewise.
11640 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11641 (_nss_nisplus_getnetbyaddr_r): Likewise.
11642 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11643 (_nss_nisplus_getprotobynumber_r): Likewise.
11644 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11645 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11646 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11648 * nis/nss_nisplus/nisplus-service.c
11649 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11650 (_nss_nisplus_getservbyport_r): Likewise.
11651 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11652 (_nss_nisplus_getspnam_r): Likewise.
11653 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11655 * nscd/aicache.c (addhstaiX): Likewise.
11656 * nscd/cache.c (cache_search, prune_cache): Likewise.
11657 * nscd/connections.c (register_traced_file, send_ro_fd)
11658 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11659 (main_loop_epoll): Likewise.
11660 * nscd/grpcache.c (addgrbyX): Likewise.
11661 * nscd/hstcache.c (addhstbyX): Likewise.
11662 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11663 * nscd/mem.c (gc, mempool_alloc): Likewise.
11664 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11665 (addinnetgrX): Likewise.
11666 * nscd/nscd-client.h (__nscd_acquire_maplock)
11667 (__nscd_drop_map_ref): Likewise.
11668 * nscd/nscd_getai.c (__nscd_getai): Likewise.
11669 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11670 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11672 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11673 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11674 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11675 (__nscd_get_map_ref): Likewise.
11676 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11677 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11679 * nscd/pwdcache.c (addpwbyX): Likewise.
11680 * nscd/selinux.c (preserve_capabilities): Likewise.
11681 * nscd/servicescache.c (addservbyX): Likewise.
11682 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11683 * posix/fnmatch.c (fnmatch): Likewise.
11684 * posix/getopt.c (_getopt_internal_r): Likewise.
11685 * posix/glob.c (glob, glob_in_dir): Likewise.
11686 * posix/wordexp.c (exec_comm_child): Likewise.
11687 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11688 (getanswer_r, gaih_getanswer_slice): Likewise.
11689 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11690 * resolv/res_init.c: Likewise.
11691 * resolv/res_mkquery.c (res_nmkquery): Likewise.
11692 * resolv/res_query.c (__libc_res_nquery): Likewise.
11693 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11695 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11696 * stdio-common/perror.c (perror): Likewise.
11697 * stdio-common/printf_fp.c (___printf_fp): Likewise.
11698 * stdio-common/tmpnam.c (tmpnam): Likewise.
11699 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11700 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11701 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11703 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11704 * stdlib/putenv.c (putenv): Likewise.
11705 * stdlib/setenv.c (__add_to_environ): Likewise.
11706 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11707 * stdlib/strtol_l.c (INTERNAL): Likewise.
11708 * string/memmem.c (memmem): Likewise.
11709 * string/strerror.c (strerror): Likewise.
11710 * string/strnlen.c (__strnlen): Likewise.
11711 * string/test-memmem.c (simple_memmem): Likewise.
11712 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11713 * sunrpc/pm_getport.c (__get_socket): Likewise.
11714 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11715 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11716 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11717 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11719 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11720 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11721 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11722 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11723 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11724 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11726 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11728 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11729 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11730 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11731 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11732 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11733 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11734 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11735 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11736 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11737 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11738 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11739 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11741 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11743 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11745 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11746 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11747 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11748 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11749 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11750 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11751 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11752 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11753 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11754 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11755 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11756 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11757 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11758 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11759 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11760 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11762 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11764 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11766 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11768 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11769 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11770 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11772 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11773 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11774 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11775 * sysdeps/posix/sleep.c: Likewise.
11776 * sysdeps/posix/tempname.c: Likewise.
11777 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11778 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11780 * sysdeps/powerpc/powerpc32/dl-machine.h
11781 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11782 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11783 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11784 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11785 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11787 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11788 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11789 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11790 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11791 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11792 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11793 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11794 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11795 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11796 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11797 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11798 (elf_machine_lazy_rel): Likewise.
11799 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11800 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11801 (elf_machine_lazy_rel): Likewise.
11802 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11803 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11804 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11805 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11806 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11807 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11808 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11809 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11811 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11812 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11813 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11814 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11815 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11816 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11817 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11818 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11819 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11820 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11821 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11823 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11824 (__posix_fallocate64_l64): Likewise.
11825 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11826 (posix_fallocate): Likewise.
11827 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11829 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11830 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11831 (getifaddrs_internal): Likewise.
11832 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11833 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11834 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11835 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11836 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11837 (__posix_fallocate64_l64): Likewise.
11838 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11840 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11841 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11842 (__get_clockfreq): Likewise.
11843 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11844 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11845 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11846 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11847 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11848 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11849 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11850 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11852 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11853 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11854 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11855 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11856 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11857 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11858 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11860 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11861 (posix_fallocate): Likewise.
11862 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11863 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11864 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11865 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11866 (elf_machine_rela, elf_machine_rela_relative)
11867 (elf_machine_lazy_rel): Likewise.
11868 * time/asctime.c (asctime_internal): Likewise.
11869 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11870 * time/tzset.c (__tzset_parse_tz): Likewise.
11871 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11872 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11873 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11874 * wcsmbs/wcsmbsload.h: Likewise.
11877 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11879 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11880 (arena_get2): Remove THREAD_STATS conditionals.
11881 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11882 (__malloc_stats, int): Likewise.
11884 2014-02-08 Mike Frysinger <vapier@gentoo.org>
11886 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11887 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11889 * manual/setjmp.texi: Fix typos/grammar errors.
11891 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11892 Only return early when n is <= 0. Delete unused return statement.
11894 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11895 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11896 * debug/tst-longjmp_chk3.c: New file.
11898 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11899 (test_main): Replace code with set_fortify_handler call.
11900 * debug/test-strcpy_chk.c: Likewise.
11901 * debug/tst-chk1.c: Likewise.
11902 * debug/tst-longjmp_chk.c: Likewise.
11903 * test-skeleton.c: Include fcntl.h & paths.h
11904 (set_fortify_handler): Define.
11906 * debug/tst-longjmp_chk.c: Add header comment and include
11907 ../test-skeleton.c.
11908 (do_test): Mark static.
11909 (TEST_FUNCTION): Define.
11911 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11912 (IP_PMTUDISC_INTERFACE): Likewise.
11913 (IP_MULTICAST_IF): Likewise.
11914 (IP_MULTICAST_TTL): Likewise.
11915 (IP_MULTICAST_LOOP): Likewise.
11916 (IP_ADD_MEMBERSHIP): Likewise.
11917 (IP_DROP_MEMBERSHIP): Likewise.
11918 (IP_UNBLOCK_SOURCE): Likewise.
11919 (IP_BLOCK_SOURCE): Likewise.
11920 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11921 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11922 (IP_MSFILTER): Likewise.
11923 (MCAST_JOIN_GROUP): Likewise.
11924 (MCAST_BLOCK_SOURCE): Likewise.
11925 (MCAST_UNBLOCK_SOURCE): Likewise.
11926 (MCAST_LEAVE_GROUP): Likewise.
11927 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11928 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11929 (MCAST_MSFILTER): Likewise.
11930 (IP_MULTICAST_ALL): Likewise.
11931 (IP_UNICAST_IF): Likewise.
11933 * timezone/Makefile: Delete $(have-ksh) check.
11934 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11935 * timezone/tzselect.ksh: Add +x mode bits.
11937 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11938 (ANON_INODE_FS_MAGIC): Likewise.
11939 (BDEVFS_MAGIC): Likewise.
11940 (BINFMTFS_MAGIC): Likewise.
11941 (BTRFS_TEST_MAGIC): Likewise.
11942 (CRAMFS_MAGIC_WEND): Likewise.
11943 (DEBUGFS_MAGIC): Likewise.
11944 (ECRYPTFS_SUPER_MAGIC): Likewise.
11945 (EXT3_SUPER_MAGIC): Likewise.
11946 (EXT4_SUPER_MAGIC): Likewise.
11947 (FUTEXFS_SUPER_MAGIC): Likewise.
11948 (HOSTFS_SUPER_MAGIC): Likewise.
11949 (HUGETLBFS_MAGIC): Likewise.
11950 (MINIX3_SUPER_MAGIC): Likewise.
11951 (MTD_INODE_FS_MAGIC): Likewise.
11952 (NILFS_SUPER_MAGIC): Likewise.
11953 (OPENPROM_SUPER_MAGIC): Likewise.
11954 (PIPEFS_MAGIC): Likewise.
11955 (PSTOREFS_MAGIC): Likewise.
11956 (QNX6_SUPER_MAGIC): Likewise.
11957 (RAMFS_MAGIC): Likewise.
11958 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11959 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11960 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11961 (SECURITYFS_MAGIC): Likewise.
11962 (SELINUX_MAGIC): Likewise.
11963 (SMACK_MAGIC): Likewise.
11964 (SOCKFS_MAGIC): Likewise.
11965 (SQUASHFS_MAGIC): Likewise.
11966 (STACK_END_MAGIC): Likewise.
11967 (TMPFS_MAGIC): Likewise.
11968 (USBDEVICE_SUPER_MAGIC): Likewise.
11969 (V9FS_MAGIC): Likewise.
11970 (XENFS_SUPER_MAGIC): Likewise.
11971 (CRAMFS_MAGIC): Fix typo in comment.
11972 (EXT2_SUPER_MAGIC): Update comment.
11973 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11975 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11977 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11978 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11979 * sysdeps/unix/sysv/linux/arm: Move directory from
11980 ports/sysdeps/unix/sysv/linux/arm.
11981 * README: Update listing for arm-*-linux-gnueabi.
11983 * README: Remove mention of am33.
11985 2014-02-07 Roland McGrath <roland@hack.frob.com>
11987 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11988 than the comma operator, to avoid "rhs of comma has no effect"
11990 (__sigfillset, __sigandset, __sigorset): Likewise.
11991 * include/signal.h (__sigemptyset): Likewise.
11992 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11994 2014-02-07 Allan McRae <allan@archlinux.org>
11996 * version.h (RELEASE): Set to "development".
11997 (VERSION): Set to "2.19.90"
11998 * NEWS: Add 2.20 section.
12000 2014-02-06 Carlos O'Donell <carlos@redhat.com>
12003 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12005 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12007 * manual/contrib.texi: Update entry for Carlos O'Donell,
12008 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12010 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
12012 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12014 * sysdeps/unix/sysv/linux/kernel-features.h
12015 [__LINUX_KERNEL_VERSION >= 0x020621]
12016 (__ASSUME_PROC_PID_TASK_COMM): Define.
12018 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12021 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12022 conversion when destination buffer does not have enough space.
12023 * libio/tst-ftell-partial-wide.c: New test case.
12024 * libio/Makefile (tests): Add tst-ftell-partial-wide.
12026 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12027 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
12028 Leonard and Allan McRae.
12030 2014-02-04 David S. Miller <davem@davemloft.net>
12032 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12035 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12064 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12066 * nptl/shlib-versions: Change powerpc*le start to 2.17.
12067 * shlib-versions: Likewise.
12069 2014-02-04 Roland McGrath <roland@hack.frob.com>
12070 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12072 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12073 (abilist-pattern): New variable, set to %-le.abilist.
12075 * Makerules (abilist-pattern): New variable.
12076 (vpath): Use $(abilist-pattern) in place of %.abilist.
12077 (check-abi-% pattern rule): Likewise.
12078 (check-abi, update-abi): Likewise.
12080 2014-02-04 Eric Wong <normalperson@yhbt.net>
12082 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12084 2014-02-03 Carlos O'Donell <carlos@redhat.com>
12086 * manual/startup.texi: Add next, previous, and top entries for
12087 the `Program Arguments' and `Environment Variables' nodes.
12089 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
12091 * manual/macros.texi: Add comments before MTASC-safety macros.
12093 * manual/users.texi: Document MTASC-safety properties.
12095 * manual/threads.texi (pthread_key_create, pthread_key_delete)
12096 (pthread_getspecific, pthread_setspecific): Format with
12097 @deftypefun, and add @safety note.
12098 * manual/signal.texi: Move comments that analyze the above
12099 functions to their home place.
12101 2014-02-03 Allan McRae <allan@archlinux.org>
12103 * po/sl.po: Update Slovenian translation from translation project.
12105 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
12107 * manual/time.texi (timegm): Add missing blank after @c.
12108 Reported by Joseph Myers <joseph@codesourcery.com>.
12110 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
12112 * manual/check-safety.sh: New.
12113 * manual/Makefile ($(objpfx)stamp-summary): Run it.
12115 * manual/terminal.texi: Document MTASC-safety properties.
12117 * manual/filesys.texi: Document MTASC-safety properties.
12119 * manual/errno.texi: Document MTASC-safety properties.
12121 * manual/intro.texi: Document safety identifiers and
12124 * manual/string.texi (wcstok): Fix prototype.
12125 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12127 * manual/time.texi: Document MTASC-safety properties.
12129 * manual/string.texi: Document MTASC-safety properties.
12131 * manual/threads.texi: Document MTASC-safety properties.
12133 * manual/stdio.texi: Document MTASC-safety properties.
12135 * manual/syslog.texi: Document MTASC-safety properties.
12137 * manual/sysinfo.texi: Document MTASC-safety properties.
12139 * manual/startup.texi: Document MTASC-safety properties.
12141 * manual/socket.texi: Document MTASC-safety properties.
12143 * manual/signal.texi: Document MTASC-safety properties.
12145 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
12147 * manual/setjmp.texi: Document MTASC-safety properties.
12149 * manual/search.texi: Document MTASC-safety properties.
12151 * manual/resource.texi: Document MTASC-safety properties.
12153 * manual/process.texi: Document MTASC-safety properties.
12155 * manual/platform.texi: Document MTASC-safety properties.
12157 * manual/pipe.texi: Document MTASC-safety properties.
12159 * manual/pattern.texi: Document MTASC-safety properties.
12161 * manual/message.texi: Document MTASC-safety properties.
12164 * manual/memory.texi: Document MTASC-safety properties.
12166 * manual/math.texi: Document MTASC-safety properties.
12168 * manual/locale.texi: Document MTASC-safety properties.
12170 * manual/llio.texi: Document MTASC-safety properties.
12172 * manual/libdl.texi: New.
12174 * manual/lang.texi: Document MTASC-safety properties.
12176 * manual/job.texi: Document MTASC-safety properties.
12178 * manual/getopt.texi: Document MTASC-safety properties.
12180 * manual/ctype.texi: Document MTASC-safety properties.
12182 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
12185 * csu/libc-tls.c (static_map): Remove variable.
12186 (__libc_setup_tls): Use main executable's link map for TLS data.
12187 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12188 casing for LM_ID_BASE and GL(dl_nns).
12189 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12190 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
12191 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12192 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12193 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12195 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12198 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
12200 * manual/debug.texi: Document MTASC-safety properties.
12202 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
12205 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12206 of __x86_64__ when disabling x87 inline functions.
12208 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
12210 * manual/charset.texi: Document MTASC-safety properties.
12212 * manual/crypt.texi: Document MTASC-safety properties.
12214 * manual/conf.texi: Document MTASC-safety properties.
12216 * manual/arith.texi: Document MTASC-safety properties.
12218 * manual/argp.texi: Document MTASC-safety properties.
12220 * manual/macros.texi: Introduce macros to document multi
12221 thread, asynchronous signal and asynchronous cancellation
12223 * manual/intro.texi: Introduce the properties themselves.
12225 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12227 * sysdeps/sh/sh4/Makefile: New file.
12229 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
12231 * math/gen-libm-test.pl ($srcdir): New variable.
12232 ($auto_input): Use it.
12234 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12237 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12238 access beyond array bounds when parsing netgroups file.
12240 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12241 the old buffer before realloc.
12243 2014-01-27 Allan McRae <allan@archlinux.org>
12245 * po/fr.po: Update French translation from translation project.
12247 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12249 * sysdeps/sh/libm-test-ulps: Regenerate.
12251 2014-01-24 David S. Miller <davem@davemloft.net>
12253 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12255 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12257 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12258 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12260 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12263 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12264 string pointers after reallocation.
12266 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12268 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12269 __SH4A__ instead of __SH_FPU_ANY__.
12271 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12273 * sysdeps/sh/fpu_control.h: New file.
12274 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12275 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12276 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12277 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12278 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12279 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12280 * sysdeps/sh/sys/ucontext.h: Remove.
12281 * sysdeps/sh/sys: Remove directory.
12283 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12285 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12286 s390/sys/ucontext.h.
12287 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12288 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12290 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
12293 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12295 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12298 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12299 Adjust the vDSO correctly for internal calls.
12300 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12302 2014-01-20 Allan McRae <allan@archlinux.org>
12304 * po/ca.po: Update Catalan translation from translation project.
12306 2014-01-16 Mike Frysinger <vapier@gentoo.org>
12308 * sysdeps/s390/sotruss-lib.c: New file.
12310 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12313 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12314 (__GI___gettimeofday): Alias for a different internal symbol to avoid
12315 local calls issues by not having a PLT stub required for IFUNC calls.
12316 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12318 2014-01-16 Joseph Myers <joseph@codesourcery.com>
12320 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12321 * math/test-fpucw-static.c: Likewise.
12323 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12326 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12328 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12330 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12331 implementation for powerpc.
12333 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
12336 * sysdeps/posix/system.c (__libc_system): Do not enable
12337 asynchronous cancellation.
12339 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12342 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12343 handling only for numbers special also in the IEEE case.
12345 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12347 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12349 2014-01-11 Allan McRae <allan@archlinux.org>
12351 * po/bg.po: Update Bulgarian translation from translation project.
12353 * po/de.po: Update German translation from translation project.
12355 2014-01-10 Roland McGrath <roland@hack.frob.com>
12357 * sysdeps/generic/gcc-compat.h: New file.
12359 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12361 * benchtests/asin-inputs: Correct slow inputs.
12362 * benchtests/acos-inputs: Likewise.
12364 2014-01-10 Allan McRae <allan@archlinux.org>
12366 * po:sv.po: Update Swedish translation from translation project.
12368 * po/vi.po: Update Vietnamese translation from translation project.
12370 * po/eo.po: Update Esperanto translation from translation project.
12372 * po/cs.po: Update Czech translation from translation project.
12374 * po/nl.po: Update Dutch translation from translation project.
12376 * po/pl.po: Update Polish translation from translation project.
12378 * po/ru.po: Update Russian translation from translation project.
12380 * po/uk.po: Update Ukrainian translation from translation project.
12382 2014-01-08 Brooks Moses <bmoses@google.com>
12384 * elf/dl-load.c: Fix comment typo.
12386 2014-01-08 Carlos O'Donell <carlos@redhat.com>
12388 * po/header.pot: Rename to...
12389 * po/pot.header: ... this.
12390 * po/Makefile: Use pot.header.
12392 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
12393 Maxim Kuvyrkov <maxim@kugelworks.com>
12396 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12397 SRC and DEST against LEN.
12399 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12402 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12404 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12406 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12410 2014-01-08 Joseph Myers <joseph@codesourcery.com>
12413 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12414 for large positive arguments.
12416 2014-01-07 Joseph Myers <joseph@codesourcery.com>
12418 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12420 * math/auto-libm-test-in: Mark various tests with
12421 xfail-rounding:ldbl-128ibm.
12422 * math/auto-libm-test-out: Regenerated.
12425 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12426 Increase overflow threshold.
12428 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
12431 * stdio-common/vfprintf.c: Check for integer overflow.
12433 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12435 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12436 the first argument and return value of __tls_get_addr_internal.
12438 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12440 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12441 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12443 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12445 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12446 * sysdeps/s390/rtld-global-offsets.sym: New file.
12447 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12449 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12450 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12451 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12453 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12454 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12460 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12461 halfs of GPRs for high_gprs contexts.
12462 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12463 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
12465 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12467 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12469 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12470 for high GPRs (uc_high_gprs) and for future extensions
12472 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12473 for future extensions (__reserved).
12474 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12476 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12477 SC_HIGHGPRS offset definition.
12478 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12479 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12481 * Versions.def: Add GLIBC_2.19 for libpthread.
12482 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12483 siglongjmp for libpthread with GLIBC_2.19 symver.
12484 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12485 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12486 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12487 * sysdeps/s390/__longjmp.c: New file.
12488 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12489 * sysdeps/s390/longjmp.c: New file.
12490 * sysdeps/s390/setjmp.S: New file.
12491 * sysdeps/s390/sigjmp.S: New file.
12492 * sysdeps/s390/v1-longjmp.c: New file.
12493 * sysdeps/s390/v1-setjmp.h: New file.
12494 * sysdeps/s390/v1-sigjmp.c: New file.
12495 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12496 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12497 GLIBC_2.19 version.
12498 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12499 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12500 versioned symbols for ____longjmp_chk.
12501 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12511 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12512 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12513 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12514 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12515 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12516 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12517 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12518 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12519 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12520 * sysdeps/s390/rtld-__longjmp.c: New file.
12521 * sysdeps/s390/rtld-setjmp.S: New file.
12523 2014-01-06 Joseph Myers <joseph@codesourcery.com>
12526 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12527 Return -__logl (x) for small positive arguments without evaluating
12530 2014-01-06 Mike Frysinger <vapier@gentoo.org>
12532 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12534 (__ptrace_peeksiginfo_args): ... this.
12535 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12536 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12537 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12539 2014-01-06 Allan McRae <allan@archlinux.org>
12541 * inet/netinet/in.h: Fix typo in comment.
12543 2014-01-05 Andreas Jaeger <aj@suse.de>
12545 * sysdeps/i386/fpu/libm-test-ulps: Update.
12547 2014-01-05 Allan McRae <allan@archlinux.org>
12549 * po/libc.pot: Regenerated.
12551 * malloc/memusagestat.c: Fix gettext call formatting.
12553 2014-01-04 Sami Kerola <kerolasa@iki.fi>
12555 * nscd/nscd.c: Improve usage() output.
12557 2014-01-04 Mike Frysinger <vapier@gentoo.org>
12559 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12560 * sysdeps/unix/sysv/linux/configure: Regenerated.
12561 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12562 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12564 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12567 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12568 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12570 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12572 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12573 extra tokens at end of #undef directive.
12574 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12575 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12576 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12578 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12580 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12582 * math/auto-libm-test-in: Mark various tests with
12583 xfail-rounding:ldbl-128ibm.
12584 * math/auto-libm-test-out: Regenerated.
12586 2014-01-02 Joseph Myers <joseph@codesourcery.com>
12589 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12590 numbers with subnormal high part when calculating exponent.
12593 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12597 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12599 (__ieee754_acoshl): Use __log1pl not __log1p.
12601 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
12603 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12604 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12605 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12606 (grow_heap, heap_trim, _int_new_arena, get_free_list)
12607 (reused_arena, arena_get2): Convert to GNU style.
12608 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12609 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12610 (memalign_check, __malloc_set_state): Likewise.
12611 * malloc/mallocbug.c (main): Likewise.
12612 * malloc/malloc.c (__malloc_assert, malloc_init_state)
12613 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12614 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12615 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12616 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12617 (__posix_memalign, malloc_info): Likewise.
12618 * malloc/malloc.h: Likewise.
12619 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12620 (mallochook, memalignhook, reallochook, mabort): Likewise.
12621 * malloc/mcheck.h: Likewise.
12622 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12623 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12624 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12625 * malloc/morecore.c (__default_morecore): Likewise.
12626 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12627 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12628 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12629 (print_and_abort): Likewise.
12630 * malloc/obstack.h: Likewise.
12631 * malloc/set-freeres.c (__libc_freeres): Likewise.
12632 * malloc/tst-mallocstate.c (main): Likewise.
12633 * malloc/tst-mtrace.c (main): Likewise.
12634 * malloc/tst-realloc.c (do_test): Likewise.
12636 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12639 * nscd/netgroupcache.c (do_notfound): New function.
12640 (addgetnetgrentX): Use it.
12643 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12644 NSS_STATUS_NOTFOUND.
12646 2014-01-01 Joseph Myers <joseph@codesourcery.com>
12648 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12651 2014-01-01 Allan McRae <allan@archlinux.org>
12653 * scripts/update-copyrights: Update configure input file suffix.
12655 * NEWS: Update copyright year.
12656 * catgets/gencat.c: Likewise.
12657 * csu/version.c: Likewise.
12658 * debug/catchsegv.sh: Likewise.
12659 * debug/pcprofiledump.c: Likewise.
12660 * debug/xtrace.sh: Likewise.
12661 * elf/ldconfig.c: Likewise.
12662 * elf/ldd.bash.in: Likewise.
12663 * elf/pldd.c: Likewise.
12664 * elf/sotruss.ksh: Likewise.
12665 * elf/sprof.c: Likewise.
12666 * iconv/iconv_prog.c: Likewise.
12667 * iconv/iconvconfig.c: Likewise.
12668 * locale/programs/locale.c: Likewise.
12669 * locale/programs/localedef.c: Likewise.
12670 * login/programs/pt_chown.c: Likewise.
12671 * malloc/memusage.sh: Likewise.
12672 * malloc/memusagestat.c: Likewise.
12673 * malloc/mtrace.pl: Likewise.
12674 * manual/libc.texinfo: Likewise.
12675 * nscd/nscd.c: Likewise.
12676 * nss/getent.c: Likewise.
12677 * nss/makedb.c: Likewise.
12678 * posix/getconf.c: Likewise.
12679 * scripts/test-installation.pl: Likewise.
12681 * All files with FSF copyright notices: Update copyright dates
12682 using scripts/update-copyrights.
12683 * intl/plural.c: Regenerated.
12684 * locale/programs/charmap-kw.h: Likewise.
12685 * locale/programs/locfile-kw.h: Likewise.
12687 2013-12-31 Mike Frysinger <vapier@gentoo.org>
12689 * sysdeps/unix/sysv/linux/configure: Regenerated.
12690 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12691 the linux/fanotify.h header.
12692 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12693 HAVE_LINUX_FANOTIFY_H is defined.
12695 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12697 * benchtests/cos-inputs: New inputs.
12698 * benchtests/sin-inputs: Likewise.
12700 * benchtests/atan-inputs: New inputs. Fix name of multiple
12701 precision fallback inputs.
12703 * benchtests/atanh-inputs: New inputs.
12704 * benchtests/tanh-inputs: Likewise.
12706 * benchtests/acosh-inputs: New inputs.
12707 * benchtests/asinh-inputs: Likewise.
12709 * benchtests/cosh-inputs: New inputs.
12710 * benchtests/sinh-inputs: Likewise.
12712 * benchtests/acos-inputs: Add more inputs.
12713 * benchtests/asin-inputs: Likewise.
12715 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
12718 * manual/arith.texi: Fix spelling.
12719 * manual/charset.texi: Likewise.
12720 * manual/errno.texi: Likewise.
12721 * manual/filesys.texi: Likewise.
12722 * manual/lang.texi: Likewise.
12723 * manual/llio.texi: Likewise.
12724 * manual/locale.texi: Likewise.
12725 * manual/message.texi: Likewise.
12726 * manual/resource.texi: Likewise.
12727 * manual/search.texi: Likewise.
12728 * manual/setjmp.texi: Likewise.
12729 * manual/stdio.texi: Likewise.
12730 * manual/string.texi: Likewise.
12731 * manual/sysinfo.texi: Likewise.
12732 * manual/time.texi: Likewise.
12734 2013-12-27 Carlos O'Donell <carlos@redhat.com>
12736 * po/sl.po: New file.
12738 2013-12-27 Mike Frysinger <vapier@gentoo.org>
12740 * .gitignore: Add core/.gdbinit/.gdb_history.
12742 2013-12-27 Allan McRae <allan@archlinux.org>
12745 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12746 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12748 2013-12-24 Brooks Moses <bmoses@google.com>
12750 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12751 all compilers that claim C++98 compliance, not just GCC.
12752 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12755 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12757 * NEWS: Restore accidentally deleted bug-fix entries.
12759 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12760 Ondřej Bílka <neleai@seznam.cz>
12763 * malloc/malloc.c (_int_free): Perform sanity check only if we
12766 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
12769 * manual/stdio.texi (String Input Conversions): Clarify that character
12770 classes are not supported.
12772 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12776 2013-12-22 Joseph Myers <joseph@codesourcery.com>
12779 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12780 Calculate results for small negative arguments directly rather
12781 than using reflection formula with special underflow handling.
12783 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12784 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12785 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12786 (fchflags): Likewise.
12787 (revoke): Likewise.
12788 (setlogin): Likewise.
12789 (sigaltstack): Likewise.
12791 (sigblock): Remove.
12792 (sigsetmask): Likewise.
12794 (waitpid): Likewise.
12795 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12796 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12798 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12799 * sysdeps/unix/bsd/Makefile: ... here.
12800 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12801 * sysdeps/unix/bsd/Versions: ... here.
12802 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12803 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12804 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12805 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12806 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12807 * sysdeps/unix/bsd/sigblock.c: ... here.
12808 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12809 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12810 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12811 * sysdeps/unix/bsd/sigvec.c: ... here.
12812 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12813 * sysdeps/unix/bsd/tcdrain.c: ... here.
12814 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12815 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12816 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12817 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12818 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12819 * sysdeps/unix/bsd/wait.c: ... here.
12820 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12821 * sysdeps/unix/bsd/wait3.c: ... here.
12822 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12823 * sysdeps/unix/bsd/waitpid.c: ... here.
12825 2013-12-21 Joseph Myers <joseph@codesourcery.com>
12828 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12829 round-to-nearest for [!USE_AS_EXPM1L].
12830 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12831 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12832 more tests of exp and exp10. Expect some exp10 tests to miss
12833 exceptions or fail in directed rounding modes.
12834 * math/auto-libm-test-out: Regenerated.
12835 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12836 (exp10_test_tonearest): New function.
12837 (exp10_towardzero_test_data): New array.
12838 (exp10_test_towardzero): New function.
12839 (exp10_downward_test_data): New array.
12840 (exp10_test_downward): New function.
12841 (exp10_upward_test_data): New array.
12842 (exp10_test_upward): New function.
12843 (main): Call the new functions.
12844 * sysdeps/i386/fpu/libm-test-ulps: Update.
12845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12847 2013-12-20 Joseph Myers <joseph@codesourcery.com>
12849 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12850 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12851 * math/auto-libm-test-out: Regenerated.
12852 * math/libm-test.inc (acosh_test_data): Add more tests.
12853 (atanh_test_data): Likewise.
12854 (ceil_test_data): Likewise.
12855 (copysign_test_data): Likewise.
12856 * sysdeps/i386/fpu/libm-test-ulps: Update.
12857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12859 * timezone/checktab.awk: Update from tzcode 2013i.
12860 * timezone/private.h: Likewise.
12861 * timezone/scheck.c: Likewise.
12862 * timezone/tzfile.h: Likewise.
12863 * timezone/tzselect.ksh: Likewise.
12864 * timezone/zdump.c: Likewise.
12865 * timezone/zic.c: Likewise.
12867 * math/auto-libm-test-in: Add tests of cpow.
12868 * math/auto-libm-test-out: Regenerated.
12869 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12870 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12872 (func_calc_desc): Add mpc_cc_c union field.
12873 (test_functions): Add cpow.
12874 (special_fill_2pi): New function.
12875 (special_real_inputs): Add 2pi.
12876 (calc_generic_results): Handle mpc_cc_c.
12877 * sysdeps/i386/fpu/libm-test-ulps: Update.
12878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12880 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12881 csqrt, ctan and ctanh.
12882 * math/auto-libm-test-out: Regenerated.
12883 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12884 (TEST_COND_x86): Likewise.
12885 (ccos_test_data): Use AUTO_TESTS_c_c.
12886 (ccosh_test_data): Likewise.
12887 (cexp_test_data): Likewise.
12888 (clog_test_data): Likewise.
12889 (csqrt_test_data): Likewise.
12890 (ctan_test_data): Likewise.
12891 (ctan_tonearest_test_data): Likewise.
12892 (ctan_towardzero_test_data): Likewise.
12893 (ctan_downward_test_data): Likewise.
12894 (ctan_upward_test_data): Likewise.
12895 (ctanh_test_data): Likewise.
12896 (ctanh_tonearest_test_data): Likewise.
12897 (ctanh_towardzero_test_data): Likewise.
12898 (ctanh_downward_test_data): Likewise.
12899 (ctanh_upward_test_data): Likewise.
12900 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12902 (func_calc_desc): Add mpc_c_c union field.
12903 (FUNC_mpc_c_c): New macro.
12904 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12905 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12907 (special_fill_min_subnorm_p120): New function.
12908 (special_real_inputs): Add min_subnorm_p120.
12909 (calc_generic_results): Handle mpc_c_c.
12910 * sysdeps/i386/fpu/libm-test-ulps: Update.
12911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12913 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12915 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12916 (do_sin_slow): New functions.
12917 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12918 (cslow2, csloww1, csloww2): Use the new functions.
12920 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12921 Use M to change sign of result instead of X. Assume X is
12923 (csloww1): Likewise.
12927 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12928 arguments A and DA.
12932 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12934 (sloww1): Don't adjust sign of DX.
12935 (csloww1): Likewise.
12936 (sloww2): Use X directly and don't adjust sign of DX.
12937 (csloww2): Likewise.
12939 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12941 * math/auto-libm-test-in: Add tests of cabs and carg.
12942 * math/auto-libm-test-out: Regenerated.
12943 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12944 (carg_test_data): Likewise.
12945 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12947 (func_calc_desc): Add mpc_c_f union field.
12948 (test_functions): Add cabs and carg.
12949 (calc_generic_results): Handle mpc_c_f.
12951 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12952 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12953 as a macro and a compat symbol.
12954 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12955 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12956 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12957 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12958 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12959 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12961 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12963 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12965 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12967 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12969 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12971 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12972 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12975 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12979 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12981 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12982 trailing whitespace removed.
12983 * scripts/config.guess: Update to version 2013-11-29.
12984 * scripts/config.sub: Update to version 2013-10-01.
12986 * math/auto-libm-test-in: Add tests of sincos.
12987 * math/auto-libm-test-out: Regenerated.
12988 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12989 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12991 (func_calc_desc): Add mpfr_f_11 union field.
12992 (test_functions): Add sincos.
12993 (calc_generic_results): Handle mpfr_f_11.
12994 * sysdeps/i386/fpu/libm-test-ulps: Update.
12995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12997 2013-12-19 Andreas Schwab <schwab@suse.de>
12999 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13001 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13002 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13003 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13005 2013-12-19 Joseph Myers <joseph@codesourcery.com>
13007 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13008 * sysdeps/i386/fpu/libm-test-ulps: Update.
13009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13012 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13013 round-to-nearest mode when using frndint.
13014 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13015 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13016 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13018 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
13020 * math/auto-libm-test-out: Regenerated.
13021 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13022 (TEST_COND_x86): Likewise.
13023 (expm1_tonearest_test_data): New array.
13024 (expm1_test_tonearest): New function.
13025 (expm1_towardzero_test_data): New array.
13026 (expm1_test_towardzero): New function.
13027 (expm1_downward_test_data): New array.
13028 (expm1_test_downward): New function.
13029 (expm1_upward_test_data): New array.
13030 (expm1_test_upward): New function.
13031 (main): Run the new test functions.
13032 * sysdeps/i386/fpu/libm-test-ulps: Update.
13033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13035 * include/features.h: Update comment documenting feature test
13036 macros. Mention _DEFAULT_SOURCE in comment.
13037 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13038 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13039 _BSD_SOURCE and _SVID_SOURCE.
13040 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13041 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13042 !_SVID_SOURCE]: Likewise.
13043 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13044 (__USE_POSIX_IMPLICITLY): Define.
13045 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13046 (_POSIX_SOURCE): Undefine and redefine.
13047 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13048 (_POSIX_C_SOURCE): Likewise.
13049 * manual/creature.texi (_DEFAULT_SOURCE): Document.
13050 (Feature Test Macros): Update documentation of default features.
13052 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13054 * benchtests/Makefile: Add bench-strtok.
13055 * benchtests/bench-strtok.c: New file: strtok benchtest.
13057 2013-12-19 Allan McRae <allan@archlinux.org>
13059 * manual/install.texi: Suppress menu for plain text output.
13060 * INSTALL: Regenerated.
13062 2013-12-18 Brooks Moses <bmoses@google.com>
13065 * misc/getauxval.c: Include errno.h.
13066 (__getauxval): Set errno to ENOENT if the requested type is not
13068 * misc/sys/auxv.h (getauxval): Document that it may set errno;
13069 don't declare with __attribute_const__.
13070 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13071 * manual/startup.texi: Document that getauxval sets errno.
13073 2013-12-18 Joseph Myers <joseph@codesourcery.com>
13075 * math/auto-libm-test-in: Add tests of jn and yn.
13076 * math/auto-libm-test-out: Regenerated.
13077 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13078 (yn_test_data): Likewise.
13079 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13081 (func_calc_desc): Add mpfr_if_f union field.
13082 (FUNC_mpfr_if_f): New macro.
13083 (test_functions): Add jn and yn.
13084 (calc_generic_results): Assert type of second input for
13085 mpfr_ff_f. Handle mpfr_if_f.
13086 (output_for_one_input_case): Disable all checking for arguments
13087 fitting floating-point types in case of an integer argument.
13088 * sysdeps/i386/fpu/libm-test-ulps: Update.
13089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13092 Don't expect fegetround reference in libm.so.
13094 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13096 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13097 $(config-cflags-nofma).
13099 2013-12-18 Joseph Myers <joseph@codesourcery.com>
13101 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13102 * math/auto-libm-test-out: Regenerated.
13105 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13106 to determine exponent and adjust argument to have exponent of -1.
13107 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13109 * math/auto-libm-test-out: Regenerated.
13110 * sysdeps/i386/fpu/libm-test-ulps: Update.
13111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13113 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
13115 * manual/probes.texi: Remove cases when per-thread arenas are
13118 2013-12-18 Andreas Schwab <schwab@suse.de>
13120 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13121 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13122 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13123 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13124 * sysdeps/i386/i686/multiarch/Makefile: Update.
13125 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13127 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13129 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13130 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13132 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
13135 Support TZ transition times < 00:00:00.
13136 This is needed for version-3 tz-format files; it supports time
13137 stamps past 2037 for America/Godthab (the only entry in the tz
13138 database for which this change is relevant).
13139 * manual/time.texi (TZ Variable): Document transition times
13140 from -167:59:59 through -00:00:01.
13141 * time/tzset.c (tz_rule): Time of day is now signed.
13142 (__tzset_parse_tz): Parse negative time of day.
13144 Document TZ transition times >= 25:00:00.
13145 * manual/time.texi (TZ Variable): Document transition times from
13146 25:00:00 through 167:59:59. These are already supported, and this
13147 support will help with version-3 tz-format files.
13149 * manual/time.texi (TZ Variable): Modernize North America example
13150 to reflect current (i.e., 2007-and-later) daylight saving rules.
13152 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13154 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13156 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13157 * sysdeps/unix/bsd/bits/stat.h: Likewise.
13158 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13159 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13160 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13161 * sysdeps/unix/bsd/bsdstat.h: Likewise.
13162 * sysdeps/unix/bsd/clock.c: Likewise.
13163 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13164 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13165 * sysdeps/unix/bsd/init-posix.c: Likewise.
13166 * sysdeps/unix/bsd/poll.c: Likewise.
13167 * sysdeps/unix/bsd/ptsname.c: Likewise.
13168 * sysdeps/unix/bsd/seekdir.c: Likewise.
13169 * sysdeps/unix/bsd/setegid.c: Likewise.
13170 * sysdeps/unix/bsd/seteuid.c: Likewise.
13171 * sysdeps/unix/bsd/setgid.c: Likewise.
13172 * sysdeps/unix/bsd/setrgid.c: Likewise.
13173 * sysdeps/unix/bsd/setruid.c: Likewise.
13174 * sysdeps/unix/bsd/setsid.c: Likewise.
13175 * sysdeps/unix/bsd/setuid.c: Likewise.
13176 * sysdeps/unix/bsd/sigaction.c: Likewise.
13177 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13178 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13179 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13180 * sysdeps/unix/bsd/telldir.c: Likewise.
13181 * sysdeps/unix/bsd/times.c: Likewise.
13182 * sysdeps/unix/bsd/usleep.c: Likewise.
13184 * misc/Makefile (install-lib): Remove libbsd-compat.a.
13185 ($(objpfx)libbsd-compat.a): Remove rule.
13187 * include/features.h (__FAVOR_BSD): Do not define.
13188 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13189 features conflicting with POSIX.
13190 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13191 (_BSD_SOURCE): Remove description of not being a subset of other
13192 feature test macros.
13193 * manual/job.texi (getpgrp): Do not document BSD version.
13194 (getpgid): Do not document by reference to BSD getpgrp.
13195 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13196 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13197 * signal/signal.h [__FAVOR_BSD]: Likewise.
13198 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13199 instead of making contents conditional on [__FAVOR_BSD].
13200 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13202 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13206 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13209 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13210 values below 2**-450, not 2**-500.
13211 * math/auto-libm-test-in: Don't allow spurious underflow from
13213 * math/auto-libm-test-out: Regenerated.
13217 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13218 values of ha and hb and sort them after adjusting subnormal
13220 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13222 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13223 values of ea and eb and sort them after adjusting subnormal
13225 * math/auto-libm-test-in: Do not expect some hypot tests of
13226 subnormals to fail. Add more hypot tests.
13227 * math/auto-libm-test-out: Regenerated.
13229 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13232 * sysdeps/sh/s_fma.c: New file.
13233 * sysdeps/sh/s_fmaf.c: New file.
13234 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
13236 * sysdeps/sh/Implies: Add sh/soft-fp.
13238 2013-12-16 Roland McGrath <roland@hack.frob.com>
13240 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
13241 level of indirection to members `objname', `errstring', `malloced'.
13242 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13243 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
13244 it as the __longjmp argument (just pass 1 instead).
13245 (_dl_catch_error): Initialize C with argument pointers and address of
13246 volatile local ERRCODE rather than copying values out of C at return.
13248 2013-12-16 Joseph Myers <joseph@codesourcery.com>
13250 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13251 * math/auto-libm-test-out: Regenerated.
13252 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13253 (hypot_test_data): Likewise.
13254 (pow_test_data): Likewise.
13255 (pow_tonearest_test_data): Likewise.
13256 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13258 (func_calc_desc): Add mpfr_ff_f union field.
13259 (FUNC_mpfr_ff_f): New macro.
13260 (test_functions): Add atan2, hypot and pow.
13261 (special_fill_min): New function.
13262 (special_fill_minus_min): Likewise.
13263 (special_fill_min_subnorm): Likewise.
13264 (special_fill_minus_min_subnorm): Likewise.
13265 (special_real_inputs): Add min, -min, min_subnorm and
13267 (calc_generic_results): Handle mpfr_ff_f.
13268 * sysdeps/i386/fpu/libm-test-ulps: Update.
13269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13271 2013-12-16 Will Newton <will.newton@linaro.org>
13273 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13274 (Aligned Memory Blocks): Add documentation for aligned_alloc
13275 and suggest it as an alternative to posix_memalign.
13276 (Hooks for Malloc): Document __memalign_hook is also called
13277 for aligned_alloc. (Summary of Malloc): Add summary for
13278 aligned alloc. Document __memalign_hook is also called
13281 2013-12-16 Will Newton <will.newton@linaro.org>
13283 * manual/memory.texi (Malloc Examples): Clarify default
13284 alignment documentation. Suggest posix_memalign rather
13285 than memalign or valloc.
13286 (Aligned Memory Blocks): Remove suggestion to use memalign
13287 or valloc. Remove obsolete comment about BSD.
13288 Document memalign errno values and mark the function obsolete.
13289 Document posix_memalign returned error codes. Mark valloc
13290 as obsolete. (Hooks for Malloc): __memalign_hook is also
13291 called for posix_memalign and valloc.
13292 (Summary of Malloc): Add posix_memalign to function summary.
13293 __memalign_hook is also called for posix_memalign and valloc.
13295 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13297 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13301 (sloww): Use mynumber union. Expand ternary operator into
13302 if-else statements.
13303 (cslow): use mynumber union.
13305 2013-12-16 Allan McRae <allan@archlinux.org>
13307 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13308 * configure: Regenerated.
13310 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13313 * configure.ac: Added --enable-maintainer-mode. Check for
13314 autoconf when enabled.
13315 * configure: Regenerated.
13317 * nscd/nscd.service: New file.
13318 * nscd/nscd.tmpfiles: New file.
13320 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
13323 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13324 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13325 * sysdeps/x86_64/multiarch/strstr.c: ... here.
13326 (strstr): Add __strstr_sse2_unaligned ifunc.
13327 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13328 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13329 (strcasestr): Remove __strcasestr_sse42 ifunc.
13330 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13331 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13332 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13334 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13336 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13337 * sysdeps/sh/bits/fenv.h: ... here.
13338 * sysdeps/sh/sh4/fpu/bits: Remove directory.
13340 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13342 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13344 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13345 hypotf multiarch implementations.
13346 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13347 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13348 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13349 multiarch hypot for PPC64.
13350 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13351 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13352 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13353 multiarch hypotf for PPC64.
13355 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13356 modff multiarch implementations.
13357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13360 multiarch modf for PPC64.
13361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13364 multiarch modff for PPC64.
13366 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13367 and logl multiarch implementations.
13368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13371 multiarch logb for PPC64.
13372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13375 multiarch logb for PPC64.
13376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13379 multiarch logb for PPC64.
13381 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13382 isinff multiarch implementation.
13383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13387 multiarch isinf for PPC64.
13388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13391 multiarch isinff for PPC64.
13393 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13394 finitef multiarch implementation.
13395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13399 multiarch finite for PPC64.
13400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13403 multiarch finitef for PPC64.
13405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13406 lrint multiarch implementation.
13407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13411 multiarch llrint for PPC64.
13412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13413 multiarch lrint for PPC64.
13415 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13416 copysignf multiarch implementation.
13417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13422 multiarch copysign for PPC64.
13423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13424 multiarch copysignf for PPC64.
13426 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13427 multiarch implementation.
13428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13436 multiarch llround for PPC64.
13437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13438 multiarch trunc for PPC64.
13439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13440 multiarch truncf for PPC64.
13442 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13443 multiarch implementation.
13444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13452 multiarch llround for PPC64.
13453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13454 multiarch round for PPC64.
13455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13456 multiarch roundf for PPC64.
13458 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13459 multiarch implementation.
13460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13468 multiarch llround for PPC64.
13469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13470 multiarch floor for PPC64.
13471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13472 multiarch floorf for PPC64.
13474 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13475 multiarch implementation.
13476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13484 multiarch llround for PPC64.
13485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13486 multiarch ceil for PPC64.
13487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13488 multiarch ceilf for PPC64.
13490 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13491 multiarch implementation.
13492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13499 multiarch llround for PPC64.
13500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13501 multiarch lround for PPC64.
13503 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13504 multiarch implementation.
13505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13512 multiarch isnan for PPC64.
13513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13514 multiarch isnanf for PPC64.
13516 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13517 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13518 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13519 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13520 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13523 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13524 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13525 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13526 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13529 multiarch implementations.
13530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13531 (__libc_ifunc_impl_list): Likewise.
13532 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13533 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13534 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13535 multiarch stpcpy for PPC64.
13537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13538 multiarch implementations.
13539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13540 (__libc_ifunc_impl_list): Likewise.
13541 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13542 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13543 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13544 multiarch strcpy for PPC64.
13546 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13547 redefine function name.
13548 (_wordcopy_fwd_dest_aligned): Likewise.
13549 (_wordcopy_bwd_aligned): Likewise.
13550 (_wordcopy_bwd_dest_aligned): Likewise.
13551 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13552 multiarch implementations.
13553 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13554 (__libc_ifunc_impl_list): Likewise.
13555 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13556 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13557 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13558 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13559 multiarch wcscpy for PPC64.
13561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13562 multiarch implementations.
13563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13564 (__libc_ifunc_impl_list): Likewise.
13565 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13566 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13567 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13568 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13569 multiarch wcscpy for PPC64.
13571 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13572 multiarch implementations.
13573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13574 (__libc_ifunc_impl_list): Likewise.
13575 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13576 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13577 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13578 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13579 multiarch wcsrchr for PPC64.
13581 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13582 multiarch implementations.
13583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13584 (__libc_ifunc_impl_list): Likewise.
13585 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13586 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13587 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13588 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13589 multiarch wcschr for PPC64.
13591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13592 multiarch implementations.
13593 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13594 (__libc_ifunc_impl_list): Likewise.
13595 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13596 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13597 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13598 multiarch strchrnul for PPC64.
13600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13603 (__libc_ifunc_impl_list): Likewise.
13604 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13605 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13606 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13607 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13613 (__libc_ifunc_impl_list): Likewise.
13614 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13615 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13616 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13617 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13620 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13621 multiarch implementations.
13622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13623 (__libc_ifunc_impl_list): Likewise.
13624 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13625 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13626 strncasecmp for PPC64.
13627 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13628 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13629 multiarch strncasecmp_l for PPC64.
13631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13632 multiarch implementations.
13633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13634 (__libc_ifunc_impl_list): Likewise.
13635 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13636 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13637 multiarch strcasecmp for PPC64.
13638 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13640 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13641 multiarch strcasecmp_l for PPC64.
13643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13646 (__libc_ifunc_impl_list): Likewise.
13647 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13648 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13649 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13652 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13654 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13655 (__libc_ifunc_impl_list): Likewise.
13656 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13657 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13658 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13661 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13664 (__libc_ifunc_impl_list): Likewise.
13665 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13666 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13667 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13668 rawmemrchr for PPC64.
13670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13673 (__libc_ifunc_impl_list): Likewise.
13674 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13675 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13676 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13682 (__libc_ifunc_impl_list): Likewise.
13683 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13684 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13685 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13691 (__libc_ifunc_impl_list): Likewise.
13692 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13693 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13694 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13697 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13698 avoid cretion of __bzero symbol.
13699 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13701 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13703 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13706 multiarch implementations.
13707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13708 (__libc_ifunc_impl_list): Likewise.
13709 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13710 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13711 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13712 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13714 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13715 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13716 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13717 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13718 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13720 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13722 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13723 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13725 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13726 (__libc_ifunc_impl_list): Likewise.
13727 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13728 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13729 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13730 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13734 multiarch for POWER/PPC64.
13735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13736 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13737 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13738 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13739 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13740 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13741 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13742 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13743 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13746 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13747 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13748 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13749 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13750 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13751 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13752 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13753 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13754 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13755 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13756 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13757 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13758 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13759 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13760 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13769 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13771 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13773 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13775 * benchtests/Makefile (bench): Add exp2 and log2.
13776 (LDLIBS-bench-exp2): Add -lm.
13777 (LDLIBS-bench-log2): Likewise.
13778 * benchtests/exp2-inputs: New inputs file.
13779 * benchtests/log2-inputs: New inputs file.
13780 * benchtests/log-inputs: Add new inputs.
13781 * benchtests/tan-inputs: Likewise.
13783 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13785 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13787 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13788 (csloww2): ... from here.
13790 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13791 instead of structures.
13792 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13793 (POLYNOMIAL): Likewise.
13794 (TAYLOR_SLOW): Likewise.
13800 (sloww1); Likewise.
13801 (sloww2): Likewise.
13802 (bsloww1): Likewise.
13803 (bsloww2): Likewise.
13804 (cslow2): Likewise.
13805 (csloww): Likewise.
13806 (csloww1): Likewise.
13807 (csloww2): Likewise.
13809 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
13811 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13812 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13813 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13814 * malloc/hooks.c (realloc_check): Likewise.
13816 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13817 * malloc/arena.c: Remove PER_THREAD conditional.
13818 [!PER_THREAD]: Remove code.
13819 (ptmalloc_unlock_all2): Likewise.
13820 (ptmalloc_init): Likewise.
13821 (_int_new_arena): Likewise.
13822 (arena_get2): Likewise.
13823 * malloc/hooks.c (__malloc_get_state): Likewise.
13824 (__malloc_set_state): Likewise.
13825 * malloc/malloc.c: Likewise.
13826 (struct malloc_state): Likewise.
13827 (struct malloc_par): Likewise.
13828 (__libc_realloc): Likewise.
13829 (__libc_mallopt): Likewise.
13831 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13833 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13835 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
13837 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13838 macro to a function. Check for zero perturb_byte.
13839 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13841 * malloc/malloc.c: (force_reg): Remove.
13842 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13843 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13844 force_reg by atomic_forced_read.
13845 * malloc/arena.c (ptmalloc_init): Likewise.
13846 * malloc/hooks.c (top_check): Likewise.
13848 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13852 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13856 2013-12-08 Joseph Myers <joseph@codesourcery.com>
13858 * math/auto-libm-test-in: Add tests of lgamma.
13859 * math/auto-libm-test-out: Regenerated.
13860 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13861 (M_LOG_2_SQRT_PIl): Likewise.
13862 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13863 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13865 (func_calc_desc): Add mpfr_f_f1 union field.
13866 (ARGS1): New macro.
13874 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13875 (test_functions): Add lgamma.
13876 (calc_generic_results): Handle mpfr_f_f1.
13877 * sysdeps/i386/fpu/libm-test-ulps: Update.
13878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13880 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13882 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13883 __mpn_add_n for PowerPC64/POWER7.
13884 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13885 __mpn_sub_n for PowerPC64/POWER7.
13887 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13888 __mpn_addmul_1 for PowerPC64.
13889 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13890 __mpn_submul_1 for PowerPC64.
13891 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13893 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13896 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13899 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13901 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13903 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13905 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13906 add multiarch folders.
13907 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13908 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13909 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13910 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13911 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13912 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13913 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13914 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13915 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13916 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13917 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13926 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13932 multiarch __ieee754_hypot for PowerPC32.
13933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13938 multiarch __ieee754_hypotf for PowerPC32.
13940 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13941 long_double_symbol only if __logbl is defined.
13942 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13943 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13944 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13945 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13946 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13947 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13948 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13949 path for implementation.
13950 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13951 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13953 logb, and logbl multiarch implementations for PowerPC32.
13954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13959 multiarch logb for PowerPC32.
13960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13965 multiarch logbf for PowerPC32.
13966 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13970 multiarch logbl implementation for PowerPC32.
13972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13973 and modff multiarch implementations.
13974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13979 multiarch modf for PowerPC32.
13980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13985 multiarch modff for PowerPC32.
13987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13988 and lrintf multiarch implementations.
13989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13994 multiarch lrint for PowerPC32.
13995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13996 file: multiarch lrintf for PowerPC32.
13998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13999 and lroundf multiarch implementations.
14000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14007 multiarch lround for PowerPC32.
14008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14009 file: multiarch lroundf for PowerPC32.
14011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14012 copysign and copysignf multiarch implementations.
14013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14018 file: multiarch copysign for PowerPC32.
14019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14020 file: multiarch copysignf for PowerPC32.
14022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14023 and truncf multiarch implementations.
14024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14029 multiarch trunc for PowerPC32.
14030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14035 multiarch truncf for PowerPC32.
14037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14038 and roundf multiarch implementations.
14039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14044 multiarch round for PowerPC32.
14045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14050 multiarch roundf for PowerPC32.
14052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14053 and floorf multiarch implementations.
14054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14059 multiarch floor for PowerPC32.
14060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14065 multiarch floorf for PowerPC32.
14067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14068 and ceilf multiarch implementations.
14069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14074 multiarch ceil for PowerPC32.
14075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14080 multiarch ceilf for PowerPC32.
14082 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14084 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14085 FINITEF is defined.
14086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14087 and finitef multiarch implementations.
14088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14093 multiarch finite for PowerPC32.
14094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14097 file: multiarch finitef for PowerPC32.
14099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14100 and isinff multiarch implementations.
14101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14106 multiarch isinf for PowerPC32.
14107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14110 multiarch isinff for PowerPC32.
14112 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14113 alias when __isnan is defined.
14114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14115 and isnanf multiarch implementations.
14116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14125 multiarch isnan for PowerPC32.
14126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14131 multiarch isnanf for PowerPC32.
14133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14134 and sqrtf multiarch implementations.
14135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14140 multiarch sqrt for PowerPC32.
14141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14146 multiarch sqrtf for PowerPC32.
14148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14149 and llroundf multiarch implementations.
14150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14157 file: multiarch llround for PowerPC32.
14158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14159 file: multiarch llroundf for PowerPC32.
14161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14162 multiarch PowerPC32 fpu implementations.
14163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14168 multiarch llrint for PowerPC32.
14169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14178 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14180 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14182 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14184 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14185 multiarch wordcopy for PPC32.
14186 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14188 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14189 (__libc_ifunc_impl_list): Likewise.
14190 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14191 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14192 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14193 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14194 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14195 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14197 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14198 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14200 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14202 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14204 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14205 multiarch wcscpy for PPC32.
14206 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14208 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14209 (__libc_ifunc_impl_list): Likewise.
14210 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14211 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14212 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14213 sysdeps/powerpc/power6/wcscpy.c.
14215 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14216 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14218 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14220 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14222 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14223 multiarch wcsrchr for PPC32.
14224 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14226 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14227 (__libc_ifunc_impl_list): Likewise.
14228 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14229 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14230 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14231 sysdeps/powerpc/power6/wcsrchr.c.
14233 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14235 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14237 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14238 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14239 multiarch wcschr for PPc32.
14240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14242 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14243 (__libc_ifunc_impl_list): Likewise.
14244 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14245 * sysdeps/powerpc/power6/wcschr.c: ... to here.
14246 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14247 sysdeps/powerpc/power6/wcschr.c.
14249 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14250 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14252 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14253 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14254 file: multiarch strchr for PPC32.
14255 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14257 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14258 (__libc_ifunc_impl_list): Likewise.
14260 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14262 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14264 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14266 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14267 multiarch strchrnul for PPC32.
14268 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14270 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14271 (__libc_ifunc_impl_list): Likewise.
14273 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14275 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14276 multiarch strncasecmp for PPC32.
14277 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14279 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14280 multiarch strncasecmp_l for PPC32.
14281 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14282 strncasecmp multiarch objects.
14283 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14284 (__libc_ifunc_impl_list): Likewise.
14286 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14288 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14289 multiarch strncasecmp for PPC32.
14290 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14292 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14293 multiarch strcasecmp_l for PPC32.
14294 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14296 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14297 (__libc_ifunc_impl_list): Likewise.
14299 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14301 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14303 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14304 multiarch strncmp for PPC32.
14305 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14307 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14308 (__libc_ifunc_impl_list): Likewise.
14310 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14311 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14313 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14314 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14315 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14317 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14318 (__libc_ifunc_impl_list): Likewise.
14320 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14322 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14324 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14325 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14327 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14328 (__libc_ifunc_impl_list): Likewise.
14330 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14332 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14334 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14335 multiarch rawmemchr for PPC32.
14336 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14338 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14339 (__libc_ifunc_impl_list): Likewise.
14341 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14343 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14345 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14346 file: memrchr multiarch for PPC32.
14347 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14349 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14350 (__libc_ifunc_impl_list): Likewise.
14352 * string/memchr.c (__memchr): Using macro to redefine symbol name.
14353 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14355 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14356 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14357 multiarch memchr for PPC32.
14358 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14360 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14361 (__libc_ifunc_impl_list): Likewise.
14363 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14364 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14366 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14368 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14369 file: multiarch mempcpy for PPC32.
14370 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14372 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14373 (__libc_ifunc_impl_list): Likewise.
14375 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14376 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14377 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14378 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14379 multiarch bzero for PPC32.
14380 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14382 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14384 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14385 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14386 file: multiarch memset for PPC32.
14387 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14388 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14389 memset multiarch objects.
14390 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14391 (__libc_ifunc_impl_list): Likewise.
14393 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14395 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14396 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14398 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14399 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14401 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14402 (__libc_ifunc_impl_list): Likewise.
14404 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14405 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14406 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14408 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14410 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14412 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14413 multiarch memcpy for PPC32.
14414 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14416 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14417 (__libc_ifunc_impl_list): Likewise.
14419 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14420 support multiarch for POWER/PPC32.
14421 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14423 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14425 Implies file to make multiarch folder appers before the fpu and
14426 default folder for power4 configuration.
14428 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14430 * scripts/bench.pl: Append volatile keyword to type.
14432 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14434 * sysdeps/sh/sotruss-lib.c: New file.
14435 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14437 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14441 2013-12-05 Joseph Myers <joseph@codesourcery.com>
14444 * math/w_tgamma.c: Include <errno.h>.
14445 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
14446 * math/w_tgammaf.c: Include <errno.h>.
14447 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
14448 * math/w_tgammal.c: Include <errno.h>.
14449 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
14450 * math/auto-libm-test-in: Do not allow missing errno on tgamma
14451 underflow. Add more tgamma tests.
14452 * math/auto-libm-test-out: Regenerated.
14453 * sysdeps/i386/fpu/libm-test-ulps: Update.
14454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14456 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14457 sin, sinh, tan, tanh, tgamma, y0 and y1.
14458 * math/auto-libm-test-out: Regenerated.
14459 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14460 (TEST_COND_x86): Likewise.
14461 (M_E2l): Remove macro.
14463 (M_2_SQRT_PIl): Likewise.
14464 (M_SQRT_PIl): Likewise.
14465 (M_1_DIV_El): Likewise.
14466 (log_test_data): Use AUTO_TESTS_f_f.
14467 (log10_test_data): Likewise.
14468 (log1p_test_data): Likewise.
14469 (log2_test_data): Likewise.
14470 (sin_test_data): Likewise.
14471 (sin_tonearest_test_data): Likewise.
14472 (sin_towardzero_test_data): Likewise.
14473 (sin_downward_test_data): Likewise.
14474 (sin_upward_test_data): Likewise.
14475 (sinh_test_data): Likewise.
14476 (sinh_tonearest_test_data): Likewise.
14477 (sinh_towardzero_test_data): Likewise.
14478 (sinh_downward_test_data): Likewise.
14479 (sinh_upward_test_data): Likewise.
14480 (tan_test_data): Likewise.
14481 (tan_tonearest_test_data): Likewise.
14482 (tan_towardzero_test_data): Likewise.
14483 (tan_downward_test_data): Likewise.
14484 (tan_upward_test_data): Likewise.
14485 (tanh_test_data): Likewise.
14486 (tgamma_test_data): Likewise.
14487 (y0_test_data): Likewise.
14488 (y1_test_data): Likewise.
14489 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14490 (special_real_inputs): Add pi/4.
14491 * sysdeps/i386/fpu/libm-test-ulps: Update.
14492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14494 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14496 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14497 "longjmp_target" static probes.
14498 (__longjmp): Rename to __longjmp_symbol.
14499 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14500 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14501 on which longjmp to generate.
14502 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14503 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14505 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14506 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14507 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14508 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14509 and __sigjmp_save_symbol based on which sigsetjmp to generated.
14510 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14512 __longjmp_symbol based on which __longjmp to generate.
14513 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14515 (setjmp): Rename to setjmp_symbol.
14516 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14517 (_setjmp): Rename to _setjmp_symbol.
14518 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14519 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14520 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14521 which setjmp to generate.
14522 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14523 "longjmp_target" static probes.
14525 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14527 * benchtests/README: Add note about output arguments.
14528 * benchtests/bench-sincos.c: Remove file.
14529 * benchtests/sincos-inputs: New file.
14530 * scripts/bench.pl: Identify output arguments and define
14531 static variables for them.
14533 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14536 * Makefile (INSTALL): Add install-plain.texi as the primary
14538 * manual/install-plain.texi: New file.
14539 * manual/install.texi: Include node directive only for
14540 non-plaintext output.
14542 2013-12-04 Joseph Myers <joseph@codesourcery.com>
14544 * stdlib/longlong.h: Update from GCC.
14548 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14549 * math/w_j0f.c (y0f): Likewise.
14550 * math/w_j0l.c (__y0l): Likewise.
14551 * math/w_j1.c (y1): Likewise.
14552 * math/w_j1f.c (y1f): Likewise.
14553 * math/w_j1l.c (__y1l): Likewise
14554 * math/w_jn.c (yn): Likewise.
14555 * math/w_jnf.c (ynf): Likewise.
14556 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14557 Bessel function pole errors in _POSIX_ mode. Use NAN as return
14558 value for Bessel function domain errors outside _SVID_ mode.
14559 Adjust sign of return value for yn (negative integer, 0).
14560 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14561 by zero in return for negative x and set sign appropriately for
14563 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14564 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14565 * math/libm-test.inc (y0_test_data): Add more tests and adjust
14566 expectations in error cases.
14567 (y1_test_data): Likewise.
14568 (yn_test_data): Likewise.
14569 * sysdeps/i386/fpu/libm-test-ulps: Update.
14570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14572 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14574 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14575 "64" to "64-v1". Add "64-v2".
14576 (abi-64-options): Rename to ...
14577 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
14578 (abi-64-condition): Rename to ...
14579 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
14580 (abi-64-ld-soname): Rename to ...
14581 (abi-64-v1-ld-soname): ... this.
14582 (abi-64-v2-options): Define.
14583 (abi-64-v2-condition): Likewise.
14584 (abi-64-v2-ld-soname): Likewise.
14585 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14586 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14591 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14592 Alan Modra <amodra@gmail.com>
14594 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14595 New versions for use with the ELFv2 ABI.
14596 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14597 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14599 (struct La_ppc64v2_retval): Likewise.
14600 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14601 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14602 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14603 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14604 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14605 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14606 Do not save or restore CR.
14607 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14608 (_dl_profile_resolve): Do no save or restore CR. Support extended
14609 return values for ELFv2 ABI. Fix location of FPR return registers.
14610 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14611 updated values for _CALL_ELF == 2.
14612 (La_regs, La_retval, int_retval): Likewise.
14614 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14616 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14617 (FRAME_MIN_SIZE_PARM): Likewise.
14618 (FRAME_BACKCHAIN): Likewise.
14619 (FRAME_CR_SAVE): Likewise.
14620 (FRAME_LR_SAVE): Likewise.
14621 (FRAME_TOC_SAVE): Likewise.
14622 (FRAME_PARM_SAVE): Likewise.
14623 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14624 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14625 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14626 (call_mcount_parm_offset): New macro.
14627 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14628 (PROF): Use symbolic stack frame offsets.
14629 (TAIL_CALL_SYSCALL_ERROR): Likewise.
14630 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14631 Redefine in terms of FRAME_MIN_SIZE.
14632 (_dl_runtime_resolve): Use symbolic stack frame offsets.
14633 (_dl_profile_resolve): Likewise. Update comment.
14634 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14635 symbols stack frame offsets.
14636 (__sigsetjmp): Likewise.
14637 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14638 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14639 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14640 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14643 (FRAME_BACKCHAIN): Remove.
14644 (FRAME_CR_SAVE): Likewise.
14645 (FRAME_LR_SAVE): Likewise.
14646 (FRAME_COMPILER_DW): Likewise.
14647 (FRAME_LINKER_DW): Likewise.
14648 (FRAME_TOC_SAVE): Likewise.
14649 (FRAME_PARM_SAVE): Likewise.
14650 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14651 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14652 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14654 (CHECK_SP): Use symbolic stack frame offsets.
14655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14656 zone" instead of caller's parameter save area for temp storage.
14657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14658 Likewise. Also, use symbolic stack frame offsets.
14659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14660 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14661 our own stack frame instead of the caller's.
14662 (__socket): Use symbolic stack frame offsets.
14664 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14665 Alan Modra <amodra@gmail.com>
14667 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14669 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14670 (PPC64_LOCAL_ENTRY_OFFSET): Define.
14671 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14673 (elf_machine_fixup_plt): Call it.
14674 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
14676 (elf_machine_rela): Update call to elf_machine_plt_conflict.
14677 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14678 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14679 r2 before calling target.
14681 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14682 Alan Modra <amodra@gmail.com>
14684 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14685 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14686 versions of macros to support ELFv2 ABI.
14687 (LOCALENTRY): New macro.
14688 (ENTRY, EALIGN): Use it.
14689 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14690 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14691 fall through into ENTRY entry point.
14692 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14693 Only define if _CALL_ELF != 2.
14695 (elf_machine_matches_host): Verify ABI version matches.
14696 (RTLD_START): Use LOCALENTRY.
14697 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14698 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14699 (PLT_ENTRY_WORDS): New macro.
14700 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14701 (elf_machine_runtime_setup): Support ELFv2 ABI.
14702 (elf_machine_fixup_plt): Likewise.
14703 (elf_machine_plt_conflict): Likewise.
14704 (resolve_ifunc): Likewise.
14705 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14706 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14709 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14711 (makecontext): Support ELFv2 ABI.
14712 * elf/elf.h (EF_PPC64_ABI): Define.
14714 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14716 * sysdeps/powerpc/powerpc64/sysdep.h
14717 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14718 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14719 (ENTRY) [ASSEMBLER]: ... but instead here ...
14720 (EALIGN) [ASSEMBLER]: ... and here.
14721 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14722 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14723 (ENTRY_2) [!ASSEMBLER]: Use it.
14724 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14725 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
14726 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14727 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14728 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14730 Use PPC64_LOAD_FUNCPTR.
14732 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14734 2013-12-04 Alan Modra <amodra@gmail.com>
14736 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14737 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14738 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14739 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14741 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14742 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14743 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14744 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14745 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14746 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14748 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14751 (__makecontext): Fix incorrect CFI when backtracing out of
14752 context created via makecontext.
14753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14754 (__setcontext): Fix incorrect CFI during switch to new context.
14755 (__novec_setcontext): Likewise.
14757 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14760 * time/strptime_l.c (__strptime_internal): Allow modifiers
14762 * time/tst-strptime.c (day_tests): Add testcase.
14764 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14766 * scripts/bench.pl: Skip over blank lines.
14768 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14771 * manual/time.texi (Calendar Time): Clarify what timezone functions
14774 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14778 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14780 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14782 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14783 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14784 * debug/memset_chk.c (__memset_chk): Likewise.
14785 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14786 * debug/strncpy_chk.c: Likewise.
14788 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14792 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14793 (__ieee754_exp): For possibly underflowing results, check size of
14794 result and force underflow exception if required.
14795 * math/auto-libm-test-in: Add more tests of exp.
14796 * math/auto-libm-test-out: Regenerated.
14797 * sysdeps/i386/fpu/libm-test-ulps: Update.
14798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14801 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14802 * math/w_exp2f.c (__exp2f): Likewise.
14803 * math/w_exp2l.c (__exp2l): Likewise.
14804 * math/auto-libm-test-in: Do not allow missing errno on exp2
14806 * math/auto-libm-test-out: Regenerated.
14808 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
14811 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14812 handle filename validation.
14813 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14816 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14819 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14820 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14821 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14823 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14824 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14825 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14826 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14827 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14828 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14829 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14830 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14831 Add more erfc tests.
14832 * math/auto-libm-test-out: Regenerated.
14833 * sysdeps/i386/fpu/libm-test-ulps: Update.
14834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14836 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14837 exp2, expm1, j0 and j1.
14838 * math/auto-libm-test-out: Regenerated.
14839 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14840 (erfc_test_data): Likewise.
14841 (exp_test_data): Likewise.
14842 (exp_tonearest_test_data): Likewise.
14843 (exp_towardzero_test_data): Likewise.
14844 (exp_downward_test_data): Likewise.
14845 (exp_upward_test_data): Likewise.
14846 (exp10_test_data): Likewise.
14847 (exp2_test_data): Likewise.
14848 (expm1_test_data): Likewise.
14849 (j0_test_data): Likewise.
14850 (j1_test_data): Likewise.
14851 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14852 (input_flag_type): Add flag_xfail_rounding.
14853 (input_flags): Add xfail-rounding.
14854 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14855 (output_for_one_input_case): Handle flag_xfail_rounding.
14856 * sysdeps/i386/fpu/libm-test-ulps: Update.
14857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14859 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14862 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14865 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14868 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14869 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14870 (STAP_PROBE0): New macro.
14871 (STAP_PROBE1): Likewise.
14872 (STAP_PROBE2): Likewise.
14873 (STAP_PROBE3): Likewise.
14874 (STAP_PROBE4): Likewise.
14876 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
14878 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14880 2013-12-02 Steve Ellcey <sellcey@mips.com>
14882 * benchtests/Makefile (bench): Add sqrt.
14883 (LDLIBS-bench-sqrt): New.
14884 * benchtests/sqrt-input: New.
14886 2013-12-02 Pavel Simerda <psimerda@redhat.com>
14888 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14889 (GAIH_EAI): Likewise.
14890 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14891 (gaih_inet): Likewise.
14892 (getaddrinfo): Don't use GAIH_EAI.
14894 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14895 (struct gaih): Remove definition.
14897 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14899 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14900 Use HERRNOP directly.
14902 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14906 2013-11-30 Joseph Myers <joseph@codesourcery.com>
14908 * math/gen-auto-libm-tests.c (test_functions): Add more
14909 single-argument functions.
14910 (special_fill_pi_2): New function.
14911 (special_fill_minus_pi_2): Likewise.
14912 (special_fill_pi_6): Likewise.
14913 (special_fill_minus_pi_6): Likewise.
14914 (special_fill_pi_3): Likewise.
14915 (special_fill_2pi_3): Likewise.
14916 (special_fill_e): Likewise.
14917 (special_fill_1_e): Likewise.
14918 (special_fill_e_minus_1): Likewise.
14919 (special_real_inputs): Add more special inputs.
14920 (output_for_one_input_case): Do not require ERANGE on underflow to
14921 zero if round-to-nearest result does not underflow to zero, unless
14922 exact results required.
14923 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14924 atan, atanh, cbrt, cos and cosh.
14925 * math/auto-libm-test-out: Regenerated.
14926 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14927 (acos_tonearest_test_data): Likewise.
14928 (acos_towardzero_test_data): Likewise.
14929 (acos_downward_test_data): Likewise.
14930 (acos_upward_test_data): Likewise.
14931 (acosh_test_data): Likewise.
14932 (asin_test_data): Likewise.
14933 (asin_tonearest_test_data): Likewise.
14934 (asin_towardzero_test_data): Likewise.
14935 (asin_upward_test_data): Likewise.
14936 (asinh_test_data): Likewise.
14937 (atan_test_data): Likewise.
14938 (atanh_test_data): Likewise.
14939 (cbrt_test_data): Likewise.
14940 (cos_test_data): Likewise.
14941 (cos_tonearest_test_data): Likewise.
14942 (cos_towardzero_test_data): Likewise.
14943 (cos_downward_test_data): Likewise.
14944 (cos_upward_test_data): Likewise.
14945 (cosh_test_data): Likewise.
14946 (cosh_tonearest_test_data): Likewise.
14947 (cosh_towardzero_test_data): Likewise.
14948 (cosh_downward_test_data): Likewise.
14949 (cosh_upward_test_data): Likewise.
14950 * sysdeps/i386/fpu/libm-test-ulps: Update.
14951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14953 2013-11-29 Joseph Myers <joseph@codesourcery.com>
14956 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14957 * math/w_exp10f.c (__exp10f): Likewise.
14958 * math/w_exp10l.c (__exp10l): Likewise.
14959 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14960 errno settings in existing tests.
14963 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14964 precision control set to double precision.
14965 * sysdeps/i386/fpu/w_sqrt.c: New file.
14966 * math/auto-libm-test-in: Add more tests.
14967 * math/auto-libm-test-out: Update.
14969 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14970 (sqrt_test_tonearest): New function.
14971 (sqrt_towardzero_test_data): New variable.
14972 (sqrt_test_towardzero): New function.
14973 (sqrt_downward_test_data): New variable.
14974 (sqrt_test_downward): New function.
14975 (sqrt_upward_test_data): New variable.
14976 (sqrt_test_upward): New function.
14977 (main): Call the new functions.
14979 * math/gen-auto-libm-tests.c: New file.
14980 * math/auto-libm-test-in: Likewise.
14981 * math/auto-libm-test-out: New generated file.
14982 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14984 (%beautify): Add generated representations of zero.
14985 (top level): Set $auto_input and call parse_auto_input.
14986 (beautify): Remove trailing "f" from hex float constants.
14987 (parse_args): Handle XFAIL_TEST.
14988 (convert_condition): New function.
14989 (or_value): Likewise.
14990 (or_cond_value): Likewise.
14991 (generate_testfile): Handle AUTO_TESTS_* lines.
14992 (parse_auto_input): New function.
14993 * math/libm-test.inc (XFAIL_TEST): New macro.
14994 (ERRNO_UNCHANGED): Update value.
14995 (ERRNO_EDOM): Likewise.
14996 (ERRNO_ERANGE): Likewise.
14997 (IGNORE_RESULT): Likewise.
14998 (TEST_COND_flt_32): New macro.
14999 (TEST_COND_dbl_64): Likewise.
15000 (TEST_COND_ldbl_96_intel): Likewise.
15001 (TEST_COND_ldbl_96_m68k): Likewise.
15002 (TEST_COND_ldbl_128): Likewise.
15003 (TEST_COND_ldbl_128ibm): Likewise.
15004 (TEST_COND_long32): Likewise.
15005 (TEST_COND_long64): Likewise.
15006 (TEST_COND_before_rounding): Likewise.
15007 (TEST_COND_after_rounding): Likewise.
15008 (enable_test): Handle XFAIL_TEST flag.
15009 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15010 with finite results.
15011 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15012 auto-libm-test-out.
15014 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15015 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15018 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15019 __tls_get_addr_internal instead of __tls_get_offset in order to
15020 avoid GOT pointer dependency. Make rtld export
15021 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15022 __tls_get_addr since we are a __tls_get_offset platform.
15023 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15024 GOT pointer being set up before.
15025 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15027 2013-11-28 Joseph Myers <joseph@codesourcery.com>
15029 * manual/math.texi (Errors in Math Functions): Document accuracy
15033 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15034 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15035 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15036 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15037 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15038 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15039 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15040 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15041 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15042 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15043 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15044 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15045 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15046 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15047 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15048 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15050 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15051 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15052 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15053 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15054 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15056 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15058 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15060 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15061 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15062 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15063 atomic-feupdateenv and flt-rounds.
15064 * sysdeps/powerpc/nofpu/Versions (libc): Add
15065 __atomic_feholdexcept, __atomic_feclearexcept,
15066 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15067 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15068 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15069 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15070 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15075 * manual/arith.texi (FP Exceptions): Document that exceptions may
15076 not be raised when matherr is used.
15077 (Math Error Reporting): Document overflow in directed rounding
15078 modes. Document that errno may not be set when finite values are
15079 returned on overflow. Document intent to set errno on underflow
15080 only for underflow to zero.
15083 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15084 round-to-nearest then adjust result for other rounding modes.
15085 * include/fenv.h (fegetround): Use libm_hidden_proto.
15086 * math/fegetround.c (fegetround): Use libm_hidden_def.
15087 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15088 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15089 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15090 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15092 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15093 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15094 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15095 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15097 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15100 * nss/Versions (libnss_files): Add
15101 _nss_files_gethostbyname3_r.
15102 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15104 (HOST_DB_LOOKUP): Remove macro.
15105 (_nss_files_gethostbyname_r): Implement function without the
15106 HOST_DB_LOOKUP macro.
15107 (_nss_files_gethostbyname2_r): Likewise.
15109 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
15111 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15113 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
15115 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15116 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15119 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15121 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15122 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15123 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15124 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15125 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15126 __fe_nomask_env_priv and attribute_hidden.
15127 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15128 (libc_feupdateenv_test_ppc): Likewise.
15129 (libc_feresetround_ppc): Likewise.
15130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15131 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15132 compat_symbol macro.
15133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15134 (__fe_nomask_env): Likewise.
15135 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15137 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15139 * string/Makefile: Remove ifunc tests.
15140 * string/test-string.h: Define TEST_IFUNC.
15141 * string/test-bcopy-ifunc.c: Remove.
15142 * string/test-bzero-ifunc.c: Likewise.
15143 * string/test-memccpy-ifunc.c: Likewise.
15144 * string/test-memchr-ifunc.c: Likewise.
15145 * string/test-memcmp-ifunc.c: Likewise.
15146 * string/test-memcpy-ifunc.c: Likewise.
15147 * string/test-memmem-ifunc.c: Likewise.
15148 * string/test-memmove-ifunc.c: Likewise.
15149 * string/test-mempcpy-ifunc.c: Likewise.
15150 * string/test-memrchr-ifunc.c: Likewise.
15151 * string/test-memset-ifunc.c: Likewise.
15152 * string/test-rawmemchr-ifunc.c: Likewise.
15153 * string/test-stpcpy-ifunc.c: Likewise.
15154 * string/test-stpncpy-ifunc.c: Likewise.
15155 * string/test-strcasecmp-ifunc.c: Likewise.
15156 * string/test-strcasestr-ifunc.c: Likewise.
15157 * string/test-strcat-ifunc.c: Likewise.
15158 * string/test-strchr-ifunc.c: Likewise.
15159 * string/test-strchrnul-ifunc.c: Likewise.
15160 * string/test-strcmp-ifunc.c: Likewise.
15161 * string/test-strcpy-ifunc.c: Likewise.
15162 * string/test-strcspn-ifunc.c: Likewise.
15163 * string/test-strlen-ifunc.c: Likewise.
15164 * string/test-strncasecmp-ifunc.c: Likewise.
15165 * string/test-strncat-ifunc.c: Likewise.
15166 * string/test-strncmp-ifunc.c: Likewise.
15167 * string/test-strncpy-ifunc.c: Likewise.
15168 * string/test-strnlen-ifunc.c: Likewise.
15169 * string/test-strpbrk-ifunc.c: Likewise.
15170 * string/test-strrchr-ifunc.c: Likewise.
15171 * string/test-strspn-ifunc.c: Likewise.
15172 * string/test-strstr-ifunc.c: Likewise.
15174 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15176 * benchtests/Makefile: Remove ifunc tests.
15177 * benchtests/bench-string.h: Define TEST_IFUNC.
15178 * benchtests/bench-bcopy-ifunc.c: Remove.
15179 * benchtests/bench-bzero-ifunc.c: Likewise.
15180 * benchtests/bench-memccpy-ifunc.c: Likewise.
15181 * benchtests/bench-memchr-ifunc.c: Likewise.
15182 * benchtests/bench-memcmp-ifunc.c: Likewise.
15183 * benchtests/bench-memcpy-ifunc.c: Likewise.
15184 * benchtests/bench-memmem-ifunc.c: Likewise.
15185 * benchtests/bench-memmove-ifunc.c: Likewise.
15186 * benchtests/bench-mempcpy-ifunc.c: Likewise.
15187 * benchtests/bench-memrchr-ifunc.c: Likewise.
15188 * benchtests/bench-memset-ifunc.c: Likewise.
15189 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15190 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15191 * benchtests/bench-stpcpy-ifunc.c: Likewise.
15192 * benchtests/bench-stpncpy-ifunc.c: Likewise.
15193 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15194 * benchtests/bench-strcasestr-ifunc.c: Likewise.
15195 * benchtests/bench-strcat-ifunc.c: Likewise.
15196 * benchtests/bench-strchr-ifunc.c: Likewise.
15197 * benchtests/bench-strchrnul-ifunc.c: Likewise.
15198 * benchtests/bench-strcmp-ifunc.c: Likewise.
15199 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15200 * benchtests/bench-strcpy-ifunc.c: Likewise.
15201 * benchtests/bench-strcspn-ifunc.c: Likewise.
15202 * benchtests/bench-strlen-ifunc.c: Likewise.
15203 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15204 * benchtests/bench-strncat-ifunc.c: Likewise.
15205 * benchtests/bench-strncmp-ifunc.c: Likewise.
15206 * benchtests/bench-strncpy-ifunc.c: Likewise.
15207 * benchtests/bench-strnlen-ifunc.c: Likewise.
15208 * benchtests/bench-strpbrk-ifunc.c: Likewise.
15209 * benchtests/bench-strrchr-ifunc.c: Likewise.
15210 * benchtests/bench-strsep-ifunc.c: Likewise.
15211 * benchtests/bench-strspn-ifunc.c: Likewise.
15212 * benchtests/bench-strstr-ifunc.c: Likewise.
15214 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15216 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15218 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15220 * resolv/netdb.h: Use __glibc_reserved instead __unused.
15221 * rt/aio.h: Likewise.
15222 * sysdeps/gnu/bits/utmp.h: Likewise.
15223 * sysdeps/gnu/bits/utmpx.h: Likewise.
15224 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15225 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15226 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15227 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15228 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15229 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15230 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15231 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15232 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15233 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15234 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15235 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15236 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15238 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15239 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15240 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15241 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15242 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15243 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15244 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15245 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15246 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15247 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15248 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15249 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15250 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15251 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15252 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15253 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15254 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15255 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15256 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15257 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15258 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15259 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15260 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15261 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15262 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15263 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15264 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15265 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15267 2013-11-25 Carlos O'Donell <carlos@redhat.com>
15270 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15271 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15273 2013-11-25 Joseph Myers <joseph@codesourcery.com>
15275 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15276 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15279 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15281 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15282 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15283 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15284 (__fesetround): Remove define.
15285 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15286 rounding and exceptions handling.
15287 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15288 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15289 (__fe_nomask_env): Likewise.
15290 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15291 __fegetround instead of fegetround.
15292 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15293 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15295 2013-11-21 Roland McGrath <roland@hack.frob.com>
15297 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15300 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15302 2013-11-21 Meador Inge <meadori@codesourcery.com>
15305 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15306 (encrypt_r): Likewise.
15307 * malloc/obstack.h (obstack_free): Likewise.
15308 * posix/unistd.h (encrypt): Likewise.
15310 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
15312 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15313 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15314 DL_CALL_DT_FINI() that call the functions directly.
15315 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15316 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15317 * elf/dl-fini.c: Likewise.
15319 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
15321 * malloc/hooks.c (memalign_check): Add alignment rounding.
15322 * malloc/malloc.c (_mid_memalign): New function.
15323 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15324 Implement by calling _mid_memalign.
15325 * manual/probes.texi (Memory Allocation Probes): Remove
15326 memory_valloc_retry and memory_pvalloc_retry.
15328 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15330 * locale/programs/locarchive.c (open_archive): Add const
15331 qualifier to ARCHIVEFNAME and copy default fname to
15335 * libio/tst-widetext.input: Rename Oriya to Odia.
15336 * locale/iso-639.def: Likewise.
15338 * manual/probes.texi (Mathematical Function Probes): Add
15339 documentation for sin, cos, asin and acos probes.
15340 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15341 (__sin32): Add slowasin probe.
15342 (__cos32): Add slowacos probe.
15343 (__mpsin): Add slowsin probe.
15344 (__mpcos): Add slowcos probe.
15346 2013-11-19 Joseph Myers <joseph@codesourcery.com>
15349 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15350 thread-local __sim_exceptions_thread and global
15351 __sim_exceptions_global.
15352 (__sim_disabled_exceptions): Change to thread-local
15353 __sim_disabled_exceptions_thread and global
15354 __sim_disabled_exceptions_global.
15355 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15356 and global __sim_round_mode_global.
15357 (__simulate_exceptions): Use thread-local floating-point state and
15358 set global state from it as needed.
15359 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15360 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15361 __sim_round_mode_thread.
15362 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15363 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15364 and global __sim_exceptions_global.
15365 (__sim_disabled_exceptions): Change to thread-local
15366 __sim_disabled_exceptions_thread and global
15367 __sim_disabled_exceptions_global.
15368 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15369 and global __sim_round_mode_global.
15370 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15371 (SIM_SET_GLOBAL): Likewise.
15372 * sysdeps/powerpc/soft-fp/sfp-machine.h
15373 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15374 __sim_round_mode_thread.
15375 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15376 __sim_disabled_exceptions_thread.
15377 (__sim_exceptions): Change to __sim_exceptions_thread.
15378 (__sim_disabled_exceptions): Change to
15379 __sim_disabled_exceptions_thread.
15380 (__sim_round_mode): Change to __sim_round_mode_thread.
15381 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15382 thread-local floating-point state and set global state from it as
15384 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15385 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15386 (__sim_disabled_exceptions): Remove extern declaration.
15387 (feenableexcept): Use thread-local floating-point state and set
15388 global state from it as needed.
15389 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15390 extern declaration.
15391 (__sim_disabled_exceptions): Likewise.
15392 (__sim_round_mode): Likewise.
15393 (__fegetenv): Use thread-local floating-point state.
15394 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15395 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15396 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15397 floating-point state and set global state from it as needed.
15398 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15399 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15400 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15402 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15403 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15405 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15406 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15407 Use __sim_round_mode_thread.
15408 * math/test-fenv-tls.c: New file.
15409 * math/Makefile (tests): Add test-fenv-tls.
15410 ($(objpfx)test-fenv-tls): Depend on
15411 $(common-objpfx)nptl/libpthread.so.
15413 2013-11-19 Andreas Schwab <schwab@suse.de>
15415 * locale/programs/locale.c (show_info): Decode wordarray elements.
15416 * locale/categories.def (LC_MONETARY): Add element for
15417 _NL_MONETARY_CRNCYSTR.
15418 * locale/C-monetary.c (conversion_rate): New variable.
15419 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15422 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
15424 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15425 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15427 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15429 * elf/Makefile (tst-auxv): New test.
15430 * elf/tst-auxv.c: New
15431 * elf/rtld.c (dl_main): Adjust AT_EXECFN
15433 2013-11-18 Joseph Myers <joseph@codesourcery.com>
15435 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15436 (hidden_proto): Caller changed.
15437 (hidden_tls_proto): New macro.
15438 (libc_hidden_tls_proto): Likewise.
15439 (rtld_hidden_tls_proto): Likewise.
15440 (libm_hidden_tls_proto): Likewise.
15441 (libresolv_hidden_tls_proto): Likewise.
15442 (librt_hidden_tls_proto): Likewise.
15443 (libdl_hidden_tls_proto): Likewise.
15444 (libnss_files_hidden_tls_proto): Likewise.
15445 (libnsl_hidden_tls_proto): Likewise.
15446 (libnss_nisplus_hidden_tls_proto): Likewise.
15447 (libutil_hidden_tls_proto): Likewise.
15449 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
15452 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15453 (decompose_rpath): Defer expansion to fillin_rpath.
15454 (_dl_init_paths): Pass linkmap to fillin_rpath.
15456 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15458 * benchtests/Makefile: Add strsep.
15459 * benchtests/bench-strsep.c: New file: strsep benchtest.
15460 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15462 2013-11-18 Andreas Schwab <schwab@suse.de>
15464 * locale/programs/locale.c (show_info) [case byte]: Check for
15465 '\377' instead of '\177'.
15466 * locale/C-monetary.c (not_available): Always use "\377".
15467 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15468 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
15469 detect unavailable sign_posn locale elements.
15470 * locale/localeconv.c (__localeconv): For grouping and
15471 mon_grouping handle "\177" and "\377" like no grouping.
15472 (INT_ELEM): New macro. Use it to set all numeric members.
15473 * locale/programs/ld-monetary.c (monetary_read)
15474 <tok_mon_grouping>: Normalize single -1 to the empty string.
15475 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15478 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15481 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15482 when we match (nil).
15483 * stdio-common/tst-sscanf.c (struct test): Add testcase.
15485 2013-11-16 Joseph Myers <joseph@codesourcery.com>
15487 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15488 (NO_TEST_INLINE): Update value.
15489 (ERRNO_UNCHANGED): Likewise.
15490 (ERRNO_EDOM): Likewise.
15491 (ERRNO_ERANGE): Likewise.
15492 (IGNORE_RESULT): Likewise.
15493 (check_float_internal): Check signs of NaN results if
15494 TEST_NAN_SIGN used.
15495 (check_complex): Pass TEST_NAN_SIGN flag through to second
15496 check_float_internal call.
15497 (copysign_test_data): Add tests with quiet NaNs as second
15498 argument. Use TEST_NAN_SIGN.
15499 (fabs_test_data): Add test of negative quiet NaN argument. Use
15501 (signbit_test_data): Add tests of quiet NaN argument.
15502 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15504 * math/gen-libm-test.pl (show_exceptions): Take extra argument
15506 (parse_args): Handle function results specified as IGNORE.
15507 * math/libm-test.inc (IGNORE_RESULT): New macro.
15508 (check_float_internal): Do not check numerical result if flag
15510 (check_complex): Pass through IGNORE_RESULT to second
15511 check_float_internal call.
15512 (check_int): Do not check numerical result if flag IGNORE_RESULT
15514 (check_long): Likewise.
15515 (check_bool): Likewise.
15516 (check_longlong): Likewise.
15517 (lrint_test_data): Add tests of infinite and NaN arguments.
15518 (lrint_tonearest_test_data): Likewise.
15519 (lrint_towardzero_test_data): Likewise.
15520 (lrint_downward_test_data): Likewise.
15521 (lrint_upward_test_data): Likewise.
15522 (llrint_test_data): Likewise.
15523 (llrint_tonearest_test_data): Likewise.
15524 (llrint_towardzero_test_data): Likewise.
15525 (llrint_downward_test_data): Likewise.
15526 (llrint_upward_test_data): Likewise.
15527 (lround_test_data): Likewise.
15528 (llround_test_data): Likewise.
15530 * math/libm-test.inc (NO_TEST_INLINE): New macro.
15531 (ERRNO_UNCHANGED): Update value.
15532 (ERRNO_EDOM): Likewise.
15533 (ERRNO_ERANGE): Likewise.
15534 (NO_TEST_INLINE_FLOAT): New macro.
15535 (NO_TEST_INLINE_DOUBLE): Likewise.
15536 (enable_test): New function.
15537 (RUN_TEST_f_f): Check enable_test before running test.
15538 (RUN_TEST_2_f): Likewise.
15539 (RUN_TEST_fff_f): Likewise.
15540 (RUN_TEST_c_f): Likewise.
15541 (RUN_TEST_f_f1): Likewise.
15542 (RUN_TEST_fF_f1): Likewise.
15543 (RUN_TEST_fI_f1): Likewise.
15544 (RUN_TEST_ffI_f1): Likewise.
15545 (RUN_TEST_c_c): Likewise.
15546 (RUN_TEST_cc_c): Likewise.
15547 (RUN_TEST_f_i): Likewise.
15548 (RUN_TEST_f_i_tg): Likewise.
15549 (RUN_TEST_ff_i_tg): Likewise.
15550 (RUN_TEST_f_b): Likewise.
15551 (RUN_TEST_f_b_tg): Likewise.
15552 (RUN_TEST_f_l): Likewise.
15553 (RUN_TEST_f_L): Likewise.
15554 (RUN_TEST_fFF_11): Likewise.
15555 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15557 (cosh_test_data): Likewise.
15558 (exp_test_data): Likewise.
15559 (expm1_test_data): Likewise.
15560 (hypot_test_data): Likewise.
15561 (pow_test_data): Likewise.
15562 (sinh_test_data): Likewise.
15563 (tanh_test_data): Likewise.
15564 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15567 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15568 tests with quiet NaN input and output.
15569 (acosh_test_data): Likewise.
15570 (asin_test_data): Likewise.
15571 (asinh_test_data): Likewise.
15572 (atan_test_data): Likewise.
15573 (atanh_test_data): Likewise.
15574 (atan2_test_data): Likewise.
15575 (cbrt_test_data): Likewise.
15576 (cos_test_data): Likewise.
15577 (cosh_test_data): Likewise.
15578 (erf_test_data): Likewise.
15579 (erfc_test_data): Likewise.
15580 (exp_test_data): Likewise.
15581 (exp10_test_data): Likewise.
15582 (exp2_test_data): Likewise.
15583 (expm1_test_data): Likewise.
15584 (hypot_test_data): Likewise.
15585 (j0_test_data): Likewise.
15586 (j1_test_data): Likewise.
15587 (jn_test_data): Likewise.
15588 (lgamma_test_data): Likewise.
15589 (log_test_data): Likewise.
15590 (log10_test_data): Likewise.
15591 (log1p_test_data): Likewise.
15592 (log2_test_data): Likewise.
15593 (pow_test_data): Likewise.
15594 (scalb_test_data): Likewise.
15595 (sin_test_data): Likewise.
15596 (sincos_test_data): Likewise.
15597 (sinh_test_data): Likewise.
15598 (tan_test_data): Likewise.
15599 (tanh_test_data): Likewise.
15600 (tgamma_test_data): Likewise.
15601 (y0_test_data): Likewise.
15602 (y1_test_data): Likewise.
15603 (yn_test_data): Likewise.
15606 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15607 argument being NaN and avoid computations with second argument in
15609 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15610 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15611 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15613 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
15615 * locale/iso-639.def: Add Chitwani Tharu (the).
15617 2013-11-14 Andreas Schwab <schwab@suse.de>
15619 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15620 word instead of empty string.
15622 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15625 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15627 (__fe_nomask_env): Likewise.
15629 2013-11-13 Steve Ellcey <sellcey@mips.com>
15631 * benchtests/bench-timing.h: Include time.h.
15633 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
15636 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15638 * sysdeps/unix/sysv/linux/configure: Regenerated.
15640 2013-11-13 Joseph Myers <joseph@codesourcery.com>
15643 * stdlib/strtod_l.c (round_and_return): Do not consider
15644 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15645 exponent one less than half the least subnormal exponent.
15646 * stdlib/test-strtod-round-data: Add more tests.
15647 * stdlib/tst-strtod-round.c (tests): Regenerated.
15649 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15652 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15653 (__fe_mask_env): Likewise.
15654 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15655 libm_hidden_proto and add function prototype.
15656 (__fe_mask_env): Add function prototype.
15657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15658 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15660 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15662 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15664 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15666 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15667 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15669 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15671 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15672 of htab_find_slot().
15674 2013-11-11 David S. Miller <davem@davemloft.net>
15677 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15678 symbol in the non-vis3 case in static builds.
15679 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15680 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15681 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15682 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15684 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15687 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15690 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15692 * benchtests/Makefile: Add bench-strtod.
15693 * benchtests/bench-strtod.c: New file: strtod benchtest
15695 2013-11-11 Andreas Schwab <schwab@suse.de>
15698 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15699 terminating NUL in key length.
15701 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15703 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15704 Add artificial ODP entry for vDSO symbol for PPC64.
15705 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15706 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15708 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15711 * nss/getent.c (services_keys): Recognize services starting with digit.
15713 2013-11-06 David S. Miller <davem@davemloft.net>
15716 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15717 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15719 2013-11-06 Will Newton <will.newton@linaro.org>
15721 * manual/memory.texi (Malloc Examples): Remove register
15722 keyword from examples.
15724 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
15726 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15728 2013-11-04 Joseph Myers <joseph@codesourcery.com>
15731 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15732 depending on [__GCC_IEC_559 > 0].
15733 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15734 depending on [__GCC_IEC_559_COMPLEX > 0].
15736 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
15738 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15741 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
15743 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15745 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
15748 * malloc/malloc (malloc_info): Do not handle first bin as
15751 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
15753 * locale/iso-639.def: Add Central Nahuatl (nhn).
15755 2013-11-01 Bruno Haible <bruno@clisp.org>
15758 * manual/math.texi (BSD Random): Specify range upper bound as
15761 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
15763 * locale/iso-639.def: Add Meadow Mari (mhr).
15765 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
15767 [BZ #14752], [BZ #15763]
15768 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15770 * rt/tst_shm.c: Add test for escaping directory.
15772 2013-10-31 Andreas Schwab <schwab@suse.de>
15775 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15776 followed by 'x' as part of digit sequence.
15777 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15779 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15782 * configure.ac: allow GNU Make 4.0 and greater.
15783 * configure: Regenerated.
15785 2013-10-30 Will Newton <will.newton@linaro.org>
15788 * malloc/hooks.c (memalign_check): Limit alignment to the
15789 maximum representable power of two.
15790 * malloc/malloc.c (__libc_memalign): Likewise.
15791 * malloc/tst-memalign.c (do_test): Add test for very
15792 large alignment values.
15793 * malloc/tst-posix_memalign.c (do_test): Likewise.
15795 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15798 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15799 (munmap_chunk): Likewise.
15800 (mremap_chunk): Likewise.
15802 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15805 * stdlib/div.c (div): Remove obsolete code.
15806 * stdlib/ldiv.c (ldiv): Likewise.
15807 * stdlib/lldiv.c (lldiv): Likewise.
15809 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15812 * nss/nss_files/files-XXX.c (get_contents_ret): New
15814 (get_contents): New function.
15815 (internal_getent): Use it. Expand size of LINEBUFLEN.
15817 2013-10-30 Mike Frysinger <vapier@gentoo.org>
15819 * configure.in: Moved to ...
15820 * configure.ac: ... here. Change reference to configure.in
15822 * sysdeps/arm/preconfigure.ac: ... here.
15823 configure.in to configure.ac.
15824 * sysdeps/gnu/configure.in: Moved to ...
15825 * sysdeps/gnu/configure.ac: ... here.
15826 * sysdeps/i386/configure.in: Moved to ...
15827 * sysdeps/i386/configure.ac: ... here.
15828 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15829 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15830 * sysdeps/mach/configure.in: Moved to ...
15831 * sysdeps/mach/configure.ac: ... here.
15832 * sysdeps/mach/hurd/configure.in: Moved to ...
15833 * sysdeps/mach/hurd/configure.ac: ... here.
15834 * sysdeps/powerpc/configure.in: Moved to ...
15835 * sysdeps/powerpc/configure.ac: ... here.
15836 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15837 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15838 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15839 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15840 * sysdeps/s390/s390-32/configure.in: Moved to ...
15841 * sysdeps/s390/s390-32/configure.ac: ... here.
15842 * sysdeps/s390/s390-64/configure.in: Moved to ...
15843 * sysdeps/s390/s390-64/configure.ac: ... here.
15844 * sysdeps/sh/configure.in: Moved to ...
15845 * sysdeps/sh/configure.ac: ... here.
15846 * sysdeps/sparc/configure.in: Moved to ...
15847 * sysdeps/sparc/configure.ac: ... here.
15848 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15849 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15850 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15851 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15852 * sysdeps/x86_64/configure.in: Moved to ...
15853 * sysdeps/x86_64/configure.ac: ... here.
15854 * sysdeps/x86_64/preconfigure.in: Moved to ...
15855 * sysdeps/x86_64/preconfigure.ac: ... here.
15856 * aclocal.m4: Change reference to configure.in to configure.ac.
15857 * config.h.in: Likewise.
15858 * manual/install.texi: Likewise.
15859 * manual/maint.texi: Likewise.
15860 * Makefile: Likewise.
15861 * malloc/Makefile: Likewise.
15862 * nscd/Makefile: Likewise.
15863 * Makeconfig: Change reference to configure.in and
15864 preconfigure.in to configure.ac and preconfigure.ac
15866 * INSTALL: Regenerated.
15867 * configure: Likewise.
15868 * sysdeps/gnu/configure: Likewise.
15869 * sysdeps/i386/configure: Likewise.
15870 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15871 * sysdeps/mach/configure: Likewise.
15872 * sysdeps/mach/hurd/configure: Likewise.
15873 * sysdeps/powerpc/configure: Likewise.
15874 * sysdeps/powerpc/powerpc32/configure: Likewise.
15875 * sysdeps/powerpc/powerpc64/configure: Likewise.
15876 * sysdeps/s390/s390-32/configure: Likewise.
15877 * sysdeps/s390/s390-64/configure: Likewise.
15878 * sysdeps/sh/configure: Likewise.
15879 * sysdeps/sparc/configure: Likewise.
15880 * sysdeps/unix/sysv/linux/configure: Likewise.
15881 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15882 * sysdeps/x86_64/configure: Likewise.
15883 * sysdeps/x86_64/preconfigure: Likewise.
15885 2013-10-29 Andreas Schwab <schwab@suse.de>
15887 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15889 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15891 * benchtests/pow-inputs: Add new inputs.
15893 * benchtests/exp-inputs: Add new inputs.
15895 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15896 conditional check for return value.
15897 (__cos32): Likewise.
15899 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15901 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15902 to provide a boost for large inputs with word alignment.
15903 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15904 implementation based on optimized PPC64 strcpy.
15905 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15906 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15907 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15908 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15910 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15913 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15915 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15918 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15919 * time/tst-strptime.c (day_tests): Add testcase.
15921 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15924 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15926 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15929 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15930 MAP_FAILED on error.
15932 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15935 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15936 heap for large requests.
15938 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15941 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15942 result if the result has no associated interface.
15943 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15944 interface for all 127.X.Y.Z addresses.
15946 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
15948 * locale/iso-639.def: Add Ligurian (lij)
15950 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
15953 * sunrpc/rpc_main.c: Document rpcgen -5.
15955 2013-10-19 Michael Stahl <mstahl@redhat.com>
15957 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15959 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15962 * posix/glob.c: Match only directories when trailing slash is present.
15963 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15964 (main): Add testcase.
15966 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15969 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15971 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15973 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15974 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15975 AUTH_DES and cindex for FIPS 140-2.
15976 (DES Encryption): Add cindex FIPS 46-3.
15978 * locale/locarchive.h (struct locarhandle): Add fname.
15979 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15980 if an optional argument was specified to --list-archive,
15982 * locale/programs/locarchive.c (show_archive_content): Take new
15983 argument fname and pass it via ah.fname to open_archive.
15984 * locale/programs/localedef.h: Update decl.
15985 (open_archive): If AH->fname is non-null, open that file
15986 rather than the default file name, and don't ignore ENOENT.
15987 (create_archive): Set AH.fname to NULL.
15988 (delete_locales_from_archive): Likewise.
15989 (add_locales_to_archive): Likewise.
15990 * locale/programs/locfile.c (write_all_categories): Likewise.
15992 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15993 Aldy Hernandez <aldyh@redhat.com>
15995 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15996 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15997 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15998 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15999 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16000 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16001 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16002 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16003 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16004 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16005 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16006 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16007 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16008 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16009 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16011 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16013 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16015 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16017 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16018 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16020 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16021 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16022 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16023 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16025 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16026 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16027 * sysdeps/powerpc/preconfigure: Likewise.
16028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16030 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16031 Replace contents of file by #include of <fenv_libc.h>.
16032 * sysdeps/powerpc/soft-fp/sfp-machine.h
16033 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16035 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16036 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16037 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16038 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16039 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16040 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16041 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16042 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16043 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16044 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16045 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16046 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16048 Allow copysignl PLT reference to be missing.
16050 2013-10-18 Richard Sandiford <richard@codesourcery.com>
16051 Joseph Myers <joseph@codesourcery.com
16054 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16056 (add_to_tablewc): Assert sequence of wide characters is nonempty.
16058 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16060 * elf/tst-tls-dlinfo.c: Don't include tls.h.
16061 * elf/tst-tls1.c: Likewise.
16062 * elf/tst-tls10.h: Likewise.
16063 * elf/tst-tls14.c: Likewise.
16064 * elf/tst-tls2.c: Likewise.
16065 * elf/tst-tls3.c: Likewise.
16066 * elf/tst-tls4.c: Likewise.
16067 * elf/tst-tls5.c: Likewise.
16068 * elf/tst-tls6.c: Likewise.
16069 * elf/tst-tls7.c: Likewise.
16070 * elf/tst-tls8.c: Likewise.
16071 * elf/tst-tls9.c: Likewise.
16072 * elf/tst-tlsmod1.c: Likewise.
16073 * elf/tst-tlsmod13.c: Likewise.
16074 * elf/tst-tlsmod13a.c: Likewise.
16075 * elf/tst-tlsmod14a.c: Likewise.
16076 * elf/tst-tlsmod16a.c: Likewise.
16077 * elf/tst-tlsmod16b.c: Likewise.
16078 * elf/tst-tlsmod2.c: Likewise.
16079 * elf/tst-tlsmod3.c: Likewise.
16080 * elf/tst-tlsmod4.c: Likewise.
16081 * elf/tst-tlsmod5.c: Likewise.
16082 * elf/tst-tlsmod6.c: Likewise.
16084 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
16087 * malloc/malloc.c: remove checks for statistics.
16089 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
16092 * inet/inet_net.c (inet_network): Detect additional invalid strings.
16093 * inet/tst-network.c: Add testcase.
16095 2013-10-17 Andreas Schwab <schwab@suse.de>
16098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16099 to determine canonical name.
16101 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
16103 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16104 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16105 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16106 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16107 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16108 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16109 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16110 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16111 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16112 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16113 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16114 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16115 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16116 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16117 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16118 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16119 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16120 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16121 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16122 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16123 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16124 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16125 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16126 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16127 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16128 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16129 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16130 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16131 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16132 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16133 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16134 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16135 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16136 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16137 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16138 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16139 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16140 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16141 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16142 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16143 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16144 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16145 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16146 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16147 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16148 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16149 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16150 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16151 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16152 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16153 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16154 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16155 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16156 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16157 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16158 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16159 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16160 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16162 2013-10-17 Joseph Myers <joseph@codesourcery.com>
16165 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16166 make result into a quiet NaN.
16168 2013-10-16 Joseph Myers <joseph@codesourcery.com>
16170 * soft-fp/adddf3.c: Fix horizontal whitespace.
16171 * soft-fp/addsf3.c: Likewise.
16172 * soft-fp/addtf3.c: Likewise.
16173 * soft-fp/divdf3.c: Likewise.
16174 * soft-fp/divsf3.c: Likewise.
16175 * soft-fp/divtf3.c: Likewise.
16176 * soft-fp/double.h: Likewise.
16177 * soft-fp/eqdf2.c: Likewise.
16178 * soft-fp/eqsf2.c: Likewise.
16179 * soft-fp/eqtf2.c: Likewise.
16180 * soft-fp/extenddftf2.c: Likewise.
16181 * soft-fp/extended.h: Likewise.
16182 * soft-fp/extendsfdf2.c: Likewise.
16183 * soft-fp/extendsftf2.c: Likewise.
16184 * soft-fp/extendxftf2.c: Likewise.
16185 * soft-fp/fixdfdi.c: Likewise.
16186 * soft-fp/fixdfsi.c: Likewise.
16187 * soft-fp/fixdfti.c: Likewise.
16188 * soft-fp/fixsfdi.c: Likewise.
16189 * soft-fp/fixsfsi.c: Likewise.
16190 * soft-fp/fixsfti.c: Likewise.
16191 * soft-fp/fixtfdi.c: Likewise.
16192 * soft-fp/fixtfsi.c: Likewise.
16193 * soft-fp/fixtfti.c: Likewise.
16194 * soft-fp/fixunsdfdi.c: Likewise.
16195 * soft-fp/fixunsdfsi.c: Likewise.
16196 * soft-fp/fixunsdfti.c: Likewise.
16197 * soft-fp/fixunssfdi.c: Likewise.
16198 * soft-fp/fixunssfsi.c: Likewise.
16199 * soft-fp/fixunssfti.c: Likewise.
16200 * soft-fp/fixunstfdi.c: Likewise.
16201 * soft-fp/fixunstfsi.c: Likewise.
16202 * soft-fp/fixunstfti.c: Likewise.
16203 * soft-fp/floatdidf.c: Likewise.
16204 * soft-fp/floatdisf.c: Likewise.
16205 * soft-fp/floatditf.c: Likewise.
16206 * soft-fp/floatsidf.c: Likewise.
16207 * soft-fp/floatsisf.c: Likewise.
16208 * soft-fp/floatsitf.c: Likewise.
16209 * soft-fp/floattidf.c: Likewise.
16210 * soft-fp/floattisf.c: Likewise.
16211 * soft-fp/floattitf.c: Likewise.
16212 * soft-fp/floatundidf.c: Likewise.
16213 * soft-fp/floatundisf.c: Likewise.
16214 * soft-fp/floatunditf.c: Likewise.
16215 * soft-fp/floatunsidf.c: Likewise.
16216 * soft-fp/floatunsisf.c: Likewise.
16217 * soft-fp/floatunsitf.c: Likewise.
16218 * soft-fp/floatuntidf.c: Likewise.
16219 * soft-fp/floatuntisf.c: Likewise.
16220 * soft-fp/floatuntitf.c: Likewise.
16221 * soft-fp/fmadf4.c: Likewise.
16222 * soft-fp/fmasf4.c: Likewise.
16223 * soft-fp/fmatf4.c: Likewise.
16224 * soft-fp/gedf2.c: Likewise.
16225 * soft-fp/gesf2.c: Likewise.
16226 * soft-fp/getf2.c: Likewise.
16227 * soft-fp/ledf2.c: Likewise.
16228 * soft-fp/lesf2.c: Likewise.
16229 * soft-fp/letf2.c: Likewise.
16230 * soft-fp/muldf3.c: Likewise.
16231 * soft-fp/mulsf3.c: Likewise.
16232 * soft-fp/multf3.c: Likewise.
16233 * soft-fp/negdf2.c: Likewise.
16234 * soft-fp/negsf2.c: Likewise.
16235 * soft-fp/negtf2.c: Likewise.
16236 * soft-fp/op-1.h: Likewise.
16237 * soft-fp/op-2.h: Likewise.
16238 * soft-fp/op-4.h: Likewise.
16239 * soft-fp/op-8.h: Likewise.
16240 * soft-fp/op-common.h: Likewise.
16241 * soft-fp/quad.h: Likewise.
16242 * soft-fp/single.h: Likewise.
16243 * soft-fp/soft-fp.h: Likewise.
16244 * soft-fp/sqrtdf2.c: Likewise.
16245 * soft-fp/sqrtsf2.c: Likewise.
16246 * soft-fp/sqrttf2.c: Likewise.
16247 * soft-fp/subdf3.c: Likewise.
16248 * soft-fp/subsf3.c: Likewise.
16249 * soft-fp/subtf3.c: Likewise.
16250 * soft-fp/truncdfsf2.c: Likewise.
16251 * soft-fp/trunctfdf2.c: Likewise.
16252 * soft-fp/trunctfsf2.c: Likewise.
16253 * soft-fp/trunctfxf2.c: Likewise.
16254 * soft-fp/unorddf2.c: Likewise.
16255 * soft-fp/unordsf2.c: Likewise.
16256 * soft-fp/unordtf2.c: Likewise.
16258 2013-10-15 Joseph Myers <joseph@codesourcery.com>
16260 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16261 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16263 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
16265 * elf/dl-libc.c: Clear initfini list after freeing.
16267 2013-10-14 Joseph Myers <joseph@codesourcery.com>
16269 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16270 * soft-fp/addsf3.c: Likewise.
16271 * soft-fp/addtf3.c: Likewise.
16272 * soft-fp/divdf3.c: Likewise.
16273 * soft-fp/divsf3.c: Likewise.
16274 * soft-fp/divtf3.c: Likewise.
16275 * soft-fp/double.h: Likewise.
16276 * soft-fp/eqdf2.c: Likewise.
16277 * soft-fp/eqsf2.c: Likewise.
16278 * soft-fp/eqtf2.c: Likewise.
16279 * soft-fp/extenddftf2.c: Likewise.
16280 * soft-fp/extended.h: Likewise.
16281 * soft-fp/extendsfdf2.c: Likewise.
16282 * soft-fp/extendsftf2.c: Likewise.
16283 * soft-fp/extendxftf2.c: Likewise.
16284 * soft-fp/fixdfdi.c: Likewise.
16285 * soft-fp/fixdfsi.c: Likewise.
16286 * soft-fp/fixdfti.c: Likewise.
16287 * soft-fp/fixsfdi.c: Likewise.
16288 * soft-fp/fixsfsi.c: Likewise.
16289 * soft-fp/fixsfti.c: Likewise.
16290 * soft-fp/fixtfdi.c: Likewise.
16291 * soft-fp/fixtfsi.c: Likewise.
16292 * soft-fp/fixtfti.c: Likewise.
16293 * soft-fp/fixunsdfdi.c: Likewise.
16294 * soft-fp/fixunsdfsi.c: Likewise.
16295 * soft-fp/fixunsdfti.c: Likewise.
16296 * soft-fp/fixunssfdi.c: Likewise.
16297 * soft-fp/fixunssfsi.c: Likewise.
16298 * soft-fp/fixunssfti.c: Likewise.
16299 * soft-fp/fixunstfdi.c: Likewise.
16300 * soft-fp/fixunstfsi.c: Likewise.
16301 * soft-fp/fixunstfti.c: Likewise.
16302 * soft-fp/floatdidf.c: Likewise.
16303 * soft-fp/floatdisf.c: Likewise.
16304 * soft-fp/floatditf.c: Likewise.
16305 * soft-fp/floatsidf.c: Likewise.
16306 * soft-fp/floatsisf.c: Likewise.
16307 * soft-fp/floatsitf.c: Likewise.
16308 * soft-fp/floattidf.c: Likewise.
16309 * soft-fp/floattisf.c: Likewise.
16310 * soft-fp/floattitf.c: Likewise.
16311 * soft-fp/floatundidf.c: Likewise.
16312 * soft-fp/floatundisf.c: Likewise.
16313 * soft-fp/floatunsidf.c: Likewise.
16314 * soft-fp/floatunsisf.c: Likewise.
16315 * soft-fp/floatuntidf.c: Likewise.
16316 * soft-fp/floatuntisf.c: Likewise.
16317 * soft-fp/floatuntitf.c: Likewise.
16318 * soft-fp/fmadf4.c: Likewise.
16319 * soft-fp/fmasf4.c: Likewise.
16320 * soft-fp/fmatf4.c: Likewise.
16321 * soft-fp/gedf2.c: Likewise.
16322 * soft-fp/gesf2.c: Likewise.
16323 * soft-fp/getf2.c: Likewise.
16324 * soft-fp/ledf2.c: Likewise.
16325 * soft-fp/lesf2.c: Likewise.
16326 * soft-fp/letf2.c: Likewise.
16327 * soft-fp/muldf3.c: Likewise.
16328 * soft-fp/mulsf3.c: Likewise.
16329 * soft-fp/multf3.c: Likewise.
16330 * soft-fp/negdf2.c: Likewise.
16331 * soft-fp/negsf2.c: Likewise.
16332 * soft-fp/negtf2.c: Likewise.
16333 * soft-fp/op-1.h: Likewise.
16334 * soft-fp/op-2.h: Likewise.
16335 * soft-fp/op-4.h: Likewise.
16336 * soft-fp/op-8.h: Likewise.
16337 * soft-fp/op-common.h: Likewise.
16338 * soft-fp/quad.h: Likewise.
16339 * soft-fp/single.h: Likewise.
16340 * soft-fp/soft-fp.h: Likewise.
16341 * soft-fp/sqrtdf2.c: Likewise.
16342 * soft-fp/sqrtsf2.c: Likewise.
16343 * soft-fp/sqrttf2.c: Likewise.
16344 * soft-fp/subdf3.c: Likewise.
16345 * soft-fp/subsf3.c: Likewise.
16346 * soft-fp/subtf3.c: Likewise.
16347 * soft-fp/truncdfsf2.c: Likewise.
16348 * soft-fp/trunctfdf2.c: Likewise.
16349 * soft-fp/trunctfsf2.c: Likewise.
16350 * soft-fp/trunctfxf2.c: Likewise.
16351 * soft-fp/unorddf2.c: Likewise.
16352 * soft-fp/unordsf2.c: Likewise.
16353 * soft-fp/unordtf2.c: Likewise.
16355 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
16358 * misc/error.c (error_tail): Fix possible buffer overflow.
16360 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
16363 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16366 2013-10-14 P. J. McDermott <pj@pehjota.net>
16369 * elf/ldd.bash.in (try_trace): New function. Delete previous code
16370 testing pipefail option.
16372 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16374 * soft-fp/double.h: Indent preprocessor directives inside #if.
16375 * soft-fp/extended.h: Likewise.
16376 * soft-fp/op-2.h: Likewise.
16377 * soft-fp/op-4.h: Likewise.
16378 * soft-fp/op-common.h: Likewise.
16379 * soft-fp/quad.h: Likewise.
16380 * soft-fp/single.h: Likewise.
16381 * soft-fp/soft-fp.h: Likewise.
16383 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
16385 * iconv/iconv_prog.c: Fix typos.
16386 * stdio-common/psiginfo-data.h: Likewise.
16388 2013-10-12 Reuben Thomas <rrt@sc3d.org>
16391 * locale/setlocale.c: Fix typo.
16393 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16396 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16397 signaling NaN arguments.
16398 * soft-fp/unordsf2.c (__unordsf2): Likewise.
16399 * soft-fp/unordtf2.c (__unordtf2): Likewise.
16402 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16403 unordered operands.
16404 * soft-fp/gesf2.c (__gesf2): Likewise.
16405 * soft-fp/getf2.c (__getf2): Likewise.
16406 * soft-fp/ledf2.c (__ledf2): Likewise.
16407 * soft-fp/lesf2.c (__lesf2): Likewise.
16408 * soft-fp/letf2.c (__letf2): Likewise.
16410 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16411 * soft-fp/eqsf2.c (__eqsf2): Likewise.
16412 * soft-fp/eqtf2.c (__eqtf2): Likewise.
16413 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16414 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16415 * soft-fp/fixdfti.c (__fixdfti): Likewise.
16416 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16417 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16418 * soft-fp/fixsfti.c (__fixsfti): Likewise.
16419 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16420 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16421 * soft-fp/fixtfti.c (__fixtfti): Likewise.
16422 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16423 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16424 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16425 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16426 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16427 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16428 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16429 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16430 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16431 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16432 * soft-fp/floatdisf.c (__floatdisf): Likewise.
16433 * soft-fp/floatsisf.c (__floatsisf): Likewise.
16434 * soft-fp/floattidf.c (__floattidf): Likewise.
16435 * soft-fp/floattisf.c (__floattisf): Likewise.
16436 * soft-fp/floattitf.c (__floattitf): Likewise.
16437 * soft-fp/floatundidf.c (__floatundidf): Likewise.
16438 * soft-fp/floatundisf.c (__floatundisf): Likewise.
16439 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16440 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16441 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16442 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16443 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16444 * soft-fp/gesf2.c (__gesf2): Likewise.
16445 * soft-fp/getf2.c (__getf2): Likewise.
16446 * soft-fp/ledf2.c (__ledf2): Likewise.
16447 * soft-fp/lesf2.c (__lesf2): Likewise.
16448 * soft-fp/letf2.c (__letf2): Likewise.
16450 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16451 Undefine and redefine.
16452 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16453 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16454 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16455 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16456 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16457 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16458 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16459 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16460 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16461 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16462 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16463 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16464 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16465 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16466 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16469 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16470 without decrementing exponent if mantissa >= that for the
16471 denominator, not >.
16472 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16473 denominator, not >. Decrement exponent in < case instead of
16474 incrementing in >= case.
16475 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16476 without decrementing exponent if mantissa >= that for the
16477 denominator, not >.
16479 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16480 computing saturated result for unsigned overflow.
16482 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16483 Jeff Law <law@redhat.com>
16485 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16486 (atan2Mp): Add systemtap probe marker.
16487 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16488 (__ieee754_log): Add systemtap probe marker.
16489 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16490 (atanMp): Add systemtap probe marker.
16491 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16492 (tanMp): Add systemtap probe marker.
16493 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16494 (__slowexp): Add systemtap probe marker.
16495 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16496 (__slowpow): Add systemtap probe marker.
16497 * manual/probes.texi: Document probes.
16499 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
16502 * libio/fileops.c (_IO_new_file_write): Return count of bytes
16504 (_IO_new_file_xsputn): Don't return EOF if nothing has been
16506 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16507 written to buffer but not flushed.
16508 * libio/iofwrite_u.c: Likewise.
16509 * libio/iopadn.c: Return bytes returned even if EOF was
16511 * libio/iowpadn.c: Likewise.
16512 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16513 if _IO_padn does not write the whole buffer.
16514 [!COMPILE_WPRINTF] (PAD): Likewise.
16516 2013-10-10 David S. Miller <davem@davemloft.net>
16518 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16521 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16523 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
16524 instead of FSF address.
16525 * soft-fp/fixdfti.c: Likewise.
16526 * soft-fp/fixsfti.c: Likewise.
16527 * soft-fp/fixtfti.c: Likewise.
16528 * soft-fp/fixunsdfti.c: Likewise.
16529 * soft-fp/fixunssfti.c: Likewise.
16530 * soft-fp/fixunstfti.c: Likewise.
16531 * soft-fp/floattidf.c: Likewise.
16532 * soft-fp/floattisf.c: Likewise.
16533 * soft-fp/floattitf.c: Likewise.
16534 * soft-fp/floatuntidf.c: Likewise.
16535 * soft-fp/floatuntisf.c: Likewise.
16536 * soft-fp/floatuntitf.c: Likewise.
16537 * soft-fp/trunctfxf2.c: Likewise.
16539 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
16540 * soft-fp/fixdfti.c: Likewise.
16541 * soft-fp/fixsfti.c: Likewise.
16542 * soft-fp/fixtfti.c: Likewise.
16543 * soft-fp/fixunsdfti.c: Likewise.
16544 * soft-fp/fixunssfti.c: Likewise.
16545 * soft-fp/fixunstfti.c: Likewise.
16546 * soft-fp/floattidf.c: Likewise.
16547 * soft-fp/floattisf.c: Likewise.
16548 * soft-fp/floattitf.c: Likewise.
16549 * soft-fp/floatuntidf.c: Likewise.
16550 * soft-fp/floatuntisf.c: Likewise.
16551 * soft-fp/floatuntitf.c: Likewise.
16552 * soft-fp/trunctfxf2.c: Likewise.
16554 2013-10-10 David S. Miller <davem@davemloft.net>
16556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16558 2013-10-10 Joseph Myers <joseph@codsourcery.com>
16560 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16561 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16562 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16563 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16564 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16565 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16566 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16568 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16569 for NaNs before doing comparisons on argument.
16570 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16573 2013-10-10 Will Newton <will.newton@linaro.org>
16575 * malloc/hooks.c (memalign_check): Ensure the value of bytes
16576 passed to _int_memalign does not overflow.
16578 2013-10-10 Torvald Riegel <triegel@redhat.com>
16580 * scripts/bench.pl: Add include-sources directive.
16581 * benchtests/README: Update documentation.
16583 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16585 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16586 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16587 instead of FP_INIT_ROUNDMODE.
16588 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16589 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16592 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
16593 copy class of input value.
16594 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
16595 not handle exceptions.
16596 * soft-fp/negsf2.c (__negsf2): Likewise.
16597 * soft-fp/negtf2.c (__negtf2): Likewise.
16598 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16600 2013-10-09 Joseph Myers <joseph@codesourcery.com>
16602 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16603 semicolon. From Linux kernel.
16605 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
16607 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16609 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
16612 * manual/socket.texi: Added statement about buffer
16613 for gethostbyname2_r.
16615 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
16617 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16618 Use .p2align directive instead, throughout.
16619 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16620 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16621 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16622 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16623 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16624 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16625 * sysdeps/x86_64/strchr.S: Likewise.
16626 * sysdeps/x86_64/strrchr.S: Likewise.
16628 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16630 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16632 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16634 * sysdeps/generic/math_private.h (__mpsin1): Remove
16636 (__mpcos1): Likewise.
16637 (__mpsin): New argument __range_reduce.
16638 (__mpcos): Likewise.
16639 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16640 (slow): Use __mpsin and __mpcos.
16644 (sloww1): Likewise.
16645 (sloww2): Likewise.
16646 (bsloww): Likewise.
16647 (bsloww1): Likewise.
16648 (bsloww2): Likewise.
16649 (cslow2): Likewise.
16650 (csloww): Likewise.
16651 (csloww1): Likewise.
16652 (csloww2): Likewise.
16653 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16654 range_reduce. Merge in __mpsin1.
16655 (__mpcos): Likewise.
16656 (__mpsin1): Remove.
16657 (__mpcos1): Likewise.
16659 2013-10-07 Joseph Myers <joseph@codesourcery.com>
16661 * locale/loadlocale.c (_nl_intern_locale_data): Use
16663 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16664 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16665 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16666 obstack data is appropriately aligned.
16667 (obstack_int32_grow_fast): Likewise.
16668 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16669 * locale/programs/locfile.c (add_locale_uint32): Likewise.
16670 (add_locale_uint32_array): Likewise.
16672 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16674 * benchtests/Makefile: Remove ARGLIST and RET variables.
16675 ($(objpfx)bench-%.c): Pass only function name to the script.
16676 * benchtests/README: Update documentation.
16677 * benchtests/acos-inputs: Add new directives.
16678 * benchtests/acosh-inputs: Likewise.
16679 * benchtests/asin-inputs: Likewise.
16680 * benchtests/asinh-inputs: Likewise.
16681 * benchtests/atan-inputs: Likewise.
16682 * benchtests/atanh-inputs: Likewise.
16683 * benchtests/cos-inputs: Likewise.
16684 * benchtests/cosh-inputs: Likewise.
16685 * benchtests/exp-inputs: Likewise.
16686 * benchtests/log-inputs: Likewise.
16687 * benchtests/pow-inputs: Likewise.
16688 * benchtests/rint-inputs: Likewise.
16689 * benchtests/sin-inputs: Likewise.
16690 * benchtests/sinh-inputs: Likewise.
16691 * benchtests/tan-inputs: Likewise.
16692 * benchtests/tanh-inputs: Likewise.
16693 * scripts/bench.pl: Add support for new directives.
16695 2013-10-07 Alan Modra <amodra@gmail.com>
16697 * README: Fix careless merge.
16699 2013-10-05 Alan Modra <amodra@gmail.com>
16701 * NEWS: Mention powerpc64le support and bugs fixed.
16702 * README: Both big-endian and little-endian powerpc64 supported.
16704 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16706 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16707 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16708 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16709 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16711 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
16713 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16716 2013-10-04 Joseph Myers <joseph@codesourcery.com>
16718 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16719 Move -mhard-float appending from
16720 ports/sysdeps/powerpc/powerpc32/Makefile.
16721 [$(with-fp) = yes] (ASFLAGS): Likewise.
16722 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16723 * sysdeps/powerpc/nofpu: Move directory from
16724 ports/sysdeps/powerpc/nofpu.
16725 * sysdeps/powerpc/soft-fp: Move directory from
16726 ports/sysdeps/powerpc/soft-fp.
16727 * sysdeps/powerpc/powerpc32/405: Move directory from
16728 ports/sysdeps/powerpc/powerpc32/405.
16729 * sysdeps/powerpc/powerpc32/440: Move directory from
16730 ports/sysdeps/powerpc/powerpc32/440.
16731 * sysdeps/powerpc/powerpc32/464: Move directory from
16732 ports/sysdeps/powerpc/powerpc32/464.
16733 * sysdeps/powerpc/powerpc32/476: Move directory from
16734 ports/sysdeps/powerpc/powerpc32/476.
16735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16736 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16738 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16740 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16742 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16744 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16745 * README: Update for powerpc-*-linux-gnu software floating point
16748 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16749 case to powerpc/powerpc32*.
16750 * sysdeps/unix/sysv/linux/configure: Regenerated.
16752 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16753 (_FPU_MASK_OM): Define as 0x04.
16754 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16762 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16765 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16768 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16769 and setcontext_e500.
16771 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16773 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16775 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16777 * manual/threads.texi (Default Thread Attributes): Fix typo.
16779 2013-10-04 Will Newton <will.newton@linaro.org>
16781 * malloc/Makefile: Add tst-memalign.
16782 * malloc/tst-memalign.c: New file.
16784 * malloc/tst-posix_memalign.c: Add comments.
16785 (do_test): Add comments and call free on all potentially
16786 allocated pointers. Add space after cast.
16788 * malloc/tst-pvalloc.c: Add comments.
16789 (do_test): Add comments and call free on all potentially
16790 allocated pointers. Remove duplicate check for NULL pointer.
16791 Add space after cast.
16793 * malloc/tst-valloc.c: Add comments.
16794 (do_test): Add comments and call free on all potentially
16795 allocated pointers. Remove duplicate check for NULL pointer.
16796 Add space after cast.
16798 2013-10-04 Alan Modra <amodra@gmail.com>
16800 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16801 Use stdint types in rather than __attribute__((mode())).
16802 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16804 2013-10-04 Alan Modra <amodra@gmail.com>
16806 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16807 Correct handling of unaligned relocs for little-endian.
16808 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16810 2013-10-04 Alan Modra <amodra@gmail.com>
16812 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16813 * configure: Regenerate.
16814 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16815 * shlib-versions: Likewise.
16817 2013-10-04 Alan Modra <amodra@gmail.com>
16819 * string/tester.c (test_memrchr): Increment reported test cycle.
16821 2013-10-04 Alan Modra <amodra@gmail.com>
16823 * string/test-memcpy.c (do_one_test): When reporting errors, print
16824 string address and don't overrun end of string.
16826 2013-10-04 Alan Modra <amodra@gmail.com>
16828 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16829 insrdi. Make better use of reg selection to speed exit slightly.
16830 Schedule entry path a little better. Remove useless "are we done"
16831 checks on entry to main loop. Handle wrapping around zero address.
16832 Correct main loop count. Handle single left-over word from main
16833 loop inline rather than by using loop_small. Remove extra word
16834 case in loop_small caused by wrong loop count. Add little-endian
16836 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16837 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16839 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16840 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16841 support. Avoid rlwimi.
16842 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16844 2013-10-04 Alan Modra <amodra@gmail.com>
16846 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16847 insrdi. Formatting.
16848 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16849 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16850 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16851 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16852 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16853 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16855 2013-10-04 Alan Modra <amodra@gmail.com>
16857 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16858 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16859 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16860 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16861 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16862 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16863 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16864 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16865 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16866 use of regs. Use power7 mtocrf. Tidy function tails.
16868 2013-10-04 Alan Modra <amodra@gmail.com>
16870 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16871 Formatting. Consistently use rXXX register defines or rN defines.
16872 Use early exit labels that avoid restoring unused non-volatile regs.
16873 Make cr field use more consistent with rWORDn compares. Rename
16874 regs used as shift registers for unaligned loop, using rN defines
16875 for short lifetime/multiple use regs.
16876 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16877 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16878 addi 1,1,64 to pop stack frame. Simplify return value code.
16879 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16881 2013-10-04 Alan Modra <amodra@gmail.com>
16883 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16884 support. Correct typos, formatting. Optimize tail. Use insrdi
16885 rather than rlwimi.
16886 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16887 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16888 little-endian support. Correct typos.
16889 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16890 rather than rlwimi.
16891 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16892 in loop and entry code to keep "and." results.
16893 (strchr): Add little-endian support. Comment. Move cntlzd
16895 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16897 2013-10-04 Alan Modra <amodra@gmail.com>
16899 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16900 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16901 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16902 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16904 2013-10-04 Alan Modra <amodra@gmail.com>
16906 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16907 (rTMP): Define as r11.
16908 (strcmp): Add little-endian support. Optimise tail.
16909 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16910 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16911 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16912 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16913 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16914 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16915 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16917 2013-10-04 Alan Modra <amodra@gmail.com>
16919 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16920 little-endian support. Remove unnecessary "are we done" tests.
16921 Handle "s" wrapping around zero and extremely large "size".
16922 Correct main loop count. Handle single left-over word from main
16923 loop inline rather than by using small_loop. Correct comments.
16924 Delete "zero" tail, use "end_max" instead.
16925 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16927 2013-10-04 Alan Modra <amodra@gmail.com>
16929 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16930 support. Don't branch over align.
16931 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16932 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16933 support. Rearrange tmp reg use to suit. Comment.
16934 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16936 2013-10-04 Alan Modra <amodra@gmail.com>
16938 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16940 2013-10-04 Alan Modra <amodra@gmail.com>
16942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16943 conditional form of branch and link when obtaining pc.
16944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16946 2013-10-04 Alan Modra <amodra@gmail.com>
16948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16953 2013-10-04 Alan Modra <amodra@gmail.com>
16955 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16956 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16957 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16958 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16959 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16960 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16961 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16962 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16963 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16964 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16966 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16967 Alistair Popple <alistair@ozlabs.au.ibm.com>
16968 Alan Modra <amodra@gmail.com>
16971 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16972 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16973 _dl_hwcap access for little-endian.
16974 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16975 destroy vmx regs when saving unaligned.
16976 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16977 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16978 destroy vmx regs when saving unaligned.
16980 2013-10-04 Alan Modra <amodra@gmail.com>
16982 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16983 Don't use a union to pack hi/low value.
16985 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16987 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16989 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16990 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16991 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16992 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16993 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16995 2013-10-04 Alan Modra <amodra@gmail.com>
16997 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16998 constants to usual value for .cst8 section, and remove redundant
17000 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17001 constant for 0x1p52. Load little-endian words of double from
17002 correct stack offsets.
17004 2013-10-04 Alan Modra <amodra@gmail.com>
17006 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17007 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17008 words of double from correct stack offsets.
17009 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17010 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17011 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17012 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17013 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17014 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17015 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17016 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17017 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17018 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17019 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17020 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17021 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17022 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17023 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17024 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17025 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17027 2013-10-04 Alan Modra <amodra@gmail.com>
17029 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17030 64-bit int/double union.
17031 (_FPU_SETCW): Likewise.
17032 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17033 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17035 2013-10-04 Alan Modra <amodra@gmail.com>
17037 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17038 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17040 2013-10-04 Alan Modra <amodra@gmail.com>
17042 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17043 use vector int constants.
17044 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17046 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17048 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17049 array with long long.
17050 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17051 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17052 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17053 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17054 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17055 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17056 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17057 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17058 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17059 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17060 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17061 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17062 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17064 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17066 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17067 (__signbit): Likewise. Correct for little-endian.
17068 (__signbitl): Call __signbit.
17069 (lrint): Correct for little-endian.
17070 (lrintf): Call lrint.
17072 2013-10-04 Alan Modra <amodra@gmail.com>
17074 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17075 union 32-bit int array member with 64-bit int array.
17076 (t515, tm256): Double rather than long double.
17077 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17079 2013-10-04 Alan Modra <amodra@gmail.com>
17081 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17083 (IEEE854_LONG_DOUBLE_BIAS): Delete.
17084 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17085 version of math_ldbl.h.
17087 2013-10-04 Alan Modra <amodra@gmail.com>
17089 [BZ #15734], [BZ #15735]
17090 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17091 all uses of ieee875 long double macros and unions. Simplify test
17092 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
17093 ldbl_extract_mantissa value for ix,iy exponents. Properly
17094 normalize after ldbl_extract_mantissa, and don't add hidden bit
17095 already handled. Don't treat low word of ieee854 mantissa like
17096 low word of IBM long double and mask off bit when testing for
17098 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17099 all uses of ieee875 long double macros and unions. Simplify tests
17100 for 0.0L and inf. Correct double adjustment of k. Delete dead code
17101 adjusting ha,hb. Simplify code setting kld. Delete two600 and
17102 two1022, instead use their values. Recognise that tests for large
17103 "a" and small "b" are mutually exclusive. Rename vars. Comment.
17104 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17105 Rewrite all uses of ieee875 long double macros and unions. Simplify
17106 test for 0.0L and nan. Correct negation.
17107 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17108 ieee875 long double macros and unions. Correct output for large
17109 magnitude x. Correct absolute value calculation.
17110 (__erfcl): Likewise.
17111 * math/libm-test.inc: Add tests for errors discovered in IBM long
17112 double versions of fmodl, remainderl, erfl and erfcl.
17114 2013-10-04 Alan Modra <amodra@gmail.com>
17116 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17117 all uses of ieee854 long double macros and unions. Simplify tests
17118 for long doubles that are fully specified by the high double.
17119 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17121 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17122 Remove dead code too.
17123 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17124 (__ieee754_ynl): Likewise.
17125 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17126 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17127 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17128 Remove dead code too.
17129 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17130 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17131 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17132 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17134 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17136 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17137 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17138 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17139 Comment on variable precision.
17140 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17141 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17143 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17144 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17145 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17146 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17147 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17149 2013-10-04 Alan Modra <amodra@gmail.com>
17151 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17152 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17153 all uses of ieee854 long double macros and unions.
17154 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17155 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17156 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17157 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17158 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17159 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17161 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17162 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17163 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17164 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17165 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17166 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17167 Simplify sign and nan test too.
17168 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17169 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17170 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17171 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17173 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17174 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17176 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17177 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17178 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17179 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17180 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17181 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17183 2013-10-04 Alan Modra <amodra@gmail.com>
17185 * stdio-common/printf_size.c (__printf_size): Don't use
17186 union ieee854_long_double in fpnum union.
17187 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
17188 signbit macro to retrieve sign from long double.
17189 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17190 retrieve sign from long double.
17191 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17192 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17193 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17194 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17195 * math/test-misc.c (main): Don't use union ieee854_long_double.
17197 2013-10-04 Alan Modra <amodra@gmail.com>
17200 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17201 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17202 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17203 calculation. Remove unnecessary test for denormal exponent.
17204 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17205 Correct handling of denormals. Avoid undefined shift behaviour.
17206 Correct normalisation of low mantissa when low double is denormal.
17207 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17208 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
17209 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17210 Correct normalisation of low mantissa. Test for overflow of high
17211 mantissa and normalise.
17212 (ldbl_nearbyint): Use more readable constant for two52.
17213 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17214 (__mpn_construct_long_double): Fix test for overflow of high
17215 mantissa and correct normalisation. Avoid undefined shift.
17217 2013-10-04 Alan Modra <amodra@gmail.com>
17219 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17220 (union ibm_extended_long_double): Define as an array of ieee754_double.
17221 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17222 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17223 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17224 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17225 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17226 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17227 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17228 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17229 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17230 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17231 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17233 2013-10-03 Joseph Myers <joseph@codesourcery.com>
17235 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17236 page size instead of calling getpagesize.
17238 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17239 (LOCFILE_ALIGN_MASK): Likewise.
17240 (LOCFILE_ALIGN_UP): Likewise.
17241 (LOCFILE_ALIGNED_P): Likewise.
17242 * locale/programs/ld-collate.c (collate_output): Use the new
17243 macros instead of __alignof__ (int32_t).
17244 * locale/weight.h (findidx): Likewise.
17246 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
17249 * manual/string.texi: Fix strncat and wcsncat.
17251 2013-10-03 Brooks Moses <bmoses@google.com>
17254 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17255 * Makerules: ...here, and adjust associated comments.
17257 2013-10-02 Will Newton <will.newton@linaro.org>
17259 * malloc/Makefile: Add tst-pvalloc.
17260 * malloc/tst-pvalloc.c: New file.
17262 2013-10-02 Will Newton <will.newton@linaro.org>
17264 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17265 improve test coverage.
17267 2013-10-02 Will Newton <will.newton@linaro.org>
17269 * malloc/Makefile: Add tst-posix_memalign.
17270 * malloc/tst-posix_memalign.c: New file.
17272 2013-10-01 Eric Blake <eblake@redhat.com>
17274 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17275 Use __THROWNL rather than __THROW on static functions.
17277 2013-09-30 Petr Machata <pmachata@redhat.com>
17279 * elf/elf.h (R_AARCH64_ABS16): New macro.
17280 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17281 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17282 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17283 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17284 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17285 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17286 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17287 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17288 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17289 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17290 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17291 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17292 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17293 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17294 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17295 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17296 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17297 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17298 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17299 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17300 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17301 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17302 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17303 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17304 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17305 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17306 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17307 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17308 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17309 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17310 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17311 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17312 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17313 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17314 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17315 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17316 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17317 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17318 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17319 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17320 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17321 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17322 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17323 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17324 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17325 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17326 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17327 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17328 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17329 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17330 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17331 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17332 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17333 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17334 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17335 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17336 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17337 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17338 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17339 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17340 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17341 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17342 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17343 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17344 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17345 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17346 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17347 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17348 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17349 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17350 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17351 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17352 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17353 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17354 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17355 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17356 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17357 (R_AARCH64_TLSDESC_LDR): Likewise.
17358 (R_AARCH64_TLSDESC_ADD): Likewise.
17359 (R_AARCH64_TLSDESC_CALL): Likewise.
17361 2013-09-30 Andreas Schwab <schwab@suse.de>
17364 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17365 the nss database lookup.
17366 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17369 2013-09-28 Mike Frysinger <vapier@gentoo.org>
17371 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17373 2013-09-28 P. J. McDermott <pj@pehjota.net>
17375 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17376 ${Bash-specific parameter/pattern/string} parameter expansion.
17377 * sysdeps/unix/make-syscalls.sh: Likewise.
17379 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17381 * sysdeps/sh/stackguard-macros.h: New file.
17383 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
17385 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17386 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17387 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17388 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17389 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17390 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17392 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17394 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17395 Fix thread ID register.
17397 2013-09-25 Joseph Myers <joseph@codesourcery.com>
17399 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17400 [POSIX || UNIX98]: Require rather than permitting all symbols from
17402 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17403 element of struct sched_param.
17404 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17405 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17406 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17407 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17410 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
17412 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17413 argument calculation.
17415 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17417 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17419 [POSIX] (pthread_attr_t): Do not require type.
17420 [POSIX] (pthread_cond_t): Likewise.
17421 [POSIX] (pthread_condattr_t): Likewise.
17422 [POSIX] (pthread_key_t): Likewise.
17423 [POSIX] (pthread_mutex_t): Likewise.
17424 [POSIX] (pthread_mutexattr_t): Likewise.
17425 [POSIX] (pthread_once_t): Likewise.
17426 [POSIX] (pthread_t): Likewise.
17427 [POSIX-based standards] (pthread_atfork): Expect function.
17429 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17430 Richard Sandiford <richard@codesourcery.com>
17432 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17433 (swap_endianness_p): New extern variable.
17434 (set_big_endian): New inline function.
17435 (maybe_swap_uint32): Likewise.
17436 (maybe_swap_uint32_array): Likewise.
17437 (maybe_swap_uint32_obstack): Likewise.
17438 * locale/programs/locfile.c: Include <stdbool.h>.
17439 (swap_endianness_p): New variable.
17440 (add_locale_uint32): Call maybe_swap_uint32.
17441 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17442 (write_locale_data): Call maybe_swap_uint32_array.
17443 * locale/programs/ld-collate.c (obstack_int32_grow): Call
17445 (obstack_int32_grow_fast): Likewise.
17446 (output_weightwc): Call maybe_swap_uint32_obstack.
17447 (collate_output): Likewise.
17448 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17449 (OPT_LITTLE_ENDIAN): Likewise.
17450 (options): Add --little-endian and --big-endian options.
17451 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17452 * locale/programs/locarchive.c: Include "locfile.h".
17456 (create_archive): Use the new macros to access fields of
17457 structures directly mapped from or written to locale archives.
17458 (oldlocrecentcmp): Likewise.
17459 (enlarge_archive): Likewise.
17460 (insert_name): Likewise.
17461 (add_alias): Likewise.
17462 (add_locale): Likewise.
17463 (delete_locales_from_archive): Likewise.
17464 (show_archive_content): Likewise.
17465 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
17468 2013-09-24 Roland McGrath <roland@hack.frob.com>
17470 * manual/freemanuals.texi: Updated from (newly) canonical copy at
17471 http://www.gnu.org/doc/freemanuals.texi.
17472 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17474 2013-09-24 Will Newton <will.newton@linaro.org>
17476 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17479 2013-09-23 Joseph Myers <joseph@codesourcery.com>
17481 * locale/hashval.h (compute_hashval): Interpret bytes of key as
17484 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
17486 * manual/threads.texi (POSIX Threads): Fix a typo.
17488 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17491 * string/tst-strcoll-overflow.c: New test case.
17492 * string/Makefile (xtests): Add tst-strcoll-overflow.
17493 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17494 cache if string sizes may cause integer overflow.
17497 * string/strcoll_l.c (coll_seq): New members rule, idx,
17498 save_idx and back_us.
17499 (get_next_seq_nocache): New function.
17500 (do_compare_nocache): New function.
17501 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17504 2013-09-23 Carlos O'Donell <carlos@redhat.com>
17507 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17508 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17509 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17512 * elf/Makefile (tests): Add tst-ptrguard1.
17513 (tests-static): Add tst-ptrguard1-static.
17514 (tst-ptrguard1-ARGS): Define.
17515 (tst-ptrguard1-static-ARGS): Define.
17516 * elf/tst-ptrguard1.c: New file.
17517 * elf/tst-ptrguard1-static.c: New file.
17518 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17519 * sysdeps/i386/stackguard-macros.h: Likewise.
17520 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17521 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17522 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17523 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17524 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17525 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17527 2013-09-23 Hector Marco <hecmargi@upv.es>
17528 Ismael Ripoll <iripoll@disca.upv.es>
17529 Carlos O'Donell <carlos@redhat.com>
17532 * sysdeps/generic/stackguard-macros.h: Define
17533 __pointer_chk_guard_local and POINTER_CHK_GUARD.
17534 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17535 Define __pointer_chk_guard_local.
17536 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17537 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17539 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
17542 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17544 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
17546 * include/string.h (__ffs): Declare as hidden.
17547 * string/ffs.c (__ffs): Define as hidden.
17548 * sysdeps/i386/ffs.c (__ffs): Likewise.
17549 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17550 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17551 * sysdeps/s390/ffs.c (__ffs): Likewise.
17552 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17554 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
17556 * NEWS: Mention malloc probes.
17558 * malloc/arena.c (new_heap): New memory_heap_new probe.
17559 (grow_heap): New memory_heap_more probe.
17560 (shrink_heap): New memory_heap_less probe.
17561 (heap_trim): New memory_heap_free probe.
17562 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17563 (systrim): New memory_sbrk_less probe.
17564 * manual/probes.texi: Document them.
17566 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17567 * manual/probes.texi: Document it.
17569 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17570 (__libc_realloc): Add memory_realloc_retry probe.
17571 (__libc_memalign): Add memory_memalign_retry probe.
17572 (__libc_valloc): Add memory_valloc_retry probe.
17573 (__libc_pvalloc): Add memory_pvalloc_retry probe.
17574 (__libc_calloc): Add memory_calloc_retry probe.
17575 * manual/probes.texi: Document them.
17577 * malloc/arena.c (get_free_list): Add probe
17578 memory_arena_reuse_free_list.
17579 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17580 and memory_arena_reuse.
17581 (arena_get2) [!PER_THREAD]: Likewise.
17582 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17583 memory_arena_reuse_realloc.
17584 * manual/probes.texi: Document them.
17586 * malloc/malloc.c (__libc_free): Add
17587 memory_mallopt_free_dyn_thresholds probe.
17588 (__libc_mallopt): Add multiple memory_mallopt probes.
17589 * manual/probes.texi: Document them.
17591 * malloc/malloc.c: Include stap-probe.h.
17592 (__libc_mallopt): Add memory_mallopt probe.
17593 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17594 * manual/probes.texi: New.
17595 * manual/Makefile (chapters): Add probes.
17596 * manual/threads.texi: Set next node.
17598 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
17600 [BZ #15963, #13985]
17601 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17602 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17603 Add `Chinese' to `nan' entry name.
17605 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17607 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17608 (POLYNOMIAL): Likewise.
17609 (TAYLOR_SINCOS): Likewise.
17610 (TAYLOR_SLOW): Likewise.
17611 (__sin): Use TAYLOR_SINCOS.
17613 (slow): Use TAYLOR_SLOW.
17615 (bsloww): Likewise.
17616 (csloww): Likewise.
17618 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17620 * stdlib/strtod_l.c: Fix buffer overrun.
17622 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17624 * benchtests/Makefile (bench): Add sincos.
17625 * benchtests/bench-sincos.c: New file.
17627 * math/libm-test.inc (cos_test_data): New test inputs.
17628 (sin_test_data): Likewise.
17630 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17636 (sloww1): Likewise.
17637 (sloww2): Likewise.
17638 (bsloww1): Likewise.
17639 (bsloww2): Likewise.
17640 (cslow2): Likewise.
17641 (csloww1): Likewise.
17642 (csloww2): Likewise.
17644 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17649 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17653 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
17655 * config.h.in (HAVE_MIPS_NAN2008): New macro.
17656 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17657 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17658 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17659 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17660 * elf/cache.c (print_entry): Handle the new cache flags.
17662 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17663 Aldy Hernandez <aldyh@redhat.com>
17665 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17666 Change condition to [_SOFT_FLOAT].
17667 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17668 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17669 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17670 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17672 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17673 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17674 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17675 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17676 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17677 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17678 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17679 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17680 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17681 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17682 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17685 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17687 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17688 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17689 (__longjmp): Use LOAD_GP to load saved GPRs.
17690 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17691 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17692 (__sigsetjmp): Use SAVE_GP to save GPRs.
17694 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17695 Do not append -msoft-float.
17696 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17698 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17700 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17702 2013-09-17 Joseph Myers <joseph@codesourcery.com>
17705 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17706 (_FPU_GETCW): Use initial "__" on variable and field names but not
17707 on macro parameter name.
17708 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
17709 parentheses around reference to macro parameter.
17711 2013-09-13 Richard Sandiford <richard@codesourcery.com>
17713 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17715 (ctype_startup): Use uint32_t in cast and sizeof for
17718 2013-09-11 Jia Liu <proljc@gmail.com>
17720 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17722 [__FreeBSD__]: Likewise.
17724 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
17726 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17727 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17728 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17729 (strchr): Remove __strchr_sse42 ifunc selection.
17730 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17731 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17733 2013-09-11 Will Newton <will.newton@linaro.org>
17735 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17736 parameter to RES. Remove hardcoded 1000 value.
17737 * benchtests/bench-skeleton.c (main): Pass RES parameter
17738 to TIMING_INIT and multiply result by 1000.
17740 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17744 2013-09-11 Andreas Schwab <schwab@suse.de>
17746 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17748 (O_TMPFILE) [__USE_GNU]: Define.
17749 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17752 2013-09-11 Will Newton <will.newton@linaro.org>
17755 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17758 2013-09-11 Will Newton <will.newton@linaro.org>
17761 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17764 2013-09-11 Will Newton <will.newton@linaro.org>
17767 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17770 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
17772 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17773 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17774 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17775 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17776 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17778 2013-09-10 Allan McRae <allan@archlinux.org>
17781 * manual/arith.texi (Parsing of Floats): Clarify
17785 * manual/install.texi (Running make install): Mention
17787 * INSTALL: Regenerated.
17789 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17791 * csu/init-first.c (_init): Remove the !SHARED condition around
17792 FPU control word initialization.
17793 * elf/dl-support.c (_dl_fpu_control): New variable.
17794 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17795 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17796 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17797 * math/test-fpucw-static.c: New file.
17798 * math/test-fpucw-ieee.c: New file.
17799 * math/test-fpucw-ieee-static.c: New file.
17800 * math/Makefile (tests): Add `test-fpucw-ieee' and
17802 (tests-static): New variable.
17803 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17805 [($(build-shared),yes)]
17806 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17808 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17811 2013-09-09 Allan McRae <allan@archlinux.org>
17814 * manual/string.texi (Collation Functions): Fix typo in
17816 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17819 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17822 * libio/memstream.c (open_memstream): Fix memory leak.
17823 * libio/wmemstream.c (open_wmemstream): Likewise.
17826 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17828 2013-09-09 Will Newton <will.newton@linaro.org>
17830 * malloc/Makefile: Add tst-realloc to tests.
17831 * malloc/tst-realloc.c: New file.
17833 2013-09-09 Allan McRae <allan@archlinux.org>
17836 * COPYING: Update from GNU website to fix FSF address.
17837 * COPYING.LIB: Likewise.
17839 2013-09-06 David S. Miller <davem@davemloft.net>
17841 * po/zh_TW.po: Update Chinese (traditional) translation from
17842 translation project.
17844 2013-09-06 Richard Sandiford <richard@codesourcery.com>
17845 Joseph Myers <joseph@codesourcery.com>
17847 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17849 (obstack_chunk_alloc): New macro.
17850 (obstack_chunk_free): Likewise.
17851 (record_offset): New function.
17852 (init_locale_data): Likewise.
17853 (align_locale_data): Likewise.
17854 (add_locale_empty): Likewise.
17855 (add_locale_raw_data): Likewise.
17856 (add_locale_raw_obstack): Likewise.
17857 (add_locale_string): Likewise.
17858 (add_locale_wstring): Likewise.
17859 (add_locale_uint32): Likewise.
17860 (add_locale_uint32_array): Likewise.
17861 (add_locale_char): Likewise.
17862 (start_locale_structure): Likewise.
17863 (end_locale_structure): Likewise.
17864 (start_locale_prelude): Likewise.
17865 (end_locale_prelude): Likewise.
17866 (write_locale_data): Take locale_file structure rather than an
17868 * locale/programs/locfile.h: Include "obstack.h".
17869 (struct locale_file): Change to store locale file contents instead
17871 (init_locale_data): New prototype.
17872 (align_locale_data): Likewise.
17873 (add_locale_empty): Likewise.
17874 (add_locale_raw_data): Likewise.
17875 (add_locale_raw_obstack): Likewise.
17876 (add_locale_string): Likewise.
17877 (add_locale_wstring): Likewise.
17878 (add_locale_uint32): Likewise.
17879 (add_locale_uint32_array): Likewise.
17880 (add_locale_char): Likewise.
17881 (start_locale_structure): Likewise.
17882 (end_locale_structure): Likewise.
17883 (start_locale_prelude): Likewise.
17884 (end_locale_prelude): Likewise.
17885 (write_locale_data): Update prototype.
17886 * locale/programs/3level.h (struct TABLE): Remove result field.
17887 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17888 Use new locale_file interface.
17889 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17890 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17891 * locale/programs/ld-address.c (address_output): Use new
17892 locale_file interface.
17893 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17895 (collate_finish): Don't call collseq_table_finalize.
17896 (collate_output): Use new locale_file interface.
17897 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17899 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17900 (TABLE): Move defines earlier in file.
17901 (ELEMENT): Likewise.
17902 (DEFAULT): Likewise.
17903 (wctrans_table_add): Move macro and inline function earlier in
17905 (struct wctype_table): Move type earlier in file.
17906 (add_locale_wctype_table): New static prototype.
17907 (struct locale_ctype_t): Use logical types instead of struct iovec
17908 pointers for members.
17909 (ctype_output): Use new locale_file interface.
17910 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17911 new locale_file interface.
17912 (allocate_arrays): Update for use of new locale_file interface.
17913 * locale/programs/ld-identification.c (identification_output): Use
17914 new locale_file interface.
17915 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17916 * locale/programs/ld-messages.c (messages_output): Likewise.
17917 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17918 * locale/programs/ld-name.c (name_output): Likewise.
17919 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17920 * locale/programs/ld-paper.c (paper_output): Likewise.
17921 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17922 * locale/programs/ld-time.c (time_output): Likewise.
17924 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17926 * benchtests/Makefile: Add memrchr benchmark.
17927 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17928 benchmark as memrchr.
17929 * benchtests/bench-memrchr-ifunc.c: New file.
17930 * benchtests/bench-memrchr.c: New file.
17932 2013-09-06 Will Newton <will.newton@linaro.org>
17934 * benchtests/Makefile (string-bench): Add memcpy.
17936 2013-09-05 Carlos O'Donell <carlos@redhat.com>
17937 Cong Wang <amwang@redhat.com>
17940 * sysdeps/unix/sysv/linux/bits/in.h
17941 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17942 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17943 before __USE_KERNEL_IPV6_DEFS uses.
17944 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17946 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17947 sockaddr_in6, or ipv6_mreq.
17949 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17951 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17952 memory access for final bytes in some large inputs.
17953 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17955 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17957 * string/test-memrchr.c: New file.
17958 * string/test-memrchr-ifunc.c: New file.
17959 * string/Makefile: Add new memrchr testcase.
17961 2013-09-05 Mike Frysinger <vapier@gentoo.org>
17963 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17964 fanotify_init returns EPERM.
17966 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17968 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17970 (top level): Treat second token from macro or constant entries for
17971 allowed headers as allowed.
17972 * include/complex.h: Condition internal declarations on
17974 * include/fenv.h: Condition include of <stdbool.h> and internal
17975 declarations on [!_ISOMAC].
17977 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17980 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17982 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17984 * configure.in (--enable-versioning): Remove configure option.
17985 (libc_cv_asm_symver_directive): Remove configure test.
17986 (libc_cv_ld_version_script_option): Likewise.
17987 (VERSIONING): Remove variable and AC_SUBST.
17988 (DO_VERSIONING): Remove AC_DEFINE.
17989 * configure: Regenerated.
17990 * config.h.in (DO_VERSIONING): Remove macro.
17991 * Makerules [$(versioning) = yes]: Change conditionals to
17992 [$(build-shared) = yes].
17993 * config.make.in (versioning): Remove variable.
17994 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17995 [$(build-shared) = yes].
17996 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17997 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17998 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17999 [$(build-shared) = yes].
18000 * extra-lib.mk [$(versioning) = yes]: Likewise.
18001 * hurd/Makefile [$(versioning) = yes]: Likewise.
18002 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18004 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18006 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18007 [SHARED && !NO_HIDDEN].
18008 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18010 [SHARED && DO_VERSIONING]: Likewise..
18011 * libio/Makefile [$(versioning) = yes]: Change conditionals to
18012 [$(build-shared) = yes].
18013 * manual/install.texi (--disable-versioning): Remove
18015 * INSTALL: Regenerated.
18016 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18018 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18019 [$(build-shared) = yes].
18020 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18021 * sysdeps/i386/i686/multiarch/strstr-c.c
18022 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18023 [SHARED && !NO_HIDDEN].
18024 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18025 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18026 * sysdeps/powerpc/powerpc32/dl-machine.c
18027 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18028 * sysdeps/powerpc/powerpc32/sysdep.h
18029 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18030 to [SHARED && PIC && !NO_HIDDEN].
18031 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18032 conditional to [SHARED].
18034 2013-09-04 Will Newton <will.newton@linaro.org>
18036 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18037 * benchtests/bench-string.h: Include bench-timing.h instead
18038 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18039 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18040 call to HP_TIMING_DIFF_INIT.
18041 * benchtests/bench-memccpy.c: Use bench-timing.h macros
18042 instead of hp-timing.h macros.
18043 * benchtests/bench-memchr.c: Likewise.
18044 * benchtests/bench-memcmp.c: Likewise.
18045 * benchtests/bench-memcpy.c: Likewise.
18046 * benchtests/bench-memmem.c: Likewise.
18047 * benchtests/bench-memmove.c: Likewise.
18048 * benchtests/bench-memset.c: Likewise.
18049 * benchtests/bench-rawmemchr.c: Likewise.
18050 * benchtests/bench-strcasecmp.c: Likewise.
18051 * benchtests/bench-strcasestr.c: Likewise.
18052 * benchtests/bench-strcat.c: Likewise.
18053 * benchtests/bench-strchr.c: Likewise.
18054 * benchtests/bench-strcmp.c: Likewise.
18055 * benchtests/bench-strcpy.c: Likewise.
18056 * benchtests/bench-strcpy_chk.c: Likewise.
18057 * benchtests/bench-strlen.c: Likewise.
18058 * benchtests/bench-strncasecmp.c: Likewise.
18059 * benchtests/bench-strncat.c: Likewise.
18060 * benchtests/bench-strncmp.c: Likewise.
18061 * benchtests/bench-strncpy.c: Likewise.
18062 * benchtests/bench-strnlen.c: Likewise.
18063 * benchtests/bench-strpbrk.c: Likewise.
18064 * benchtests/bench-strrchr.c: Likewise.
18065 * benchtests/bench-strspn.c: Likewise.
18066 * benchtests/bench-strstr.c: Likewise.
18068 2013-09-04 Will Newton <will.newton@linaro.org>
18070 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18072 2013-09-03 Joseph Myers <joseph@codesourcery.com>
18075 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18076 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18077 * math/libm-test.inc (lgamma_test_data): Add more tests.
18078 * sysdeps/i386/fpu/libm-test-ulps: Update.
18079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18081 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
18083 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18084 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18087 Add strcmp-sse2-unaligned
18088 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18090 2013-09-02 Mike Frysinger <vapier@gentoo.org>
18092 * Versions.def (libc): Add GLIBC_2.19.
18094 2013-09-02 Mike Frysinger <vapier@gentoo.org>
18096 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18097 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18099 2013-09-02 Joseph Myers <joseph@codesourcery.com>
18102 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18103 intermediate calculations in recurrence.
18104 (__ieee754_ynf): Likewise.
18105 * math/libm-test.inc (jn_test_data): Do not allow spurious
18106 underflow exception. Add more tests.
18107 (yn_test_data): Add more tests.
18108 * sysdeps/i386/fpu/libm-test-ulps: Update.
18109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18111 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
18113 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18115 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18117 * csu/init-first.c: Fix then/than typos.
18118 * locale/programs/ld-collate.c: Likewise.
18119 * locale/programs/linereader.h: Likewise.
18120 * manual/charset.texi: Likewise.
18121 * manual/filesys.texi: Likewise.
18122 * manual/stdio.texi: Likewise.
18123 * manual/string.texi: Likewise.
18124 * stdlib/fmtmsg.c: Likewise.
18125 * sysdeps/i386/stpncpy.S: Likewise.
18126 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18127 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18128 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18129 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18131 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18133 * elf/dl-open.c: Fix typos.
18134 * iconvdata/gbbig5.c: Likewise.
18135 * iconvdata/iso-2022-jp.c: Likewise.
18136 * iconv/gconv_int.h: Likewise.
18137 * iconv/loop.c: Likewise.
18138 * nis/rpcsvc/nis.h: Likewise.
18139 * resolv/ns_name.c: Likewise.
18140 * stdio-common/vfscanf.c: Likewise.
18141 * streams/stropts.h: Likewise.
18142 * sunrpc/rpc_thread.c: Likewise.
18143 * sysdeps/i386/strpbrk.S: Likewise.
18144 * sysdeps/ieee754/k_standard.c: Likewise.
18145 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18146 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18147 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18148 * sysdeps/mach/hurd/profil.c: Likewise.
18149 * sysdeps/s390/dl-procinfo.h: Likewise.
18150 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18151 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18152 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18153 * sysdeps/x86_64/dl-trampoline.S: Likewise.
18154 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18156 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18158 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18159 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18161 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
18163 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18164 aix specific files.
18165 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18166 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18167 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18168 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18169 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18170 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18171 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18172 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18174 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18175 Roland McGrath <roland@hack.frob.com>
18177 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18178 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18180 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18182 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18183 __executable_start symbol instead of _start.
18185 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18187 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18188 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18190 * sysdeps/gnu/ldsodefs.h: ... this new file.
18192 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18193 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18194 instead of ELFOSABI_LINUX.
18196 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18197 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18198 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18199 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18201 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18202 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18203 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18205 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18206 (ibm_extended_long_double): Add ieee_nan member.
18207 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18208 (do_test): New function.
18210 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18212 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18213 functions, renamed from truncdfsf_test, trunctfsf_test,
18215 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18217 (do_test): Run all these.
18219 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
18221 * argp/argp-help.c: Fix typos.
18222 * argp/argp-parse.c: Likewise.
18223 * debug/backtracesyms.c: Likewise.
18224 * elf/elf.h: Likewise.
18225 * malloc/malloc.c: Likewise.
18226 * nis/nis_print.c: Likewise.
18227 * resolv/res_comp.c: Likewise.
18228 * stdlib/stdlib.h: Likewise.
18229 * sunrpc/clnt_tcp.c: Likewise.
18230 * sunrpc/clnt_udp.c: Likewise.
18231 * sunrpc/clnt_unix.c: Likewise.
18232 * sysdeps/unix/bsd/ptsname.c: Likewise.
18233 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18234 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18241 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18243 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18245 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18248 2013-08-27 Mike Frysinger <vapier@gentoo.org>
18251 * dlfcn/Makefile (tests): Add bug-dl-leaf.
18252 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18253 ($(objpfx)bug-dl-leaf): New rule.
18254 ($(objpfx)bug-dl-leaf.so): Likewise.
18255 ($(objpfx)bug-dl-leaf.out): Likewise.
18256 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18257 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18258 * dlfcn/bug-dl-leaf.c: New test.
18259 * dlfcn/bug-dl-leaf-lib.c: Likewise.
18260 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18261 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18262 (dlclose): Likewise.
18263 (dlmopen): Likewise.
18265 2013-08-27 Roland McGrath <roland@hack.frob.com>
18267 * include/netdb.h [!_ISOMAC]:
18268 Don't include <tls.h>.
18269 (h_errno, __libc_h_errno): Move declaration and macros out of
18272 * include/resolv.h [_RESOLV_H_]:
18273 Don't include <tls.h>.
18274 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18275 * resolv/res_libc.c: Don't include <tls.h>.
18276 (_res): Use __attribute__ ((nocommon)) in place of
18277 __attribute__ ((section (".bss"))).
18279 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18280 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18282 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18284 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18285 only under [SIOCGIFCONF && SIOCGIFNETMASK].
18287 * resolv/res_mkquery.c: Include <sys/time.h>.
18289 * inet/ifreq.c: Moved to ...
18290 * sysdeps/unix/ifreq.c: ... here.
18291 * inet/ifreq.c: New file, true stub version.
18293 * socket/sa_len.c: New file.
18294 * socket/Makefile (aux): Add it.
18295 * sysdeps/unix/sysv/linux/Makefile
18296 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18297 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18298 and #include <socket/sa_len.c>.
18299 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18300 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18302 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18303 * bits/socket.h: ... here.
18305 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18306 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18307 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18309 2013-08-27 Andreas Schwab <schwab@suse.de>
18312 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18313 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18314 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18315 * string/test-strcasecmp.c (test_main): Run tests in several
18317 * string/test-strncasecmp.c (test_main): Likewise.
18319 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18320 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18321 to __strcasecmp_nonascii and __strncasecmp_nonascii.
18322 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18323 (__strncasecmp_ssse3) [PIC]: Likewise.
18325 2013-08-26 Roland McGrath <roland@hack.frob.com>
18327 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18329 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18330 instead of explicitly declaring xdecrypt.
18331 * nis/nss_nis/nis-publickey.c: Likewise.
18333 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18336 * nscd/aicache.c: Include res_hconf.h.
18337 (addhstaiX): Initialize res_hconf.
18339 2013-08-26 Andreas Schwab <schwab@suse.de>
18341 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18342 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18344 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18346 * nscd/aicache.c (addhstaiX): Fix indentation.
18348 2013-08-25 Mike Frysinger <vapier@gentoo.org>
18350 * configure.ac: Quote $build_pt_chown test.
18351 * configure: Regenerated.
18353 2013-08-23 Joseph Myers <joseph@codesourcery.com>
18356 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18357 * math/s_cexpf.c (__cexpf): Likewise.
18358 * math/s_cexpl.c (__cexpl): Likewise.
18359 * math/libm-test.inc (cexp_test_data): Correct expected return
18360 value for NaN + i0. Add another test.
18362 2013-08-22 David S. Miller <davem@davemloft.net>
18364 * po/ca.po: Update Catalan translation from translation project.
18365 * po/uk.po: Add Ukrainian translations from translation project.
18367 2013-08-21 Joseph Myers <joseph@codesourcery.com>
18370 * math/s_fdim.c (__fdim): Check for infinite arguments if result
18371 is infinite, not alongside NaN test.
18372 * math/s_fdimf.c (__fdimf): Likewise.
18373 * math/s_fdiml.c (__fdiml): Likewise.
18374 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
18375 errno is unchanged.
18377 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
18379 * argp/argp-help.c: Fix typos.
18380 * crypt/speeds.c: Likewise.
18381 * csu/check_fds.c: Likewise.
18382 * elf/dl-load.c: Likewise.
18383 * elf/dl-open.c: Likewise.
18384 * elf/reldep3.c: Likewise.
18385 * elf/reldep.c: Likewise.
18386 * elf/sprof.c: Likewise.
18387 * iconv/iconv_charmap.c: Likewise.
18388 * iconv/skeleton.c: Likewise.
18389 * iconv/strtab.c: Likewise.
18390 * io/lockf64.c: Likewise.
18391 * libio/libioP.h: Likewise.
18392 * resolv/gai_notify.c: Likewise.
18393 * resolv/ns_name.c: Likewise.
18394 * resolv/ns_samedomain.c: Likewise.
18395 * resolv/res_send.c: Likewise.
18396 * stdlib/random.c: Likewise.
18397 * sunrpc/rpc/xdr.h: Likewise.
18398 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18399 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18400 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18401 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18402 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18403 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18404 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18405 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18406 * sysdeps/mach/hurd/check_fds.c: Likewise.
18407 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18408 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18409 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18410 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18411 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18412 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18413 * sysdeps/pthread/aio_notify.c: Likewise.
18414 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18415 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18416 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18417 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18418 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18420 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18422 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18423 version if bit_Slow_SSE4_2 is set.
18424 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18425 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18427 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18430 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18431 trampoline stack frame information.
18432 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18433 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18434 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18435 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18436 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18437 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18438 (_libc_vdso_platform_setup): Initialize the signal trampolines.
18439 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18441 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18442 interrupting a syscall and set with option SA_SIGINFO.
18444 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18447 * math/s_cproj.c (__cproj): Only return an infinity if one part of
18448 argument is infinite.
18449 * math/s_cprojf.c (__cprojf): Likewise.
18450 * math/s_cprojl.c (__cprojl): Likewise.
18451 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18452 * math/libm-test.inc (cproj_test_data): Add more tests.
18454 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18456 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18457 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18458 size. Use __ffs to determine corresponding shift.
18460 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18461 Roland McGrath <roland@hack.frob.com>
18463 * Makefile (INSTALL): Remove trailing blank lines from output of
18466 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18468 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18469 Align 32 bit compat elf_greg to 8 bytes.
18471 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
18473 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18475 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18477 * string/strcoll_l.c (coll_seq): New structure.
18478 (get_next_seq_cached): New function.
18479 (get_next_seq): New function.
18480 (do_compare): New function.
18481 (STRCOLL): Use GNU style definition. Simplify implementation
18482 by using get_next_seq, get_next_seq_cached and do_compare.
18484 2013-08-16 Florian Weimer <fweimer@redhat.com>
18488 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18490 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18492 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18493 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18494 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
18496 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18497 GETDENTS_64BIT_ALIGNED.
18498 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18499 * manual/filesys.texi (Reading/Closing Directory): Document
18500 ENAMETOOLONG return value of readdir_r. Recommend readdir more
18502 * manual/conf.texi (Limits for Files): Add portability note to
18503 NAME_MAX, PATH_MAX.
18504 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18506 2013-08-13 Andreas Schwab <schwab@suse.de>
18509 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18511 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18512 LDBL_MAX_EXP >= 16384]: Add tests for it.
18514 2013-08-12 David S. Miller <davem@davemloft.net>
18516 * version.h (RELEASE): Set to "development".
18517 (VERSION): Set to "2.18.90".
18518 * NEWS: Add 2.19 section.
18520 2013-08-03 David S. Miller <davem@davemloft.net>
18522 * po/ko.po: Update Korean translation from translation project.
18524 2013-08-01 David S. Miller <davem@davemloft.net>
18526 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
18527 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18530 2013-07-30 David S. Miller <davem@davemloft.net>
18532 * po/fr.po: Update French translation from translation project.
18534 2013-07-28 David S. Miller <davem@davemloft.net>
18536 * po/cs.po: Update Czech translation from translation project.
18538 * po/sv.po: Update Swedish translation from translation project.
18540 2013-07-27 David S. Miller <davem@davemloft.net>
18542 * po/eo.po: Update Esperanto translation from translation project.
18544 * po/vi.po: Update Vietnamese translation from translation project.
18546 * po/de.po: Update German translation from translation project.
18548 2013-07-26 David S. Miller <davem@davemloft.net>
18550 * po/bg.po: Update Bulgarian translation from translation project.
18552 * po/nl.po: Update Dutch translation from translation project.
18553 * po/pl.po: Update Polish translation from translation project.
18554 * po/ru.po: Update Russian translation from translation project.
18556 2013-07-24 David S. Miller <davem@davemloft.net>
18558 * po/libc.pot: Update.
18560 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18562 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18563 variable page size.
18564 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18565 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18566 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18568 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18570 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18572 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18573 Andreas Schwab <schwab@suse.de>
18574 Roland McGrath <roland@hack.frob.com>
18575 Joseph Myers <joseph@codesourcery.com>
18576 Carlos O'Donell <carlos@redhat.com>
18579 * config.h.in: Define HAVE_PT_CHOWN.
18580 * config.make.in (build-pt-chown): New variable.
18581 * configure.in (--enable-pt_chown): New configure option.
18582 * configure: Regenerate.
18583 * login/Makefile: Include Makeconfig. Build pt_chown only if
18584 build-pt-chown is enabled.
18585 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18586 pt_chown to fix pty ownership.
18587 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18589 * manual/install.texi (Configuring and compiling): Mention
18590 --enable-pt_chown. Add @findex for grantpt.
18591 * INSTALL: Regenerate.
18593 2013-07-20 David S. Miller <davem@davemloft.net>
18595 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18596 difference between 32-bit and 64-bit.
18598 2013-07-15 Carlos O'Donell <carlos@redhat.com>
18601 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18602 Avoid system header dependency with -ffreestanding.
18603 ($(objpfx)bits/syscall%d): Likewise.
18605 2013-07-13 David S. Miller <davem@davemloft.net>
18607 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18608 underflows from atanl/atan2l due to bug 15319.
18609 (casinh_test_data): Likewise.
18611 2013-07-07 David S. Miller <davem@davemloft.net>
18613 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18615 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
18617 * sysdeps/i386/fpu/libm-test-ulps: Update.
18618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18620 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18622 * configure.in (--enable-lock-elision): Fix message text.
18623 * INSTALL: Regenerate.
18624 * configure: Regenerate.
18626 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18630 2013-07-03 Andreas Jaeger <aj@suse.de>
18632 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18634 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18635 (ptrace_peeksiginfo_args): Add.
18636 (__ptrace_peeksiginfo_flags): Add.
18637 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18638 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18639 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18641 2013-07-03 Allan McRae <allan@archlinux.org>
18643 * sysdeps/i386/fpu/libm-test-ulps: Update.
18645 2013-07-02 David S. Miller <davem@davemloft.net>
18647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18649 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
18651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18653 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18655 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18658 2013-07-02 Andi Kleen <ak@linux.intel.com>
18660 * config.h.in (ENABLE_LOCK_ELISION): Add.
18661 * configure.in (--enable-lock-elision): Add option.
18662 * manual/install.texi: Document --enable lock elision.
18663 * configure: Regenerate
18664 * INSTALL: Regenerate.
18666 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
18668 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18669 SSE4.2 strcasecmp for libc.a.
18670 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18672 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18675 * soft-fp/op-common.h (_FP_FMA): New macro.
18676 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18677 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
18678 (_FP_MUL_MEAT_1_imm): ... here.
18679 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
18680 (_FP_MUL_MEAT_1_wide): ... here.
18681 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
18682 (_FP_MUL_MEAT_1_hard): ... here.
18683 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18684 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
18685 (_FP_MUL_MEAT_2_wide): ... here.
18686 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
18687 (_FP_MUL_MEAT_2_wide_3mul): ... here.
18688 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
18689 (_FP_MUL_MEAT_2_gmp): ... here.
18690 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18691 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
18692 (_FP_MUL_MEAT_4_wide): ... here.
18693 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
18694 (_FP_MUL_MEAT_4_gmp): ... here.
18695 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18696 (_FP_WFRACBITS_DW_S): Likewise.
18697 (_FP_WFRACXBITS_DW_S): Likewise.
18698 (_FP_HIGHBIT_DW_S): Likewise.
18699 (FP_FMA_S): Likewise.
18700 (_FP_FRAC_HIGH_DW_S): Likewise.
18701 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18702 (_FP_WFRACBITS_DW_D): Likewise.
18703 (_FP_WFRACXBITS_DW_D): Likewise.
18704 (_FP_HIGHBIT_DW_D): Likewise.
18705 (FP_FMA_D): Likewise.
18706 (_FP_FRAC_HIGH_DW_D): Likewise.
18707 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18708 (_FP_WFRACBITS_DW_E): Likewise.
18709 (_FP_WFRACXBITS_DW_E): Likewise.
18710 (_FP_HIGHBIT_DW_E): Likewise.
18711 (FP_FMA_E): Likewise.
18712 (_FP_FRAC_HIGH_DW_E): Likewise.
18713 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18714 (_FP_WFRACBITS_DW_Q): Likewise.
18715 (_FP_WFRACXBITS_DW_Q): Likewise.
18716 (_FP_HIGHBIT_DW_Q): Likewise.
18717 (FP_FMA_Q): Likewise.
18718 (_FP_FRAC_HIGH_DW_Q): Likewise.
18719 * soft-fp/fmasf4.c: New file.
18720 * soft-fp/fmadf4.c: Likewise.
18721 * soft-fp/fmatf4.c: Likewise.
18723 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18725 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18726 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18728 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18730 (index_Slow_SSE4_2): Likewise.
18731 (index_Prefer_PMINUB_for_stringop): Likewise.
18732 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18733 bit_Slow_SSE4_2 is set.
18734 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18735 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18737 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18739 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18740 rtld_global._dl_hwcap2.
18741 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18743 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18744 POWER8 feature descriptions defined in _dl_hwcap2.
18745 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18746 string handling for POWER8 feature bits.
18747 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18748 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18749 _dl_powerpc_cap_flags.
18750 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18751 * sysdeps/powerpc/rtld-global-offsets.sym
18752 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18753 _dl_hwcap2 in the rtld_global_ro structure.
18755 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18757 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18758 hardware capabilities in support of AT_HWCAP2.
18759 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18760 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18762 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18763 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18764 explicitly the unknown a_type display mechanism is used.
18765 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18766 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18768 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18769 to macro prototype for AT_HWCAP2 support.
18770 * sysdeps/i386/dl-procinfo.h: Likewise.
18771 * sysdeps/s390/dl-procinfo.h: Likewise.
18772 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18773 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18774 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18775 return -1 for unknown a_type display fallback.
18776 * sysdeps/sparc/dl-procinfo.h: Likewise.
18777 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18778 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18780 2013-06-28 Joseph Myers <joseph@codesourcery.com>
18782 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18783 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18785 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18788 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18789 mprotect making __stack_prot writable.
18791 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18792 Joseph Myers <joseph@codesourcery.com>
18794 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18795 as being properly aligned.
18797 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18799 * dlfcn/modstatic5.c: New file.
18800 * dlfcn/tststatic5.c: New file.
18801 * dlfcn/Makefile (tests): Add tststatic5.
18802 (tests-static): Likewise.
18803 (modules-names): Add modstatic5.
18804 (tststatic5-ENV): New variable.
18805 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18808 * elf/dl-support.c (_dl_main_map): New variable.
18809 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18810 (_dl_nns, _dl_load_adds): Set to 1.
18811 (_dl_initial_searchlist): Refer to _dl_main_map.
18812 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18813 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18814 call to _dl_get_origin.
18815 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18817 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18818 * dlfcn/modstatic3.c: New file.
18819 * dlfcn/tststatic3.c: New file.
18820 * dlfcn/tststatic4.c: New file.
18821 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18822 (tests-static): Likewise.
18823 (modules-names): Add modstatic3.
18824 (tststatic3-ENV, tststatic4-ENV): New variables.
18825 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18826 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18828 2013-06-26 Joseph Myers <joseph@codesourcery.com>
18830 * configure.in (CC): Require GCC version 4.4 or later.
18831 * configure: Regenerated.
18832 * manual/install.texi (Tools for Compilation): Update GCC version
18834 * INSTALL: Regenerated.
18836 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18839 * string/test-memcmp.c (check2): New.
18840 (main): Call check2.
18842 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18844 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18847 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18849 (dl_open_worker) [!SHARED]: ... here.
18851 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18853 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18855 2013-06-25 Richard Henderson <rth@redhat.com>
18857 * locale/programs/locarchive.c: Include <libc-internal.h>
18859 2013-06-25 Joseph Myers <joseph@codesourcery.com>
18861 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18862 trailing whitespace removed.
18864 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18867 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18868 * locale/programs/locarchive.c: Include libc-mmap.h.
18869 (prepare_address_space): Take two new outputs (the mmap base and len).
18870 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18872 (create_archive): Declare new mmap base and len values for
18873 prepare_address_space, and store the result in ah.
18874 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18875 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18876 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18877 Declare new mmap base and len values for
18878 prepare_address_space, and store the result in new_ah.
18879 (open_archive): Declare new mmap base and len values for
18880 prepare_address_space, and store the result in ah.
18881 (close_archive): If ah->mmap_base is not NULL, use that and
18882 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18883 * sysdeps/generic/libc-mmap.h: New file.
18885 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18887 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18888 (ALIGN_UP): Likewise.
18889 (PTR_ALIGN_DOWN): Likewise.
18890 (PTR_ALIGN_UP): Likewise.
18892 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18894 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18895 entry mapped to PPC_PLATFORM_POWER8.
18896 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18898 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18899 (_dl_string_platform): Add case for exporting platform position for
18901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18902 search path to sysdeps/powerpc/powerpc32/power8 directory.
18903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18904 search path to sysdeps/powerpc/powerpc64/power8 directory.
18905 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18906 power7 directories.
18907 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18908 power7 directories.
18910 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18912 * INSTALL: Regenerate.
18914 * nscd/connections.c (nscd_init): Fix comment.
18916 2013-06-22 Joseph Myers <joseph@codesourcery.com>
18918 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18921 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18922 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18924 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18926 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18928 (DL_DST_REQ_STATIC): Remove macro.
18930 2013-06-21 Joseph Myers <joseph@codesourcery.com>
18933 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18934 with a shift of 0 bits.
18936 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18938 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18941 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18944 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18946 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18948 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18949 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18950 accepts -fno-tree-loop-distribute-patterns.
18951 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18952 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18954 * string/memset.c (memset): Likewise.
18955 * string/test-memmove.c (simple_memmove): Disable loop transformation
18957 * string/test-memset.c (simple_memset): Likewise.
18958 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18959 * benchtests/bench-memset.c (simple_memset): Likewise.
18960 * configure: Regenerated.
18962 2013-06-20 Joseph Myers <joseph@codesourcery.com>
18964 * math/test-misc.c (main): Ignore fesetround failure when failures
18965 of subsequent rounding tests would be ignored.
18968 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18969 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18970 * math/fegetenv.c (__fegetenv): Return 0.
18971 * math/fegetexcept.c (fegetexcept): Return 0.
18972 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18974 * math/feholdexcpt.c (feholdexcept): Return 0.
18975 * math/fesetenv.c (__fesetenv): Return 0.
18976 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18977 argument FE_TONEAREST.
18978 * math/feupdateenv.c (__feupdateenv): Return 0.
18979 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18981 2013-06-18 Roland McGrath <roland@hack.frob.com>
18983 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18984 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18985 ($(objpfx)rtld-%.os rules): Use them.
18987 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18989 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18992 2013-06-17 Roland McGrath <roland@hack.frob.com>
18994 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18995 length of target pattern, then descending length of dependency pattern.
18996 * configure.in (AWK): Require gawk 3.1.2 or newer.
18997 * manual/install.texi (Tools for Compilation): Say that we do.
18998 * configure: Regenerated.
19000 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19001 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19002 * scripts/sysd-rules.awk: ... this new script.
19003 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19004 than a glob-style pattern.
19006 2013-06-17 Joseph Myers <joseph@codesourcery.com>
19008 * math/test-misc.c (main): Do not treat incorrectly rounded
19009 conversions as failure unless ROUNDING_TESTS passes.
19011 2013-06-15 Joseph Myers <joseph@codesourcery.com>
19014 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19015 restore exception state around main square root computation, then
19016 check for inexactness explicitly.
19018 * math/libm-test.inc (fma_test_data): Add another test.
19020 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19022 * manual/threads.texi (Non-POSIX Extensions): New document
19023 node. Document pthread_getattr_default_np and
19024 pthread_setattr_default_np.
19026 * Versions.def (libpthread): Add GLIBC_2.18.
19027 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19036 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19047 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19049 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19050 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19052 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19053 H.J. Lu <hjl.tools@gmail.com>
19056 * sysdeps/x86_64/rtld-memset.c: Remove file.
19057 * sysdeps/x86_64/rtld-memset.S: New file.
19059 2013-06-14 Joseph Myers <joseph@codesourcery.com>
19061 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19062 (test_in_one_mode): Take arguments for whether the rounding mode
19063 is supported for each floating-point type.
19064 (do_test): Pass new arguments to test_in_one_mode using
19067 2013-06-13 Roland McGrath <roland@hack.frob.com>
19069 * posix/tst-waitid.c (do_test): Distinguish different instances of
19070 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
19071 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19072 before entering the kernel for waitpid.
19074 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19076 * NEWS: Fix note on clock function precision. Text by Roland
19079 2013-06-13 Roland McGrath <roland@hack.frob.com>
19081 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19082 it into place only when and if the sanity check passes.
19084 2013-06-13 Joseph Myers <joseph@codesourcery.com>
19086 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19087 output for whether conversion result is exact. Take argument
19088 indicating whether type is IBM long double.
19089 (round_for_all): Change need_exact field to ibm_ld.
19090 * stdlib/tst-strtod-round.c (struct exactness): New type.
19091 (struct test): Change bool ld_ok field to struct exactness exact.
19092 (TEST): Update all definitions for change to field.
19093 (tests): Regenerate array contents.
19094 (test_in_one_mode): Take pointer to new field instead of old ld_ok
19095 field value. Check for IBM long double here.
19096 (do_test): Update calls to test_in_one_mode.
19098 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19101 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19102 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19104 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19107 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19108 generated by the compiler on loop optimizations.
19109 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19110 general definitions.
19112 2013-06-12 Joseph Myers <joseph@codesourcery.com>
19114 * math/bug-nextafter.c: Include <math-tests.h>.
19115 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19117 * math/bug-nexttoward.c: Include <math-tests.h>.
19118 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19120 * math/test-misc.c: Include <math-tests.h>.
19121 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19124 2013-06-12 Andreas Jaeger <aj@suse.de>
19126 * po/ia.po: Update Interlingua translation from translation
19129 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19131 * include/fenv.h: Include stdbool.h.
19132 (struct rm_ctx): New structure.
19133 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19135 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19136 (SET_RESTORE_ROUNDF): Likewise.
19137 (SET_RESTORE_ROUNDL): Likewise.
19138 (SET_RESTORE_ROUND_NOEX): Likewise.
19139 (SET_RESTORE_ROUND_NOEXF): Likewise.
19140 (SET_RESTORE_ROUND_NOEXL): Likewise.
19141 (SET_RESTORE_ROUND_53BIT): Likewise.
19142 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19143 (libc_feresetround_noexf_ctx): Likewise.
19144 (libc_feresetround_noexl_ctx): Likewise.
19145 (libc_feholdsetround_53bit_ctx): Likewise.
19146 (libc_feresetround_53bit_ctx): Likewise.
19147 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19148 (libc_feholdexcept_setround_sse_ctx): New function.
19149 (libc_fesetenv_sse_ctx): Likewise.
19150 (libc_feupdateenv_sse_ctx): Likewise.
19151 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19152 (libc_feholdexcept_setround_387_ctx): Likewise.
19153 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19154 (libc_feholdsetround_387_prec_ctx): Likewise.
19155 (libc_feholdsetround_387_ctx): Likewise.
19156 (libc_feholdsetround_387_53bit_ctx): Likewise.
19157 (libc_feholdsetround_sse_ctx): Likewise.
19158 (libc_feresetround_sse_ctx): Likewise.
19159 (libc_feresetround_387_ctx): Likewise.
19160 (libc_feupdateenv_387_ctx): Likewise.
19161 (libc_feholdexcept_setroundf_ctx): Define macro.
19162 (libc_fesetenvf_ctx): Likewise.
19163 (libc_feupdateenvf_ctx): Likewise.
19164 (libc_feholdsetroundf_ctx): Likewise.
19165 (libc_feresetroundf_ctx): Likewise.
19166 (libc_feholdexcept_setround_ctx): Likewise.
19167 (libc_fesetenv_ctx): Likewise.
19168 (libc_feupdateenv_ctx): Likewise.
19169 (libc_feholdsetround_ctx): Likewise.
19170 (libc_feresetround_ctx): Likewise.
19171 (libc_feholdexcept_setroundl_ctx): Likewise.
19172 (libc_feupdateenvl_ctx): Likewise.
19173 (libc_feholdsetroundl_ctx): Likewise.
19174 (libc_feresetroundl_ctx): Likewise.
19175 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19176 (libc_feresetround_53bit_ctx): Likewise.
19178 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19180 * locale/iso-639.def: Convert to UTF-8.
19182 2013-06-11 Joseph Myers <joseph@codesourcery.com>
19184 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19185 (EXCEPTION_TESTS_double): Likewise.
19186 (EXCEPTION_TESTS_long_double): Likewise.
19187 (EXCEPTION_TESTS): Likewise.
19188 * math/libm-test.inc (test_exceptions): Only test exceptions if
19189 EXCEPTION_TESTS (FLOAT).
19191 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19193 * benchtests/Makefile (string-bench): Add strcpy_chk and
19195 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19196 * benchtests/bench-stpcpy_chk.c: New file.
19197 * benchtests/bench-strcpy_chk-ifunc.c: New file.
19198 * benchtests/bench-strcpy_chk.c: New file.
19199 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19201 (do_test): Likewise.
19203 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19205 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19206 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19207 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19208 with tabs where appropriate.
19209 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19211 [PPC_PLATFORM_PPC440]: Likewise.
19212 [PPC_PLATFORM_PPC464]: Likewise.
19213 [PPC_PLATFORM_PPC476]: Likewise.
19214 (_dl_string_platform): Add support for detecting ppc405, ppc440,
19215 ppc464, and ppc476 platform strings merging from ports/
19218 2013-06-11 Andreas Schwab <schwab@suse.de>
19221 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19222 (from_ucs4_idx): Regenerate.
19223 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19224 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19225 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19226 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19227 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19228 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19229 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19230 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19231 from FROM_LOOP and TO_LOOP specific macros.
19232 (BODY): Handle combining characters.
19233 * iconvdata/BIG5HKSCS.irreversible: Update.
19234 * iconvdata/BIG5HKSCS.precomposed: New file.
19235 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19237 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19239 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19241 * include/sys/time.h: Fix indentation and add copyright header.
19243 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19244 (do_test): Likewise.
19245 * string/test-memchr.c (do_one_test): Likewise.
19246 (do_test): Likewise.
19247 * string/test-memcmp.c (do_one_test): Likewise.
19248 (do_test): Likewise.
19249 * string/test-memcpy.c (do_one_test): Likewise.
19250 (do_test): Likewise.
19251 * string/test-memmem.c (do_one_test): Likewise.
19252 (do_test): Likewise.
19253 (do_random_tests): Likewise.
19254 * string/test-memmove.c (do_one_test): Likewise.
19255 (do_test): Likewise.
19256 * string/test-memset.c (do_one_test): Likewise.
19257 (do_test): Likewise.
19258 * string/test-rawmemchr.c (do_one_test): Likewise.
19259 (do_test): Likewise.
19260 * string/test-strcasecmp.c (do_one_test): Likewise.
19261 (do_test): Likewise.
19262 * string/test-strcasestr.c (do_one_test): Likewise.
19263 (do_test): Likewise.
19264 * string/test-strcat.c (do_one_test): Likewise.
19265 (do_test): Likewise.
19266 * string/test-strchr.c (do_one_test): Likewise.
19267 (do_test): Likewise.
19268 * string/test-strcmp.c (do_one_test): Likewise.
19269 (do_test): Likewise.
19270 * string/test-strcpy.c (do_one_test): Likewise.
19271 (do_test): Likewise.
19272 * string/test-string.h: Likewise.
19273 (test_init): Likewise.
19274 * string/test-strlen.c (do_one_test): Likewise.
19275 (do_test): Likewise.
19276 * string/test-strncasecmp.c (do_one_test): Likewise.
19277 (do_test): Likewise.
19278 * string/test-strncat.c (do_one_test): Likewise.
19279 (do_test): Likewise.
19280 * string/test-strncmp.c (do_one_test): Likewise.
19281 (do_test_limit): Likewise.
19282 (do_test): Likewise.
19283 * string/test-strncpy.c (do_one_test): Likewise.
19284 (do_test): Likewise.
19285 * string/test-strnlen.c (do_one_test): Likewise.
19286 (do_test): Likewise.
19287 * string/test-strpbrk.c (do_one_test): Likewise.
19288 (do_test): Likewise.
19289 * string/test-strrchr.c (do_one_test): Likewise.
19290 (do_test): Likewise.
19291 * string/test-strspn.c (do_one_test): Likewise.
19292 (do_test): Likewise.
19293 * string/test-strstr.c (do_one_test): Likewise.
19294 (do_test): Likewise.
19296 * benchtests/Makefile (string-bench): Add string benchmarks.
19297 * benchtests/bench-bcopy-ifunc.c: New file.
19298 * benchtests/bench-bcopy.c: New file.
19299 * benchtests/bench-bzero-ifunc.c: New file.
19300 * benchtests/bench-bzero.c: New file.
19301 * benchtests/bench-memccpy-ifunc.c: New file.
19302 * benchtests/bench-memccpy.c: New file.
19303 * benchtests/bench-memchr-ifunc.c: New file.
19304 * benchtests/bench-memchr.c: New file.
19305 * benchtests/bench-memcmp-ifunc.c: New file.
19306 * benchtests/bench-memcmp.c: New file.
19307 * benchtests/bench-memmem-ifunc.c: New file.
19308 * benchtests/bench-memmem.c: New file.
19309 * benchtests/bench-memmove-ifunc.c: New file.
19310 * benchtests/bench-memmove.c: New file.
19311 * benchtests/bench-mempcpy-ifunc.c: New file.
19312 * benchtests/bench-mempcpy.c: New file.
19313 * benchtests/bench-memset-ifunc.c: New file.
19314 * benchtests/bench-memset.c: New file.
19315 * benchtests/bench-rawmemchr-ifunc.c: New file.
19316 * benchtests/bench-rawmemchr.c: New file.
19317 * benchtests/bench-stpcpy-ifunc.c: New file.
19318 * benchtests/bench-stpcpy.c: New file.
19319 * benchtests/bench-stpncpy-ifunc.c: New file.
19320 * benchtests/bench-stpncpy.c: New file.
19321 * benchtests/bench-strcasecmp-ifunc.c: New file.
19322 * benchtests/bench-strcasecmp.c: New file.
19323 * benchtests/bench-strcasestr-ifunc.c: New file.
19324 * benchtests/bench-strcasestr.c: New file.
19325 * benchtests/bench-strcat-ifunc.c: New file.
19326 * benchtests/bench-strcat.c: New file.
19327 * benchtests/bench-strchr-ifunc.c: New file.
19328 * benchtests/bench-strchr.c: New file.
19329 * benchtests/bench-strchrnul-ifunc.c: New file.
19330 * benchtests/bench-strchrnul.c: New file.
19331 * benchtests/bench-strcmp-ifunc.c: New file.
19332 * benchtests/bench-strcmp.c: New file.
19333 * benchtests/bench-strcpy-ifunc.c: New file.
19334 * benchtests/bench-strcpy.c: New file.
19335 * benchtests/bench-strcspn-ifunc.c: New file.
19336 * benchtests/bench-strcspn.c: New file.
19337 * benchtests/bench-strlen-ifunc.c: New file.
19338 * benchtests/bench-strlen.c: New file.
19339 * benchtests/bench-strncasecmp-ifunc.c: New file.
19340 * benchtests/bench-strncasecmp.c: New file.
19341 * benchtests/bench-strncat-ifunc.c: New file.
19342 * benchtests/bench-strncat.c: New file.
19343 * benchtests/bench-strncmp-ifunc.c: New file.
19344 * benchtests/bench-strncmp.c: New file.
19345 * benchtests/bench-strncpy-ifunc.c: New file.
19346 * benchtests/bench-strncpy.c: New file.
19347 * benchtests/bench-strnlen-ifunc.c: New file.
19348 * benchtests/bench-strnlen.c: New file.
19349 * benchtests/bench-strpbrk-ifunc.c: New file.
19350 * benchtests/bench-strpbrk.c: New file.
19351 * benchtests/bench-strrchr-ifunc.c: New file.
19352 * benchtests/bench-strrchr.c: New file.
19353 * benchtests/bench-strspn-ifunc.c: New file.
19354 * benchtests/bench-strspn.c: New file.
19355 * benchtests/bench-strstr-ifunc.c: New file.
19356 * benchtests/bench-strstr.c: New file.
19358 * benchtests/Makefile: Disable parallel execution of targets.
19359 (string-bench): Add memcpy.
19360 (benchset): New variable to store a list of benchmark sets.
19361 (bench-func): Renamed from bench.
19362 (bench-set): New target.
19363 (bench): Depend on bench-func and bench-set.
19364 * benchtests/README: Add section on benchmark sets.
19365 * benchtests/bench-memcpy-ifunc.c: New file.
19366 * benchtests/bench-memcpy.c: New file.
19367 * benchtests/bench-string.h: New file.
19369 2013-06-11 Andreas Schwab <schwab@suse.de>
19372 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19373 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19374 values in the triple.
19375 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19376 terminator in the group key.
19378 2013-06-11 Andreas Jaeger <aj@suse.de>
19380 * po/zh_TW.po: Update Chinese (traditional) translation from
19381 translation project.
19383 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19385 * include/time.h (__clock_gettime): Add libc_hidden_proto.
19386 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19387 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
19388 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19389 (clock_getcpuclockid): Likewise.
19390 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19391 Add weak_alias and libc_hidden_def.
19392 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19393 * rt/clock_gettime.c (clock_gettime): Rename to
19394 __clock_gettime. Add weak_alias and libc_hidden_def.
19395 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19396 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19397 __clock_nanosleep. Add weak_alias and libc_hidden_def.
19398 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19399 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19401 * rt/clock_settime.c (clock_settime): Rename to
19402 __clock_settime. Add weak_alias and libc_hidden_def.
19403 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19405 2013-06-10 Joseph Myers <joseph@codesourcery.com>
19407 * mach/err_boot.sub: Remove trailing whitespace.
19408 * mach/err_ipc.sub: Likewise.
19409 * mach/err_mach.sub: Likewise.
19411 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19412 (ROUNDING_TESTS_double): Likewise.
19413 (ROUNDING_TESTS_long_double): Likewise.
19414 (ROUNDING_TESTS): Likewise.
19415 * math/libm-test.inc: Include <math-tests.h>.
19416 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19417 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19418 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19419 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19421 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19423 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19426 2013-06-08 Joseph Myers <joseph@codesourcery.com>
19428 * sysdeps/gnu/errlist.awk: Do not generate space at end of
19429 otherwise empty TRANS lines.
19430 * sysdeps/gnu/errlist.c: Regenerated.
19432 * catgets/gencat.c (error_print): Use (void) in function
19434 * crypt/crypt_util.c (__init_des): Likewise.
19435 * crypt/speeds.c (Stop): Likewise.
19437 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19438 * inet/ruserpass.c (token): Likewise.
19439 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19440 * intl/localealias.c (extend_alias_table): Likewise.
19441 * intl/plural-exp.c (init_germanic_plural): Likewise.
19442 * libio/fcloseall.c (__fcloseall): Likewise.
19443 * libio/genops.c (_IO_flush_all): Likewise.
19444 (_IO_flush_all_linebuffered): Likewise.
19445 (_IO_cleanup): Likewise.
19446 (_IO_iter_begin): Likewise.
19447 (_IO_iter_end): Likewise.
19448 (_IO_list_lock): Likewise.
19449 (_IO_list_unlock): Likewise.
19450 (_IO_list_resetlock): Likewise.
19451 * libio/getchar.c (getchar): Likewise.
19452 * libio/getchar_u.c (getchar_unlocked): Likewise.
19453 * libio/getwchar.c (getwchar): Likewise.
19454 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19455 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19456 * login/getpt.c (__getpt): Likewise.
19457 * login/tst-utmp.c (main): Likewise.
19458 * malloc/hooks.c (__malloc_check_init): Likewise.
19459 * malloc/malloc.c (__malloc_stats): Likewise.
19460 * malloc/mtrace.c (tr_break): Likewise.
19461 (mtrace): Likewise.
19462 (muntrace): Likewise.
19463 * misc/fstab.c (endfsent): Likewise.
19464 * misc/getclktck.c (__getclktck): Likewise.
19465 * misc/getdtsz.c (__getdtablesize): Likewise.
19466 * misc/gethostid.c (gethostid): Likewise.
19467 * misc/getpagesize.c (__getpagesize): Likewise.
19468 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19469 (__get_nprocs): Likewise.
19470 (__get_phys_pages): Likewise.
19471 (__get_avphys_pages): Likewise.
19472 * misc/getttyent.c (getttyent): Likewise.
19473 (setttyent): Likewise.
19474 (endttyent): Likewise.
19475 * misc/getusershell.c (getusershell): Likewise.
19476 (endusershell): Likewise.
19477 (setusershell): Likewise.
19478 (initshells): Likewise.
19479 * misc/hsearch.c (__hdestroy): Likewise.
19480 * misc/sync.c (sync): Likewise.
19481 * misc/syslog.c (closelog_internal): Likewise.
19482 (closelog): Likewise.
19483 * misc/ttyslot.c (ttyslot): Likewise.
19484 * misc/vhangup.c (vhangup): Likewise.
19485 * posix/fork.c (__fork): Likewise.
19486 * posix/getegid.c (__getegid): Likewise.
19487 * posix/geteuid.c (__geteuid): Likewise.
19488 * posix/getgid.c (__getgid): Likewise.
19489 * posix/getpid.c (__getpid): Likewise.
19490 * posix/getppid.c (__getppid): Likewise.
19491 * posix/getuid.c (__getuid): Likewise.
19492 * posix/pause.c (pause): Likewise.
19493 * posix/setpgrp.c (setpgrp): Likewise.
19494 * posix/setsid.c (__setsid): Likewise.
19495 * posix/test-vfork.c (noop): Likewise.
19496 * resolv/gethnamaddr.c (_endhtent): Likewise.
19497 (_gethtent): Likewise.
19498 (ht_endhostent): Likewise.
19499 (gethostent): Likewise.
19500 (dns_service): Likewise.
19501 * stdlib/drand48.c (drand48): Likewise.
19502 * stdlib/lrand48.c (lrand48): Likewise.
19503 * stdlib/mrand48.c (mrand48): Likewise.
19504 * stdlib/rand.c (rand): Likewise.
19505 * stdlib/random.c (__random): Likewise.
19506 * stdlib/setenv.c (clearenv): Likewise.
19507 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19508 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19509 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19510 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19511 (__get_nprocs): Likewise.
19512 (__get_phys_pages): Likewise.
19513 (__get_avphys_pages): Likewise.
19514 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19515 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19516 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19517 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19518 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19519 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19520 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19521 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19522 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19523 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19524 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19525 * sysdeps/mach/hurd/sync.c (sync): Likewise.
19526 * sysdeps/posix/clock.c (clock): Likewise.
19527 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19528 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19529 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19530 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19531 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19532 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19533 (__get_nprocs_conf): Likewise.
19534 (__get_phys_pages): Likewise.
19535 (__get_avphys_pages): Likewise.
19536 * time/clock.c (clock): Likewise.
19537 * time/tzset.c (__tzname_max): Likewise.
19539 2013-06-07 Joseph Myers <joseph@codesourcery.com>
19541 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19542 (__bswap_32): Do not use "register".
19543 * crypt/crypt.c (_ufc_doit_r): Likewise.
19544 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19545 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19546 * gmon/gmon.c (__monstartup): Likewise.
19547 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19548 * hurd/hurdmalloc.c (more_memory): Likewise.
19549 (malloc): Likewise.
19551 (realloc): Likewise.
19552 (malloc_fork_prepare): Likewise.
19553 (malloc_fork_parent): Likewise.
19554 (malloc_fork_child): Likewise.
19555 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19556 (_svcauth_des): Likewise.
19557 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19558 * inet/inet_net.c (inet_network): Likewise.
19559 * inet/inet_netof.c (inet_netof): Likewise.
19560 * inet/rcmd.c (__validuser2_sa): Likewise.
19561 * io/fts.c (fts_open): Likewise.
19562 (fts_load): Likewise.
19563 (fts_close): Likewise.
19564 (fts_read): Likewise.
19565 (fts_children): Likewise.
19566 (fts_build): Likewise.
19567 (fts_stat): Likewise.
19568 (fts_sort): Likewise.
19569 (fts_alloc): Likewise.
19570 (fts_lfree): Likewise.
19571 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19572 (_IO_file_xsgetn): Likewise.
19573 (_IO_file_xsgetn_mmap): Likewise.
19574 * libio/iofopncook.c (_IO_cookie_read): Likewise.
19575 (_IO_cookie_write): Likewise.
19576 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19577 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19578 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19579 * malloc/obstack.c (_obstack_begin): Likewise.
19580 (_obstack_begin_1): Likewise.
19581 (_obstack_newchunk): Likewise.
19582 (_obstack_allocated_p): Likewise.
19583 (obstack_free): Likewise.
19584 (_obstack_memory_used): Likewise.
19585 * misc/getttyent.c (getttynam): Likewise.
19586 (getttyent): Likewise.
19589 * misc/getusershell.c (initshells): Likewise.
19590 * misc/syslog.c (__vsyslog_chk): Likewise.
19591 * misc/ttyslot.c (ttyslot): Likewise.
19592 * nis/nis_hash.c (__nis_hash): Likewise.
19593 * posix/fnmatch_loop.c (FCT): Likewise.
19594 * posix/getconf.c (print_all): Likewise.
19596 * posix/getopt.c (exchange): Likewise.
19597 * posix/glob.c (globfree): Likewise.
19598 (prefix_array): Likewise.
19599 (__glob_pattern_type): Likewise.
19600 * resolv/arpa/nameser.h (NS_GET16): Likewise.
19601 (NS_GET32): Likewise.
19602 (NS_PUT16): Likewise.
19603 (NS_PUT32): Likewise.
19604 * resolv/gethnamaddr.c (getanswer): Likewise.
19605 (gethostbyname2): Likewise.
19606 (gethostbyaddr): Likewise.
19607 (_gethtent): Likewise.
19608 (_gethtbyname2): Likewise.
19609 (_gethtbyaddr): Likewise.
19610 * resolv/ns_print.c (dst_s_get_int16): Likewise.
19611 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19612 * resolv/res_init.c (__res_vinit): Likewise.
19613 (net_mask): Likewise.
19614 * resolv/res_mkquery.c (outchar): Likewise.
19616 * stdio-common/printf_fp.c (outchar): Likewise.
19618 * stdio-common/printf_fphex.c (outchar): Likewise.
19620 * stdio-common/printf_size.c (outchar): Likewise.
19622 * stdio-common/test_rdwr.c (main): Likewise.
19623 * stdio-common/tfformat.c (matches): Likewise.
19624 * stdio-common/vfprintf.c (outchar): Likewise.
19625 (printf_unknown): Likewise.
19626 (buffered_vfprintf): Likewise.
19627 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19628 * stdio-common/xbug.c (AppendToBuffer): Likewise.
19629 (ReadFile): Likewise.
19630 * stdlib/qsort.c (SWAP): Likewise.
19631 (_quicksort): Likewise.
19632 * stdlib/setenv.c (__add_to_environ): Likewise.
19633 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19634 * stdlib/strtol_l.c (__strtol_l): Likewise.
19635 * stdlib/tst-strtod.c (main): Likewise.
19636 * stdlib/tst-strtol.c (main): Likewise.
19637 * stdlib/tst-strtoll.c (main): Likewise.
19638 * string/bits/string2.h (__strcmp_cc): Likewise.
19639 (__strcmp_cg): Likewise.
19640 (__strcspn_c1): Likewise.
19641 (__strcspn_c2): Likewise.
19642 (__strcspn_c3): Likewise.
19643 (__strspn_c1): Likewise.
19644 (__strspn_c2): Likewise.
19645 (__strspn_c3): Likewise.
19646 (__strsep_1c): Likewise.
19647 (__strsep_2c): Likewise.
19648 (__strsep_3c): Likewise.
19649 * string/memccpy.c (__memccpy): Likewise.
19650 * string/stpcpy.c (__stpcpy): Likewise.
19651 * string/strcmp.c (strcmp): Likewise.
19652 * string/strrchr.c (strrchr): Likewise.
19653 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19655 * sysdeps/mach/hurd/getcwd.c
19656 (_hurd_canonicalize_directory_name_internal): Likewise.
19657 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19658 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19659 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19660 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19661 Likewise, in both definitions.
19662 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19664 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19665 64] (__bswap_64): Likewise.
19666 * time/test_time.c (main): Likewise.
19667 * time/tzfile.c (__tzfile_read): Likewise.
19668 (__tzfile_compute): Likewise.
19669 * time/tzset.c (__tzset_parse_tz): Likewise.
19670 (tzset_internal): Likewise.
19671 (compute_change): Likewise.
19672 * wcsmbs/wcscat.c (__wcscat): Likewise.
19673 * wcsmbs/wcschr.c (wcschr): Likewise.
19674 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19675 * wcsmbs/wcscspn.c (wcscspn): Likewise.
19676 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19677 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19678 * wcsmbs/wcsspn.c (wcsspn): Likewise.
19679 * wcsmbs/wcsstr.c (wcsstr): Likewise.
19680 * wcsmbs/wmemchr.c (wmemchr): Likewise.
19681 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19682 * wcsmbs/wmemset.c (wmemset): Likewise.
19684 2013-06-06 Joseph Myers <joseph@codesourcery.com>
19686 * scripts/config.guess: Update to version 2013-05-16.
19687 * scripts/config.sub: Update to version 2013-04-24.
19688 * scripts/install-sh: Update to version 2011-11-20.07.
19689 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19690 * scripts/move-if-change: Update to version 2012-01-06 07:23.
19692 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
19694 * debug/fgetws_u_chk.c: Fix leading whitespaces.
19695 * elf/sln.c: Likewise.
19696 * hurd/hurd/ioctl.h: Likewise.
19697 * hurd/hurdmalloc.c: Likewise.
19698 * hurd/xattr.c: Likewise.
19699 * include/shlib-compat.h: Likewise.
19700 * inet/ruserpass.c: Likewise.
19701 * libio/iofgets_u.c: Likewise.
19702 * libio/iofgetws_u.c: Likewise.
19703 * locale/programs/ld-identification.c: Likewise.
19704 * locale/programs/ld-time.c: Likewise.
19705 * mach/msg-destroy.c: Likewise.
19706 * nss/nss_files/files-netgrp.c: Likewise.
19707 * resolv/res_data.c: Likewise.
19708 * soft-fp/op-1.h: Likewise.
19709 * soft-fp/op-2.h: Likewise.
19710 * soft-fp/op-4.h: Likewise.
19711 * soft-fp/op-common.h: Likewise.
19712 * stdio-common/printf_fphex.c: Likewise.
19713 * stdlib/strtod_l.c: Likewise.
19714 * sunrpc/rpc/clnt.h: Likewise.
19715 * sysdeps/generic/framestate.c: Likewise.
19716 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19717 * sysdeps/i386/bsd-setjmp.S: Likewise.
19718 * sysdeps/i386/__longjmp.S: Likewise.
19719 * sysdeps/i386/setjmp.S: Likewise.
19720 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19721 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19722 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19723 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19724 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19725 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19726 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19727 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19728 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19729 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19730 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19731 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19732 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19733 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19734 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19735 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19736 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19737 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19738 * sysdeps/ieee754/support.c: Likewise.
19739 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19740 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19741 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19742 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19743 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19744 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19745 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19746 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19747 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19748 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19749 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19750 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19751 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19752 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19753 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19754 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19755 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19758 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
19760 * posix/transbug.c: Remove executable mode.
19762 2013-06-05 Joseph Myers <joseph@codesourcery.com>
19764 * crypt/speeds.c: Remove trailing whitespace.
19765 * dlfcn/default.c: Likewise.
19766 * elf/ifuncdep2.c: Likewise.
19767 * elf/ifuncmain1.c: Likewise.
19768 * elf/ifuncmain1vis.c: Likewise.
19769 * elf/testobj.h: Likewise.
19770 * elf/tst-stackguard1.c: Likewise.
19771 * gmon/sys/gmon.h: Likewise.
19772 * hurd/hurdmsg.c: Likewise.
19773 * hurd/new-fd.c: Likewise.
19774 * hurd/ports-get.c: Likewise.
19775 * iconvdata/ibm1008_420.c: Likewise.
19776 * inet/tst-getni1.c: Likewise.
19777 * inet/tst-getni2.c: Likewise.
19778 * libio/ioungetc.c: Likewise.
19779 * libio/wfiledoalloc.c: Likewise.
19780 * manual/libm-err-tab.pl: Likewise.
19781 * math/w_dremf.c: Likewise.
19782 * misc/ftruncate.c: Likewise.
19783 * posix/bug-glob2.c: Likewise.
19784 * posix/tst-pcre.c: Likewise.
19785 * posix/wait4.c: Likewise.
19786 * resolv/README: Likewise.
19787 * resolv/res_debug.h: Likewise.
19788 * resolv/tst-inet_ntop.c: Likewise.
19789 * setjmp/bug269-setjmp.c: Likewise.
19790 * soft-fp/extended.h: 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-8.h: Likewise.
19795 * soft-fp/testit.c: Likewise.
19796 * stdio-common/bug16.c: Likewise.
19797 * stdlib/random.c: Likewise.
19798 * sunrpc/rpcsvc/rquota.x: Likewise.
19799 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19800 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19801 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19802 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19803 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19804 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19805 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19806 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19807 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19808 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19809 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19810 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19811 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19812 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19813 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19814 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19815 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19816 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19817 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19818 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19819 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19820 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19821 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19822 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19823 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19824 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19825 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19826 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19827 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19828 * sysdeps/ieee754/s_lib_version.c: Likewise.
19829 * sysdeps/mach/hurd/check_fds.c: Likewise.
19830 * sysdeps/mach/hurd/getsockname.c: Likewise.
19831 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19832 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19833 * sysdeps/powerpc/bits/link.h: Likewise.
19834 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19835 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19836 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19837 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19838 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19839 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19840 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19841 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19842 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19843 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19844 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19845 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19846 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19847 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19848 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19849 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19850 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19851 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19852 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19853 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19854 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19855 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19856 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19857 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19858 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19859 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19860 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19861 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19862 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19863 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19864 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19865 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19866 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19867 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19868 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19869 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19870 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19871 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19872 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19873 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19874 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19875 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19876 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19877 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19878 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19879 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19880 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19881 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19882 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19883 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19884 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19885 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19886 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19887 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19888 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19889 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19890 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19891 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19892 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19893 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19894 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19895 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19896 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19897 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19898 * sysdeps/powerpc/sysdep.h: Likewise.
19899 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19900 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19901 * sysdeps/sh/dl-trampoline.S: Likewise.
19902 * sysdeps/sh/memset.S: Likewise.
19903 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19904 * sysdeps/sh/strlen.S: Likewise.
19905 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19906 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19907 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19908 * sysdeps/sparc/sparc32/rem.S: Likewise.
19909 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19910 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19911 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19912 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19913 * sysdeps/sparc/sparc32/urem.S: Likewise.
19914 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19915 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19916 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19917 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19918 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19919 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19920 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19921 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19922 * sysdeps/unix/bsd/times.c: Likewise.
19923 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19924 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19928 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19929 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19930 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19931 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19932 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19933 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19934 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19935 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19936 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19937 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19938 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19939 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19940 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19941 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19942 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19943 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19944 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19945 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19946 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19947 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19948 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19949 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19950 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19951 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19952 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19953 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19954 * sysdeps/x86_64/strcspn.S: Likewise.
19956 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19958 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19959 generated file. Regenerate properly from gen-translit.pl.
19960 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19961 locale/C-translit.h.
19963 2013-06-05 Andreas Schwab <schwab@suse.de>
19966 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19967 week as 6 instead of -1.
19968 * time/tst-strptime.c (day_tests): Add test case.
19970 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19972 * sysdeps/generic/math_private.h
19973 (libc_feholdexcept_setround_53bit): Replace with
19974 libc_feholdsetround_53bit.
19975 (libc_feupdateenv_53bit): Replace with
19976 libc_feresetround_53bit.
19977 (SET_RESTORE_ROUND_53BIT): Adjust.
19979 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19981 * string/test-strchrnul.c: Add copyright header.
19983 * posix/tst-getaddrinfo4.c: Increase test timeout.
19985 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19988 * math/libm-test.inc (MAX_EXP): Remove
19990 (ulp): Use MIN_EXP - MANT_DIG.
19991 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19993 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19995 * po/be.po: Revert last change.
19996 * po/zh_CN.po: Likewise.
19997 * po/header.pot: Likewise.
19999 2013-05-31 Joseph Myers <joseph@codesourcery.com>
20001 * Makefile ($(common-objpfx)linkobj/libc.so): Define
20002 link-libc-deps to empty as target-specific variable.
20003 * Makerules (link-libc-args): New variable.
20004 (libc-for-link): Likewise.
20005 (link-libc-deps): Likewise.
20006 (lib%.so): Depend on $(link-libc-deps). Link with
20008 (build-module): Link with $(link-libc-args).
20009 (build-module-asneeded): Likewise.
20010 (build-module-helper-objlist): Filter out $(link-libc-deps) from
20012 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20013 target-specific variable.
20014 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20015 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20016 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20018 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20020 ($(objpfx)libpcprofile.so): Likewise.
20021 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20023 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20024 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20025 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20027 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20028 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20029 * login/Makefile ($(objpfx)libutil.so): Likewise.
20030 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20031 * math/Makefile ($(objpfx)libm.so): Likewise.
20032 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20033 $(objpfx)libnsl.so): Define libc-for-link as target-specific
20034 variable instead of depending directly on libc.
20035 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20036 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20038 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20040 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20041 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20042 ($(objpfx)libanl.so): Likewise.
20043 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20045 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20047 * sysdeps/i386/fpu/Makefile: Remove file.
20048 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20049 ($(objpfx)libm.so): Remove dependency on ld.so.
20051 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
20054 * nis/yp_xdr.c (XDRMAXNAME): Define.
20055 (XDRMAXRECORD): Define.
20056 (xdr_domainname): Use XDRMAXNAME.
20057 (xdr_mapname): Likewise.
20058 (xdr_peername): Likewise.
20059 (xdr_keydat): Use XDRMAXRECORD.
20060 (xdr_valdat): Likewise.
20062 2013-05-30 Jeff Law <law@redhat.com>
20065 * manual/errno.texi (ESTALE): Update to account for more than
20066 just NFS file systems.
20067 * sysdeps/gnu/errlist.c: Regenerated.
20069 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20072 * elf/Makefile (tests): Add tst-null-argv.
20073 (modules-names): Add tst-null-argv-lib.
20074 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20075 (tst-null-argv-ENV): Set environment for tst-null-argv.
20076 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20077 (RTLD_PROGNAME): New macro.
20078 * elf/tst-null-argv.c: New test case.
20079 * elf/tst-null-argv-lib.c: Library for test case.
20080 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20081 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20082 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20083 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20084 * elf/dl-init.c (call_init): Likewise.
20085 (_dl_init): Likewise.
20086 * elf/dl-load.c (print_search_path): Likewise.
20087 (_dl_map_object): Likewise.
20088 * elf/dl-lookup.c (do_lookup_x): Likewise.
20089 (add_dependency): Likewise.
20090 (_dl_lookup_symbol_x): Likewise.
20091 (_dl_debug_bindings): Likewise.
20092 * elf/dl-open.c (_dl_show_scope): Likewise.
20093 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20094 * elf/dl-version.c (match_symbol): Likewise.
20095 (_dl_check_map_versions): Likewise.
20096 * elf/rtld.c (dl_main): Likewise.
20097 (print_unresolved): Use RTLD_PROGNAME.
20098 (print_missing_version): Likewise.
20099 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20100 (elf_machine_rela): Likewise.
20101 * sysdeps/powerpc/powerpc32/dl-machine.c
20102 (__process_machine_rela): Likewise.
20103 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20105 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20107 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20109 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20110 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20112 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20114 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20116 2013-05-28 Carlos O'Donell <carlos@redhat.com>
20118 * po/be.po: Add descriptive title.
20119 * po/zh_CN.po: Likewise.
20120 * po/header.pot: Likewise.
20122 2013-05-28 Mike Frysinger <vapier@gentoo.org>
20124 * locale/programs/locarchive.c (create_archive): Inlucde fname in
20126 (enlarge_archive): Likewise.
20128 2013-05-28 Ben North <ben@redfrontdoor.org>
20130 * manual/arith.texi (frexp): It is the magnitude of the return
20131 value which lies in [0.5, 1), not the return value itself.
20133 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20137 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
20139 * stdio-common/bug26.c (main): Correct fscanf template.
20141 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20142 declare _dl_skip_args.
20144 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20147 * manual/platform.texi: Add missing @end deftypefun.
20149 2013-05-24 Joseph Myers <joseph@codesourcery.com>
20152 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20153 bit of mantissa of 2^16382.
20154 * math/libm-test.inc (hypot_test_data): Add more tests.
20156 * math/libm-test.inc: Add drem and pow10 to list of tested
20158 (pow10_test): New function.
20159 (drem_test): Likewise.
20160 (drem_test_tonearest): Likewise.
20161 (drem_test_towardzero): Likewise.
20162 (drem_test_downward): Likewise.
20163 (drem_test_upward): Likewise.
20164 (main): Call the new functions.
20166 * math/libm-test.inc (finite_test_data): Remove.
20167 (finite_test): Run tests from isfinite_test_data.
20168 (gamma_test_data): Remove.
20169 (gamma_test): Run tests from lgamma_test_data.
20170 * sysdeps/i386/fpu/libm-test-ulps: Update.
20171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20173 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20175 * manual/platform.texi: Add PowerPC PPR function set documentation.
20176 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20179 2013-05-24 Carlos O'Donell <carlos@redhat.com>
20181 * math/libm-test.inc (MAX_EXP): Define.
20183 (ulp): New function.
20184 (check_float_internal): Use ULPDIFF.
20185 (cpow_test): Disable failing test.
20186 (check_ulp): Test ulp() implemetnation.
20187 (main): Call check_ulp before starting tests.
20189 2013-05-24 Joseph Myers <joseph@codesourcery.com>
20191 * math/gen-libm-test.pl (generate_testfile): Do not handle
20192 START_DATA and END_DATA.
20193 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20195 (acos_tonearest_test_data): Likewise.
20196 (acos_towardzero_test_data): Likewise.
20197 (acos_downward_test_data): Likewise.
20198 (acos_upward_test_data): Likewise.
20199 (acosh_test_data): Likewise.
20200 (asin_test_data): Likewise.
20201 (asin_tonearest_test_data): Likewise.
20202 (asin_towardzero_test_data): Likewise.
20203 (asin_downward_test_data): Likewise.
20204 (asin_upward_test_data): Likewise.
20205 (asinh_test_data): Likewise.
20206 (atan_test_data): Likewise.
20207 (atanh_test_data): Likewise.
20208 (atan2_test_data): Likewise.
20209 (cabs_test_data): Likewise.
20210 (cacos_test_data): Likewise.
20211 (cacosh_test_data): Likewise.
20212 (carg_test_data): Likewise.
20213 (casin_test_data): Likewise.
20214 (casinh_test_data): Likewise.
20215 (catan_test_data): Likewise.
20216 (catanh_test_data): Likewise.
20217 (cbrt_test_data): Likewise.
20218 (ccos_test_data): Likewise.
20219 (ccosh_test_data): Likewise.
20220 (ceil_test_data): Likewise.
20221 (cexp_test_data): Likewise.
20222 (cimag_test_data): Likewise.
20223 (clog_test_data): Likewise.
20224 (clog10_test_data): Likewise.
20225 (conj_test_data): Likewise.
20226 (copysign_test_data): Likewise.
20227 (cos_test_data): Likewise.
20228 (cos_tonearest_test_data): Likewise.
20229 (cos_towardzero_test_data): Likewise.
20230 (cos_downward_test_data): Likewise.
20231 (cos_upward_test_data): Likewise.
20232 (cosh_test_data): Likewise.
20233 (cosh_tonearest_test_data): Likewise.
20234 (cosh_towardzero_test_data): Likewise.
20235 (cosh_downward_test_data): Likewise.
20236 (cosh_upward_test_data): Likewise.
20237 (cpow_test_data): Likewise.
20238 (cproj_test_data): Likewise.
20239 (creal_test_data): Likewise.
20240 (csin_test_data): Likewise.
20241 (csinh_test_data): Likewise.
20242 (csqrt_test_data): Likewise.
20243 (ctan_test_data): Likewise.
20244 (ctan_tonearest_test_data): Likewise.
20245 (ctan_towardzero_test_data): Likewise.
20246 (ctan_downward_test_data): Likewise.
20247 (ctan_upward_test_data): Likewise.
20248 (ctanh_test_data): Likewise.
20249 (ctanh_tonearest_test_data): Likewise.
20250 (ctanh_towardzero_test_data): Likewise.
20251 (ctanh_downward_test_data): Likewise.
20252 (ctanh_upward_test_data): Likewise.
20253 (erf_test_data): Likewise.
20254 (erfc_test_data): Likewise.
20255 (exp_test_data): Likewise.
20256 (exp_tonearest_test_data): Likewise.
20257 (exp_towardzero_test_data): Likewise.
20258 (exp_downward_test_data): Likewise.
20259 (exp_upward_test_data): Likewise.
20260 (exp10_test_data): Likewise.
20261 (exp2_test_data): Likewise.
20262 (expm1_test_data): Likewise.
20263 (fabs_test_data): Likewise.
20264 (fdim_test_data): Likewise.
20265 (finite_test_data): Likewise.
20266 (floor_test_data): Likewise.
20267 (fma_test_data): Likewise.
20268 (fma_towardzero_test_data): Likewise.
20269 (fma_downward_test_data): Likewise.
20270 (fma_upward_test_data): Likewise.
20271 (fmax_test_data): Likewise.
20272 (fmin_test_data): Likewise.
20273 (fmod_test_data): Likewise.
20274 (fpclassify_test_data): Likewise.
20275 (frexp_test_data): Likewise.
20276 (gamma_test_data): Likewise.
20277 (hypot_test_data): Likewise.
20278 (ilogb_test_data): Likewise.
20279 (isfinite_test_data): Likewise.
20280 (isgreater_test_data): Likewise.
20281 (isgreaterequal_test_data): Likewise.
20282 (isinf_test_data): Likewise.
20283 (isless_test_data): Likewise.
20284 (islessequal_test_data): Likewise.
20285 (islessgreater_test_data): Likewise.
20286 (isnan_test_data): Likewise.
20287 (isnormal_test_data): Likewise.
20288 (issignaling_test_data): Likewise.
20289 (isunordered_test_data): Likewise.
20290 (j0_test_data): Likewise.
20291 (j1_test_data): Likewise.
20292 (jn_test_data): Likewise.
20293 (ldexp_test_data): Likewise.
20294 (lgamma_test_data): Likewise.
20295 (lrint_test_data): Likewise.
20296 (lrint_tonearest_test_data): Likewise.
20297 (lrint_towardzero_test_data): Likewise.
20298 (lrint_downward_test_data): Likewise.
20299 (lrint_upward_test_data): Likewise.
20300 (llrint_test_data): Likewise.
20301 (llrint_tonearest_test_data): Likewise.
20302 (llrint_towardzero_test_data): Likewise.
20303 (llrint_downward_test_data): Likewise.
20304 (llrint_upward_test_data): Likewise.
20305 (log_test_data): Likewise.
20306 (log10_test_data): Likewise.
20307 (log1p_test_data): Likewise.
20308 (log2_test_data): Likewise.
20309 (logb_test_data): Likewise.
20310 (logb_downward_test_data): Likewise.
20311 (lround_test_data): Likewise.
20312 (llround_test_data): Likewise.
20313 (modf_test_data): Likewise.
20314 (nearbyint_test_data): Likewise.
20315 (nextafter_test_data): Likewise.
20316 (nexttoward_test_data): Likewise.
20317 (pow_test_data): Likewise.
20318 (pow_tonearest_test_data): Likewise.
20319 (pow_towardzero_test_data): Likewise.
20320 (pow_downward_test_data): Likewise.
20321 (pow_upward_test_data): Likewise.
20322 (remainder_test_data): Likewise.
20323 (remainder_tonearest_test_data): Likewise.
20324 (remainder_towardzero_test_data): Likewise.
20325 (remainder_downward_test_data): Likewise.
20326 (remainder_upward_test_data): Likewise.
20327 (remquo_test_data): Likewise.
20328 (rint_test_data): Likewise.
20329 (rint_tonearest_test_data): Likewise.
20330 (rint_towardzero_test_data): Likewise.
20331 (rint_downward_test_data): Likewise.
20332 (rint_upward_test_data): Likewise.
20333 (round_test_data): Likewise.
20334 (scalb_test_data): Likewise.
20335 (scalbn_test_data): Likewise.
20336 (scalbln_test_data): Likewise.
20337 (signbit_test_data): Likewise.
20338 (sin_test_data): Likewise.
20339 (sin_tonearest_test_data): Likewise.
20340 (sin_towardzero_test_data): Likewise.
20341 (sin_downward_test_data): Likewise.
20342 (sin_upward_test_data): Likewise.
20343 (sincos_test_data): Likewise.
20344 (sinh_test_data): Likewise.
20345 (sinh_tonearest_test_data): Likewise.
20346 (sinh_towardzero_test_data): Likewise.
20347 (sinh_downward_test_data): Likewise.
20348 (sinh_upward_test_data): Likewise.
20349 (sqrt_test_data): Likewise.
20350 (tan_test_data): Likewise.
20351 (tan_tonearest_test_data): Likewise.
20352 (tan_towardzero_test_data): Likewise.
20353 (tan_downward_test_data): Likewise.
20354 (tan_upward_test_data): Likewise.
20355 (tanh_test_data): Likewise.
20356 (tgamma_test_data): Likewise.
20357 (trunc_test_data): Likewise.
20358 (y0_test_data): Likewise.
20359 (y1_test_data): Likewise.
20360 (yn_test_data): Likewise.
20361 (significand_test_data): Likewise.
20363 * math/gen-libm-test.pl (@functions): Remove variable.
20364 (generate_testfile): Don't handle START and END lines.
20365 * math/libm-test.inc (START): New macro.
20367 (END_COMPLEX): Likewise.
20368 (acos_test): Use END macro without arguments.
20369 (acos_test_tonearest): Likewise.
20370 (acos_test_towardzero): Likewise.
20371 (acos_test_downward): Likewise.
20372 (acos_test_upward): Likewise.
20373 (acosh_test): Likewise.
20374 (asin_test): Likewise.
20375 (asin_test_tonearest): Likewise.
20376 (asin_test_towardzero): Likewise.
20377 (asin_test_downward): Likewise.
20378 (asin_test_upward): Likewise.
20379 (asinh_test): Likewise.
20380 (atan_test): Likewise.
20381 (atanh_test): Likewise.
20382 (atan2_test): Likewise.
20383 (cabs_test): Likewise.
20384 (cacos_test): Use END_COMPLEX macro without arguments.
20385 (cacosh_test): Likewise.
20386 (carg_test): Use END macro without arguments.
20387 (casin_test): Use END_COMPLEX macro without arguments.
20388 (casinh_test): Likewise.
20389 (catan_test): Likewise.
20390 (catanh_test): Likewise.
20391 (cbrt_test): Use END macro without arguments.
20392 (ccos_test): Use END_COMPLEX macro without arguments.
20393 (ccosh_test): Likewise.
20394 (ceil_test): Use END macro without arguments.
20395 (cexp_test): Use END_COMPLEX macro without arguments.
20396 (cimag_test): Use END macro without arguments.
20397 (clog_test): Use END_COMPLEX macro without arguments.
20398 (clog10_test): Likewise.
20399 (conj_test): Likewise.
20400 (copysign_test): Use END macro without arguments.
20401 (cos_test): Likewise.
20402 (cos_test_tonearest): Likewise.
20403 (cos_test_towardzero): Likewise.
20404 (cos_test_downward): Likewise.
20405 (cos_test_upward): Likewise.
20406 (cosh_test): Likewise.
20407 (cosh_test_tonearest): Likewise.
20408 (cosh_test_towardzero): Likewise.
20409 (cosh_test_downward): Likewise.
20410 (cosh_test_upward): Likewise.
20411 (cpow_test): Use END_COMPLEX macro without arguments.
20412 (cproj_test): Likewise.
20413 (creal_test): Use END macro without arguments.
20414 (csin_test): Use END_COMPLEX macro without arguments.
20415 (csinh_test): Likewise.
20416 (csqrt_test): Likewise.
20417 (ctan_test): Likewise.
20418 (ctan_test_tonearest): Likewise.
20419 (ctan_test_towardzero): Likewise.
20420 (ctan_test_downward): Likewise.
20421 (ctan_test_upward): Likewise.
20422 (ctanh_test): Likewise.
20423 (ctanh_test_tonearest): Likewise.
20424 (ctanh_test_towardzero): Likewise.
20425 (ctanh_test_downward): Likewise.
20426 (ctanh_test_upward): Likewise.
20427 (erf_test): Use END macro without arguments.
20428 (erfc_test): Likewise.
20429 (exp_test): Likewise.
20430 (exp_test_tonearest): Likewise.
20431 (exp_test_towardzero): Likewise.
20432 (exp_test_downward): Likewise.
20433 (exp_test_upward): Likewise.
20434 (exp10_test): Likewise.
20435 (exp2_test): Likewise.
20436 (expm1_test): Likewise.
20437 (fabs_test): Likewise.
20438 (fdim_test): Likewise.
20439 (finite_test): Likewise.
20440 (floor_test): Likewise.
20441 (fma_test): Likewise.
20442 (fma_test_towardzero): Likewise.
20443 (fma_test_downward): Likewise.
20444 (fma_test_upward): Likewise.
20445 (fmax_test): Likewise.
20446 (fmin_test): Likewise.
20447 (fmod_test): Likewise.
20448 (fpclassify_test): Likewise.
20449 (frexp_test): Likewise.
20450 (gamma_test): Likewise.
20451 (hypot_test): Likewise.
20452 (ilogb_test): Likewise.
20453 (isfinite_test): Likewise.
20454 (isgreater_test): Likewise.
20455 (isgreaterequal_test): Likewise.
20456 (isinf_test): Likewise.
20457 (isless_test): Likewise.
20458 (islessequal_test): Likewise.
20459 (islessgreater_test): Likewise.
20460 (isnan_test): Likewise.
20461 (isnormal_test): Likewise.
20462 (issignaling_test): Likewise.
20463 (isunordered_test): Likewise.
20464 (j0_test): Likewise.
20465 (j1_test): Likewise.
20466 (jn_test): Likewise.
20467 (ldexp_test): Likewise.
20468 (lgamma_test): Likewise.
20469 (lrint_test): Likewise.
20470 (lrint_test_tonearest): Likewise.
20471 (lrint_test_towardzero): Likewise.
20472 (lrint_test_downward): Likewise.
20473 (lrint_test_upward): Likewise.
20474 (llrint_test): Likewise.
20475 (llrint_test_tonearest): Likewise.
20476 (llrint_test_towardzero): Likewise.
20477 (llrint_test_downward): Likewise.
20478 (llrint_test_upward): Likewise.
20479 (log_test): Likewise.
20480 (log10_test): Likewise.
20481 (log1p_test): Likewise.
20482 (log2_test): Likewise.
20483 (logb_test): Likewise.
20484 (logb_test_downward): Likewise.
20485 (lround_test): Likewise.
20486 (llround_test): Likewise.
20487 (modf_test): Likewise.
20488 (nearbyint_test): Likewise.
20489 (nextafter_test): Likewise.
20490 (nexttoward_test): Likewise.
20491 (pow_test): Likewise.
20492 (pow_test_tonearest): Likewise.
20493 (pow_test_towardzero): Likewise.
20494 (pow_test_downward): Likewise.
20495 (pow_test_upward): Likewise.
20496 (remainder_test): Likewise.
20497 (remainder_test_tonearest): Likewise.
20498 (remainder_test_towardzero): Likewise.
20499 (remainder_test_downward): Likewise.
20500 (remainder_test_upward): Likewise.
20501 (remquo_test): Likewise.
20502 (rint_test): Likewise.
20503 (rint_test_tonearest): Likewise.
20504 (rint_test_towardzero): Likewise.
20505 (rint_test_downward): Likewise.
20506 (rint_test_upward): Likewise.
20507 (round_test): Likewise.
20508 (scalb_test): Likewise.
20509 (scalbn_test): Likewise.
20510 (scalbln_test): Likewise.
20511 (signbit_test): Likewise.
20512 (sin_test): Likewise.
20513 (sin_test_tonearest): Likewise.
20514 (sin_test_towardzero): Likewise.
20515 (sin_test_downward): Likewise.
20516 (sin_test_upward): Likewise.
20517 (sincos_test): Likewise.
20518 (sinh_test): Likewise.
20519 (sinh_test_tonearest): Likewise.
20520 (sinh_test_towardzero): Likewise.
20521 (sinh_test_downward): Likewise.
20522 (sinh_test_upward): Likewise.
20523 (sqrt_test): Likewise.
20524 (tan_test): Likewise.
20525 (tan_test_tonearest): Likewise.
20526 (tan_test_towardzero): Likewise.
20527 (tan_test_downward): Likewise.
20528 (tan_test_upward): Likewise.
20529 (tanh_test): Likewise.
20530 (tgamma_test): Likewise.
20531 (trunc_test): Likewise.
20532 (y0_test): Likewise.
20533 (y1_test): Likewise.
20534 (yn_test): Likewise.
20535 (significand_test): Likewise.
20537 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
20540 * libio/genops.c (_IO_no_init): Initialize wide struct info.
20542 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
20545 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20546 __ppc_mdoio and __ppc_mdoom.
20547 * manual/platform.texi: Document new functions __ppc_yield,
20548 __ppc_mdoio and __ppc_mdoom.
20550 2013-05-22 Carlos O'Donell <carlos@redhat.com>
20552 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20553 (main): Mention "tls" pseudo-hwcap is legacy.
20554 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20556 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20558 * math/gen-libm-test.pl (parse_args): Output only string of
20559 arguments as text for test name, not full call or descriptions of
20560 tests for extra outputs.
20561 (generate_testfile): Do not pass function name to parse_args.
20562 Generate this_func variable from START.
20563 * math/libm-test.inc (struct test_f_f_data): Rename test_name
20565 (struct test_ff_f_data): Likewise.
20566 (test_ff_f_data_nexttoward): Likewise.
20567 (struct test_fi_f_data): Likewise.
20568 (struct test_fl_f_data): Likewise.
20569 (struct test_if_f_data): Likewise.
20570 (struct test_fff_f_data): Likewise.
20571 (struct test_c_f_data): Likewise.
20572 (struct test_f_f1_data): Likewise. Remove field extra_name.
20573 (struct test_fF_f1_data): Likewise.
20574 (struct test_ffI_f1_data): Likewise.
20575 (struct test_c_c_data): Rename test_name field to arg_str.
20576 (struct test_cc_c_data): Likewise.
20577 (struct test_f_i_data): Likewise.
20578 (struct test_ff_i_data): Likewise.
20579 (struct test_f_l_data): Likewise.
20580 (struct test_f_L_data): Likewise.
20581 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
20583 (COMMON_TEST_SETUP): New macro.
20584 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20585 (COMMON_TEST_CLEANUP): Likewise.
20586 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20587 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
20589 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20590 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
20592 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20593 (RUN_TEST_fff_f): Take argument string. Call new setup and
20595 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20596 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
20598 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20599 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
20601 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20602 (RUN_TEST_fF_f1): Take argument string. Call new setup and
20604 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20605 (RUN_TEST_fI_f1): Take argument string. Call new setup and
20607 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20608 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
20610 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20611 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
20613 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20614 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
20616 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20617 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
20619 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20620 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
20622 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20623 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
20625 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20626 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
20628 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20629 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
20631 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20632 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
20634 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20635 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
20637 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20638 (RUN_TEST_fFF_11): Take argument string. Call new setup and
20640 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20642 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20644 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20645 to _sifields.sigfault.
20646 (si_addr_lsb): Define new macro.
20647 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20648 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20649 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20651 2013-05-03 Carlos O'Donell <carlos at redhat.com>
20654 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20656 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20658 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20659 loading the domain.
20661 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20663 * math/gen-libm-test.pl (parse_args): Do not include expected
20664 result in test name.
20665 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20666 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20667 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20668 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20669 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20672 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20674 * benchtests/Makefile: Sort function entries.
20676 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20677 tanh, asinh, acosh, atanh.
20678 * benchtests/acos-inputs: New file.
20679 * benchtests/acosh-inputs: New file.
20680 * benchtests/asin-inputs: New file.
20681 * benchtests/asinh-inputs: New file.
20682 * benchtests/atanh-inputs: New file.
20683 * benchtests/cosh-inputs: New file.
20684 * benchtests/log-inputs: New file.
20685 * benchtests/sinh-inputs: New file.
20686 * benchtests/tanh-inputs: New file.
20688 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
20691 * posix/tst-getaddrinfo4.c: New test.
20692 * posix/Makefile (tests): Add it.
20694 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20697 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20698 when no services were used.
20699 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20700 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20702 2013-05-21 Andreas Schwab <schwab@suse.de>
20705 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20706 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20708 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20709 redundant variable declarations and reallocation of buffer when
20710 parsing as IPv6 address. Always set NSS status when called from
20711 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
20712 buffer too small. Correct computation of needed size.
20713 * nss/Makefile (tests): Add test-digits-dots.
20714 * nss/test-digits-dots.c: New test.
20716 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20718 * benchtests/Makefile: Remove instructions for adding
20720 * benchtests/README: New file to explain how to execute and
20721 enhance the benchmark tests.
20723 2013-05-21 Andreas Schwab <schwab@suse.de>
20726 * setjmp/Makefile (tests): Add tst-sigsetjmp.
20727 * setjmp/tst-sigsetjmp.c: New test.
20729 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20731 * sysdeps/x86_64/memset.S (memset): New implementation.
20732 (__bzero): Likewise.
20733 (__memset_tail): New function.
20735 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20737 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20738 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20739 __memcpy_sse2_unaligned ifunc selection.
20740 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20741 Add memcpy-sse2-unaligned.S.
20742 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20743 Add: __memcpy_sse2_unaligned.
20745 2013-05-19 Joseph Myers <joseph@codesourcery.com>
20748 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20749 math_force_eval before restoring floating-point envrionment.
20750 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20751 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20753 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20755 (__nearbyintl): Use math_force_eval before restoring
20756 floating-point environment.
20757 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20759 * math/gen-libm-test.pl (special_functions): Remove.
20760 (parse_args): Don't handle TEST_extra. Handle functions with no
20762 * math/libm-test.inc (struct test_sincos_data): Replace with
20763 struct test_fFF_11_data.
20764 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20765 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20766 (sincos_test_data): Change element type to struct
20767 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20768 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20769 RUN_TEST_LOOP_sincos.
20770 * math/README.libm-test: Don't mention special handling of
20771 individual functions.
20772 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20773 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20774 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20775 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20776 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20779 * math/gen-libm-test.pl (get_variable): Remove function.
20780 (parse_args): Don't show pointer parameters to call in test
20781 names. Use "extra output N" in test names for extra outputs
20782 rather than naming variables.
20784 2013-05-18 Joseph Myers <joseph@codesourcery.com>
20787 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20788 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20789 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20791 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20793 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20796 * math/gen-libm-test.pl (@tests): Remove variable.
20797 ($count): Likewise.
20798 (new_test): Remove function.
20799 (show_exceptions): New function.
20800 (special_functions): Use show_exceptions instead of new_test.
20801 (parse_args): Likewise.
20802 (generate_testfile): Pass only function name in generated call to
20803 print_max_error or print_complex_max_error.
20804 (get_ulps): Do not handle complex tests specially.
20805 (output_test): Rename to ...
20806 (get_all_ulps_for_test): ... this. Return a string rather than
20807 printing to a file. Require ulps to be present.
20808 (output_ulps): Generate arrays rather than #defines.
20809 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20810 (struct ulp_data): New type.
20811 (BUILD_COMPLEX_ULP): Remove macro.
20812 (compare_ulp_data): New function.
20813 (find_ulps): Likewise.
20814 (find_test_ulps): Likewise.
20815 (find_function_ulps): Likewise.
20816 (find_complex_function_ulps): Likewise.
20817 (print_max_error): Determine allowed ulps using
20818 find_function_ulps.
20819 (print_complex_max_error): Determine allowed ulps using
20820 find_complex_function_ulps.
20821 (check_float_internal): Determine max ulps using find_test_ulps.
20822 (check_float): Do not take max_ulp parameter. Update call to
20823 check_float_internal.
20824 (check_complex): Likewise.
20825 (check_int): Do not take max_ulp parameter.
20826 (check_long): Likewise.
20827 (check_bool): Likewise.
20828 (check_longlong): Likewise.
20829 (struct test_f_f_data): Remove max_ulp field.
20830 (struct test_ff_f_data): Likewise.
20831 (struct test_ff_f_data_nexttoward): Likewise.
20832 (struct test_fi_f_data): Likewise.
20833 (struct test_fl_f_data): Likewise.
20834 (struct test_if_f_data): Likewise.
20835 (struct test_fff_f_data): Likewise.
20836 (struct test_c_f_data): Likewise.
20837 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20838 (struct test_fF_f1_data): Likewise.
20839 (struct test_ffI_f1_data): Likewise.
20840 (struct test_c_c_data): Remove max_ulp field.
20841 (struct test_cc_c_data): Likewise.
20842 (struct test_f_i_data): Likewise.
20843 (struct test_ff_i_data): Likewise.
20844 (struct test_f_l_data): Likewise.
20845 (struct test_f_L_data): Likewise.
20846 (struct test_sincos_data): Likewise.
20847 (RUN_TEST_f_f): Do not handle ulps.
20848 (RUN_TEST_LOOP_f_f): Likewise.
20849 (RUN_TEST_2_f): Likewise.
20850 (RUN_TEST_LOOP_2_f): Likewise.
20851 (RUN_TEST_fff_f): Likewise.
20852 (RUN_TEST_LOOP_fff_f): Likewise.
20853 (RUN_TEST_c_f): Likewise.
20854 (RUN_TEST_LOOP_c_f): Likewise.
20855 (RUN_TEST_f_f1): Likewise.
20856 (RUN_TEST_LOOP_f_f1): Likewise.
20857 (RUN_TEST_fF_f1): Likewise.
20858 (RUN_TEST_LOOP_fF_f1): Likewise.
20859 (RUN_TEST_fI_f1): Likewise.
20860 (RUN_TEST_LOOP_fI_f1): Likewise.
20861 (RUN_TEST_ffI_f1): Likewise.
20862 (RUN_TEST_LOOP_ffI_f1): Likewise.
20863 (RUN_TEST_c_c): Likewise.
20864 (RUN_TEST_LOOP_c_c): Likewise.
20865 (RUN_TEST_cc_c): Likewise.
20866 (RUN_TEST_LOOP_cc_c): Likewise.
20867 (RUN_TEST_f_i): Likewise.
20868 (RUN_TEST_LOOP_f_i): Likewise.
20869 (RUN_TEST_f_i_tg): Likewise.
20870 (RUN_TEST_LOOP_f_i_tg): Likewise.
20871 (RUN_TEST_ff_i_tg): Likewise.
20872 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20873 (RUN_TEST_f_b): Likewise.
20874 (RUN_TEST_LOOP_f_b): Likewise.
20875 (RUN_TEST_f_b_tg): Likewise.
20876 (RUN_TEST_LOOP_f_b_tg): Likewise.
20877 (RUN_TEST_f_l): Likewise.
20878 (RUN_TEST_LOOP_f_l): Likewise.
20879 (RUN_TEST_f_L): Likewise.
20880 (RUN_TEST_LOOP_f_L): Likewise.
20881 (RUN_TEST_sincos): Likewise.
20882 (RUN_TEST_LOOP_sincos): Likewise.
20884 2013-05-17 Joseph Myers <joseph@codesourcery.com>
20888 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20889 main case of finite arguments, set rounding mode to FE_TONEAREST
20890 and discard exceptions.
20891 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20893 (remainder_tonearest_test_data): New variable.
20894 (remainder_test_tonearest): New function.
20895 (remainder_towardzero_test_data): New variable.
20896 (remainder_test_towardzero): New function.
20897 (remainder_downward_test_data): New variable.
20898 (remainder_test_downward): New function.
20899 (remainder_upward_test_data): New variable.
20900 (remainder_test_upward): New function.
20901 (main): Call the new test functions.
20903 * math/libm-test.inc (struct test_f_f1_data): Remove field
20905 (struct test_fF_f1_data): Likewise.
20906 (struct test_ffI_f1_data): Likewise.
20907 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20908 based on value of EXTRA_EXPECTED.
20909 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20910 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20911 EXTRA_VAR based on value of EXTRA_EXPECTED.
20912 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20913 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20914 EXTRA_VAR based on value of EXTRA_EXPECTED.
20915 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20916 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20917 EXTRA_VAR based on value of EXTRA_EXPECTED.
20918 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20919 * math/gen-libm-test.pl (parse_args): Don't output initializers
20920 for extra output values.
20922 * math/libm-test.inc (check_int): Expect result to be exactly
20923 equal to expected value and do not handle ulps.
20924 (check_long): Likewise.
20925 (check_longlong): Likewise.
20927 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20929 (cimag_test_data): Likewise.
20930 (conj_test_data): Likewise.
20931 (copysign_test_data): Likewise.
20932 (cproj_test_data): Likewise.
20933 (creal_test_data): Likewise.
20934 (fabs_test_data): Likewise.
20935 (fdim_test_data): Likewise.
20936 (finite_test_data): Likewise.
20937 (floor_test_data): Likewise.
20938 (fmax_test_data): Likewise.
20939 (fmin_test_data): Likewise.
20940 (fmod_test_data): Likewise.
20941 (fpclassify_test_data): Likewise.
20942 (frexp_test_data): Likewise.
20943 (ilogb_test_data): Likewise.
20944 (isfinite_test_data): Likewise.
20945 (isgreater_test_data): Likewise.
20946 (isgreaterequal_test_data): Likewise.
20947 (isinf_test_data): Likewise.
20948 (isless_test_data): Likewise.
20949 (islessequal_test_data): Likewise.
20950 (islessgreater_test_data): Likewise.
20951 (isnan_test_data): Likewise.
20952 (isnormal_test_data): Likewise.
20953 (issignaling_test_data): Likewise.
20954 (isunordered_test_data): Likewise.
20955 (ldexp_test_data): Likewise.
20956 (lrint_test_data): Likewise.
20957 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20958 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20959 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20960 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20961 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20962 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20964 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20965 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20966 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20967 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20969 (lrint_downward_test_data): Test for "inexact" exceptions.
20970 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20971 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20972 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20974 (lrint_upward_test_data): Test for "inexact" exceptions.
20975 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20977 (llrint_test_data): Test for "inexact" exceptions.
20978 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20979 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20980 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20981 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20982 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20983 (llrint_downward_test_data): Test for "inexact" exceptions.
20984 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20985 (llrint_upward_test_data): Test for "inexact" exceptions.
20986 (logb_test_data): Likewise.
20987 (logb_downward_test_data): Likewise.
20988 (nextafter_test_data): Likewise.
20989 (nexttoward_test_data): Likewise.
20990 (remainder_test_data): Likewise.
20991 (remquo_test_data): Likewise.
20992 (scalbn_test_data): Likewise.
20993 (scalbln_test_data): Likewise.
20994 (signbit_test_data): Likewise.
20995 (sqrt_test_data): Likewise.
20996 (significand_test_data): Likewise.
20998 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21001 * benchtests/bench-modf.c (struct args): Mark arg0 as
21003 * scripts/bench.pl: Mark members of struct args as volatile.
21005 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21008 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21009 negative infinity on POWER6 or lower.
21010 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21012 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21015 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21016 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21017 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21018 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21019 (_FP_SETQNAN): New macro.
21020 (_FP_SETQNAN_SEMIRAW): Likewise.
21021 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21022 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21023 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21024 (FP_EXTEND): Use _FP_FRAC_SNANP.
21025 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21026 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21028 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21030 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21033 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21035 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21036 with DIVIDE_BY_ZERO_EXCEPTION.
21037 (gamma_test_data): Likewise.
21038 (lgamma_test_data): Likewise.
21039 (log_test_data): Likewise.
21040 (log10_test_data): Likewise.
21041 (log2_test_data): Likewise.
21042 (tgamma_test_data): Likewise.
21044 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21045 (acos_test_tonearest): Likewise.
21046 (acos_test_towardzero): Likewise.
21047 (acos_test_downward): Likewise.
21048 (acos_test_upward): Likewise.
21049 (acosh_test): Likewise.
21050 (asin_test): Likewise.
21051 (asin_test_tonearest): Likewise.
21052 (asin_test_towardzero): Likewise.
21053 (asin_test_downward): Likewise.
21054 (asin_test_upward): Likewise.
21055 (asinh_test): Likewise.
21056 (atan_test): Likewise.
21057 (atanh_test): Likewise.
21058 (atan2_test): Likewise.
21059 (cabs_test): Likewise.
21060 (cacos_test): Likewise.
21061 (cacosh_test): Likewise.
21062 (casin_test): Likewise.
21063 (casinh_test): Likewise.
21064 (catan_test): Likewise.
21065 (catanh_test): Likewise.
21066 (cbrt_test): Likewise.
21067 (ccos_test): Likewise.
21068 (ccosh_test): Likewise.
21069 (cexp_test): Likewise.
21070 (clog_test): Likewise.
21071 (clog10_test): Likewise.
21072 (cos_test): Likewise.
21073 (cos_test_tonearest): Likewise.
21074 (cos_test_towardzero): Likewise.
21075 (cos_test_downward): Likewise.
21076 (cos_test_upward): Likewise.
21077 (cosh_test): Likewise.
21078 (cosh_test_tonearest): Likewise.
21079 (cosh_test_towardzero): Likewise.
21080 (cosh_test_downward): Likewise.
21081 (cosh_test_upward): Likewise.
21082 (cpow_test): Likewise.
21083 (csin_test): Likewise.
21084 (csinh_test): Likewise.
21085 (csqrt_test): Likewise.
21086 (ctan_test): Likewise.
21087 (ctan_test_tonearest): Likewise.
21088 (ctan_test_towardzero): Likewise.
21089 (ctan_test_downward): Likewise.
21090 (ctan_test_upward): Likewise.
21091 (ctanh_test): Likewise.
21092 (ctanh_test_tonearest): Likewise.
21093 (ctanh_test_towardzero): Likewise.
21094 (ctanh_test_downward): Likewise.
21095 (ctanh_test_upward): Likewise.
21096 (erf_test): Likewise.
21097 (erfc_test): Likewise.
21098 (exp_test): Likewise.
21099 (exp_test_tonearest): Likewise.
21100 (exp_test_towardzero): Likewise.
21101 (exp_test_downward): Likewise.
21102 (exp_test_upward): Likewise.
21103 (exp10_test): Likewise.
21104 (exp2_test): Likewise.
21105 (expm1_test): Likewise.
21106 (fmod_test): Likewise.
21107 (gamma_test): Likewise.
21108 (hypot_test): Likewise.
21109 (j0_test): Likewise.
21110 (j1_test): Likewise.
21111 (jn_test): Likewise.
21112 (lgamma_test): Likewise.
21113 (log_test): Likewise.
21114 (log10_test): Likewise.
21115 (log1p_test): Likewise.
21116 (log2_test): Likewise.
21117 (logb_test_downward): Likewise.
21118 (pow_test): Likewise.
21119 (pow_test_tonearest): Likewise.
21120 (pow_test_towardzero): Likewise.
21121 (pow_test_downward): Likewise.
21122 (pow_test_upward): Likewise.
21123 (remainder_test): Likewise.
21124 (remquo_test): Likewise.
21125 (sin_test): Likewise.
21126 (sin_test_tonearest): Likewise.
21127 (sin_test_towardzero): Likewise.
21128 (sin_test_downward): Likewise.
21129 (sin_test_upward): Likewise.
21130 (sincos_test): Likewise.
21131 (sinh_test): Likewise.
21132 (sinh_test_tonearest): Likewise.
21133 (sinh_test_towardzero): Likewise.
21134 (sinh_test_downward): Likewise.
21135 (sinh_test_upward): Likewise.
21136 (sqrt_test): Likewise.
21137 (tan_test): Likewise.
21138 (tan_test_tonearest): Likewise.
21139 (tan_test_towardzero): Likewise.
21140 (tan_test_downward): Likewise.
21141 (tan_test_upward): Likewise.
21142 (tanh_test): Likewise.
21143 (tgamma_test): Likewise.
21144 (y0_test): Likewise.
21145 (y1_test): Likewise.
21146 (yn_test): Likewise.
21148 * math/gen-libm-test.pl (adjust_arg): Remove function.
21149 (special_function): Remove argument $in_func. Only handle
21150 generating output for tables of tests, not inside functions.
21151 (parse_args): Likewise.
21152 (generate_testfile): Remove variable $in_func. Update call to
21154 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21155 (MINUS_ZERO_INIT): Rename macro to minus_zero.
21156 (PLUS_INFTY_INIT): Rename macro to plus_infty.
21157 (MINUS_INFTY_INIT): Rename macro to minus_infty.
21158 (QNAN_VALUE_INIT): Rename macro to qnan_value.
21159 (MAX_VALUE_INIT): Rename macro to max_value.
21160 (MIN_VALUE_INIT): Rename macro to min_value.
21161 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21162 (plus_zero): Remove variable.
21163 (minus_zero): Likewise.
21164 (plus_infty): Likewise.
21165 (minus_infty): Likewise.
21166 (qnan_value): Likewise.
21167 (max_value): Likewise.
21168 (min_value): Likewise.
21169 (min_subnorm_value): Likewise.
21171 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21173 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21174 uint64_t or uint32_t usage.
21175 * crypt/sha256-block.c: Likewise.
21176 * crypt/sha256-crypt.c: Likewise.
21177 * crypt/sha256.c: Likewise.
21178 * crypt/sha512-block.c: Likewise.
21179 * crypt/sha512-crypt.c: Likewise.
21180 * crypt/sha512.c: Likewise.
21181 * debug/backtrace-tst.c: Likewise.
21182 * debug/pcprofiledump.c: Likewise.
21183 * elf/cache.c: Likewise.
21184 * elf/dl-cache.c: Likewise.
21185 * elf/dl-misc.c: Likewise.
21186 * elf/dl-profile.c: Likewise.
21187 * elf/dl-support.c: Likewise.
21188 * elf/ldconfig.c: Likewise.
21189 * elf/sprof.c: Likewise.
21190 * iconv/dummy-repertoire.c: Likewise.
21191 * iconv/iconv_charmap.c: Likewise.
21192 * iconv/skeleton.c: Likewise.
21193 * iconvdata/8bit-generic.c: Likewise.
21194 * iconvdata/cp737.h: Likewise.
21195 * iconvdata/cp775.h: Likewise.
21196 * iconvdata/ibm1008.h: Likewise.
21197 * iconvdata/ibm1025.h: Likewise.
21198 * iconvdata/ibm1046.h: Likewise.
21199 * iconvdata/ibm1097.h: Likewise.
21200 * iconvdata/ibm1112.h: Likewise.
21201 * iconvdata/ibm1122.h: Likewise.
21202 * iconvdata/ibm1123.h: Likewise.
21203 * iconvdata/ibm1124.h: Likewise.
21204 * iconvdata/ibm1129.h: Likewise.
21205 * iconvdata/ibm1130.h: Likewise.
21206 * iconvdata/ibm1132.h: Likewise.
21207 * iconvdata/ibm1133.h: Likewise.
21208 * iconvdata/ibm1137.h: Likewise.
21209 * iconvdata/ibm1140.h: Likewise.
21210 * iconvdata/ibm1141.h: Likewise.
21211 * iconvdata/ibm1142.h: Likewise.
21212 * iconvdata/ibm1143.h: Likewise.
21213 * iconvdata/ibm1144.h: Likewise.
21214 * iconvdata/ibm1145.h: Likewise.
21215 * iconvdata/ibm1146.h: Likewise.
21216 * iconvdata/ibm1147.h: Likewise.
21217 * iconvdata/ibm1148.h: Likewise.
21218 * iconvdata/ibm1149.h: Likewise.
21219 * iconvdata/ibm1153.h: Likewise.
21220 * iconvdata/ibm1154.h: Likewise.
21221 * iconvdata/ibm1155.h: Likewise.
21222 * iconvdata/ibm1156.h: Likewise.
21223 * iconvdata/ibm1157.h: Likewise.
21224 * iconvdata/ibm1158.h: Likewise.
21225 * iconvdata/ibm1160.h: Likewise.
21226 * iconvdata/ibm1161.h: Likewise.
21227 * iconvdata/ibm1162.h: Likewise.
21228 * iconvdata/ibm1163.h: Likewise.
21229 * iconvdata/ibm1164.h: Likewise.
21230 * iconvdata/ibm1166.h: Likewise.
21231 * iconvdata/ibm1167.h: Likewise.
21232 * iconvdata/ibm12712.h: Likewise.
21233 * iconvdata/ibm1390.h: Likewise.
21234 * iconvdata/ibm1399.h: Likewise.
21235 * iconvdata/ibm16804.h: Likewise.
21236 * iconvdata/ibm4517.h: Likewise.
21237 * iconvdata/ibm4899.h: Likewise.
21238 * iconvdata/ibm4909.h: Likewise.
21239 * iconvdata/ibm4971.h: Likewise.
21240 * iconvdata/ibm5347.h: Likewise.
21241 * iconvdata/ibm803.h: Likewise.
21242 * iconvdata/ibm856.h: Likewise.
21243 * iconvdata/ibm901.h: Likewise.
21244 * iconvdata/ibm902.h: Likewise.
21245 * iconvdata/ibm9030.h: Likewise.
21246 * iconvdata/ibm9066.h: Likewise.
21247 * iconvdata/ibm921.h: Likewise.
21248 * iconvdata/ibm922.h: Likewise.
21249 * iconvdata/ibm9448.h: Likewise.
21250 * iconvdata/isiri-3342.h: Likewise.
21251 * iconvdata/jis0201.h: Likewise.
21252 * include/link.h: Likewise.
21253 * include/netdb.h: Likewise.
21254 * inet/check_native.c: Likewise.
21255 * inet/check_pf.c: Likewise.
21256 * inet/getipv4sourcefilter.c: Likewise.
21257 * inet/getnameinfo.c: Likewise.
21258 * inet/getsourcefilter.c: Likewise.
21259 * inet/htonl.c: Likewise.
21260 * inet/setipv4sourcefilter.c: Likewise.
21261 * inet/setsourcefilter.c: Likewise.
21262 * inet/test-inet6_opt.c: Likewise.
21263 * inet/tst-network.c: Likewise.
21264 * locale/C-collate.c: Likewise.
21265 * locale/C-ctype.c: Likewise.
21266 * locale/C-time.c: Likewise.
21267 * locale/C-translit.h: Likewise.
21268 * locale/loadarchive.c: Likewise.
21269 * locale/programs/3level.h: Likewise.
21270 * locale/programs/charmap.c: Likewise.
21271 * locale/programs/charmap.h: Likewise.
21272 * locale/programs/ld-address.c: Likewise.
21273 * locale/programs/ld-collate.c: Likewise.
21274 * locale/programs/ld-ctype.c: Likewise.
21275 * locale/programs/ld-identification.c: Likewise.
21276 * locale/programs/ld-measurement.c: Likewise.
21277 * locale/programs/ld-messages.c: Likewise.
21278 * locale/programs/ld-monetary.c: Likewise.
21279 * locale/programs/ld-name.c: Likewise.
21280 * locale/programs/ld-numeric.c: Likewise.
21281 * locale/programs/ld-paper.c: Likewise.
21282 * locale/programs/ld-telephone.c: Likewise.
21283 * locale/programs/ld-time.c: Likewise.
21284 * locale/programs/linereader.c: Likewise.
21285 * locale/programs/locale.c: Likewise.
21286 * locale/programs/locarchive.c: Likewise.
21287 * locale/programs/locfile.h: Likewise.
21288 * locale/programs/repertoire.c: Likewise.
21289 * locale/programs/simple-hash.c: Likewise.
21290 * locale/programs/simple-hash.h: Likewise.
21291 * malloc/memusage.c: Likewise.
21292 * malloc/memusagestat.c: Likewise.
21293 * nis/nis_defaults.c: Likewise.
21294 * nis/nis_hash.c: Likewise.
21295 * nis/nis_print.c: Likewise.
21296 * nis/nis_xdr.c: Likewise.
21297 * nscd/connections.c: Likewise.
21298 * nscd/hstcache.c: Likewise.
21299 * nscd/nscd_gethst_r.c: Likewise.
21300 * nscd/nscd_getserv_r.c: Likewise.
21301 * nscd/nscd_helper.c: Likewise.
21302 * nscd/servicescache.c: Likewise.
21303 * nss/makedb.c: Likewise.
21304 * nss/nss_db/db-XXX.c: Likewise.
21305 * nss/nss_db/db-initgroups.c: Likewise.
21306 * nss/nss_db/db-netgrp.c: Likewise.
21307 * nss/nss_files/files-network.c: Likewise.
21308 * nss/nss_files/files-parse.c: Likewise.
21309 * posix/bug-regex5.c: Likewise.
21310 * posix/fnmatch_loop.c: Likewise.
21311 * posix/regcomp.c: Likewise.
21312 * posix/regexec.c: Likewise.
21313 * posix/tst-rfc3484-2.c: Likewise.
21314 * posix/tst-rfc3484-3.c: Likewise.
21315 * posix/tst-rfc3484.c: Likewise.
21316 * resolv/nss_dns/dns-canon.c: Likewise.
21317 * resolv/nss_dns/dns-network.c: Likewise.
21318 * resolv/res_init.c: Likewise.
21319 * resolv/res_mkquery.c: Likewise.
21320 * resolv/tst-aton.c: Likewise.
21321 * stdlib/cxa_atexit.c: Likewise.
21322 * stdlib/cxa_finalize.c: Likewise.
21323 * stdlib/gen-fpioconst.c: Likewise.
21324 * stdlib/strtol_l.c: Likewise.
21325 * string/tst-endian.c: Likewise.
21326 * sunrpc/auth_des.c: Likewise.
21327 * sunrpc/clnt_udp.c: Likewise.
21328 * sunrpc/rtime.c: Likewise.
21329 * sunrpc/svcauth_des.c: Likewise.
21330 * sunrpc/xdr.c: Likewise.
21331 * sunrpc/xdr_intXX_t.c: Likewise.
21332 * sunrpc/xdr_rec.c: Likewise.
21333 * sysdeps/generic/ldconfig.h: Likewise.
21334 * sysdeps/generic/ldsodefs.h: Likewise.
21335 * sysdeps/generic/memusage.h: Likewise.
21336 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21337 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21338 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21339 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21340 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21341 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21342 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21343 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21344 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21345 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21346 * sysdeps/posix/getaddrinfo.c: Likewise.
21347 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21348 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21349 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21350 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21351 * sysdeps/powerpc/test-gettimebase.c: Likewise.
21352 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21353 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21354 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21355 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21356 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21357 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21358 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21359 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21360 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21361 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21362 * sysdeps/x86_64/dl-tls.h: Likewise.
21363 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21364 * time/alt_digit.c: Likewise.
21365 * time/era.c: Likewise.
21366 * wcsmbs/tst-c16c32-1.c: Likewise.
21368 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21370 * math/libm-test.inc (struct test_sincos_data): New type.
21371 (RUN_TEST_LOOP_sincos): New macro.
21372 (sincos_test_data): New variable.
21373 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21375 2013-05-16 Richard Henderson <rth@redhat.com>
21377 * math/atest-exp2.c (LIMB64): New macro.
21378 (CONSTSZ): New macro.
21379 (mp_exp1, mp_exp_m1, mp_log2): New variables.
21381 (print_mpn_fp): ... to function scope.
21382 (read_mpn_hex): Remove.
21383 (get_log2): Remove.
21384 (exp2_mpn): Use mp_log2.
21385 (main): Use mp_exp1.
21387 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21389 * math/libm-test.inc: Remove comment about not testing "inexact"
21391 (INEXACT_EXCEPTION): New macro.
21392 (NO_INEXACT_EXCEPTION): Likewise.
21393 (INVALID_EXCEPTION_OK): Update value.
21394 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21395 (OVERFLOW_EXCEPTION_OK): Likewise.
21396 (UNDERFLOW_EXCEPTION_OK): Likewise.
21397 (IGNORE_ZERO_INF_SIGN): Likewise.
21398 (ERRNO_UNCHANGED): Likewise.
21399 (ERRNO_EDOM): Likewise.
21400 (ERRNO_ERANGE): Likewise.
21401 (test_exceptions): Handle testing "inexact" exceptions.
21402 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21403 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21404 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21405 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21407 (rint_towardzero_test_data): Likewise.
21408 (rint_downward_test_data): Likewise.
21409 (rint_upward_test_data): Likewise.
21411 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21412 with OVERFLOW_EXCEPTION.
21413 (exp10_test_data): Likewise.
21414 (exp2_test_data): Likewise.
21415 (expm1_test_data): Likewise.
21416 (lgamma_test_data): Likewise.
21417 (pow_test_data): Likewise.
21418 (tgamma_test_data): Likewise.
21419 (yn_test_data): Remove duplicate test of overflow.
21421 * math/libm-test.inc (struct test_cc_c_data): New type.
21422 (RUN_TEST_LOOP_cc_c): New macro.
21423 (cpow_test_data): New variable.
21424 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21426 * math/libm-test.inc (struct test_f_L_data): New type.
21427 (RUN_TEST_LOOP_f_L): New macro.
21428 (llrint_test_data): New variable.
21429 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21430 (llrint_tonearest_test_data): New variable.
21431 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21432 (llrint_towardzero_test_data): New variable.
21433 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21434 (llrint_downward_test_data): New variable.
21435 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21436 (llrint_upward_test_data): New variable.
21437 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21438 (llround_test_data): New variable.
21439 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21441 2013-05-13 Peter Collingbourne <pcc@google.com>
21443 * math/atest-exp2.c (get_log2): Remove const attribute.
21445 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21447 * math/libm-test.inc (struct test_f_l_data): New type.
21448 (RUN_TEST_LOOP_f_l): New macro.
21449 (lrint_test_data): New variable.
21450 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21451 (lrint_tonearest_test_data): New variable.
21452 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21453 (lrint_towardzero_test_data): New variable.
21454 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21455 (lrint_downward_test_data): New variable.
21456 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21457 (lrint_upward_test_data): New variable.
21458 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21459 (lround_test_data): New variable.
21460 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21462 2013-05-15 Peter Collingbourne <pcc@google.com>
21464 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21465 (EXTRACT_WORDS64) Use where appropriate.
21466 (INSERT_WORDS64) Likewise.
21468 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21469 constraints with x constraints.
21470 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21472 * malloc/obstack.c (_obstack_compat): Add initializer.
21474 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
21476 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21477 si_trapno and add si_addr_lsb to _sifields.sigfault.
21478 (si_trapno): Remove macro.
21479 (si_addr_lsb): Define new macro.
21480 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21482 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21484 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21485 instead of TEST_f_l.
21486 (llrint_test_tonearest): Likewise.
21487 (llrint_test_towardzero): Likewise.
21488 (llrint_test_downward): Likewise.
21489 (llrint_test_upward): Likewise.
21490 (llround_test): Likewise.
21492 * math/libm-test.inc (struct test_f_i_data): Add comment.
21493 (RUN_TEST_LOOP_f_b): New macro.
21494 (RUN_TEST_LOOP_f_b_tg): Likewise.
21495 (finite_test_data): New variable.
21496 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21497 (isfinite_test_data): New variable.
21498 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21499 (isinf_test_data): New variable.
21500 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21501 (isnan_test_data): New variable.
21502 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21503 (isnormal_test_data): New variable.
21504 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21505 (issignaling_test_data): New variable.
21506 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21507 (signbit_test_data): New variable.
21508 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21510 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21511 with INVALID_EXCEPTION.
21512 (acosh_test_data): Likewise.
21513 (asin_test_data): Likewise.
21514 (atanh_test_data): Likewise.
21515 (fmod_test_data): Likewise.
21516 (log_test_data): Likewise.
21517 (log10_test_data): Likewise.
21518 (log2_test_data): Likewise.
21519 (pow_test_data): Likewise.
21520 (sqrt_test_data): Likewise.
21521 (y0_test_data): Likewise.
21522 (y1_test_data): Likewise.
21523 (yn_test_data): Likewise.
21525 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21528 * math/libm-test.inc (struct test_ff_i_data): New type.
21529 (RUN_TEST_LOOP_ff_i_tg): New macro.
21530 (isgreater_test_data): New variable.
21531 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21532 (isgreaterequal_test_data): New variable.
21533 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21534 (isless_test_data): New variable.
21535 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21536 (islessequal_test_data): New variable.
21537 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21538 (islessgreater_test_data): New variable.
21539 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21540 (isunordered_test_data): New variable.
21541 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21543 2013-05-14 David S. Miller <davem@davemloft.net>
21545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21547 2013-05-14 Joseph Myers <joseph@codesourcery.com>
21549 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21551 * math/libm-test.inc (struct test_fF_f1_data): Change type of
21553 (struct test_f_i_data): Change type of max_ulp to int.
21555 * math/libm-test.inc (test_ffI_f1_data): New type.
21556 (RUN_TEST_LOOP_ffI_f1): New macro.
21557 (remquo_test_data): New variable.
21558 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21560 * setjmp/tst-setjmp-fp.c: New file.
21561 * setjmp/Makefile (tests): Add tst-setjmp-fp.
21562 (link-libm): New variable.
21563 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21565 * math/libm-test.inc (struct test_f_i_data): New type.
21566 (RUN_TEST_LOOP_f_i): New macro.
21567 (RUN_TEST_LOOP_f_i_tg): Likewise.
21568 (fpclassify_test_data): New variable.
21569 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21570 (ilogb_test_data): New variable.
21571 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21573 * math/libm-test.inc (scalbln_test): Correct function name in END
21576 * math/libm-test.inc (struct test_f_f1_data): Add comment.
21577 (RUN_TEST_LOOP_fI_f1): New macro.
21578 (frexp_test_data): New variable.
21579 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21581 * math/libm-test.inc (struct test_fF_f1_data): New type.
21582 (RUN_TEST_LOOP_fF_f1): New macro.
21583 (modf_test_data): New variable.
21584 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21586 * math/libm-test.inc (struct test_f_f1_data): New type.
21587 (RUN_TEST_LOOP_f_f1): New macro.
21588 (gamma_test_data): New variable.
21589 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21590 (lgamma_test_data): New variable.
21591 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21593 2013-05-13 Carlos O'Donell <carlos@redhat.com>
21595 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21596 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21597 (main): Comment "tls" pseudo-hwcap.
21599 2013-05-13 Joseph Myers <joseph@codesourcery.com>
21601 * math/libm-test.inc (struct test_fl_f_data): New type.
21602 (RUN_TEST_LOOP_fl_f): New variable.
21603 (scalbln_test_data): New variable.
21604 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21606 * math/libm-test.inc (struct test_fi_f_data): New type.
21607 (RUN_TEST_LOOP_fi_f): New macro.
21608 (ldexp_test_data): New variable.
21609 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21610 (scalbn_test_data): New variable.
21611 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21613 * math/libm-test.inc (struct test_c_f_data): New type.
21614 (RUN_TEST_LOOP_c_f): New macro.
21615 (cabs_test_data): New variable.
21616 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21617 (carg_test_data): New variable.
21618 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21619 (cimag_test_data): New variable.
21620 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21621 (creal_test_data): New variable.
21622 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21624 * math/libm-test.inc (struct test_if_f_data): New type.
21625 (RUN_TEST_LOOP_if_f): New macro.
21626 (jn_test_data): New variable.
21627 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21628 (yn_test_data): New variable.
21629 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21631 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21633 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21635 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21636 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21638 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21640 * benchtests/Makefile (CPPFLAGS-nonlib): Add
21641 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21642 (bench-deps): Add bench-timing.h.
21643 * benchtests-bench-skeleton.c: Include bench-timing.h.
21644 (main): Use TIMING_* macros instead of clock_gettime.
21645 * benchtests/bench-timing.h: New file.
21648 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21649 Renamed from _LIB_VERSION.
21650 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21652 2013-05-12 Joseph Myers <joseph@codesourcery.com>
21654 * math/libm-test.inc (struct test_fff_f_data): New type.
21655 (RUN_TEST_LOOP_fff_f): New macro.
21656 (fma_test_data): New variable.
21657 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21658 (fma_towardzero_test_data): New variable.
21659 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21660 (fma_downward_test_data): New variable.
21661 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21662 (fma_upward_test_data): New variable.
21663 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21665 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21666 (struct test_c_c_data): New type.
21667 (RUN_TEST_LOOP_c_c): New macro.
21668 (cacos_test_data): New variable.
21669 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21670 (cacosh_test_data): New variable.
21671 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21672 (casin_test_data): New variable.
21673 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21674 (casinh_test_data): New variable.
21675 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21676 (catan_test_data): New variable.
21677 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21678 (catanh_test_data): New variable.
21679 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21680 (ccos_test_data): New variable.
21681 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21682 (ccosh_test_data): New variable.
21683 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21684 (cexp_test_data): New variable.
21685 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21686 (clog_test_data): New variable.
21687 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21688 (clog10_test_data): New variable.
21689 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21690 (conj_test_data): New variable.
21691 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21692 (cproj_test_data): New variable.
21693 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21694 (csin_test_data): New variable.
21695 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21696 (csinh_test_data): New variable.
21697 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21698 (csqrt_test_data): New variable.
21699 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21700 (ctan_test_data): New variable.
21701 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21702 (ctan_tonearest_test_data): New variable.
21703 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21704 (ctan_towardzero_test_data): New variable.
21705 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21706 (ctan_downward_test_data): New variable.
21707 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21708 (ctan_upward_test_data): New variable.
21709 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21710 (ctanh_test_data): New variable.
21711 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21712 (ctanh_tonearest_test_data): New variable.
21713 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21714 (ctanh_towardzero_test_data): New variable.
21715 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21716 (ctanh_downward_test_data): New variable.
21717 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21718 (ctanh_upward_test_data): New variable.
21719 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21720 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21723 * math/libm-test.inc (struct test_ff_f_data): New type.
21724 (struct test_ff_f_data_nexttoward): Likewise.
21725 (RUN_TEST_LOOP_2_f): New macro.
21726 (RUN_TEST_LOOP_ff_f): Likewise.
21727 (atan2_test_data): New variable.
21728 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21729 (copysign_test_data): New variable.
21730 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21731 (fdim_test_data): New variable.
21732 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21733 (fmax_test_data): New variable.
21734 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21735 (fmin_test_data): New variable.
21736 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21737 (fmod_test_data): New variable.
21738 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21739 (hypot_test_data): New variable.
21740 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21741 (nextafter_test_data): New variable.
21742 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21743 (nexttoward_test_data): New variable.
21744 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21745 (pow_test_data): New variable.
21746 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21747 (pow_tonearest_test_data): New variable.
21748 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21749 (pow_towardzero_test_data): New variable.
21750 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21751 (pow_downward_test_data): New variable.
21752 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21753 (pow_upward_test_data): New variable.
21754 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21755 (remainder_test_data): New variable.
21756 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21757 (scalb_test_data): New variable.
21758 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21759 * sysdeps/i386/fpu/libm-test-ulps: Update.
21761 2013-05-11 Joseph Myers <joseph@codesourcery.com>
21763 * math/libm-test.inc (fma_test): Use max_value instead of local
21765 (nextafter_test): Likewise.
21767 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21768 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21769 (acos_downward_test_data): New variable.
21770 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21771 (acos_upward_test_data): New variable.
21772 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21773 (acosh_test_data): New variable.
21774 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21775 (asin_test_data): New variable.
21776 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21777 (asin_tonearest_test_data): New variable.
21778 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21779 (asin_towardzero_test_data): New variable.
21780 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21781 (asin_downward_test_data): New variable.
21782 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21783 (asin_upward_test_data): New variable.
21784 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21785 (asinh_test_data): New variable.
21786 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21787 (atan_test_data): New variable.
21788 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21789 (atanh_test_data): New variable.
21790 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21791 (cbrt_test_data): New variable.
21792 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21793 (ceil_test_data): New variable.
21794 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21795 (cos_test_data): New variable.
21796 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21797 (cos_tonearest_test_data): New variable.
21798 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21799 (cos_towardzero_test_data): New variable.
21800 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21801 (cos_downward_test_data): New variable.
21802 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21803 (cos_upward_test_data): New variable.
21804 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21805 (cosh_test_data): New variable.
21806 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21807 (cosh_tonearest_test_data): New variable.
21808 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21809 (cosh_towardzero_test_data): New variable.
21810 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21811 (cosh_downward_test_data): New variable.
21812 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21813 (cosh_upward_test_data): New variable.
21814 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21815 (erf_test_data): New variable.
21816 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21817 (erfc_test_data): New variable.
21818 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21819 (exp_test_data): New variable.
21820 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21821 (exp_tonearest_test_data): New variable.
21822 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21823 (exp_towardzero_test_data): New variable.
21824 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21825 (exp_downward_test_data): New variable.
21826 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21827 (exp_upward_test_data): New variable.
21828 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21829 (exp10_test_data): New variable.
21830 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21831 (exp2_test_data): New variable.
21832 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21833 (expm1_test_data): New variable.
21834 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21835 (fabs_test_data): New variable.
21836 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21837 (floor_test_data): New variable.
21838 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21839 (j0_test_data): New variable.
21840 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21841 (j1_test_data): New variable.
21842 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21843 (log_test_data): New variable.
21844 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21845 (log10_test_data): New variable.
21846 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21847 (log1p_test_data): New variable.
21848 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21849 (log2_test_data): New variable.
21850 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21851 (logb_test_data): New variable.
21852 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21853 (logb_downward_test_data): New variable.
21854 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21855 (nearbyint_test_data): New variable.
21856 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21857 (rint_test_data): New variable.
21858 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21859 (rint_tonearest_test_data): New variable.
21860 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21861 (rint_towardzero_test_data): New variable.
21862 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21863 (rint_downward_test_data): New variable.
21864 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21865 (rint_upward_test_data): New variable.
21866 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21867 (round_test_data): New variable.
21868 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21869 (sin_test_data): New variable.
21870 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21871 (sin_tonearest_test_data): New variable.
21872 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21873 (sin_towardzero_test_data): New variable.
21874 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21875 (sin_downward_test_data): New variable.
21876 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21877 (sin_upward_test_data): New variable.
21878 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21879 (sinh_test_data): New variable.
21880 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21881 (sinh_tonearest_test_data): New variable.
21882 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21883 (sinh_towardzero_test_data): New variable.
21884 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21885 (sinh_downward_test_data): New variable.
21886 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21887 (sinh_upward_test_data): New variable.
21888 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21889 (sqrt_test_data): New variable.
21890 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21891 (tan_test_data): New variable.
21892 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21893 (tan_tonearest_test_data): New variable.
21894 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21895 (tan_towardzero_test_data): New variable.
21896 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21897 (tan_downward_test_data): New variable.
21898 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21899 (tan_upward_test_data): New variable.
21900 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21901 (tanh_test_data): New variable.
21902 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21903 (tgamma_test_data): New variable.
21904 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21905 (trunc_test_data): New variable.
21906 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21907 (y0_test_data): New variable.
21908 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21909 (y1_test_data): New variable.
21910 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21911 (significand_test_data): New variable.
21912 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21914 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21917 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21919 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21921 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21923 2013-05-10 Andreas Jaeger <aj@suse.de>
21926 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21927 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21929 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21931 * math/gen-libm-test.pl (adjust_arg): New function.
21932 (special_functions): Handle generating output in both functions
21934 (parse_args): Likewise.
21935 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21936 $in_func argument to parse_args.
21937 * math/libm-test.inc (struct test_f_f_data): New type.
21938 (IF_ROUND_INIT_): New macro.
21939 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21940 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21941 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21942 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21943 (ROUND_RESTORE_): Likewise.
21944 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21945 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21946 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21947 (ROUND_RESTORE_FE_UPWARD): Likewise.
21948 (RUN_TEST_LOOP_f_f): New macro.
21949 (acos_test_data): New variable.
21950 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21951 (acos_tonearest_test_data): New variable.
21952 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21954 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21956 * benchtests/bench-skeleton.c (startup): Fix coding style.
21958 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21961 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21962 negative infinity argument.
21963 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21964 negative infinity argument.
21965 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21966 negative infinity argument.
21967 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21970 2013-05-10 Florian Weimer <fweimer@redhat.com>
21972 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21973 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21974 * iconv/iconv_prog.c (main): Likewise.
21975 * locale/programs/charmap-dir.c (charmap_readdir)
21976 (fopen_uncompressed): Likewise.
21977 * locale/programs/locfile.c (siblings_uncached)
21978 (write_locale_data): Use lstat64 instead of lstat.
21979 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21982 2013-05-10 Andreas Jaeger <aj@suse.de>
21985 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21987 Include <locale.h>.
21989 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21991 * elf/dl-close.c (_dl_close_worker): Add comments.
21993 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21996 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21998 (__ieee754_rem_pio2l): Update comments.
22001 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22003 (__ieee754_rem_pio2l): Update comments.
22005 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22006 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22008 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22011 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22012 (M_PI_34_LOG10El): Likewise.
22013 (M_PI2_LOG10El): Likewise.
22014 (M_PI4_LOG10El): Likewise.
22015 (M_PI_LOG10El): Likewise.
22017 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22021 2013-05-08 Joseph Myers <joseph@codesourcery.com>
22023 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22024 (MINUS_ZERO_INIT): Likewise.
22025 (PLUS_INFTY_INIT): Likewise.
22026 (MINUS_INFTY_INIT): Likewise.
22027 (QNAN_VALUE_INIT): Likewise.
22028 (MAX_VALUE_INIT): Likewise.
22029 (MIN_VALUE_INIT): Likewise.
22030 (MIN_SUBNORM_VALUE_INIT): Likewise.
22031 (plus_zero): Initialize with PLUS_ZERO_INIT.
22032 (minus_zero): Initialize with MINUS_ZERO_INIT.
22033 (plus_infty): Initialize with PLUS_INFTY_INIT.
22034 (minus_infty): Initialize with MINUS_INFTY_INIT.
22035 (qnan_value): Initialize with QNAN_VALUE_INIT.
22036 (max_value): Initialize with MAX_VALUE_INIT.
22037 (min_value): Initialize with MIN_VALUE_INIT.
22038 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22040 * math/libm-test.inc (RUN_TEST_if_f): New macro.
22041 (jn_test): Use TEST_if_f instead of TEST_ff_f.
22042 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22043 (yn_test): Use TEST_if_f instead of TEST_ff_f.
22045 * math/libm-test.inc (RUN_TEST_f_f): New macro.
22046 (RUN_TEST_2_f): Likewise.
22047 (RUN_TEST_ff_f): Likewise.
22048 (RUN_TEST_fi_f): Likewise.
22049 (RUN_TEST_fl_f): Likewise.
22050 (RUN_TEST_fff_f): Likewise.
22051 (RUN_TEST_c_f): Likewise.
22052 (RUN_TEST_f_f1): Likewise.
22053 (RUN_TEST_fF_f1): Likewise.
22054 (RUN_TEST_fI_f1): Likewise.
22055 (RUN_TEST_ffI_f1): Likewise.
22056 (RUN_TEST_c_c): Likewise.
22057 (RUN_TEST_cc_c): Likewise.
22058 (RUN_TEST_f_i): Likewise.
22059 (RUN_TEST_f_i_tg): Likewise.
22060 (RUN_TEST_ff_i_tg): Likewise.
22061 (RUN_TEST_f_b): Likewise.
22062 (RUN_TEST_f_b_tg): Likewise.
22063 (RUN_TEST_f_l): Likewise.
22064 (RUN_TEST_f_L): Likewise.
22065 (RUN_TEST_sincos): Likewise.
22066 * math/gen-libm-test.pl (new_test): Take new argument to indicate
22067 whether to show exceptions. Do not include ");\n" in return
22069 (special_functions): Output call to RUN_TEST_sincos instead of
22070 check_float calls. Update calls to new_test.
22071 (parse_args): Output call to single RUN_TEST_* macro instead of
22072 check_* calls and other assignments. Update calls to new_test.
22078 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22079 input to result for tgamma overflow.
22080 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22081 (gamma_coeff): New variable.
22082 (NCOEFF): New macro.
22083 (gamma_positive): New function.
22084 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22085 underflow here. Use gamma_positive instead of exp (lgamma) for
22087 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22088 (gamma_coeff): New variable.
22089 (NCOEFF): New macro.
22090 (gammaf_positive): New function.
22091 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22092 underflow here. Use gamma_positive instead of exp (lgamma) for
22094 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22095 (gamma_coeff): New variable.
22096 (NCOEFF): New macro.
22097 (gammal_positive): New function.
22098 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22099 underflow here. Use gamma_positive instead of exp (lgamma) for
22101 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22102 (gamma_coeff): New variable.
22103 (NCOEFF): New macro.
22104 (gammal_positive): New function.
22105 (__ieee754_gammal_r): Handle positive infinity, overflow and
22106 underflow here. Handle NaN the same as positive infinity. Remove
22107 check x < 0xffffffff for negative integers. Use gamma_positive
22108 instead of exp (lgamma) for other arguments.
22109 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22110 (gamma_coeff): New variable.
22111 (NCOEFF): New macro.
22112 (gammal_positive): New function.
22113 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22114 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22115 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22116 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22117 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22118 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22119 * sysdeps/generic/math_private.h (__gamma_productf): New
22121 (__gamma_product): Likewise.
22122 (__gamma_productl): Likewise.
22123 * math/Makefile (libm-calls): Add gamma_product.
22124 * math/libm-test.inc (tgamma_test): Add more tests.
22125 * sysdeps/i386/fpu/libm-test-ulps: Update.
22126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22128 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
22130 * benchtests/bench-skeleton.c (main): Preheat CPU.
22132 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
22134 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22136 2013-05-07 Roland McGrath <roland@hack.frob.com>
22138 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22139 and _dl_skip_args_internal.
22141 2013-05-07 Carlos O'Donell <carlos@redhat.com>
22143 * manual/message.texi (Message Translation): Talk about users.
22144 Message to key mapping impacts design.
22146 2013-05-06 Roland McGrath <roland@hack.frob.com>
22148 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22150 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22152 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22153 * sysdeps/wordsize-64/glob64.c: ... here.
22155 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22156 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22159 * debug/getlogin_r_chk.c: Moved to ...
22160 * login/getlogin_r_chk.c: ... here.
22161 * debug/Makefile (routines): Move getlogin_r_chk to ...
22162 * login/Makefile (routines): ... here.
22163 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22164 * login/Versions (libc: GLIBC_2.4): ... here.
22166 * io/poll.c (__poll): Renamed from poll.
22167 Add libc_hidden_def.
22168 (poll): Define as weak alias.
22170 * debug/ptsname_r_chk.c: Moved to ...
22171 * login/ptsname_r_chk.c: ... here.
22172 * debug/Makefile (routines): Move ptsname_r_chk to ...
22173 * login/Makefile (routines): ... here.
22174 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22175 * login/Versions (libc: GLIBC_2.4): ... here.
22177 * posix/getlogin.c: Moved to ...
22178 * login/getlogin.c: ... here.
22179 * posix/getlogin_r.c: Moved to ...
22180 * login/getlogin_r.c: ... here.
22181 * posix/getlogin_r.c: Moved to ...
22182 * login/getlogin_r.c: ... here.
22183 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22184 * login/Makefile (routines): ... here.
22185 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22186 * login/Versions (libc: GLIBC_2.0): ... here.
22188 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22189 (setrlimit): Define as weak alias.
22191 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22192 Call __ names for open, ftruncate, and close.
22193 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22194 (truncate): Define as weak alias.
22196 2013-05-06 Joseph Myers <joseph@codesourcery.com>
22198 * math/gen-libm-test.pl (parse_args): Initialize x before each
22199 test of frexp, modf and remquo.
22201 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22202 test signgam value.
22204 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22208 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22210 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22212 2013-05-06 Roland McGrath <roland@hack.frob.com>
22214 * elf/dl-writev.h: New file.
22215 * elf/dl-misc.c: Include it.
22216 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22217 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22219 2013-05-04 Joseph Myers <joseph@codesourcery.com>
22221 * math/libm-test.inc (noXFails): Remove variable.
22222 (noXPasses): Likewise.
22223 (BUILD_COMPLEX_INT): Remove macro.
22224 (print_screen): Remove xfail argument.
22225 (print_screen_max_error): Likewise.
22226 (update_stats): Likewise.
22227 (print_max_error): Likewise. Update calls to other affected
22229 (print_complex_max_error): Likewise.
22230 (test_single_exception): Update calls to print_screen.
22231 (test_single_errno): Likewise.
22232 (check_float_internal): Remove xfail argument. Update calls to
22233 other affected functions.
22234 (check_float): Likewise.
22235 (check_complex): Likewise.
22236 (check_int): Likewise.
22237 (check_long): Likewise.
22238 (check_bool): Likewise.
22239 (check_longlong): Likewise.
22240 (main): Don't print noXFails and noXPasses.
22241 * math/gen-libm-test.pl (top level): Don't mention expected
22242 failure handling in comment.
22243 (new_test): Don't handle expected failures.
22244 (parse_args): Don't mention expected failure handling in comment.
22245 (generate_testfile): Don't handle expected failures.
22246 (parse_ulps): Likewise.
22247 (print_ulps_file): Likewise.
22248 (get_failure): Remove function.
22249 (output_test): Don't handle expected failures.
22250 * make/README.libm-test: Don't mention expected failure handling.
22252 * math/libm-test.inc (plus_zero): Make const. Add initializer.
22253 (minus_zero): Likewise.
22254 (plus_infty): Likewise.
22255 (minus_infty): Likewise.
22256 (qnan_value): Likewise.
22257 (max_value): Likewise.
22258 (min_value): Likewise.
22259 (min_subnorm_value): Likewise.
22260 (initialize): Do not initialize those variables dynamically.
22262 2013-05-03 Roland McGrath <roland@hack.frob.com>
22264 * io/open.c (__open_2): Moved to ...
22265 * io/open_2.c: ... this new file.
22266 * io/open64.c (__open64_2): Moved to ...
22267 * io/open64_2.c: ... this new file.
22268 * io/openat.c (__openat_2): Moved to ...
22269 * io/openat_2.c: ... this new file.
22270 * io/openat64.c (__openat64_2): Moved to ...
22271 * io/openat64_2.c: ... this new file.
22272 * io/Makefile (routines): Add them.
22273 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22274 * sysdeps/unix/sysv/linux/open_2.c: File removed.
22275 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22276 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22277 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22278 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22279 (__openat64): Add hidden_ver.
22280 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22281 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22283 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22284 Separately conditionalize setting of GLRO(dl_sysinfo) so
22285 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22286 as well, but the actual setting is only under [NEED_DL_SYSINFO].
22288 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22290 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22291 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22293 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22294 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22295 (_libc_vdso_platform_setup): Add __vdso_time initialization.
22296 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22297 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22299 2013-05-03 Joseph Myers <joseph@codesourcery.com>
22301 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22302 test signgam value.
22304 * math/libm-test.inc (hypot_test): Do not use
22305 IGNORE_ZERO_INF_SIGN.
22307 2013-05-03 Andreas Jaeger <aj@suse.de>
22309 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22311 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22312 (PF_MAX): Adjust for VSOCK change.
22314 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22318 2013-05-02 Carlos O'Donell <carlos@redhat.com>
22321 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22322 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22323 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22325 2013-05-02 David S. Miller <davem@davemloft.net>
22327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22329 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
22331 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22333 2013-05-01 Roland McGrath <roland@hack.frob.com>
22335 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22337 2013-05-01 Richard Smith <richard@metafoo.co.uk>
22340 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22341 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22342 Use __attribute__ ((__gnu_inline__)).
22343 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22344 Don't use __attribute__ ((__gnu_inline__)).
22346 2013-05-01 Joseph Myers <joseph@codesourcery.com>
22349 * math/s_catan.c (__catan): Handle small real or imaginary part of
22350 input specially to avoid spurious underflow.
22351 * math/s_catanf.c (__catanf): Likewise.
22352 * math/s_catanh.c (__catanh): Likewise.
22353 * math/s_catanhf.c (__catanhf): Likewise.
22354 * math/s_catanhl.c (__catanhl): Likewise.
22355 * math/s_catanl.c (__catanl): Likewise.
22356 * math/libm-test.inc (catan_test): Add more tests.
22357 (catanh_test): Likewise.
22358 * sysdeps/i386/fpu/libm-test-ulps: Update.
22359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22361 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22365 2013-04-30 Joseph Myers <joseph@codesourcery.com>
22368 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22369 accurately for denominator in atan2.
22370 * math/s_catanf.c (__catanf): Likewise.
22371 * math/s_catanh.c (__catanh): Likewise.
22372 * math/s_catanhf.c (__catanhf): Likewise.
22373 * math/s_catanhl.c (__catanhl): Likewise.
22374 * math/s_catanl.c (__catanl): Likewise.
22375 * math/libm-test.inc (catan_test): Add more tests.
22376 (catanh_test): Likewise.
22377 * sysdeps/i386/fpu/libm-test-ulps: Update.
22378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22380 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22382 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22384 * benchtests/Makefile (bench): Remove slow benchmarks.
22385 * benchtests/atan-inputs: Add slow benchmark inputs.
22386 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22387 (BENCH_FUNC): Accept variant offset.
22389 * benchtests/bench-skeleton.c (main): Run benchmark for each
22391 * benchtests/cos-inputs: Add slow benchmark inputs.
22392 * benchtests/exp-inputs: Likewise.
22393 * benchtests/pow-inputs: Likewise.
22394 * benchtests/sin-inputs: Likewise.
22395 * benchtests/slowatan-inputs: Remove.
22396 * benchtests/slowatan.c: Remove.
22397 * benchtests/slowcos-inputs: Remove.
22398 * benchtests/slowcos.c: Remove.
22399 * benchtests/slowexp-inputs: Remove.
22400 * benchtests/slowexp.c: Remove.
22401 * benchtests/slowpow-inputs: Remove.
22402 * benchtests/slowpow.c: Remove.
22403 * benchtests/slowsin-inputs: Remove.
22404 * benchtests/slowsin.c: Remove.
22405 * benchtests/slowtan-inputs: Remove.
22406 * benchtests/slowtan.c: Remove.
22407 * benchtests/tan-inputs: Add slow benchmark inputs.
22408 * scripts/bench.pl: Parse comments and directives.
22410 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
22412 ($(objpfx)bench-%.c): Remove *-ITER.
22413 * benchtests/bench-modf.c: Remove definition of ITER.
22414 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22415 (main): Loop for DURATION seconds instead of fixed number of
22417 * scripts/bench.pl: Don't expect iterations in parameters.
22419 2013-04-29 Roland McGrath <roland@hack.frob.com>
22421 * io/fchdir.c (__fchdir): Renamed from fchdir.
22422 (fchdir): Define as weak alias.
22424 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22426 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22427 (ERRNO_EDOM): Likewise.
22428 (ERRNO_ERANGE): Likewise.
22429 (noErrnoTests): New variable.
22430 (init_max_error): Set errno to 0.
22431 (test_single_errno): New function.
22432 (test_errno): Likewise.
22433 (check_float_internal): Call test_errno. Set errno to 0.
22434 (check_complex): Refer to errno tests in comment.
22435 (check_int): Call test_errno. Set errno to 0.
22436 (check_long): Likewise.
22437 (check_bool): Likewise.
22438 (check_longlong): Likewise.
22439 (cos_test): Use ERRNO_* flags for errno tests instead of
22441 (expm1_test): Likewise.
22442 (fmod_test): Likewise.
22443 (ilogb_test): Likewise.
22444 (lgamma_test): Likewise.
22445 (pow_test): Likewise.
22446 (remainder_test): Likewise.
22447 (sin_test): Likewise.
22448 (tan_test): Likewise.
22449 (yn_test): Likewise.
22450 (initialize): Set errno to 0.
22451 (main): Print number of errno tests.
22452 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22454 2013-04-29 Andreas Jaeger <aj@suse.de>
22457 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22461 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22462 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22466 * stdlib/random.c (__initstate): Return NULL if
22470 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22471 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22474 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22478 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22480 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22481 of individual tests.
22482 (casin_test): Likewise.
22483 (casinh_test): Likewise.
22485 2013-04-27 Joseph Myers <joseph@codesourcery.com>
22488 * math/s_catan.c (__catan): Handle arguments with large real or
22489 imaginary part separately without squaring.
22490 * math/s_catanf.c (__catanf): Likewise.
22491 * math/s_catanh.c (__catanh): Likewise.
22492 * math/s_catanhf.c (__catanhf): Likewise.
22493 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22495 (__catanhl): Handle arguments with large real or imaginary part
22496 separately without squaring.
22497 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22499 (__catanl): Handle arguments with large real or imaginary part
22500 separately without squaring.
22501 * math/libm-test.inc (catan_test): Add more tests.
22502 (catanh_test): Likewise.
22503 * sysdeps/i386/fpu/libm-test-ulps: Update.
22504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22506 2013-04-27 Andreas Jaeger <aj@suse.de>
22509 * stdlib/stdlib.h: Update guards for qecvt.
22510 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22513 2013-04-27 Allan McRae <allan@archlinux.org>
22515 * sysdeps/i386/fpu/libm-test-ulps: Update.
22517 2013-04-26 Joseph Myers <joseph@codesourcery.com>
22520 * math/s_catan.c: Include <float.h>.
22521 (__catan): Ensure underflow exception occurs for underflowed
22523 * math/s_catanf.c: Include <float.h>.
22524 (__catanf): Ensure underflow exception occurs for underflowed
22526 * math/s_catanh.c: Include <float.h>.
22527 (__catanh): Ensure underflow exception occurs for underflowed
22529 * math/s_catanhf.c: Include <float.h>.
22530 (__catanhf): Ensure underflow exception occurs for underflowed
22532 * math/s_catanhl.c: Include <float.h>.
22533 (__catanhl): Ensure underflow exception occurs for underflowed
22535 * math/s_catanl.c: Include <float.h>.
22536 (__catanl): Ensure underflow exception occurs for underflowed
22538 * math/libm-test.inc (catan_test): Add more tests.
22539 (catanh_test): Likewise.
22542 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22543 underflowed result.
22544 * math/s_ccoshf.c (__ccoshf): Likewise.
22545 * math/s_ccoshl.c (__ccoshl): Likewise.
22546 * math/s_csin.c (__csin): Likewise.
22547 * math/s_csinf.c (__csinf): Likewise.
22548 * math/s_csinh.c (__csinh): Likewise.
22549 * math/s_csinhf.c (__csinhf): Likewise.
22550 * math/s_csinhl.c (__csinhl): Likewise.
22551 * math/s_csinl.c (__csinl): Likewise.
22552 * math/libm-test.inc (ccos_test): Add more tests.
22553 (ccosh_test): Likewise.
22554 (csin_test): Likewise.
22555 (csinh_test): Likewise.
22557 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22559 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22560 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22561 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22562 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22563 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22564 powerpc/power5+/fpu folders.
22565 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22568 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22572 2013-04-25 Joseph Myers <joseph@codesourcery.com>
22574 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22575 additions to variable.
22576 [$(config-machine) = x86_64] (modules-names): Likewise.
22577 ($(objpfx)tst-audit3): Remove dependency.
22578 ($(objpfx)tst-audit3.out): Likewise.
22579 ($(objpfx)tst-audit4): Likewise.
22580 ($(objpfx)tst-audit4.out): Likewise.
22581 ($(objpfx)tst-audit5): Likewise.
22582 ($(objpfx)tst-audit5.out): Likewise.
22583 ($(objpfx)tst-audit6): Likewise.
22584 ($(objpfx)tst-audit6.out): Likewise.
22585 ($(objpfx)tst-audit7): Likewise.
22586 ($(objpfx)tst-audit7.out): Likewise.
22587 (tst-audit3-ENV): Remove variable.
22588 (tst-audit4-ENV): Likewise.
22589 (tst-audit5-ENV): Likewise.
22590 (tst-audit6-ENV): Likewise.
22591 (tst-audit7-ENV): Likewise.
22592 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22593 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22594 addition to variable.
22595 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22596 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22597 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22598 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22599 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22600 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22601 tst-audit3, tst-audit4 and tst-audit5.
22602 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22603 tst-audit6 and tst-audit7.
22604 [$(subdir) = elf] (modules-names): Add audit modules for those
22606 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22607 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22608 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22609 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22610 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22611 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22612 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22613 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22614 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22615 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22616 [$(subdir) = elf] (tst-audit3-ENV): New variable.
22617 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22618 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22619 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22620 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22621 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22623 [$(subdir) = elf && $(config-cflags-avx) = yes]
22624 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22625 [$(subdir) = elf && $(config-cflags-avx) = yes]
22626 (CFLAGS-tst-auditmod4a.c): Likewise.
22627 [$(subdir) = elf && $(config-cflags-avx) = yes]
22628 (CFLAGS-tst-auditmod4b.c): Likewise.
22629 [$(subdir) = elf && $(config-cflags-avx) = yes]
22630 (CFLAGS-tst-auditmod6b.c): Likewise.
22631 [$(subdir) = elf && $(config-cflags-avx) = yes]
22632 (CFLAGS-tst-auditmod6c.c): Likewise.
22633 [$(subdir) = elf && $(config-cflags-avx) = yes]
22634 (CFLAGS-tst-auditmod7b.c): Likewise.
22635 * elf/tst-audit3.c: Move to ...
22636 * sysdeps/x86_64/tst-audit3.c: ... here.
22637 * elf/tst-audit4.c: Move to ...
22638 * sysdeps/x86_64/tst-audit4.c: ... here.
22639 * elf/tst-audit5.c: Move to ...
22640 * sysdeps/x86_64/tst-audit5.c: ... here.
22641 * elf/tst-audit6.c: Move to ...
22642 * sysdeps/x86_64/tst-audit6.c: ... here.
22643 * elf/tst-audit7.c: Move to ...
22644 * sysdeps/x86_64/tst-audit7.c: ... here.
22645 * elf/tst-auditmod3a.c: Move to ...
22646 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22647 * elf/tst-auditmod3b.c: Move to ...
22648 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22649 * elf/tst-auditmod4a.c: Move to ...
22650 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22651 * elf/tst-auditmod4b.c: Move to ...
22652 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22653 * elf/tst-auditmod5a.c: Move to ...
22654 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22655 * elf/tst-auditmod5b.c: Move to ...
22656 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22657 * elf/tst-auditmod6a.c: Move to ...
22658 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22659 * elf/tst-auditmod6b.c: Move to ...
22660 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22661 * elf/tst-auditmod6c.c: Move to ...
22662 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22663 * elf/tst-auditmod7a.c: Move to ...
22664 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22665 * elf/tst-auditmod7b.c: Move to ...
22666 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22668 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
22671 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22672 define unconditionally.
22673 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22674 define unconditionally.
22675 (INT8_C, INT16_C, etc.): Likewise.
22677 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
22679 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22680 __ehdr_start with hidden visibility.
22682 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22684 2013-04-24 Carlos O'Donell <carlos@redhat.com>
22686 * math/libm-test.inc (cos_test): Use accurate hex constants.
22687 (sincost_test): Likewise.
22689 2013-04-24 Joseph Myers <joseph@codesourcery.com>
22691 * math/libm-test.inc (catan_test): Add more tests.
22692 (catanh_test): Likewise.
22694 * math/s_catanf.c (__catanf): Use suffixed floating-point
22696 * math/s_catanhf.c (__catanhf): Likewise.
22697 * math/s_catanhl.c (__catanhl): Likewise.
22698 * math/s_catanl.c (__catanl): Likewise.
22701 * math/s_catan.c (__catan): Calculate imaginary part of result
22702 with log1p not log unless computing log of number close to 0.
22703 * math/s_catanf.c (__catanf): Likewise.
22704 * math/s_catanl.c (__catanl): Likewise.
22705 * math/s_catanh.c (__catanh): Calculate real part of result with
22706 log1p not log unless computing log of number close to 0.
22707 * math/s_catanhf.c (__catanhf): Likewise.
22708 * math/s_catanhl.c (__catanhl): Likewise.
22709 * math/libm-test.inc (catan_test): Add more tests.
22710 (catanh_test): Likewise.
22711 * sysdeps/i386/fpu/libm-test-ulps: Update.
22712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22714 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22716 * benchtests/Makefile: Mention files in which fast and slow
22717 paths of math functions are implemented.
22719 2013-04-23 Roland McGrath <roland@hack.frob.com>
22721 * sysdeps/posix/timespec_get.c: New file.
22723 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22725 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22727 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22729 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22730 powerpc/power5/fpu folders.
22731 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22732 * benchtests/Makefile: Add modf testcase.
22733 * benchtests/bench-modf.c: New file: Benchmark test for mo
22735 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22738 * time/Makefile (tests): Add tst-strptime-whitespace.
22739 * time/strptime_l.c (get_number): Use ISSPACE.
22740 (__strptime_internal): Likewise.
22741 * time/tst-strptime-whitespace.c: New test case.
22743 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
22745 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22747 (_nss_files_init): Set it here.
22749 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
22751 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22752 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22755 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22757 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22759 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22761 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22764 2013-04-21 David S. Miller <davem@davemloft.net>
22766 * po/ru.po: Update Russion translation from translation project.
22768 2013-04-17 Adam Conrad <adconrad@0c3.net>
22770 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22773 2013-04-17 Carlos O'Donell <carlos@redhat.com>
22775 * configure.in: Remove i386 configure warning. Remove i386 case.
22776 * configure: Regenerate.
22777 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22778 Add example to error message.
22779 * sysdeps/i386/configure: Regenerate.
22781 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22783 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22785 * benchtests/cos-inputs: New file.
22786 * benchtests/slowcos-inputs: New file.
22787 * benchtests/slowcos.c: New file.
22788 * benchtests/slowtan-inputs: New file.
22789 * benchtests/slowtan.c: New file.
22790 * benchtests/tan-inputs: New file.
22792 2013-04-16 Roland McGrath <roland@hack.frob.com>
22794 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22797 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22799 * benchtests/Makefile: Include cppflags-iterator.mk to add
22800 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22802 * Makefile.in (bench-clean): New target.
22803 * benchtests/Makefile (bench-clean): Likewise.
22805 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22807 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22809 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22811 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22813 2013-04-15 Andreas Schwab <schwab@suse.de>
22815 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22816 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22817 * nscd/pwdcache.c (cache_addpw): Likewise.
22818 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22821 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22823 * benchtests/Makefile (bench): Write all output to
22824 bench-out.tmp together.
22826 2013-04-15 Andreas Schwab <schwab@suse.de>
22828 * nscd/nscd.c (main): Don't fork again after closing files.
22830 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22832 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22834 * benchtests/Rules (bench-deps): Collect dependencies into a
22835 single variable. Add Makefile to dependencies.
22836 ($(objpfx)bench-%.c): Depend on bench-deps.
22838 2013-04-12 Roland McGrath <roland@hack.frob.com>
22839 Xavier Roche <roche+kml2@exalead.com>
22842 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22843 just that it's a file descriptor.
22844 * manual/llio.texi (Synchronizing AIO Operations): Update description
22845 for EBADF error from aio_fsync.
22847 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22849 * Rules (bench): Move target definition...
22850 * benchtests/Makefile: ... here.
22852 2013-04-11 Carlos O'Donell <carlos@redhat.com>
22854 * math/libm-test.inc (cos_test): Fix PI/2 test.
22855 (sincos_test): Likewise.
22856 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22857 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22859 2013-04-11 Andreas Schwab <schwab@suse.de>
22862 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22863 accept exponent character only when digits were seen.
22864 * stdio-common/Makefile (tests): Add bug26.
22865 * stdio-common/bug26.c: New file.
22868 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22871 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22873 * Makeconfig (rtld-prefix): Define built linker prefix.
22874 * Rules (run-bench): Use it.
22875 * math/Makefile (run-regen-ulps): Likewise.
22877 * Rules (bench): Remove eval.
22879 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22880 Roland McGrath <roland@hack.frob.com>
22881 Ondrej Bilka <neleai@seznam.cz>
22884 * time/getdate.c: Include ctype.h and alloca.h.
22885 (__getdate_r): Trim leading and trailing spaces of input.
22886 * time/tst-getdate.c (tests): Add tests with leading and
22889 2013-04-08 Roland McGrath <roland@hack.frob.com>
22892 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22893 when computing value.
22895 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22897 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22898 Use testrun.sh to run libm tests.
22901 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22903 2013-04-06 Marko Myllynen <myllynen@redhat.com>
22906 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22908 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22910 * Makefile.in (regen-ulps): New target.
22911 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22912 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22913 [ifneq (no,$(PERL)] (regen-ulps): New target.
22914 [ifeq (no,$(PERL)] (regen-ulps): New target.
22915 * math/libm-test.inc (ulps_file_name): Define.
22916 (output_dir): New variable.
22917 (options): Add "output-dir" option.
22918 (parse_opt): Handle 'o' case.
22919 (main): If output_dir is non-NULL use it as a prefix
22921 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22923 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22925 [BZ #10060, #10062]
22926 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22927 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22928 fail configure if __sync_val_compare_and_swap is not inlined.
22929 * sysdeps/i386/configure: Regenerate.
22930 * configure.in: Build for i686 when configured for i386.
22931 * configure: Regenerate.
22932 * README: Remove i386 reference.
22934 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22936 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22937 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22939 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22941 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22942 (lmsnanval): New variables.
22943 (F): Add conversion tests.
22944 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22945 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22947 * stdio-common/tstdiomisc.c (F): Properly collect individual
22950 [BZ #14686, #15336]
22951 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22952 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22953 Instead, use input NaN values or generate a qNaN by arithmetic
22954 operation. Also fix bugs to comply with the standard.
22955 * math/libm-test.inc (remainder_test): Add more tests.
22957 [BZ #15335, #15342]
22958 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22959 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22960 input NaN values or generate a qNaN by arithmetic operation.
22962 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22965 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22968 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22971 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22972 underflowed result.
22973 * math/s_cexpf.c (__cexpf): Likewise.
22974 * math/s_cexpl.c (__cexpl): Likewise.
22975 * math/libm-test.inc (cexp_test): Add more tests.
22977 2013-04-03 Andreas Schwab <schwab@suse.de>
22980 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22981 order arrays from heap if bigger than alloca cutoff.
22983 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22985 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22986 (SNAN_TESTS_double): Refer to GCC PR56831.
22987 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22990 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22992 * Rules (bench): Move bench.out after the run is complete.
22994 * Rules (bench): Echo currently running benchmark.
22996 * benchtests/Makefile (bench): Add atan and slowatan.
22997 * benchtests/atan-inputs: New file.
22998 * benchtests/slowatan-inputs: New file.
22999 * benchtests/slowatan.c: New file.
23001 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23002 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23006 * sysdeps/unix/sysv/linux/kernel-features.h
23007 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23008 __ASSUME_XFS_RESTRICTED_CHOWN.
23009 * sysdeps/unix/sysv/linux/pathconf.c
23010 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23011 Save and restore errno.
23013 2013-04-02 Joseph Myers <joseph@codesourcery.com>
23016 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23017 arguments using __kernel_casinh.
23018 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23019 arguments using __kernel_casinhf.
23020 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23021 arguments using __kernel_casinhl.
23022 * math/libm-test.inc (cacosh_test): Add more tests.
23023 * sysdeps/i386/fpu/libm-test-ulps: Update.
23024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23026 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23028 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23029 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23031 * bench/Makefile (bench): Add sin and slowsin.
23032 * benchtests/sin-inputs: New file.
23033 * benchtests/slowsin-inputs: New file.
23034 * benchtests/slowsin.c: New file.
23036 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23037 (bench): Add slowexp and slowpow.
23038 (exp-ITER): Increase iterations.
23039 (pow-ITER): Likewise.
23040 * benchtests/exp-inputs: Change input.
23041 * benchtests/pow-inputs: Likewise.
23042 * benchtests/slowexp-inputs: New file.
23043 * benchtests/slowexp.c: New file.
23044 * benchtests/slowpow-inputs: New file.
23045 * benchtests/slowpow.c: New file.
23047 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23049 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23051 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23052 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23053 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23054 * benchtests/Makefile: Add rint benchtest.
23055 * benchtests/rint-inputs: Input for rint benchtest.
23057 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
23059 * Versions.def (libm): Add GLIBC_2.18.
23060 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23061 hidden libm prototypes.
23062 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23063 * math/Makefile (libm-calls): Add s_issignaling.
23064 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23065 __issignalingf, __issignalingl. Adjust all libm.abilist files.
23066 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23068 * math/math.h [__USE_GNU] (issignaling): New macro.
23069 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23070 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23071 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23072 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23073 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23074 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23075 * manual/arith.texi (issignaling): New section.
23076 * manual/libm-err-tab.pl (@all_functions): Update comment.
23077 * math/gen-libm-test.pl (parse_args): Apply special handling for
23079 * math/libm-test.inc (print_float, issignaling_test): New
23081 (check_float_internal): Add issignaling checks.
23082 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23083 default definition.
23084 * sysdeps/powerpc/math-tests.h: New file.
23085 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23087 * math/test-snan.c (TEST_FUNC): Likewise.
23089 2013-03-30 David S. Miller <davem@davemloft.net>
23091 * po/de.po: Update from translation team.
23093 2013-03-30 Joseph Myers <joseph@codesourcery.com>
23096 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23097 imaginary part less than 1.0 and real part less than 0.5
23099 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23100 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23101 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23102 (cacos_test): Add more tests.
23103 (casin_test): Likewise.
23104 (casinh_test): Likewise.
23105 * sysdeps/i386/fpu/libm-test-ulps: Update.
23106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23108 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23110 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23111 ONE with its value.
23113 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23114 (__pow_mp): Replace ONE and MONE with their values.
23115 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23116 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23117 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23118 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23119 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23120 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23122 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23124 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23125 (__pow_mp): Replace ZERO and MZERO with their values.
23126 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23127 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23128 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23129 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23130 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23131 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23134 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23136 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23138 2013-03-28 Roland McGrath <roland@hack.frob.com>
23140 * include/stdlib.h [!SHARED] (__call_tls_dtors):
23141 Declare with __attribute__ ((weak)).
23142 * stdlib/exit.c (__libc_atexit) [!SHARED]:
23143 Call __call_tls_dtors only if it's not NULL.
23145 2013-03-28 Roland McGrath <roland@hack.frob.com>
23147 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23148 didn't do it already, then set _dl_phdr and _dl_phnum based on the
23149 magic __ehdr_start linker symbol if it's defined.
23150 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23151 them up here if it was already done.
23153 * elf/dl-support.c (_dl_phdr): Make pointer to const.
23154 (_dl_aux_init): Use const in cast when setting it.
23155 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23156 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23157 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23159 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23161 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23162 * csu/libc-tls.c: Nor here.
23163 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23165 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23166 (__libc_message): Never call vsyslog.
23168 2013-03-28 Alan Modra <amodra@gmail.com>
23170 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23172 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23175 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23178 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23182 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23185 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23186 Don't add gid passed as argument.
23188 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23190 2013-03-27 Joseph Myers <joseph@codesourcery.com>
23193 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23194 imaginary part between 1.0 and 1.5 and real part less than 0.5
23196 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23197 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23198 * math/libm-test.inc (cacos_test): Add more tests.
23199 (casin_test): Likewise.
23200 (casinh_test): Likewise.
23201 * sysdeps/i386/fpu/libm-test-ulps: Update.
23202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23204 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23206 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23209 (denorm): Likewise.
23210 (__dbl_mp): Likewise.
23211 (add_magnitudes): Likewise.
23212 (sub_magnitudes): Likewise.
23220 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23222 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23223 (__dubcos): Likewise.
23224 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23225 (__ieee754_acos): Likewise.
23226 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23227 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23228 (__exp1): Likewise.
23229 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23230 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23232 (my_log2): Likewise.
23233 (checkint): Likewise.
23234 * sysdeps/ieee754/dbl-64/e_remainder.c
23235 (__ieee754_remainder): Likewise.
23236 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23237 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23238 (bsloww): Likewise.
23239 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23241 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23242 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23243 MANTISSA_STORE_T to store computations on mantissa. Use
23244 macros for rounding and division.
23245 (denorm): Likewise.
23246 (__dbl_mp): Likewise.
23247 (add_magnitudes): Likewise.
23248 (sub_magnitudes): Likewise.
23251 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23252 powers of two in terms of TWOPOW macro.
23253 (mp_no): Make type of mantissa as MANTISSA_T.
23254 [!RADIXI]: Define RADIXI.
23255 [!TWO52]: Define TWO52.
23256 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23258 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23260 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23261 llroundl symbol when building for PPC32.
23263 2013-03-24 Mark H Weaver <mhw@netris.org>
23265 * manual/arith.texi (Normalization Functions): Fix prototypes for
23266 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23268 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23271 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23272 high value to check if expl overflow.
23273 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23274 to check for underflow and overflow.
23275 * math/libm-test.inc: Add exp test.
23277 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
23280 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23283 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23285 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23288 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
23290 * math/gen-libm-test.pl (parse_args, special_functions): Properly
23291 wrap blocks consisting of several statements.
23293 * sysdeps/generic/math-tests.h: New file.
23294 * sysdeps/i386/fpu/math-tests.h: Likewise.
23295 * math/test-snan.c: Include it.
23296 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23298 2013-03-21 Joseph Myers <joseph@codesourcery.com>
23301 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23302 (__ieee754_j0l): Do not improve calculations using cos of twice
23303 input for inputs above LDBL_MAX / 2.0L.
23304 (__ieee754_y0l): Likewise.
23305 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23306 (__ieee754_j1l): Do not improve calculations using cos of twice
23307 input for inputs above LDBL_MAX / 2.0L.
23308 (__ieee754_y1l): Likewise.
23309 * math/libm-test.inc (j0_test): Add another test.
23310 (j1_test): Likewise.
23311 (y0_test): Likewise.
23312 (y1_test): Likewise.
23313 * sysdeps/i386/fpu/libm-test-ulps: Update.
23315 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23317 * Rules ($(objpfx)bench-%.c): Include code from a C source
23320 2013-03-21 Joseph Myers <joseph@codesourcery.com>
23323 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23324 imaginary part 1.0 and real part less than 0.5 specially.
23325 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23326 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23327 * math/libm-test.inc (cacos_test): Add more tests.
23328 (casin_test): Likewise.
23329 (casinh_test): Likewise.
23330 * sysdeps/i386/fpu/libm-test-ulps: Update.
23331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23333 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23335 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23336 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23338 2013-03-20 Joseph Myers <joseph@codesourcery.com>
23340 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23341 * config.make.in (config-cflags-sse4): Remove variable.
23342 (config-cflags-avx): Likewise.
23343 (config-cflags-sse2avx): Likewise.
23344 (config-cflags-novzeroupper): Likewise.
23345 (config-asflags-i686): Likewise.
23346 (have-mfma4): Likewise.
23347 (have-as-vis3): Likewise.
23349 * configure.in (MIG): Do not AC_SUBST.
23350 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23351 (libc_cv_cc_sse4): Do not AC_SUBST.
23352 (libc_cv_cc_avx): Likewise.
23353 (libc_cv_cc_sse2avx): Likewise.
23354 (libc_cv_cc_novzeroupper): Likewise.
23355 (libc_cv_cc_fma4): Likewise.
23356 (libc_cv_as_i686): Likewise.
23357 (libc_cv_sparc_as_vis3): Likewise.
23358 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23360 (config-asflags-i686): Likewise.
23361 (config-cflags-avx): Likewise.
23362 (config-cflags-sse2avx): Likewise.
23363 (have-mfma4): Likewise.
23364 (config-cflags-novzeroupper): Likewise.
23365 * sysdeps/mach/configure.in (MIG): Likewise.
23366 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23367 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23369 (config-cflags-avx): Likewise.
23370 (config-cflags-sse2avx): Likewise.
23371 (have-mfma4): Likewise.
23372 (config-cflags-novzeroupper): Likewise.
23373 * configure: Regenerated.
23374 * sysdeps/i386/configure: Likewise.
23375 * sysdeps/mach/configure: Likewise.
23376 * sysdeps/sparc/configure: Likewise.
23377 * sysdeps/x86_64/configure: Likewise.
23379 2013-03-20 Roland McGrath <roland@hack.frob.com>
23382 * locale/programs/localedef.c (options): Put N_ translation marker
23383 on argument names, not just descriptions.
23385 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23387 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23389 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
23392 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23394 2013-03-19 Roland McGrath <roland@hack.frob.com>
23396 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23397 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23398 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23399 [!BEFORE_ABORT] (before_abort): New function.
23400 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23401 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23402 (writev_for_fatal): New function.
23403 (WRITEV_FOR_FATAL): New macro; call that.
23404 (backtrace_and_maps): New function.
23405 (BEFORE_ABORT): New macro; call that.
23406 (struct str_list): Type removed.
23407 (__libc_message, __libc_fatal): Functions removed.
23408 Include <sysdeps/posix/libc_fatal.c> instead.
23410 2013-03-19 Joseph Myers <joseph@codesourcery.com>
23412 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23414 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23417 2013-03-19 Andreas Schwab <schwab@suse.de>
23419 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23420 * sysdeps/gnu/configure: Regenerate.
23422 * configure.in: Substitute libc_cv_rtlddir.
23423 * configure: Regenerate.
23424 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23425 * Makeconfig (rtlddir, inst_rtlddir): New variables.
23426 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23427 * elf/Makefile (install-others, CFLAGS-interp.c)
23428 (ldso_install, common-ldd-rewrite): Likewise.
23429 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23430 $(inst_slibdir)/$(rtld-installed-name).
23431 * scripts/rellns-sh: Add -p option.
23432 * Makerules (make-shlib-link): Use rellns-sh to get relative name
23435 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23437 * manual/nptl.texi: Renamed to ...
23438 * manual/threads.texi: ... this.
23439 * manual/Makefile (chapters): Update.
23441 2013-03-18 Roland McGrath <roland@hack.frob.com>
23444 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23445 on argument names, not just descriptions.
23446 * malloc/memusagestat.c (options): Likewise.
23447 * nss/getent.c (options): Likewise.
23449 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
23452 * iconv/iconv_prog.c (options): Put N_ translation marker
23453 on argument names, not just descriptions.
23454 * iconv/iconvconfig.c (options): Likewise.
23456 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
23458 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23459 implementation which is faster on all x86_64 architectures.
23460 Tested on AMD, Intel Nehalem, SNB, IVB.
23461 * sysdeps/x86_64/strnlen.S: Likewise.
23463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23464 Remove all multiarch strlen and strnlen versions.
23465 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23466 Remove strlen and strnlen related parts.
23468 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23469 Inline strlen part.
23470 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23472 * sysdeps/x86_64/multiarch/strlen.S: Remove.
23473 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23474 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23475 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23476 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23477 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23479 2013-03-17 Carlos O'Donell <carlos@redhat.com>
23481 * manual/memory.texi (Malloc Tunable Parameters):
23482 Sort parameters alphabetically. Add comments for missing entries.
23484 2013-03-17 David S. Miller <davem@davemloft.net>
23486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23488 2013-03-16 Joseph Myers <joseph@codesourcery.com>
23491 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23492 for arguments at most half maximum finite value.
23493 * math/libm-test.inc (j0_test): Add more tests.
23494 (j1_test): Likewise.
23495 (y0_test): Likewise.
23496 (y1_test): Likewise.
23497 * sysdeps/i386/fpu/libm-test-ulps: Update.
23498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23501 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23502 1 / x and functions P and Q for arguments above 0x1p256L.
23503 (__ieee754_y0l): Likewise.
23504 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23505 (__ieee754_y1l): Likewise.
23506 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23507 (j1_test): Likewise.
23508 (y0_test): Likewise.
23509 (y1_test): Likewise.
23511 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
23513 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23516 2013-03-15 Roland McGrath <roland@hack.frob.com>
23518 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23519 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23520 zero since it's initialized to EXEC_PAGESIZE.
23522 * sysdeps/unix/sysv/linux/ldsodefs.h
23523 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23524 * sysdeps/generic/ldsodefs.h: ... here.
23526 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
23528 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23530 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23532 * math/test-snan.c: Renamed from
23533 sysdeps/powerpc/fpu/test-powerpc-snan.c.
23534 * math/Makefile (tests): Add test-snan.
23535 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23538 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23539 SUFFIX. Initialize qNaN_var with __builtin_nan family of
23541 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
23542 __builtin_nan family of functions.
23543 * math/libm-test.inc (initialize): Initialize qnan_value with
23544 __builtin_nan family of functions.
23545 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23547 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23549 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
23550 storage class. Initialize qNaN_var and sNaN_var with
23551 __builtin_nan and __builtin_nans families of functions,
23554 * math/libm-test.inc (acosh_test): Also test with qNaN input.
23555 (sqrt_test): Remove duplicate test with qNaN input.
23556 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23557 (round_test, signbit_test, significand_test): Note missing +/-Inf
23558 as well as qNaN tests.
23560 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23561 qNaN_var. Fix a few strings, too.
23562 * math/libm-test.inc (nan_value): Rename to qnan_value.
23563 * math/gen-libm-test.pl (%beautify): Adjust to that.
23564 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23565 * math/test-misc.c (main): Likewise.
23566 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23567 to __qnan_bytes, and __qnan_union, respectively.
23568 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23570 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23571 and lqnanval, respectively.
23572 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23573 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23574 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23575 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23577 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23578 * math/test-misc.c (main) [__x86_64__]: Enable test for long
23581 * math/test-misc.c (main): Fix copy'n'pastos.
23582 * misc/tst-efgcvt.c (special): Likewise.
23584 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23585 Remove declarations.
23587 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23589 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23590 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23591 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23592 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23594 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23596 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23597 macro to return vdso values correctly in IFUNC implementations.
23598 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23599 Optimization by using IFUNC.
23601 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23602 Richard Henderson <rth@redhat.com>
23603 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23605 * Makefile.in (bench): New target.
23606 * NEWS: Mention the benchmark framework.
23607 * Rules (bench): Likewise.
23608 (binaries-bench): Generate binaries for functions to
23610 * benchtests/Makefile: New makefile for benchmark tests.
23611 * benchtests/bench-skeleton.c: New skeleton file for benchmark
23613 * benchtests/exp-inputs: New input file for EXP function.
23614 * benchtests/pow-inputs: New input file for POW function.
23615 * scripts/bench.pl: New script to generate source files for
23616 benchmark programs.
23618 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23620 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23621 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23622 computations on mantissa. Use macros for rounding and
23624 (denorm): Likewise.
23625 (__dbl_mp): Likewise.
23626 (add_magnitudes): Likewise.
23627 (sub_magnitudes): Likewise.
23630 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23631 powers of two in terms of TWOPOW macro.
23632 (mp_no): Make type of mantissa as MANTISSA_T.
23633 [!RADIXI]: Define RADIXI.
23634 [!TWO52]: Define TWO52.
23635 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23637 * manual/nptl.texi (cindex): Modify threads to pthreads.
23639 2013-03-15 Joseph Myers <joseph@codesourcery.com>
23641 * sysdeps/x86_64/preconfigure: Regenerated.
23643 2013-03-14 Joseph Myers <joseph@codesourcery.com>
23646 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23648 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23649 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23651 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23652 * math/libm-test.inc (j0_test): Do not allow one spurious
23653 underflow exception.
23654 (y1_test): Likewise.
23656 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23658 * manual/Makefile (chapters): Add nptl.
23659 * manual/debug.texi (Debugging Support): Add link to Threads
23661 * manual/nptl.texi: New file.
23663 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23665 2013-03-14 Petr Baudis <pasky@ucw.cz>
23667 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23668 for non-NULL pointer before the memory validity test. Pointed
23669 out by Holger Brunck <holger.brunck@keymile.com>.
23671 2013-03-13 Andreas Schwab <schwab@suse.de>
23673 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23676 2013-03-13 Joseph Myers <joseph@codesourcery.com>
23678 * timezone/zic.c: Update from tzcode 2013b.
23680 2013-03-12 Carlos O'Donell <carlos@redhat.com>
23682 * manual/install.texi (Configuring and compiling):
23683 Mention i686 and i586.
23684 * INSTALL: Regenerate.
23686 2013-03-12 Roland McGrath <roland@hack.frob.com>
23688 * sysdeps/init_array/elf-init.c: New file.
23690 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23691 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23693 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23694 __gmon_start__ as global, but as static with a .preinit_array pointer.
23695 * sysdeps/init_array/gmon-start.c: New file. Use that.
23696 * sysdeps/init_array/crti.S: New file, empty except for comments.
23697 * sysdeps/init_array/crtn.S: Likewise.
23699 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
23701 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23703 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23704 Remove Prefer_SSE_for_memop.
23705 * sysdeps/x86_64/multiarch/init-arch.h: Remove
23706 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23707 HAS_PREFER_SSE_FOR_MEMOP.
23708 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23710 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23711 Remove bzero, memset ifunc support.
23712 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23713 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23714 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23715 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23717 2013-03-11 Andreas Schwab <schwab@suse.de>
23720 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23723 (GLIBC_2.16): Remove pthread_atfork.
23725 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23727 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23728 (ptestcases.h): Likewise.
23730 2013-03-08 Roland McGrath <roland@hack.frob.com>
23732 * Makeconfig ($(common-objpfx)config.status): Depend on
23733 sysdeps/*/preconfigure{,.in} too.
23735 2013-03-08 Joseph Myers <joseph@codesourcery.com>
23737 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23738 (__free_hook): Use void * instead of __malloc_ptr_t.
23739 (__malloc_hook): Likewise.
23740 (__realloc_hook): Likewise.
23741 (__memalign_hook): Likewise.
23742 (__after_morecore_hook): Likewise.
23743 * malloc/arena.c (save_malloc_hook): Likewise.
23744 (save_free_hook): Likewise.
23745 * malloc/hooks.c (malloc_hook_ini): Likewise.
23746 (realloc_hook_ini): Likewise.
23747 (memalign_hook_ini): Likewise.
23748 * malloc/malloc.c (malloc_hook_ini): Likewise.
23749 (realloc_hook_ini): Likewise.
23750 (memalign_hook_ini): Likewise.
23751 (__free_hook): Likewise.
23752 (__malloc_hook): Likewise.
23753 (__realloc_hook): Likewise.
23754 (__memalign_hook): Likewise.
23755 (__libc_malloc): Likewise.
23756 (__libc_free): Likewise.
23757 (__libc_realloc): Likewise.
23758 (__libc_memalign): Likewise.
23759 (__libc_valloc): Likewise.
23760 (__libc_pvalloc): Likewise.
23761 (__libc_calloc): Likewise.
23762 (__posix_memalign): Likewise.
23763 * malloc/morecore.c (__sbrk): Likewise.
23764 (__default_morecore): Likewise.
23766 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23768 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23769 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23770 __malloc_ptrdiff_t.
23772 * malloc/malloc.h (__malloc_size_t): Remove macro.
23773 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23775 (old_memalign_hook): Likewise.
23776 (old_realloc_hook): Likewise.
23777 (struct hdr): Likewise.
23779 (mallochook): Likewise.
23780 (memalignhook): Likewise.
23781 (reallochook): Likewise.
23782 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23783 (tr_old_realloc_hook): Likewise.
23784 (tr_old_memalign_hook): Likewise.
23785 (tr_mallochook): Likewise.
23786 (tr_reallochook): Likewise.
23787 (tr_memalignhook): Likewise.
23789 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23791 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23792 default_ldbl_pack and using as default implementation.
23793 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23795 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23796 redundant definition.
23797 (ldbl_insert_mantissa): Likewise.
23798 (ldbl_canonicalize): Likewise.
23799 (ldbl_nearbyint): Likewise.
23800 (ldbl_pack): Rename to ldbl_pack_ppc.
23801 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23802 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23803 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23805 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23807 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23808 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23809 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23810 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23811 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23812 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23813 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23814 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23816 2013-03-07 Andreas Jaeger <aj@suse.de>
23818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23821 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23823 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23824 Include mpa.h and declare __MPEXP.
23825 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23826 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23827 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23828 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23829 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23830 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23831 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23833 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23834 (__slowpow): Use long double EXPL and LOGL functions to
23836 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23837 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23838 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23839 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23840 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23841 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23844 intermediate variable to calculate exponent.
23846 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23850 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23851 [!NO__SQR]: Define __sqr.
23852 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23853 and NO__SQR. Remove all code except __mul and __sqr. Include
23854 sysdeps/ieee754/dbl-64/mpa.c.
23855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23858 * posix/Makefile (tests): Add tst-pathconf.
23859 * posix/tst-pathconf.c: New test case.
23860 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23862 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23864 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
23866 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23868 2013-03-06 Andreas Jaeger <aj@suse.de>
23870 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23871 definition via __MAP_ANONYMOUS.
23873 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23874 it's not part of Linux headers.
23876 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23877 (MAP_HUGE_MASK): Define.
23879 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23881 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23882 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23884 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23885 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23887 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23888 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23890 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23892 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23893 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23894 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23895 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23896 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23897 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23899 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23902 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23903 Handle f2fs and efivarfs.
23905 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23908 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23909 (EFIVARFS_MAGIC): Add.
23910 (F2FS_LINK_MAX): Add.
23912 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23914 * stdio-common/vfprintf.c: Replace __builtin_expect with
23917 2013-03-06 Joseph Myers <joseph@codesourcery.com>
23920 * sysdeps/generic/bp-sym.h: Remove file.
23921 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23922 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23923 <bp-sym.h> and <bp-asm.h>.
23924 (__longjmp): Don't use BP_SYM.
23925 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23927 (memcpy): Don't use BP_SYM.
23928 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23929 <bp-sym.h> and <bp-asm.h>.
23930 (memcpy): Don't use BP_SYM.
23931 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23933 (memcpy): Don't use BP_SYM.
23934 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23936 (memset): Don't use BP_SYM.
23937 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23938 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23939 (__bzero): Don't use BP_SYM.
23940 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23941 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23942 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23943 <bp-sym.h> and <bp-asm.h>.
23944 (memcmp): Don't use BP_SYM. Remove comment about bounded
23946 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23947 <bp-sym.h> and <bp-asm.h>.
23948 (memcpy): Don't use BP_SYM.
23949 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23950 <bp-sym.h> and <bp-asm.h>.
23951 (memset): Don't use BP_SYM.
23952 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23953 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23954 (__bzero): Don't use BP_SYM.
23955 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23956 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23957 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23958 <bp-sym.h> and <bp-asm.h>.
23959 (strncmp): Don't use BP_SYM. Remove comment about bounded
23961 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23962 <bp-sym.h> and <bp-asm.h>.
23963 (memcpy): Don't use BP_SYM.
23964 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23965 <bp-sym.h> and <bp-asm.h>.
23966 (memset): Don't use BP_SYM.
23967 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23968 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23969 (__bzero): Don't use BP_SYM.
23970 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23971 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23972 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23973 <bp-sym.h> and <bp-asm.h>.
23974 (__memchr): Don't use BP_SYM.
23975 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23976 <bp-sym.h> and <bp-asm.h>.
23977 (memcmp): Don't use BP_SYM. Remove comment about bounded
23979 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23980 <bp-sym.h> and <bp-asm.h>.
23981 (memcpy): Don't use BP_SYM.
23982 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23983 <bp-sym.h> and <bp-asm.h>.
23984 (__mempcpy): Don't use BP_SYM.
23985 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23986 <bp-sym.h> and <bp-asm.h>.
23987 (__memrchr): Don't use BP_SYM.
23988 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23989 <bp-sym.h> and <bp-asm.h>.
23990 (memset): Don't use BP_SYM.
23991 (__bzero): Likewise.
23992 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23993 <bp-sym.h> and <bp-asm.h>.
23994 (__rawmemchr): Don't use BP_SYM.
23995 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23996 <bp-sym.h> and <bp-asm.h>.
23997 (__STRCMP): Don't use BP_SYM.
23998 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23999 <bp-sym.h> and <bp-asm.h>.
24000 (strchr): Don't use BP_SYM.
24001 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24002 <bp-sym.h> and <bp-asm.h>.
24003 (__strchrnul): Don't use BP_SYM.
24004 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24005 <bp-sym.h> and <bp-asm.h>.
24006 (strlen): Don't use BP_SYM.
24007 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24008 <bp-sym.h> and <bp-asm.h>.
24009 (strncmp): Don't use BP_SYM. Remove comment about bounded
24011 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24012 <bp-sym.h> and <bp-asm.h>.
24013 (__strnlen): Don't use BP_SYM.
24014 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24015 <bp-sym.h> and <bp-asm.h>.
24016 (__GI__setjmp): Don't use BP_SYM.
24017 (_setjmp): Likewise.
24018 (__sigsetjmp): Likewise.
24019 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24020 (L(start_addresses)): Don't use BP_SYM.
24021 (_start): Likewise.
24022 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24024 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24025 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24026 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24027 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24028 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24030 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24031 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
24032 about bounded pointers.
24033 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24034 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24035 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24037 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24038 about bounded pointers. Remove GKM FIXME comments.
24039 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24040 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24042 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24043 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
24044 Remove GKM FIXME comments.
24045 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24046 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24047 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24049 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24050 about bounded pointers. Remove GKM FIXME comment.
24051 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24053 (strncmp): Don't use BP_SYM. Remove comment about bounded
24055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24056 <bp-sym.h> and <bp-asm.h>.
24057 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24059 <bp-sym.h> and <bp-asm.h>.
24060 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24063 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24065 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24068 2013-03-05 David S. Miller <davem@davemloft.net>
24070 * po/es.po: Update from translation team.
24072 2013-03-05 Andreas Jaeger <aj@suse.de>
24074 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24075 <bits/mman-linux.h>.
24076 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24078 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24079 <bits/mman-linux.h> to end of file.
24080 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24082 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24083 <bits/mman-linux.h> to end of file.
24084 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24086 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24087 <bits/mman-linux.h> to end of file.
24089 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24090 (MCL_CURRENT, MCL_FUTURE): Define here.
24092 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24095 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24097 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24099 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24101 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24102 fourth parameter needed for rt_sigprocmask syscall.
24103 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24104 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24105 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24106 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24107 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24108 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24110 2013-03-04 Joseph Myers <joseph@codesourcery.com>
24113 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24114 comment about bounded pointers.
24115 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24116 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24118 2013-03-04 Andreas Jaeger <aj@suse.de>
24120 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24121 common definitions.
24123 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24124 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24125 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24126 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24127 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24128 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24130 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24133 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24134 __ieee754_sqrl instead of __sqrl.
24136 2013-03-01 Joseph Myers <joseph@codesourcery.com>
24138 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24139 * sysdeps/powerpc/fpu_control.h: ... here.
24140 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24141 * sysdeps/powerpc/bits/fenvinline.h: ... here.
24142 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24143 * sysdeps/powerpc/bits/mathinline.h: ... here.
24145 2013-03-01 Roland McGrath <roland@hack.frob.com>
24147 * elf/dl-hwcaps.c (_dl_important_hwcaps):
24148 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24149 to just [NEED_DL_SYSINFO_DSO].
24150 * elf/dl-support.c: Likewise.
24151 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24152 * elf/rtld.c (dl_main): Likewise.
24153 * elf/setup-vdso.h (setup_vdso): Likewise.
24154 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24155 * sysdeps/unix/sysv/linux/dl-sysdep.c
24156 (_dl_discover_osversion): Likewise.
24158 2013-03-01 Carlos O'Donell <carlos@redhat.com>
24160 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24161 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24163 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
24165 * NEWS: Mention libm performance improvements and non-x86 PI
24168 * csu/libc-start.c (__pthread_initialize_minimal): Change
24169 function arguments.
24170 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24172 2013-02-28 Joseph Myers <joseph@codesourcery.com>
24175 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24176 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24177 <bp-sym.h> and <bp-asm.h>.
24178 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24179 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24181 (memcpy): Don't use BP_SYM.
24182 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24184 (__mpn_add_n): Don't use BP_SYM.
24185 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24186 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24188 (__mpn_addmul_1): Don't use BP_SYM.
24189 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24190 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24192 (_setjmp): Don't use BP_SYM.
24193 (__novmx_setjmp): Likewise.
24194 (__GI__setjmp): Likewise.
24195 (__vmx_setjmp): Likewise.
24196 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24198 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24199 (__bzero): Don't use BP_SYM.
24200 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24201 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24202 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24203 <bp-sym.h> and <bp-asm.h>.
24204 (memcpy): Don't use BP_SYM.
24205 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24206 <bp-sym.h> and <bp-asm.h>.
24207 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24208 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24209 <bp-sym.h> and <bp-asm.h>.
24210 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24211 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24213 (__mpn_lshift): Don't use BP_SYM.
24214 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24215 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24217 (memset): Don't use BP_SYM.
24218 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24219 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24220 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24222 (__mpn_mul_1): Don't use BP_SYM.
24223 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24224 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24225 <bp-sym.h> and <bp-asm.h>.
24226 (memcmp): Don't use BP_SYM.
24227 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24228 <bp-sym.h> and <bp-asm.h>.
24229 (memcpy): Don't use BP_SYM.
24230 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24231 <bp-sym.h> and <bp-asm.h>.
24232 (memset): Don't use BP_SYM.
24233 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24234 <bp-sym.h> and <bp-asm.h>.
24235 (strncmp): Don't use BP_SYM.
24236 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24237 <bp-sym.h> and <bp-asm.h>.
24238 (memcpy): Don't use BP_SYM.
24239 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24240 <bp-sym.h> and <bp-asm.h>.
24241 (memset): Don't use BP_SYM.
24242 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24243 <bp-sym.h> and <bp-asm.h>.
24244 (__memchr): Don't use BP_SYM.
24245 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24246 <bp-sym.h> and <bp-asm.h>.
24247 (memcmp): Don't use BP_SYM.
24248 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24249 <bp-sym.h> and <bp-asm.h>.
24250 (memcpy): Don't use BP_SYM.
24251 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24252 <bp-sym.h> and <bp-asm.h>.
24253 (__mempcpy): Don't use BP_SYM.
24254 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24255 <bp-sym.h> and <bp-asm.h>.
24256 (__memrchr): Don't use BP_SYM.
24257 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24258 <bp-sym.h> and <bp-asm.h>.
24259 (memset): Don't use BP_SYM.
24260 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24261 <bp-sym.h> and <bp-asm.h>.
24262 (__rawmemchr): Don't use BP_SYM.
24263 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24264 <bp-sym.h> and <bp-asm.h>.
24265 (__STRCMP): Don't use BP_SYM.
24266 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24267 <bp-sym.h> and <bp-asm.h>.
24268 (strchr): Don't use BP_SYM.
24269 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24270 <bp-sym.h> and <bp-asm.h>.
24271 (__strchrnul): Don't use BP_SYM.
24272 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24273 <bp-sym.h> and <bp-asm.h>.
24274 (strlen): Don't use BP_SYM.
24275 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24276 <bp-sym.h> and <bp-asm.h>.
24277 (strncmp): Don't use BP_SYM.
24278 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24279 <bp-sym.h> and <bp-asm.h>.
24280 (__strnlen): Don't use BP_SYM.
24281 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24283 (__mpn_rshift): Don't use BP_SYM.
24284 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24285 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24286 <bp-sym.h> and <bp-asm.h>.
24287 (__sigsetjmp): Don't use BP_SYM.
24288 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24289 (L(start_addresses)): Don't use BP_SYM.
24290 (_start): Likewise.
24291 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24293 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24294 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24295 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24296 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24298 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24299 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24300 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24301 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24303 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24305 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24306 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24308 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
24310 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24311 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24312 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24314 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24316 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24318 (strncmp): Don't use BP_SYM,
24319 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24321 (__mpn_sub_n): Don't use BP_SYM.
24322 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24323 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24325 (__mpn_submul_1): Don't use BP_SYM.
24326 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24328 <bp-sym.h> and <bp-asm.h>.
24329 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24331 <bp-sym.h> and <bp-asm.h>.
24332 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24335 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24337 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24338 Use ZK to minimize writes to Z.
24339 (sub_magnitudes): Simplify code a bit.
24340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24341 Use ZK to minimize writes to Z.
24342 (sub_magnitudes): Simplify code a bit.
24344 2013-02-27 Roland McGrath <roland@hack.frob.com>
24346 * csu/gmon-start.c: Add special exception to license text.
24348 2013-02-27 Richard Henderson <rth@redhat.com>
24350 * scripts/config.guess: Update from config.git.
24351 * scripts/config.sub: Likewise.
24353 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24355 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24357 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24359 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24361 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24363 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24365 2013-02-26 Roland McGrath <roland@hack.frob.com>
24367 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24368 [$(build-shared = yes].
24370 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24372 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24373 (__mul): Reduce iterations for calculating mantissa.
24375 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24377 (__mpranred): Likewise.
24380 * malloc/memusagestat.c (main): Draw graphs for heap and stack
24381 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24383 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
24385 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24386 Define __attribute__.
24388 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24390 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24392 * posix/regex_internal.h (__attribute): Remove.
24393 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24394 (re_string_context_at): Likewise.
24395 (bitset_not): Use __attribute__ and mark function as possibly
24397 (bitset_merge): Likewise.
24398 (bitset_mask): Likewise.
24399 (re_string_char_size_at): Likewise.
24400 (re_string_wchar_at): Likewise.
24401 (re_string_elem_size_at): Likewise.
24403 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24405 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24409 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24413 (denorm): Likewise.
24414 (__dbl_mp): Likewise.
24415 (add_magnitudes): Likewise.
24416 (sub_magnitudes): Likewise.
24420 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24423 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24426 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24429 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24430 up changes with default code.
24431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24434 2013-02-24 Allan McRae <allan@archlinux.org>
24436 * manual/socket.texi (The Internet Namespace): Order menu items
24437 to match that in the file.
24439 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24440 node listing of the info page menu.
24442 2013-02-21 Joseph Myers <joseph@codesourcery.com>
24445 * sysdeps/i386/bp-asm.h: Remove file.
24446 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24447 (PARMS): Do not use macros from bp-asm.h.
24451 (__mpn_add_n): Do not use BP_SYM
24452 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24454 (PARMS): Do not use macros from bp-asm.h.
24457 (__mpn_addmul_1): Do not use BP_SYM
24458 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24460 (PARMS): Do not use macros from bp-asm.h.
24461 (SIGMSK): Likewise.
24462 (_setjmp): Likewise. Do not use BP_SYM.
24463 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24465 (PARMS): Do not use macros from bp-asm.h.
24466 (SIGMSK): Likewise.
24467 (setjmp): Likewise. Do not use BP_SYM.
24468 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24470 (PARMS): Do not use macros from bp-asm.h.
24471 (__frexp): Do not use BP_SYM.
24473 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24475 (PARMS): Do not use macros from bp-asm.h.
24476 (__frexpf): Do not use BP_SYM.
24477 (frexpf): Likewise.
24478 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24480 (PARMS): Do not use macros from bp-asm.h.
24481 (__frexpl): Do not use BP_SYM.
24482 (frexpl): Likewise.
24483 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24485 (PARMS): Do not use macros from bp-asm.h.
24486 (__remquo): Do not use BP_SYM.
24487 (remquo): Likewise.
24488 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24490 (PARMS): Do not use macros from bp-asm.h.
24491 (__remquof): Do not use BP_SYM.
24492 (remquof): Likewise.
24493 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24495 (PARMS): Do not use macros from bp-asm.h.
24496 (__remquol): Do not use BP_SYM.
24497 (remquol): Likewise.
24498 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24500 (PARMS): Do not use macros from bp-asm.h.
24503 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
24504 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24506 (PARMS): Do not use macros from bp-asm.h.
24507 (strlen): Do not use BP_SYM.
24508 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24510 (PARMS): Do not use macros from bp-asm.h.
24514 (__mpn_add_n): Do not use BP_SYM.
24515 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24517 (PARMS): Do not use macros from bp-asm.h.
24520 (__mpn_addmul_1): Do not use BP_SYM.
24521 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24524 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24526 (PARMS): Do not use macros from bp-asm.h.
24529 (__mpn_lshift): Do not use BP_SYM.
24530 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24532 (PARMS): Do not use macros from bp-asm.h.
24536 (memcpy): Likewise. Do not use BP_SYM.
24537 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24538 libc_hidden_def and weak_alias.
24539 (mempcpy): Do not use BP_SYM in weak_alias.
24540 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24542 (PARMS): Do not use macros from bp-asm.h.
24545 [!BZERO_P] (CHR): Likewise.
24546 (memset): Likewise. Do not use BP_SYM.
24547 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24549 (PARMS): Do not use macros from bp-asm.h.
24552 (__mpn_mul_1): Do not use BP_SYM.
24553 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24555 (PARMS): Do not use macros from bp-asm.h.
24558 (__mpn_rshift): Do not use BP_SYM.
24559 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24561 (PARMS): Do not use macros from bp-asm.h.
24564 (strchr): Likewise. Do not use BP_SYM.
24565 (index): Do not use BP_SYM in weak_alias.
24566 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24568 (PARMS): Do not use macros from bp-asm.h.
24571 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
24572 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24574 (PARMS): Do not use macros from bp-asm.h.
24575 (strlen): Do not use BP_SYM.
24576 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24578 (PARMS): Do not use macros from bp-asm.h.
24582 (__mpn_sub_n): Do not use BP_SYM.
24583 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24585 (PARMS): Do not use macros from bp-asm.h.
24588 (__mpn_submul_1): Do not use BP_SYM.
24589 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24591 (PARMS): Do not use macros from bp-asm.h.
24595 (__mpn_add_n): Do not use BP_SYM.
24596 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24599 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24601 (PARMS): Do not use macros from bp-asm.h.
24604 (memcmp): Do not use BP_SYM.
24605 (bcmp): Do not use BP_SYM in weak_alias.
24606 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24608 (PARMS): Do not use macros from bp-asm.h.
24612 (memcpy): Likewise. Do not use BP_SYM.
24613 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24615 (PARMS): Do not use macros from bp-asm.h.
24619 (memmove): Likewise. Do not use BP_SYM.
24620 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24622 (PARMS): Do not use macros from bp-asm.h.
24626 (__mempcpy): Likewise. Do not use BP_SYM.
24627 (mempcpy): Do not use BP_SYM in weak_alias.
24628 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24630 (PARMS): Do not use macros from bp-asm.h.
24633 [!BZERO_P] (CHR): Likewise.
24634 (memset): Likewise. Do not use BP_SYM.
24635 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24637 (PARMS): Do not use macros from bp-asm.h.
24639 (strcmp): Do not use BP_SYM.
24640 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24642 (PARMS): Do not use macros from bp-asm.h.
24645 [USE_AS_STRTOK_R] (SAVE): Likewise.
24646 (FUNCTION): Likewise. Do not use BP_SYM.
24647 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24649 (strtok_r): Likewise.
24650 (__GI___strtok_r): Likewise.
24651 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24652 (PARMS): Do not use macros from bp-asm.h.
24655 (__mpn_lshift): Do not use BP_SYM.
24656 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24657 (PARMS): Do not use macros from bp-asm.h.
24660 (__memchr): Do not use BP_SYM.
24661 (memchr): Do not use BP_SYM in weak_alias.
24662 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24663 (PARMS): Do not use macros from bp-asm.h.
24666 (memcmp): Do not use BP_SYM.
24667 (bcmp): Do not use BP_SYM in weak_alias.
24668 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24669 (PARMS): Do not use macros from bp-asm.h.
24672 (__mpn_mul_1): Do not use BP_SYM.
24673 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24675 (PARMS): Do not use macros from bp-asm.h.
24678 (__rawmemchr): Do not use BP_SYM.
24679 (rawmemchr): Do not use BP_SYM in weak_alias.
24680 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24681 (PARMS): Do not use macros from bp-asm.h.
24684 (__mpn_rshift): Do not use BP_SYM.
24685 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24686 (PARMS): Do not use macros from bp-asm.h.
24687 (SIGMSK): Likewise.
24688 (__sigsetjmp): Likewise. Do not use BP_SYM.
24689 * sysdeps/i386/start.S: Do not include "bp-sym.h".
24690 (_start): Do not use BP_SYM.
24691 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24692 (PARMS): Do not use macros from bp-asm.h.
24695 (__stpcpy): Likewise. Do not use BP_SYM.
24696 (stpcpy): Do not use BP_SYM in weak_alias.
24697 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24699 (PARMS): Do not use macros from bp-asm.h.
24703 (__stpncpy): Likewise. Do not use BP_SYM.
24704 (stpncpy): Do not use BP_SYM in weak_alias.
24705 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24706 (PARMS): Do not use macros from bp-asm.h.
24709 (strchr): Likewise. Do not use BP_SYM.
24710 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24712 (PARMS): Do not use macros from bp-asm.h.
24715 (__strchrnul): Likewise. Do not use BP_SYM.
24716 (strchrnul): Do not use BP_SYM in weak_alias.
24717 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24719 (PARMS): Do not use macros from bp-asm.h.
24721 (strcspn): Do not use BP_SYM.
24722 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24724 (PARMS): Do not use macros from bp-asm.h.
24727 (strpbrk): Likewise. Do not use BP_SYM.
24728 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24730 (PARMS): Do not use macros from bp-asm.h.
24733 (strrchr): Likewise. Do not use BP_SYM.
24734 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24735 (PARMS): Do not use macros from bp-asm.h.
24737 (strspn): Do not use BP_SYM.
24738 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24739 (PARMS): Do not use macros from bp-asm.h.
24743 (FUNCTION): Likewise. Do not use BP_SYM.
24744 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24746 (strtok_r): Likewise.
24747 (__GI___strtok_r): Likewise.
24748 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24749 (PARMS): Do not use macros from bp-asm.h.
24753 (__mpn_sub_n): Do not use BP_SYM.
24754 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24756 (PARMS): Do not use macros from bp-asm.h.
24759 (__mpn_submul_1): Do not use BP_SYM.
24760 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24762 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24764 (PARMS): Do not use macros from bp-asm.h.
24769 (__clone): Do not use BP_SYM.
24770 (clone): Do not use BP_SYM in weak_alias.
24771 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24773 (PARMS): Do not use macros from bp-asm.h.
24775 (__mmap64): Do not use BP_SYM.
24776 (mmap64): Do not use BP_SYM in weak_alias.
24777 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24778 <bp-sym.h> and <bp-asm.h>.
24779 (PARMS): Do not use macros from bp-asm.h.
24780 (__posix_fadvise64_l64): Do not use BP_SYM.
24781 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24782 (PARMS): Do not use macros from bp-asm.h.
24784 (semtimedop): Do not use BP_SYM.
24785 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24788 2013-02-21 Allan McRae <allan@archlinux.org>
24790 * manual/message.texi (Charset conversion in gettext):
24791 Move @end statement to beginning of line.
24793 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24795 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24797 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24800 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24801 (denorm): Likewise.
24802 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24803 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24805 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24807 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24808 tail-call to the resolved function if pltexit isn't needed.
24810 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24812 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24813 or Y being zero as being unlikely.
24814 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24817 2013-02-20 Carlos O'Donell <carlos@redhat.com>
24819 * manual/nss.texi (System Databases and Name Service Switch):
24820 Remove frobnicate @pxref.
24822 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24824 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24825 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24827 2013-02-20 Petr Machata <pmachata@redhat.com>
24829 * elf/elf.h (R_ARM_TARGET1): New macro.
24830 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24831 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24832 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24833 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24834 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24835 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24836 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24837 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24838 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24839 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24840 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24841 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24842 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24843 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24844 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24845 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24846 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24847 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24848 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24849 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24850 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24851 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24852 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24853 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24854 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24855 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24856 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24857 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24858 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24859 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24860 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24861 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24862 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24863 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24864 (R_ARM_THM_GOT_BREL12): Likewise.
24865 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24866 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24867 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24868 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24869 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24870 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24871 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24872 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24873 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24875 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24877 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24878 __attribute_used__ to __attribute__ ((unused)).
24880 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24882 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24885 comment formatting.
24886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24888 2013-02-19 Joseph Myers <joseph@codesourcery.com>
24891 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24893 (ENTER): Remove both macro definitions.
24895 (CHECK_BOUNDS_LOW): Likewise.
24896 (CHECK_BOUNDS_HIGH): Likewise.
24897 (CHECK_BOUNDS_BOTH): Likewise.
24898 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24899 (RETURN_BOUNDED_POINTER): Likewise.
24900 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24901 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24902 (POP_ERRNO_LOCATION_RETURN): Likewise.
24903 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24904 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24905 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24907 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24908 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24909 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24910 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24911 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24912 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24913 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24914 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24915 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24916 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24917 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24918 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24919 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24920 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24922 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24923 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24925 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24926 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24927 * sysdeps/i386/i586/memset.S (memset): Likewise.
24928 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24929 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24930 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24932 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24933 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24934 Change uses of L(2) to L(out).
24935 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24936 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24937 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24938 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24939 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24941 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24942 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24944 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24945 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24946 (RETURN): Do not use macro LEAVE.
24947 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24948 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24949 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24950 * sysdeps/i386/i686/memset.S (memset): Likewise.
24951 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24952 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24953 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24954 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24956 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24957 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24958 L(1_2) and L(1_3) into L(1).
24959 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24960 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24961 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24962 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24963 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24964 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24965 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24966 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24967 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24969 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24970 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24971 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24972 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24973 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24974 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24975 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24976 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24977 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24978 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24979 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24980 * sysdeps/i386/strspn.S (strspn): Likewise.
24981 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24983 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24984 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24985 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24986 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24987 L(1_3) into L(1_1).
24988 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24989 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24990 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24992 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24994 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24996 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24999 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25001 * math/atest-exp.c (exp_mpn): Remove ROUND.
25002 * math/atest-exp2.c (exp_mpn): Likewise.
25003 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25005 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25006 * stdlib/tst-tls-atexit-lib.c: Likewise.
25007 * stdlib/tst-tls-atexit.c: Likewise.
25009 2013-02-18 Mike Frysinger <vapier@gentoo.org>
25011 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25012 and __attribute_alloc_size__.
25014 2013-02-18 Mike Frysinger <vapier@gentoo.org>
25016 * include/programs/xmalloc.h: Change __attribute_alloc_size to
25017 __attribute_alloc_size__.
25018 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25019 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25021 2013-02-18 Mike Frysinger <vapier@gentoo.org>
25023 * include/programs/xmalloc.h: New file.
25024 * catgets/gencat.c: Include it.
25025 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25026 * elf/pldd.c: Likewise.
25027 * iconv/iconv_charmap.c: Likewise.
25028 * iconv/iconvconfig.c: Likewise.
25029 * iconv/strtab.c: Likewise.
25030 * locale/programs/locale.c: Likewise.
25031 * locale/programs/localedef.h: Likewise.
25032 * locale/programs/simple-hash.c: Likewise.
25033 * nscd/nscd.h: Likewise.
25034 * nss/makedb.c: Likewise.
25035 * sysdeps/generic/ldconfig.h: Likewise.
25037 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25039 * Versions.def: Add GLIBC_2.18.
25040 * include/link.h (struct link_map): New member l_tls_dtor_count.
25041 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25042 (__call_tls_dtors): Likewise.
25043 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25044 __cxa_thread_atexit_impl.
25045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25053 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25061 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25062 (tests): Add test case tst-tls-atexit.
25063 (modules-names): Add shared library for tst-tls-atexit.
25064 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
25065 (GLIBC_PRIVATE): Add __call_tls_dtors.
25066 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25068 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25069 * stdlib/tst-tls-atexit.c: New test case.
25070 * stdlib/tst-tls-atexit-lib.c: New test case.
25072 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
25074 * elf/Versions (ld): Add _dl_find_dso_for_object.
25075 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25076 * elf/dl-open.c (_dl_find_dso_for_object): New function.
25077 (dl_open_worker): Use _dl_find_dso_for_object.
25078 * elf/dl-sym.c (do_sym): Likewise.
25079 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25081 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25083 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25084 Syntactic changes only.
25085 (_dl_runtime_profile): Do a tail-call to the resolved function.
25087 2013-02-17 Joseph Myers <joseph@codesourcery.com>
25090 * sysdeps/x86_64/bp-asm.h: Remove file.
25091 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25092 <bp-sym.h> and <bp-asm.h>.
25093 (__clone): Do not use BP_SYM.
25094 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25095 <bp-sym.h> and <bp-asm.h>.
25096 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25097 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25099 (_setjmp): Do not use BP_SYM.
25100 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25102 (setjmp): Do not use BP_SYM.
25103 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25105 (mempcpy): Do not use BP_SYM in weak_alias.
25106 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25108 (strchr): Do not use BP_SYM.
25109 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25111 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25112 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25113 (_start): Do not use BP_SYM.
25114 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25116 (strcat): Do not use BP_SYM.
25117 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25119 (STRCMP): Do not use BP_SYM.
25120 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25122 (STRCPY): Do not use BP_SYM.
25123 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25125 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25127 (FUNCTION): Do not use BP_SYM.
25128 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25130 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25132 2013-02-17 Andreas Jaeger <aj@suse.de>
25134 * time/Versions: Sort entries.
25135 * string/Versions: Likewise.
25136 * resolv/Versions: Likewise.
25137 * posix/Versions: Likewise.
25138 * iconv/Versions: Likewise.
25139 * elf/Versions: Likewise.
25140 * wcsmbs/Versions: Likewise.
25142 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25144 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25145 loop termination condition.
25147 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25148 variable to calculate EZ.
25151 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25152 the lower precision input.
25154 2013-02-15 Joseph Myers <joseph@codesourcery.com>
25157 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25158 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25159 (run-via-rtld-prefix): Do not handle %-bp tests.
25160 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25161 (all-object-suffixes): Remove .ob.
25162 (bppfx): Remove variable.
25163 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25164 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25165 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25166 [$(build-bounded) = yes] (libtype.ob): Likewise.
25167 * Makerules (elide-routines.ob): Remove variable.
25168 (do-tests-clean): Do not handle *-bp.out.
25169 (common-mostlyclean): Do not handle *-bp and *-bp.out.
25170 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25171 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25172 (tests): Do not include $(tests-bp.out).
25173 (xtests): Do not include $(xtests-bp.out).
25174 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25175 [$(build-bounded) = yes] ($(addprefix
25176 $(objpfx),$(binaries-bounded))): Remove rule.
25177 ($(objpfx)%-bp.out): Remove rule.
25178 * config.make.in (build-bounded): Remove variable.
25179 * crypt/Makefile [$(build-bounded) = yes]
25180 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25181 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25182 append to variable.
25183 [$(build-bounded) = yes] (install-lib): Likewise.
25184 [$(build-bounded) = yes] (generated): Likewise.
25185 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25187 * intl/Makefile [$(build-bounded) = yes]
25188 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25189 * math/Makefile [$(build-bounded) = yes]
25190 ($(tests:%=$(objpfx)%-bp): Likewise.
25191 * misc/Makefile [$(build-bounded) = yes]
25192 ($(objpfx)tst-tsearch-bp): Likewise.
25193 * nptl/Makeconfig (bounded-thread-library): Remove variable.
25194 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25196 * string/Makefile (o-objects.ob): Remove variable.
25197 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25198 (CFLAGS-.ob): Remove variable.
25199 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25200 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25201 both definitions of variable.
25202 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25203 (ASFLAGS-.ob): Remove variable.
25205 2013-02-14 Joseph Myers <joseph@codesourcery.com>
25208 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25209 Remove __BOUNDED_POINTERS__ from condition.
25210 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25211 * string/bits/string2.h [!__NO_STRING_INLINES &&
25212 !__BOUNDED_POINTERS__]: Likewise.
25213 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25215 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25216 Remove conditional code.
25217 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25218 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25219 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25223 * csu/libc-start.c: Do not include <bp-sym.h>.
25224 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25225 * elf/dl-open.c: Do not include <bp-sym.h>.
25226 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25227 * math/fegetenv.c: Do not include <bp-sym.h>.
25228 (fegetenv): Do not use BP_SYM in versioned symbols.
25229 * nptl/sysdeps/pthread/bits/libc-lockP.h
25230 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25233 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25235 (__pthread_mutex_destroy): Likewise.
25236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25237 (__pthread_mutex_lock): Likewise.
25238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25239 (__pthread_mutex_trylock): Likewise.
25240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25241 (__pthread_mutex_unlock): Likewise.
25242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25243 (__pthread_mutexattr_init): Likewise.
25244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25245 (__pthread_mutexattr_destroy): Likewise.
25246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25247 (__pthread_mutexattr_settype): Likewise.
25248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25249 (__pthread_rwlock_init): Likewise.
25250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25251 (__pthread_rwlock_destroy): Likewise.
25252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25253 (__pthread_rwlock_rdlock): Likewise.
25254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25255 (__pthread_rwlock_tryrdlock): Likewise.
25256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25257 (__pthread_rwlock_wrlock): Likewise.
25258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25259 (__pthread_rwlock_trywrlock): Likewise.
25260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25261 (__pthread_rwlock_unlock): Likewise.
25262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25263 (__pthread_key_create): Likewise.
25264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25265 (__pthread_setspecific): Likewise.
25266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25267 (__pthread_getspecific): Likewise.
25268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25271 (_pthread_cleanup_push_defer): Likewise.
25272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25273 (_pthread_cleanup_pop_restore): Likewise.
25274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25275 (pthread_setcancelstate): Likewise.
25276 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25278 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25279 (memchr): Do not use BP_SYM in weak_alias.
25280 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25281 (fegetenv): Do not use BP_SYM in versioned symbols.
25282 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25283 (fesetenv): Do not use BP_SYM in versioned symbols.
25284 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25285 (feupdateenv): Do not use BP_SYM in versioned symbols.
25286 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25287 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25288 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25289 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25290 (open64): Do not use BP_SYM in weak_alias.
25291 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25292 (fegetenv): Do not use BP_SYM in versioned symbols.
25293 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25294 (fesetenv): Do not use BP_SYM in versioned symbols.
25295 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25296 (feupdateenv): Do not use BP_SYM in versioned symbols.
25297 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25298 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25299 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25300 (feraiseexcept): Do not use BP_SYM in versioned symbols.
25301 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25302 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25303 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25305 (__libc_start_main): Do not use BP_SYM.
25307 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25309 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25310 redundant return line.
25312 (denorm): Likewise.
25313 (dbl_mp): Likewise.
25314 (sub_magnitudes): Likewise.
25320 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25322 (denorm): Likewise.
25323 (dbl_mp): Likewise.
25324 (sub_magnitudes): Likewise.
25331 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25333 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25334 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25337 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25338 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25339 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25340 of __mul for squares.
25341 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25345 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25346 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25348 2013-02-13 Joseph Myers <joseph@codesourcery.com>
25351 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25353 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25354 prototype or function definition. Rename ubp_* variables and
25355 parameters. Remove argv definitions conditional on
25356 [__BOUNDED_POINTERS__].
25357 * debug/backtrace.c (__backtrace): Do not use __unbounded.
25358 * elf/dl-runtime.c (_dl_fixup): Likewise.
25359 * include/set-hooks.h (RUN_HOOK): Likewise.
25360 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25362 * string/strcpy.c (strcpy): Do not use __unbounded.
25363 * sysdeps/generic/frame.h (struct layout): Likewise.
25364 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25365 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25366 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25367 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25368 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25369 (__backtrace): Likewise.
25370 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25372 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25373 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25374 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25376 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25377 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25378 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25379 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25380 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25381 Do not use __unbounded.
25382 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25383 Rename __unboundedrlimits parameter to rlimits in prototype.
25384 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25385 Do not use __unbounded.
25386 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25387 not use __ptrvalue.
25388 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25389 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25390 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25391 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25392 __ptrvalue or __unbounded.
25393 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25394 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25396 (__new_msgctl): Do not use __ptrvalue.
25397 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25399 (__libc_msgrcv): Do not use __ptrvalue.
25400 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25401 startup_info): Do not use __unbounded.
25402 (__libc_start_main): Likewise. Rename ubp_* variables and
25403 parameters. Remove argv definitions conditional on
25404 [__BOUNDED_POINTERS__].
25405 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25407 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25409 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25411 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25413 (__new_shmctl): Do not use __ptrvalue.
25414 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25415 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25417 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25418 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25419 (__libc_sigaction): Likewise.
25420 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25421 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25423 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25425 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
25427 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25429 * string/mempcpy.c: Implement by calling memcpy.
25431 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25433 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25435 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25438 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25439 values in the mantissa.
25441 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25442 minimize writes to Z.
25443 (sub_magnitudes): Simplify code a bit.
25445 2013-02-12 Roland McGrath <roland@hack.frob.com>
25447 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25448 from the message. The linker prefixes all warnings with that already.
25450 2013-02-12 Andreas Schwab <schwab@suse.de>
25453 * posix/regexec.c (extend_buffers): Add parameter min_len.
25454 (check_matching): Pass minimum needed length.
25455 (clean_state_log_if_needed): Likewise.
25456 (get_subexp): Likewise.
25457 * posix/Makefile (tests): Add bug-regex34.
25458 (bug-regex34-ENV): Define.
25459 * posix/bug-regex34.c: New file.
25462 * posix/regcomp.c (parse_bracket_exp): When looking up collating
25463 elements compare against the byte sequence of it, not its name.
25464 * posix/Makefile (tests): Add bug-regex35.
25465 (bug-regex35-ENV): Define.
25466 * posix/bug-regex35.c: New file.
25468 2013-02-11 Tom de Vries <tom@codesourcery.com>
25470 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
25472 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25473 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25474 (CHECK_EOL): Add undef.
25476 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
25478 * bits/stdlib-bsearch.h: New file.
25479 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25480 * stdlib/stdlib.h: Likewise.
25482 2013-02-11 Roland McGrath <roland@hack.frob.com>
25484 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25485 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25487 * manual/search.texi (Array Search Function): Add missing const in
25489 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25490 declaration to use rlim_t.
25491 (Basic Scheduling Functions): Remove erroneous const from
25492 sched_getparam prototype. Remove erroneous * from
25493 sched_get_priority_max and sched_get_priority_min prototypes.
25494 (Resource Usage): Fix summary @comment on vtimes to refer to
25495 sys/vtimes.h rather than vtimes.h.
25496 Add missing *s in vtimes prototype.
25497 (Limits on Resources): Fix ulimit prototype to return long int.
25498 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25499 prototypes to use long int rather than double.
25500 (BSD Random): Fix initstate and setstate to use char *, not void *.
25501 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25502 prototype to make second argument 'struct aiocb64 *const[]'.
25503 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25504 (Status of AIO Operations): Remove erroneous const in aio_return and
25505 aio_return64 prototypes.
25506 (Synchronizing I/O): Fix sync prototype to return void.
25507 * manual/startup.texi (Suboptions): Remove an erroneous const in
25508 getsubopt prototype.
25509 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25510 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25511 use size_t rather than int.
25512 (Scanning All Users): Likewise for getpwent_r.
25513 (Setting Groups): Add missing const to setgroups prototype.
25514 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25515 * manual/socket.texi (Host Names): Fix gethostbyaddr and
25516 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25517 'const void *' rather than 'const char *'.
25518 (Host Address Functions): Likewise for inet_ntop.
25519 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25520 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25521 ssize_t for return value.
25522 (Sending Data): Likewise for send, sendto, sendmsg.
25523 (Socket Option Functions): Add a missing const in setsockopt prototype.
25524 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25525 use wchar_t for the argument.
25526 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25527 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25529 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25530 double/float/long double for second argument.
25531 Fix return types of significand, significandf, significandl.
25532 * manual/filesys.texi (Setting Permissions): Use mode_t for second
25533 argument in fchmod prototype.
25534 (File Owner): Use uid_t and gid_t in fchown prototype.
25535 (File Times): Add const to utimes, futimes, and lutimes prototypes.
25536 (Making Special Files): Use mode_t and dev_t in mknod prototype.
25537 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25538 use 'const struct dirent **' as argument types to CMP function pointer
25540 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25541 (File Times): Fix summary magic @comment for struct utimbuf and utime
25542 to refer to utime.h, not time.h.
25543 * manual/string.texi (Argz Functions): Add missing const in
25544 argz_extract and argz_next prototypes.
25545 (Finding Tokens in a String): Likewise for basename.
25546 (String/Array Comparison): Fix typo in wcscasecmp prototype.
25547 (Copying and Concatenation): Fix typo in wmemmove prototype.
25548 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25549 (Signal Stack): Remove erroneous const in sigstack prototype.
25550 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25552 (Simple Calendar Time): Likewise for stime.
25553 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25555 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25556 say sys/sysctl.h instead.
25557 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25558 and vsyslog prototypes.
25560 2013-02-11 Tom de Vries <tom@codesourcery.com>
25562 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25565 2013-02-11 Roland McGrath <roland@hack.frob.com>
25567 * misc/sys/mman.h: Fix typo in mremap comment.
25569 2013-02-08 Roland McGrath <roland@hack.frob.com>
25571 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25572 the '\0' terminator.
25574 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25577 * debug/segfault.c: Don't include <bp-checks.h>.
25578 * sysdeps/generic/bp-checks.h: Remove file.
25579 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25580 (__GETDENTS): Don't use CHECK_N.
25581 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25582 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25583 (__getgroups): Don't use CHECK_N.
25584 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25585 (setgroups): Don't use CHECK_N.
25586 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25587 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25588 (__libc_msgrcv): Don't use CHECK_N.
25589 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25590 (__libc_msgsnd): Don't use CHECK_N.
25591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25593 (__libc_pread): Don't use CHECK_N.
25594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25595 include <bp-checks.h>.
25596 (__libc_pread64): Don't use CHECK_N.
25597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25598 include <bp-checks.h>.
25599 (__libc_pwrite): Don't use CHECK_N.
25600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25601 include <bp-checks.h>.
25602 (__libc_pwrite64): Don't use CHECK_N.
25603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25605 (__libc_pread): Don't use CHECK_N.
25606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25607 include <bp-checks.h>.
25608 (__libc_pread64): Don't use CHECK_N.
25609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25610 include <bp-checks.h>.
25611 (__libc_pwrite): Don't use CHECK_N.
25612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25613 include <bp-checks.h>.
25614 (__libc_pwrite64): Don't use CHECK_N.
25615 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25616 (do_pread): Don't use CHECK_N.
25617 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25618 (do_pread64): Don't use CHECK_N.
25619 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25620 (do_pwrite): Don't use CHECK_N.
25621 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25622 (do_pwrite64): Don't use CHECK_N.
25623 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25624 (__libc_readv): Don't use CHECK_N.
25625 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25626 (semop): Don't use CHECK_N.
25627 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25629 (semtimedop): Don't use CHECK_N.
25630 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25631 (__libc_pread): Don't use CHECK_N.
25632 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25634 (__libc_pread64): Don't use CHECK_N.
25635 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25637 (__libc_pwrite): Don't use CHECK_N.
25638 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25640 (__libc_pwrite64): Don't use CHECK_N.
25641 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25643 (__libc_msgrcv): Don't use CHECK_N.
25644 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25645 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
25646 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25647 (__libc_writev): Don't use CHECK_N.
25649 2013-02-08 Roland McGrath <roland@hack.frob.com>
25651 * string/strcpy.c: Removed unused variable.
25653 * Makeconfig (+sysdep-includes): Define with := rather than =.
25654 Use an existing include/ subdir of each sysdeps dir before it.
25656 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25658 * nscd/connection.c (register_traced_file): Comment function.
25659 [HAVE_INOTIFY] (union __inev): Define.
25660 [HAVE_INOTIFY] (inotify_check_files): New function.
25661 [HAVE_INOTIFY] (clear_db_cache): Likewise.
25662 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25664 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25666 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25668 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25669 loaded if not already and that a failure is permanent.
25671 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25674 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25675 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25677 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25680 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25681 (CHECK_1_NULL_OK): Likewise.
25682 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25683 (__fxstat): Do not use CHECK_1.
25684 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25686 (___fxstat64): Do not use CHECK_1.
25687 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25689 (__fxstatat): Do not use CHECK_1.
25690 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25692 (__fxstatat64): Do not use CHECK_1.
25693 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25695 (__fxstat): Do not use CHECK_1.
25696 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25698 (__fxstatat): Do not use CHECK_1.
25699 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25701 (__getresgid): Do not use CHECK_1.
25702 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25704 (__getresuid): Do not use CHECK_1.
25705 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25707 (__lxstat): Do not use CHECK_1.
25708 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25710 (__old_msgctl): Do not use CHECK_1.
25711 (__new_msgctl): Likewise.
25712 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25714 (__new_setrlimit): Do not use CHECK_1.
25715 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25717 (__old_shmctl): Do not use CHECK_1.
25718 (__new_shmctl): Likewise.
25719 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25721 (__xstat): Do not use CHECK_1.
25722 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25723 (__lxstat): Do not use CHECK_1.
25724 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25726 (___lxstat64): Do not use CHECK_1.
25727 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25728 (__old_msgctl): Do not use CHECK_1.
25729 (__new_msgctl): Likewise.
25730 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25732 (__gettimeofday): Do not use CHECK_1.
25733 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25734 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25735 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25737 (__gettimeofday): Do not use CHECK_1.
25738 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25739 (__old_shmctl): Do not use CHECK_1_NULL_OK.
25740 (__new_shmctl): Do not use CHECK_1.
25741 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25743 (do_sigtimedwait): Do not use CHECK_1.
25744 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25746 (do_sigwaitinfo): Do not use CHECK_1.
25747 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25749 (msgctl): Do not use CHECK_1.
25750 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25752 (shmctl): Do not use CHECK_1.
25753 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25754 (ustat): Do not use CHECK_1.
25755 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25757 (__fxstat): Do not use CHECK_1.
25758 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25760 (__fxstatat): Do not use CHECK_1.
25761 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25763 (__lxstat): Do not use CHECK_1.
25764 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25766 (__xstat): Do not use CHECK_1.
25767 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25768 (__xstat): Do not use CHECK_1.
25769 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25770 (___xstat64): Do not use CHECK_1.
25773 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25775 (CHECK_BOUNDS_HIGH): Likewise.
25776 * string/strcpy.c: Do not include <bp-checks.h>.
25777 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25779 2013-02-07 Roland McGrath <roland@hack.frob.com>
25781 * nscd/nscd-client.h (__nscd_drop_map_ref):
25782 Add __attribute__ ((unused)).
25783 * nis/nss-nisplus.h (niserr2nss): Likewise.
25785 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25786 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25788 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25789 Remove inline keyword.
25790 * include/rounding-mode.h (round_away): Likewise.
25791 * libio/wfileops.c (adjust_wide_data): Likewise.
25792 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25793 (__m128i_strloadu_tolower): Likewise.
25794 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25795 (__m128i_strloadu_tolower): Likewise.
25796 * time/mktime.c (ydhms_diff): Likewise.
25797 * locale/elem-hash.h (elem_hash): Likewise.
25798 * locale/setlocale.c (setdata): Likewise.
25799 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25800 (re_string_wchar_at): Likewise.
25801 (bitset_not, bitset_merge, bitset_mask): Likewise.
25802 [!(__GNUC__ > 3)] (inline): Remove macro.
25803 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25804 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25805 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25806 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25807 * string/memcmp.c (memcmp_bytes): Likewise.
25808 * locale/programs/locarchive.c (compute_hashval): Likewise.
25809 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25810 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25811 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25812 * nss/getent.c (print_rpc, print_protocols): Likewise.
25813 (print_passwd, print_group, print_aliases): Likewise.
25814 * nis/nss-nisplus.h (niserr2nss): Likewise.
25815 * nscd/connections.c (restart_p): Likewise.
25816 Change return type to bool.
25818 2013-02-05 Roland McGrath <roland@hack.frob.com>
25820 * Makeconfig (all-Depend-files): Add existing
25821 $(sorted-subdirs:=/Depend) files.
25822 (all-subdirs): Remove nss.
25823 * sysdeps/unix/inet/Subdirs: Add it here instead.
25824 * hesiod/Depend: New file.
25826 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25827 instead of calling alloca.
25829 * io/lseek.c (__lseek): Rename to __libc_lseek.
25830 Define __lseek as an alias.
25832 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25834 2013-02-04 Carlos O'Donell <carlos@redhat.com>
25836 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25837 else clause and remove check for non-standard endianness.
25839 2013-02-04 David S. Miller <davem@davemloft.net>
25841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25843 2013-02-04 Joseph Myers <joseph@codesourcery.com>
25846 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25847 (__ubp_memchr): Remove prototype.
25848 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25849 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25850 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25851 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25852 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25854 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25855 (__ubp_memchr): Likewise.
25856 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25857 (__ubp_memchr): Likewise.
25858 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25859 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25860 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25861 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25863 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25864 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25865 (__getcwd): Do not use CHECK_STRING.
25866 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25868 (__real_chown): Do not use CHECK_STRING.
25869 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25871 (fchownat): Do not use CHECK_STRING.
25872 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25874 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25876 (__lchown): Do not use CHECK_STRING.
25877 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25878 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25879 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25880 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25882 include <bp-checks.h>.
25883 (truncate64): Do not use CHECK_STRING.
25884 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25886 (__real_chown): Do not use CHECK_STRING.
25887 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25889 (__lchown): Do not use CHECK_STRING.
25890 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25892 (__chown): Do not use CHECK_STRING.
25893 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25895 (truncate64): Do not use CHECK_STRING.
25896 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25898 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25899 (__xmknod): Do not use CHECK_STRING.
25900 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25902 (__xmknodat): Do not use CHECK_STRING.
25903 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25904 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25906 2013-02-04 Andreas Schwab <schwab@suse.de>
25909 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25910 * include/netdb.h: Likewise for h_errno.
25911 * elf/tst-stackguard1.c: Include <tls.h>.
25913 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25915 * elf/link.h (struct link_map): Extend the l_addr comment.
25916 * include/link.h (struct link_map): Likewise.
25918 2013-02-01 Joseph Myers <joseph@codesourcery.com>
25921 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25922 (BOUNDED_1): Remove macro.
25923 * debug/backtrace.c: Don't include <bp-checks.h>.
25924 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25925 (__backtrace): Likewise.
25926 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25928 (__backtrace): Don't use BOUNDED_1.
25929 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25931 (__backtrace): Don't use BOUNDED_1.
25932 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25933 (__backtrace): Don't use BOUNDED_1.
25934 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25935 (shmat): Don't use BOUNDED_N.
25937 2013-01-31 Joseph Myers <joseph@codesourcery.com>
25940 * sysdeps/generic/bp-start.h: Remove file.
25941 * csu/libc-start.c: Don't include <bp-start.h>.
25942 (LIBC_START_MAIN): Set up __environ directly instead of using
25943 INIT_ARGV_and_ENVIRON.
25944 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25948 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25950 (CHECK_FCNTL): Likewise.
25951 (CHECK_N_PAGES): Likewise.
25954 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25956 (CHECK_SIGSET_NULL_OK): Likewise.
25957 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25959 (sigpending): Don't use CHECK_SIGSET.
25960 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25962 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25963 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25965 (do_sigsuspend): Don't use CHECK_SIGSET.
25966 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25968 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25969 (do_sigwait): Don't use CHECK_SIGSET.
25970 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25972 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25973 include <bp-checks.h>.
25974 (sigpending): Don't use CHECK_SIGSET.
25975 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25976 include <bp-checks.h>.
25977 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25978 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25980 (sigpending): Don't use CHECK_SIGSET.
25981 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25983 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25986 * sysdeps/generic/bp-semctl.h: Remove file.
25987 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25988 <bp-checks.h> and <bp-semctl.h>.
25989 (__old_semctl): Don't use CHECK_SEMCTL.
25990 (__new_semctl): Likewise.
25991 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25993 (__old_semctl): Don't use CHECK_SEMCTL.
25994 (__new_semctl): Likewise.
25995 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25996 <bp-checks.h> and <bp-semctl.h>.
25997 (__old_semctl): Don't use CHECK_SEMCTL.
25998 (__new_semctl): Likewise.
25999 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26000 <bp-checks.h> and <bp-semctl.h>.
26001 (semctl): Don't use CHECK_SEMCTL.
26004 * Makerules (elide-bp-thunks): Remove variable.
26005 (elide-routines.oS): Don't use $(elide-bp-thunks).
26006 (elide-routines.os): Likewise.
26007 (elide-routines.o): Likewise.
26008 (elide-routines.op): Likewise.
26009 (elide-routines.og): Likewise.
26010 (objects): Don't use $(bp-thunks).
26011 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26013 (common-generated): Do not add s-proto-bp.d.
26014 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26017 Do not generate makefile rules for bounded-pointer thunks.
26018 * sysdeps/generic/bp-thunks.h: Remove file.
26019 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26020 * sysdeps/unix/s-proto-bp.S: Likewise.
26023 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26024 parts of result separately when argument is not close to line from
26025 -i to i and one part of argument is small.
26026 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26027 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26028 * math/libm-test.inc (cacos_test): Add more tests.
26029 (casin_test): Likewise.
26030 (casinh_test): Likewise.
26031 * sysdeps/i386/fpu/libm-test-ulps: Update.
26032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26034 2013-01-31 David S. Miller <davem@davemloft.net>
26036 * po/de.po: Update from translation team.
26038 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
26040 * time/tzfile.c: Include stdint.h for SIZE_MAX.
26042 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
26044 * configure.in (_AC_PROG_CC_C89): New definition.
26045 * configure: Regenerate.
26047 * configure.in (AC_PROG_CPP): New definition.
26048 * configure: Regenerate.
26050 2013-01-23 Joseph Myers <joseph@codesourcery.com>
26052 * debug/tst-backtrace.h: New file.
26053 * debug/tst-backtrace2.c: Include tst-backtrace.h.
26054 (ret): Remove variable.
26056 (FAIL): Remove macro.
26057 (NO_INLINE): Likewise.
26058 (fn1): Use match function instead of strstr.
26059 * debug/tst-backtrace3.c: Include tst-backtrace.h.
26060 (ret): Remove variable.
26062 (FAIL): Remove macro.
26063 (NO_INLINE): Likewise.
26064 (fn): Use match function instead of strstr.
26065 * debug/tst-backtrace4.c: Include tst-backtrace.h.
26066 (ret): Remove variable.
26068 (FAIL): Remove macro.
26069 (NO_INLINE): Likewise.
26070 (handle_signal): Use match function instead of strstr.
26071 * debug/tst-backtrace5.c: Include tst-backtrace.h.
26072 (ret): Remove variable.
26074 (FAIL): Remove macro.
26075 (NO_INLINE): Likewise.
26076 (handle_signal): Use match function instead of strstr.
26078 2013-01-23 Roland McGrath <roland@hack.frob.com>
26080 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26082 2013-01-23 David S. Miller <davem@davemloft.net>
26084 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26085 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26086 argument of CAS if possible.
26087 * sysdeps/sparc/sparc64/bits/atomic.h
26088 (__arch_compare_and_exchange_val_32_acq): Likewise.
26089 (__arch_compare_and_exchange_val_64_acq): Likewise.
26091 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
26093 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26094 * sysdeps/posix/ulimit.c: ... this.
26095 Include <limits.h>.
26096 * sysdeps/unix/bsd/ulimit.c: Remove file.
26098 2013-01-23 Adam Conrad <adconrad@0c3.net>
26100 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26101 (LDFLAGS-tst-array5): Likewise.
26103 2013-01-23 Joseph Myers <joseph@codesourcery.com>
26106 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26107 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26108 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26109 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26111 2013-01-21 David S. Miller <davem@davemloft.net>
26113 * sysdeps/sparc/backtrace.c: New file.
26114 * sysdeps/sparc/sparc32/backtrace.h: New file.
26115 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26116 * sysdeps/sparc/sparc64/backtrace.h: New file.
26117 * sysdeps/sparc/sparc64/backtrace.c: Delete.
26118 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26121 2013-01-21 Andreas Schwab <schwab@suse.de>
26124 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26127 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
26129 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26131 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26133 2013-01-18 Joseph Myers <joseph@codesourcery.com>
26134 Mark Mitchell <mark@codesourcery.com>
26135 Tom de Vries <tom@codesourcery.com>
26136 Paul Pluzhnikov <ppluzhnikov@google.com>
26138 * debug/tst-backtrace2.c: New file.
26139 * debug/tst-backtrace3.c: Likewise.
26140 * debug/tst-backtrace4.c: Likewise.
26141 * debug/tst-backtrace5.c: Likewise.
26142 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26143 (CFLAGS-tst-backtrace3.c): Likewise.
26144 (CFLAGS-tst-backtrace4.c): Likewise.
26145 (CFLAGS-tst-backtrace5.c): Likewise.
26146 (LDFLAGS-tst-backtrace2): Likewise.
26147 (LDFLAGS-tst-backtrace3): Likewise.
26148 (LDFLAGS-tst-backtrace4): Likewise.
26149 (LDFLAGS-tst-backtrace5): Likewise.
26150 (tests): Add new tests tst-backtrace2, tst-backtrace3,
26151 tst-backtrace4 and tst-backtrace5.
26153 2013-01-18 Anton Blanchard <anton@samba.org>
26154 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26156 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26157 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26158 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26159 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26161 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26162 "+r" and remove output regs list as redundant. Add explicit inline
26163 asm to specify register of return val to work around compiler codegen
26164 bug. Remove (int) cast on return value. Add return type parameter to
26165 use in macro so that this macro does not truncate return value for
26167 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26168 pass to INTERNAL_VSYSCALL_NCS.
26169 (INLINE_VSYSCALL): Add 'long int' as return type to
26170 INTERNAL_VSYSCALL_NCS macro invocation.
26171 (INTERNAL_VSYSCALL): Add 'long int' as return type to
26172 INTERNAL_VSYSCALL_NCS macro invocation.
26173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26175 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26178 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26179 Fix application of SIMD FP exception mask.
26181 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26182 mp_no from a power of two.
26183 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26184 __mpexp_twomm1. Use __pow_mp.
26186 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26189 2013-01-17 David S. Miller <davem@davemloft.net>
26191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26193 2013-01-17 Joseph Myers <joseph@codesourcery.com>
26196 * include/complex.h: Condition contents on [!_COMPLEX_H].
26197 (__kernel_casinhf): New prototype.
26198 (__kernel_casinh): Likewise.
26199 (__kernel_casinhl): Likewise.
26200 * math/Makefile (libm_calls): Add k_casinh.
26201 * math/k_casinh.c: New file.
26202 * math/k_casinhf.c: Likewise.
26203 * math/k_casinhl.c: Likewise.
26204 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26205 finite nonzero arguments.
26206 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26207 finite nonzero arguments.
26208 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26209 finite nonzero arguments.
26210 * math/s_casinh.c: Do not include <float.h>.
26211 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26212 * math/s_casinhf.c: Do not include <float.h>.
26213 (__casinhf): Move code for finite nonzero arguments to
26215 * math/s_casinhl.c: Do not include <float.h>.
26216 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26218 (__casinhl): Move code for finite nonzero arguments to
26220 * math/libm-test.inc (cacos_test): Add more tests.
26221 * sysdeps/i386/fpu/libm-test-ulps: Update.
26222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26224 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
26226 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26227 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26228 [!HAVE_MREMAP]: Remove [defined linux] case.
26229 * malloc/arena.c: Do not include <malloc-sysdep.h>.
26231 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26233 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26235 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
26237 * elf/elf.h (R_386_SIZE32): New relocation.
26238 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26240 (elf_machine_rela): Likewise.
26241 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26242 R_X86_64_SIZE64 and R_X86_64_SIZE32.
26244 2013-01-17 Joseph Myers <joseph@codesourcery.com>
26246 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26247 (FP_FAST_FMA): Do not define.
26248 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26249 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26250 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26251 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26252 !_SOFT_FLOAT]: Likewise.
26253 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26254 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26256 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26257 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26258 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26259 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26260 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26261 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26264 2013-01-16 Andreas Schwab <schwab@suse.de>
26267 * include/stdlib.h (__mktemp): Add declaration.
26268 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26269 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26271 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26273 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26275 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26276 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26277 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26279 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26280 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26282 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26284 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26285 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26286 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26288 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26289 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26291 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26293 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26295 2013-01-15 David S. Miller <davem@davemloft.net>
26297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26298 trunc{,f} to libm-sysdep_routes.
26299 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26309 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26310 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26311 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26312 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26313 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26314 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26317 nearbyint{,f} to libm-sysdep_routes.
26318 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26329 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26331 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26332 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26334 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26335 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26336 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26338 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26339 libc_feholdexcept and libc_fesetenv.
26341 2013-01-15 Mike Frysinger <vapier@gentoo.org>
26343 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26345 2013-01-14 David S. Miller <davem@davemloft.net>
26347 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26348 (SPARC_ASM_VIS2_IFUNC): Likewise.
26349 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26351 use of 'siam' instruction.
26352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26358 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26359 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26360 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26361 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26370 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26371 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26372 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26373 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26380 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26381 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26382 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26383 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26385 routines to libm-sysdep_routines.
26386 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26389 fdim/fdimf to libm-sysdep_routines.
26390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26398 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26399 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26400 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26401 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26403 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26405 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26406 to optimize copies.
26408 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26409 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26410 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26412 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26413 local variable MPTWO.
26414 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26417 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26419 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26422 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26424 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26426 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26428 * manual/pattern.texi (glob_t): Document gl_flags.
26429 (glob64_t): Likewise.
26431 2013-01-11 David S. Miller <davem@davemloft.net>
26433 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26434 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26435 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
26436 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26437 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26438 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26439 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26440 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26441 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26442 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26443 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26444 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26445 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26447 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26448 sparc V9 rather than using V8 code.
26449 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26450 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26452 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26454 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26457 2013-01-11 Roland McGrath <roland@hack.frob.com>
26459 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26460 not in the main loop.
26461 * configure: Regenerated.
26463 2013-01-11 Joseph Myers <joseph@codesourcery.com>
26465 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26466 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26468 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
26469 [!__GLIBC_HAVE_LONG_LONG] case.
26470 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26471 condition to just #else.
26472 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26473 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26474 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26475 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26477 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26478 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26479 #elif condition to just #else.
26480 * sysdeps/unix/sysv/linux/sys/sysmacros.h
26481 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26482 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26483 #elif condition to just #else.
26485 2013-01-11 Steve Ellcey <sellcey@mips.com>
26487 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26488 (EF_MIPS_ARCH_64): Fix value.
26489 (EF_MIPS_ARCH_32R2): New.
26490 (EF_MIPS_ARCH_64R2): New.
26492 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
26494 * Makeconfig (+link-pie-before-libc): New.
26495 (+link-pie-after-libc): Likewise.
26496 (+link-pie-tests): Likewise.
26497 (+link-pie): Rewritten.
26498 (link-before-libc): Remove $(config-LDFLAGS).
26499 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26500 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26501 (config-LDFLAGS): Renamed to ...
26502 (rtld-LDFLAGS): This.
26503 (rtld-tests-LDFLAGS): New macro.
26504 (link-libc-rpath-link): Likewise.
26505 (link-libc-tests-rpath-link): Likewise.
26506 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26507 (link-libc): Prepand $(link-libc-rpath-link).
26508 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26509 (test-program-prefix): New macro.
26510 (test-via-rtld-prefix): Likewise.
26511 (test-program-cmd): Likewise.
26512 (host-test-program-cmd): Likewise.
26513 * Makefile ($(common-objpfx)testrun.sh): Replace
26514 $(run-program-prefix) with $(test-program-prefix).
26515 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26517 ($(common-objpfx)shlib.lds): Likewise.
26518 (build-module-helper): Likewise.
26519 ($(common-objpfx)format.lds): Likewise.
26520 * Rules (binaries-pie-tests): New.
26521 (binaries-pie-notests): Likewise.
26522 (binaries-pie): Rewritten.
26523 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26524 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26525 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26526 (make-test-out): Replace $(host-built-program-cmd) with
26527 $(host-test-program-cmd).
26528 * config.make.in (build-hardcoded-path-in-tests): New variable.
26529 * configure.in (--enable-hardcoded-path-in-tests): New configure
26531 (hardcoded_path_in_tests): New AC_SUBST.
26532 * configure: Regenerated.
26533 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26534 $(built-program-cmd) with $(test-program-cmd).
26535 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26536 (test_program_cmd): This.
26537 * elf/Makefile ($(objpfx)order.out): Run test with
26538 $(test-program-prefix).
26539 ($(objpfx)order2.out): Likewise.
26540 ($(objpfx)tst-initorder.out): Likewise.
26541 ($(objpfx)tst-initorder2.out): Likewise.
26542 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26543 $(test-program-cmd).
26544 ($(objpfx)tst-array1-static.out): Likewise.
26545 ($(objpfx)tst-array2.out): Likewise.
26546 ($(objpfx)tst-array3.out): Likewise.
26547 ($(objpfx)tst-array4.out): Likewise.
26548 ($(objpfx)tst-array5.out): Likewise.
26549 ($(objpfx)tst-array5-static.out): Likewise.
26550 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26551 $(test-program-cmd).
26552 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26553 $(run-program-prefix) with $(test-program-prefix).
26554 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26555 (test_program_prefix): This.
26556 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26557 $(run-program-prefix) with $(test-program-prefix).
26558 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26559 (test_program_prefix): This.
26560 * iconvdata/tst-tables.sh: Likewise.
26561 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26562 $(run-program-prefix) with $(test-program-prefix).
26563 ($(objpfx)tst-translit.out): Likewise.
26564 ($(objpfx)tst-gettext2.out): Likewise.
26565 ($(objpfx)tst-gettext4.out): Likewise.
26566 ($(objpfx)tst-gettext6.out): Likewise.
26567 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26568 (test_program_prefix): This.
26569 * intl/tst-gettext2.sh: Likewise.
26570 * intl/tst-gettext4.sh Likewise.
26571 * intl/tst-gettext6.sh: Likewise.
26572 * intl/tst-translit.sh: Likewise.
26573 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26574 with $(test-program-cmd).
26575 * libio/Makefile ($(objpfx)test-freopen.out): Replace
26576 $(run-program-prefix) with $(test-program-prefix).
26577 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26578 (test_program_prefix): This.
26579 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26580 $(run-program-prefix) with $(test-program-prefix).
26581 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26582 (test_program_prefix): This.
26583 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26584 * posix/Makefile ($(objpfx)globtest.out): Replace
26585 $(run-via-rtld-prefix) and $(test-wrapper) with
26586 $(test-program-prefix) and $(test-via-rtld-prefix).
26587 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26588 $(test-program-prefix).
26589 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26590 $(host-test-program-cmd).
26591 (tst-spawn-ARGS): Likewise.
26592 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26593 $(test-program-prefix).
26594 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26595 (test_via_rtld_prefix): This.
26596 (test_wrapper): Renamed to ...
26597 (test_program_prefix): This.
26598 (run_program_prefix): Replaced by test_program_prefix.
26599 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26600 (test_program_prefix): This.
26601 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26602 with $(host-test-program-cmd).
26603 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26604 $(run-program-prefix) with $(test-program-prefix).
26605 ($(objpfx)tst-printf.out): Likewise.
26606 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26607 $(test-program-cmd).
26608 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26609 (test_program_prefix): This.
26610 * stdio-common/tst-unbputc.sh: Likewise.
26611 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26612 $(run-program-prefix) with $(test-program-prefix).
26613 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26614 (test_program_prefix): This.
26615 * string/Makefile ($(objpfx)tst-svc.out): Replace
26616 $(built-program-cmd) with $(test-program-cmd).
26618 2013-01-11 Andreas Jaeger <aj@suse.de>
26621 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26622 value. Sync with Linux 3.7.
26624 2013-01-10 David S. Miller <davem@davemloft.net>
26626 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26627 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26628 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26630 2013-01-10 Roland McGrath <roland@hack.frob.com>
26632 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26634 * configure: Regenerated.
26636 2013-01-10 David S. Miller <davem@davemloft.net>
26638 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26639 sparc V9 rather than using V8 code.
26640 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26641 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26643 2013-01-10 Roland McGrath <roland@hack.frob.com>
26645 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26646 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26647 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26648 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26649 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26650 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26651 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26652 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26653 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26654 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26655 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26656 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26657 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26658 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26659 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26660 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26661 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26662 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26663 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26664 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26665 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26666 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26667 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26668 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26669 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26670 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26671 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26673 2013-01-10 David S. Miller <davem@davemloft.net>
26675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26677 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26679 * posix/Makefile (tests-static): New variable.
26680 (tests): Add $(tests-static).
26681 (tst-exec-static-ARGS): New variable.
26682 (tst-spawn-static-ARGS): Likewise.
26683 * posix/tst-exec-static.c: New file.
26684 * posix/tst-spawn-static.c: Likewise.
26685 * posix/tst-exec.c: Support run directly.
26686 * posix/tst-spawn.c: Likewise.
26688 2013-01-10 Joseph Myers <joseph@codesourcery.com>
26690 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26692 * math/bits/mathcalls.h (llrint): Likewise.
26693 (llround): Likewise.
26694 * stdlib/stdlib.h (struct drand48_data): Likewise.
26695 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26696 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26697 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26699 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26701 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26702 (elf_greg_t): Likewise.
26703 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26704 (__jmp_buf): Likewise.
26705 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26707 (llrint): Likewise, for all definitions.
26708 (llrintl): Likewise.
26710 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26711 Remove [__GNUC__] condition.
26712 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26713 condition to just [__USE_ISOC99].
26714 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26716 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26719 * sysdeps/unix/sysv/linux/x86/bits/environments.h
26720 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26722 (_POSIX_V6_ILP32_OFF32): Likewise.
26723 (_XBS5_ILP32_OFF32): Likewise.
26724 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26725 (__ILP32_OFFBIG_LDFLAGS): Likewise.
26727 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26729 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26731 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26732 doubles __mpexp_twomm1. Adjust usage.
26733 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26736 2013-01-10 Andreas Schwab <schwab@suse.de>
26739 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26740 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26742 2013-01-09 David S. Miller <davem@davemloft.net>
26745 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26746 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26747 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26748 (TCP_FASTOPEN): Define.
26749 (tcp_repair_opt): New structure.
26750 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26752 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26753 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26754 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26755 (tcp_cookie_transactions): New structure.
26757 2013-01-09 Anton Blanchard <anton@samba.org>
26759 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26760 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26761 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26762 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26764 2013-01-09 Joseph Myers <joseph@codesourcery.com>
26766 * include/features.h (__USE_ANSI): Remove.
26768 2013-01-09 Roland McGrath <roland@hack.frob.com>
26770 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26772 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26774 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26776 * sysdeps/s390/fpu/libm-test-ulps: Update.
26778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26780 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26784 (denorm): Likewise.
26785 (__mp_dbl): Likewise.
26786 (__dbl_mp): Likewise.
26787 (add_magnitudes): Likewise.
26788 (sub_magnitudes): Likewise.
26794 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26798 (denorm): Likewise.
26799 (__mp_dbl): Likewise.
26800 (__dbl_mp): Likewise.
26801 (add_magnitudes): Likewise.
26802 (sub_magnitudes): Likewise.
26808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26812 (denorm): Likewise.
26813 (__mp_dbl): Likewise.
26814 (__dbl_mp): Likewise.
26815 (add_magnitudes): Likewise.
26816 (sub_magnitudes): Likewise.
26823 2013-01-08 Joseph Myers <joseph@codesourcery.com>
26825 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26826 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26827 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26828 2 && __USE_EXTERN_INLINES]: Likewise.
26830 2013-01-08 Andreas Jaeger <aj@suse.de>
26833 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26835 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26836 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26838 2013-01-07 Anton Blanchard <anton@samba.org>
26840 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26841 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26842 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26843 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26844 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26845 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26846 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26847 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26849 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26850 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26851 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26852 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26853 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26854 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26855 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26856 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26857 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26858 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26859 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26860 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26861 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26862 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26863 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26864 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26865 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26866 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26867 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26868 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26869 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26870 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26871 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26872 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26873 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26874 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26875 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26876 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26877 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26878 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26879 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26880 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26881 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26882 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26884 2013-01-07 Joseph Myers <joseph@codesourcery.com>
26886 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26887 (__MALLOC_PMT): Likewise.
26888 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26889 [__GNUC__], only on [_LIBC].
26890 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26891 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26892 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26893 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26894 forward declaration.
26895 (realloc_hook_ini): Likewise.
26896 (memalign_hook_ini): Likewise.
26897 (__libc_memalign): Do not use __MALLOC_PMT in variable
26899 (__libc_valloc): Likewise.
26900 (__libc_pvalloc): Likewise.
26901 (__libc_calloc): Likewise.
26902 (__posix_memalign): Likewise.
26905 * math/s_casinh.c: Include <float.h>.
26906 (__casinh): Do not do computation with squaring and square root
26907 for large arguments.
26908 * math/s_casinhf.c: Include <float.h>.
26909 (__casinhf): Do not do computation with squaring and square root
26910 for large arguments.
26911 * math/s_casinhl.c: Include <float.h>.
26912 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26913 (__casinhl): Do not do computation with squaring and square root
26914 for large arguments.
26915 * math/libm-test.inc (casin_test): Add more tests.
26916 (casinh_test): Likewise.
26917 * sysdeps/i386/fpu/libm-test-ulps: Update.
26918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26920 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26922 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26923 (__x86_64_raw_data_cache_size): Likewise.
26924 (__x86_64_data_cache_size_half): Likewise.
26925 (__x86_64_raw_data_cache_size_half): Likewise.
26926 (__x86_64_shared_cache_size): Likewise.
26927 (__x86_64_raw_shared_cache_size): Likewise.
26928 (__x86_64_shared_cache_size_half): Likewise.
26929 (__x86_64_raw_shared_cache_size_half): Likewise.
26930 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26932 (__x86_data_cache_size): This.
26933 (__x86_64_raw_data_cache_size): Renamed to ...
26934 (__x86_raw_data_cache_size): This.
26935 (__x86_64_data_cache_size_half): Renamed to ...
26936 (__x86_data_cache_size_half): This.
26937 (__x86_64_raw_data_cache_size_half): Renamed to ...
26938 (__x86_raw_data_cache_size_half): This.
26939 (__x86_64_shared_cache_size): Renamed to ...
26940 (__x86_shared_cache_size): This.
26941 (__x86_64_raw_shared_cache_size): Renamed to ...
26942 (__x86_raw_shared_cache_size): This.
26943 (__x86_64_shared_cache_size_half): Renamed to ...
26944 (__x86_shared_cache_size_half): This.
26945 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26946 (__x86_raw_shared_cache_size_half): This.
26947 * sysdeps/x86_64/memcpy.S: Updated.
26948 * sysdeps/x86_64/memset.S: Likewise.
26949 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26950 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26951 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26953 2013-01-04 David S. Miller <davem@davemloft.net>
26955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26957 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26959 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26960 1 to avoid redefinition warning.
26961 (__USE_GNU): Don't define.
26962 (init_signaling_nan): Protoize.
26964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26966 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26968 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26970 (__cpymn): Likewise.
26971 (norm): Remove commented code.
26972 (denorm): Likewise.
26973 (__mp_dbl): Likewise.
26975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26976 (__cpymn): Likewise.
26977 (norm): Remove commented code.
26978 (denorm): Likewise.
26979 (__mp_dbl): Likewise.
26982 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26983 mp_no value for 1.0 and 2.0.
26984 (norm): Use RADIXI instead of radixi.d.
26985 (denorm): Likewise.
26986 (__mul): Use 0.0 instead of zero.d.
26987 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26988 mp_no value for 1.0 and 2.0.
26989 (norm): Use RADIXI instead of radixi.d.
26990 (denorm): Likewise.
26991 (__mul): Use 0.0 instead of zero.d.
26993 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26996 * math/s_casinh.c (__casinh): Reduce finite argument to first
26997 quadrant then set signs of results at the end.
26998 * math/s_casinhf.c (__casinhf): Likewise.
26999 * math/s_casinhl.c (__casinhl): Likewise.
27000 * math/libm-test.inc (casin_test): Add more tests.
27001 (casinh_test): Likewise.
27002 * sysdeps/i386/fpu/libm-test-ulps: Update.
27003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27005 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27007 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27009 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27011 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27013 (denorm): Likewise.
27014 (__mp_dbl): Likewise.
27017 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27018 and adjust the header comment.
27020 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27021 variable name from declaration.
27023 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
27025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27026 Initialize COMMON_CPUID_INDEX_7 element.
27027 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27028 (CPUID_RTM): Likewise.
27029 (HAS_RTM): Likewise.
27030 (COMMON_CPUID_INDEX_7): New enum.
27032 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
27035 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27036 size is zero, record memory as freed.
27038 2013-01-03 Andreas Jaeger <aj@suse.de>
27040 * po/ia.po: Add new Interlingua translation.
27042 2012-01-03 Allan McRae <allan@archlinux.org>
27044 * locale/programs/localedef.c: Fix description of '--posix' flag.
27046 2013-01-02 Joseph Myers <joseph@codesourcery.com>
27048 * NEWS: Update dates in second copyright notice.
27049 * README: Update copyright dates in example.
27050 * manual/libc.texinfo: Update copyright dates.
27051 * scripts/test-installation.pl: Update copyright date in --version
27054 * hurd/ctty-input.c: Fix copyright notice formatting.
27055 * hurd/ctty-output.c: Likewise.
27056 * hurd/dtable.c: Likewise.
27057 * hurd/hurd-raise.c: Likewise.
27058 * hurd/hurdprio.c: Likewise.
27059 * hurd/msgportdemux.c: Likewise.
27060 * misc/sys/file.h: Likewise.
27061 * misc/sys/ioctl.h: Likewise.
27062 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27063 * sysdeps/mach/hurd/chdir.c: Likewise.
27064 * sysdeps/mach/hurd/fchdir.c: Likewise.
27065 * sysdeps/mach/hurd/rename.c: Likewise.
27066 * sysdeps/mach/hurd/rmdir.c: Likewise.
27067 * sysdeps/mach/hurd/seekdir.c: Likewise.
27068 * sysdeps/mach/hurd/setsid.c: Likewise.
27069 * sysdeps/posix/wait3.c: Likewise.
27071 * All files with FSF copyright notices: Update copyright dates
27072 using scripts/update-copyrights.
27073 * intl/plural.c: Regenerated.
27074 * locale/programs/charmap-kw.h: Likewise.
27075 * locale/programs/locfile-kw.h: Likewise.
27077 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27079 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27082 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27083 calculation loop and add branch prediction.
27085 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27086 check access beyond bounds of m1np.
27088 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27090 (__inv): Remove local variable MPTWO to use the global
27092 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27093 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27095 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27096 MP3HALFS static const.
27098 2013-01-01 David S. Miller <davem@davemloft.net>
27100 * po/ca.po: Update from translation team.
27102 2013-01-01 Joseph Myers <joseph@codesourcery.com>
27104 * scripts/update-copyrights: New file.
27105 * Makeconfig: Reformat copyright notice.
27106 * ctype/ctype.h: Likewise.
27107 * debug/swprintf_chk.c: Likewise.
27108 * elf/dl-cache.c: Likewise.
27109 * elf/dl-debug.c: Likewise.
27110 * elf/dl-object.c: Likewise.
27111 * grp/initgroups.c: Likewise.
27112 * hurd/Makefile: Likewise.
27113 * hurd/hurd/signal.h: Likewise.
27114 * hurd/hurdfault.c: Likewise.
27115 * hurd/hurdioctl.c: Likewise.
27116 * hurd/hurdlookup.c: Likewise.
27117 * hurd/intr-msg.c: Likewise.
27118 * iconv/gconv_open.c: Likewise.
27119 * libio/swprintf.c: Likewise.
27120 * locale/lc-ctype.c: Likewise.
27121 * locale/nl_langinfo.c: Likewise.
27122 * mach/Machrules: Likewise.
27123 * mach/Makefile: Likewise.
27124 * malloc/obstack.h: Likewise.
27125 * manual/Makefile: Likewise.
27126 * manual/tsort.awk: Likewise.
27127 * misc/bits/stab.def: Likewise.
27128 * nis/nis_print_group_entry.c: Likewise.
27129 * nis/nis_table.c: Likewise.
27130 * nis/nss_compat/compat-pwd.c: Likewise.
27131 * nis/nss_compat/compat-spwd.c: Likewise.
27132 * po/Makefile: Likewise.
27133 * posix/fnmatch.c: Likewise.
27134 * posix/regex.h: Likewise.
27135 * resolv/Makefile: Likewise.
27136 * resolv/nss_dns/dns-network.c: Likewise.
27137 * resolv/res_hconf.c: Likewise.
27138 * scripts/gen-sorted.awk: Likewise.
27139 * soft-fp/soft-fp.h: Likewise.
27140 * stdio-common/printf.h: Likewise.
27141 * stdlib/monetary.h: Likewise.
27142 * stdlib/random.c: Likewise.
27143 * stdlib/random_r.c: Likewise.
27144 * sysdeps/generic/Makefile: Likewise.
27145 * sysdeps/gnu/Makefile: Likewise.
27146 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27147 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27148 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27149 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27150 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27151 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27152 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27153 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27154 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27155 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27156 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27157 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27158 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27159 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27160 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27161 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27162 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27163 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27164 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27165 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27166 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27167 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27168 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27169 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27170 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27171 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27172 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27173 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27174 * sysdeps/mach/hurd/errnos.awk: Likewise.
27175 * sysdeps/mach/hurd/fork.c: Likewise.
27176 * sysdeps/mach/hurd/getcwd.c: Likewise.
27177 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27178 * sysdeps/mach/hurd/mmap.c: Likewise.
27179 * sysdeps/mach/hurd/utimes.c: Likewise.
27180 * sysdeps/mach/hurd/xmknod.c: Likewise.
27181 * sysdeps/posix/profil.c: Likewise.
27182 * sysdeps/posix/readdir_r.c: Likewise.
27183 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27184 * sysdeps/powerpc/bits/setjmp.h: Likewise.
27185 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27186 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27187 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27188 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27189 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27190 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27191 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27192 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27193 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27194 * sysdeps/pthread/lio_listio.c: Likewise.
27195 * sysdeps/sparc/dl-procinfo.h: Likewise.
27196 * sysdeps/unix/i386/sysdep.S: Likewise.
27197 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27198 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27199 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27200 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27202 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27203 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27204 * sysdeps/unix/sysv/linux/speed.c: Likewise.
27205 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27206 * sysdeps/wordsize-32/divdi3.c: Likewise.
27207 * time/sys/time.h: Likewise.
27208 * wcsmbs/Makefile: Likewise.
27210 2013-01-01 David S. Miller <davem@davemloft.net>
27212 * po/fr.po: Update from translation team.
27214 * catgets/gencat.c: Update copyright year.
27215 * csu/version.c: Likewise.
27216 * debug/catchsegv.sh: Likewise.
27217 * debug/pcprofiledump.c: Likewise.
27218 * debug/xtrace.sh: Likewise.
27219 * elf/ldconfig.c: Likewise.
27220 * elf/ldd.bash.in: Likewise.
27221 * elf/pldd.c: Likewise.
27222 * elf/sotruss.ksh: Likewise.
27223 * elf/sprof.c: Likewise.
27224 * iconv/iconv_prog.c: Likewise.
27225 * iconv/iconvconfig.c: Likewise.
27226 * locale/programs/locale.c: Likewise.
27227 * locale/programs/localedef.c: Likewise.
27228 * login/programs/pt_chown.c: Likewise.
27229 * malloc/memusage.sh: Likewise.
27230 * malloc/memusagestat.c: Likewise.
27231 * malloc/mtrace.pl: Likewise.
27232 * nscd/nscd.c: Likewise.
27233 * nss/getent.c: Likewise.
27234 * nss/makedb.c: Likewise.
27235 * posix/getconf.c: Likewise.
27237 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27239 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27242 2012-12-30 Mike Frysinger <vapier@gentoo.org>
27244 * math/bits/mathcalls.h (modf): Use __nonnull.
27246 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27248 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27249 (split): Use macro CN instead of the bare value.
27250 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27252 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27253 instead of the bare value.
27254 (power1): Likewise.
27256 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27258 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27260 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27262 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27264 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27265 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27266 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27267 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27269 2012-12-28 Andreas Jaeger <aj@suse.de>
27271 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
27272 values are from Linux 3.7.
27274 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27275 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
27277 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27279 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27282 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27284 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27285 variables with preprocessor constants.
27286 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27287 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27288 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27290 2012-12-27 Bruno Haible <bruno@clisp.org>
27293 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27296 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27298 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27299 and use variable directly.
27300 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27302 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27304 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27305 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27307 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27308 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27309 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27310 include directive. Remove local variable MPONE.
27311 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27312 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27313 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27315 2012-12-25 David S. Miller <davem@davemloft.net>
27317 * version.h (RELEASE): Set to "development".
27318 (VERSION): Set to "2.17.90".
27319 * NEWS: Add 2.18 section.
27321 2012-12-21 David S. Miller <davem@davemloft.net>
27323 * po/hr.po: Update from translation team.
27325 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27327 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27329 2012-12-19 Steve Ellcey <sellcey@mips.com>
27331 * NEWS: Mention new memcpy for MIPS.
27333 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27335 * manual/contrib.texi (Contributors): Spelling correction.
27337 2012-12-15 David S. Miller <davem@davemloft.net>
27339 * po/ru.po: Update from translation team.
27341 2012-12-13 David S. Miller <davem@davemloft.net>
27343 * NEWS: Mention IFUNC testsuite enhancements.
27345 * po/pl.po: Update from translation team.
27346 * po/bg.po: Likewise.
27348 * manual/contrib.texi (Contributors): Update entries for Hongjiu
27349 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
27351 2012-12-11 David S. Miller <davem@davemloft.net>
27353 * po/sv.po: Update from translation team.
27355 * po/vi.po: Update from translation team.
27357 * po/cs.po: Update from translation team.
27359 * po/de.po: Update from translation team.
27360 * po/eo.po: Likewise.
27361 * po/nl.po: Likewise.
27363 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27366 * manual/argp.texi (Argp Helper Functions): Move node to follow
27367 Argp Parsing State.
27370 * manual/conf.texi (Limits on File System Capacity): Mention if
27371 terminating null is included in the max size.
27373 2012-12-10 Andreas Jaeger <aj@suse.de>
27375 * po/cs.po: Update from translation team.
27377 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27379 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27380 void pointer and cast to uintptr_t.
27381 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27383 * sysdeps/s390/s390-64/memcpy.S: Likewise.
27384 * sysdeps/s390/s390-64/memset.S: Likewise.
27386 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
27389 * menual/message.texi (Message Translation): Fix typos.
27390 (Helper programs for gettext): Likewise.
27392 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
27395 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27398 2012-12-07 David S. Miller <davem@davemloft.net>
27400 * po/libc.pot: Update.
27402 2012-12-07 Richard Henderson <rth@redhat.com>
27405 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27406 normal/normal case to before the switch.
27407 (_FP_DIV): Likewise.
27409 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
27410 Mike Frysinger <vapier@gentoo.org>
27412 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27413 check for __NR_fadvise64_64.
27415 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
27417 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27418 0, not just to plain "0" as a statement.
27419 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27422 2012-12-06 Joseph Myers <joseph@codesourcery.com>
27424 * NEWS: Use sourceware.org in Bugzilla URL.
27426 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27429 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27431 * stdio-common/tst-put-error.c (do_test): Add newline to the
27432 padded test to ensure flush.
27434 2012-12-05 Jeff Law <law@redhat.com>
27436 * sunrpc/etc.rpc (fedfs_admin): Add entry.
27438 2012-12-05 Joseph Myers <joseph@codesourcery.com>
27440 * README: Don't refer to ports add-on as distributed separately.
27441 Mention AArch64 in list of systems supported in the ports add-on.
27443 * LICENSES: Add more non-FSF copyright and license notices.
27445 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27448 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27450 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27451 10000 as width of padded output.
27453 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27455 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27457 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27458 variable LX with __attribute__ ((unused)).
27459 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27461 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27462 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27463 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27464 with __attribute__ ((unused)).
27466 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
27468 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27470 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27472 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27473 (CFLAGS-nldbl-acos.c): New variable.
27474 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27475 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27476 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27477 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27478 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27479 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27480 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27481 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27482 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27483 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27484 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27485 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27486 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27487 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27488 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27489 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27490 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27491 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27492 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27493 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27494 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27495 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27496 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27497 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27498 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27499 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27500 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27501 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27502 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27503 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27504 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27505 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27506 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27507 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27508 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27509 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27510 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27511 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27512 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27513 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27514 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27515 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27516 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27517 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27518 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27519 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27520 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27521 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27522 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27523 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27524 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27525 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27526 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27527 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27528 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27529 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27530 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27531 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27532 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27533 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27534 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27535 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27536 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27537 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27538 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27539 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27540 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27541 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27542 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27543 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27544 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27545 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27546 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27547 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27548 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27549 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27550 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27551 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27552 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27553 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27554 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27555 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27556 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27557 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27558 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27559 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27560 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27561 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27562 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27563 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27564 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27565 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27566 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27567 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27568 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27569 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27570 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27573 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27576 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27577 whole low double instead of just low 47 bits when splitting values
27580 2012-12-03 Allan McRae <allan@archlinux.org>
27582 * manual/stdio.texi (Predefined Printf Handlers): Remove
27583 @hsep and @vsep usage.
27585 2012-12-03 Mike Frysinger <vapier@gentoo.org>
27587 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27588 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27590 2012-12-03 Jeff Law <law@redhat.com>
27592 * time/sys/time.h (settimeofday): Do not mark TV argument
27595 2012-12-01 Mike Frysinger <vapier@gentoo.org>
27597 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27598 when currently writing and seek to current position when not.
27599 * libio/Makefile (tests): Remove bug-fclose1.
27600 * libio/bug-fclose1.c: Delete.
27602 2012-12-01 Joseph Myers <joseph@codesourcery.com>
27604 * manual/arith.texi (feenableexcept): Fix typo.
27605 (fedisableexcept): Likewise.
27607 2012-11-30 Roland McGrath <roland@hack.frob.com>
27609 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27610 second, differently-typed declaration, rather than a cast.
27612 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27614 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27615 * include/rpc/svc.h: ... here.
27617 2012-11-30 Aurelien Jarno <aurel32@debian.org>
27620 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27621 depending n and resplen2 to catch cases where answer
27624 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
27626 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27627 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27629 2012-11-29 Mike Frysinger <vapier@gentoo.org>
27631 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27633 2012-11-29 Roland McGrath <roland@hack.frob.com>
27635 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27637 2012-11-28 Jeff Law <law@redhat.com>
27640 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27641 dataset_temporary. Track alloca usage into alloca_used.
27642 If dataset is large allocate and release it via malloc/free.
27644 2012-06-04 Florian Weimer <fweimer@redhat.com>
27647 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27649 2012-11-28 David S. Miller <davem@davemloft.net>
27651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27653 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27656 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27657 of pi/2 rounded to nearest to 64 bits.
27658 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27659 nearest to 64 bits.
27660 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27663 2012-11-28 Jeff Law <law@redhat.com>
27664 Martin Osvald <mosvald@redhat.com>
27667 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27668 * sunrpc/svc.c: Include time.h.
27669 (__svc_accept_failed): New function.
27670 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27671 any reason other than EINTR, call __svc_accept_failed.
27672 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27673 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27675 2012-11-28 Andreas Schwab <schwab@suse.de>
27677 * scripts/abilist.awk: Also handle indirect functions in .opd
27680 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27683 * sysdeps/x86/fpu/powl_helper.c: New file.
27684 * sysdeps/x86/fpu/Makefile: Likewise.
27685 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27687 (__ieee754_powl): Use __powl_helper for finite arguments except
27688 integer exponents below 8.
27689 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27691 (__ieee754_powl): Use __powl_helper for finite arguments except
27692 integer exponents below 8.
27693 * math/libm-test.inc (pow_test): Add more tests and enable some
27694 previously disabled tests.
27695 * sysdeps/i386/fpu/libm-test-ulps: Update.
27696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27698 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27699 Carlos O'Donell <carlos_odonell@mentor.com>
27701 * nss/makedb.c (is_prime): Assert that input is odd and greater
27702 than 4. Note that fact in a comment too.
27703 (next_prime): Add 4 to input.
27705 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27708 * libio/Makefile (tests): Add test case tst-fwrite-error.
27709 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27710 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27711 * libio/tst-fwrite-error.c: New test case.
27713 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
27715 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27716 before casting to void *.
27717 * include/libc-internal.h (__pointer_type): New macro.
27718 (__integer_if_pointer_type_sub): Likewise.
27719 (__integer_if_pointer_type): Likewise.
27720 (cast_to_integer): Likewise.
27721 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27722 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27723 before casting to atomic64_t.
27724 (atomic_exchange_acq): Likewise.
27725 (__arch_exchange_and_add_body): Likewise.
27726 (__arch_add_body): Likewise.
27727 (atomic_add_negative): Likewise.
27728 (atomic_add_zero): Likewise.
27730 2012-11-26 Joseph Myers <joseph@codesourcery.com>
27732 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27733 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27734 (add_fdes): Likewise.
27735 (linear_search_fdes): Likewise.
27736 (binary_search_unencoded_fdes): Likewise.
27738 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
27740 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27742 2012-11-24 Adam Conrad <adconrad@0c3.net>
27744 * configure.in: Autodetect C++ header directories.
27745 * configure: Regenerated.
27747 2012-11-23 Mike Frysinger <vapier@gentoo.org>
27749 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27751 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
27753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27755 2012-11-22 Joseph Myers <joseph@codesourcery.com>
27757 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27758 LDBL_MANT_DIG == 106]: Disable some tests.
27759 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27761 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27765 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27766 input for small inputs. Return +/- pi/2 for large inputs.
27767 * math/libm-test.inc (atan_test): Add more tests.
27769 * sysdeps/generic/unwind-dw2-fde-glibc.c
27770 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27771 __attribute__ ((unused)).
27774 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27775 x * y if x and y are nonzero and z is zero.
27778 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27779 nonzero exponents with absolute value below 0x1p-117 to +/-
27783 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27784 up arguments below 2**-450, not just those below 2**-500.
27785 * math/libm-test.inc (hypot_test): Add another test.
27788 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27789 Return a+b for ratio over 2**120, not 2**60.
27790 * math/libm-test.inc (hypot_test): Add another test.
27792 * math/libm-test.inc (clog_test): Use
27793 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27794 (clog10_test): Likewise.
27797 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27799 2012-11-22 Andreas Schwab <schwab@suse.de>
27801 * sysdeps/i386/fpu/libm-test-ulps: Update.
27803 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27805 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27806 printf output with newline.
27808 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27811 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27812 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27813 -z nodlopen, -z initfirst and -z execstack support.
27814 * configure: Regenerated.
27816 * elf/elf.h (DF_1_NODIRECT): New macro.
27817 (DF_1_IGNMULDEF): Likewise.
27818 (DF_1_NOKSYMS): Likewise.
27819 (DF_1_NOHDR): Likewise.
27820 (DF_1_EDITED): Likewise.
27821 (DF_1_NORELOC): Likewise.
27822 (DF_1_SYMINTPOSE): Likewise.
27823 (DF_1_GLOBAUDIT): Likewise.
27824 (DF_1_SINGLETON): Likewise.
27825 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27826 DT_1_SUPPORTED_MASK bits.
27827 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27829 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27831 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27833 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27835 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27838 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27839 (sendmmsg): Move declarations...
27840 * socket/sys/socket.h: ... here.
27841 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27842 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27844 * socket/recvmmsg.c: ... this new file.
27845 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27846 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27847 definition of __sendmmsg hidden.
27848 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27849 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27850 Move ENOSYS stub into and include it from...
27851 * socket/sendmmsg.c: ... this new file.
27852 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27853 (sysdep_routines): Move recvmmsg and sendmmsg...
27854 * socket/Makefile (routines): ... here.
27855 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27856 (GLIBC_PRIVATE): Add __sendmmsg.
27857 * include/sys/socket.h (__sendmmsg): Add declarations.
27858 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27861 2012-11-20 Joseph Myers <joseph@codesourcery.com>
27863 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27864 variable I1 with __attribute__ ((unused)).
27865 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27867 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27869 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27870 DUMMY variables with __attribute__ ((unused)).
27872 * bits/byteswap.h: Include <bits/types.h>.
27873 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27875 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27877 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27878 string_t. Do not manually set errno.
27879 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27880 length with __strnlen. Make sure to both set errno and return it on
27883 2012-11-19 David S. Miller <davem@davemloft.net>
27885 With help from Joseph Myers.
27886 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27887 very large arguments properly.
27888 * math/libm-test.inc (atan_test): New tests.
27889 (atan2_test): New tests.
27890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27893 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27896 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27899 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27900 [POSIX] (EADDRNOTAVAIL): Likewise.
27901 [POSIX] (EAFNOSUPPORT): Likewise.
27902 [POSIX] (EALREADY): Likewise.
27903 [POSIX] (ECONNABORTED): Likewise.
27904 [POSIX] (ECONNREFUSED): Likewise.
27905 [POSIX] (ECONNRESET): Likewise.
27906 [POSIX] (EDESTADDRREQ): Likewise.
27907 [POSIX] (EDQUOT): Likewise.
27908 [POSIX] (EHOSTUNREACH): Likewise.
27909 [POSIX] (EIDRM): Likewise.
27910 [POSIX] (EISCONN): Likewise.
27911 [POSIX] (ELOOP): Likewise.
27912 [POSIX] (EMULTIHOP): Likewise.
27913 [POSIX] (ENETDOWN): Likewise.
27914 [POSIX] (ENETUNREACH): Likewise.
27915 [POSIX] (ENOBUFS): Likewise.
27916 [POSIX] (ENODATA): Likewise.
27917 [POSIX] (ENOLINK): Likewise.
27918 [POSIX] (ENOMSG): Likewise.
27919 [POSIX] (ENOPROTOOPT): Likewise.
27920 [POSIX] (ENOSR): Likewise.
27921 [POSIX] (ENOSTR): Likewise.
27922 [POSIX] (ENOTCONN): Likewise.
27923 [POSIX] (ENOTSOCK): Likewise.
27924 [POSIX] (EOPNOTSUPP): Likewise.
27925 [POSIX] (EOVERFLOW): Likewise.
27926 [POSIX] (EPROTO): Likewise.
27927 [POSIX] (EPROTONOSUPPORT): Likewise.
27928 [POSIX] (EPROTOTYPE): Likewise.
27929 [POSIX] (ESTALE): Likewise.
27930 [POSIX] (ETIME): Likewise.
27931 [POSIX] (ETXTBSY): Likewise.
27932 [POSIX] (EWOULDBLOCK): Likewise.
27933 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27934 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27935 [POSIX] (SEEK_CUR): Likewise.
27936 [POSIX] (SEEK_END): Likewise.
27937 [POSIX || UNIX98] (mode_t): Do not require.
27938 [POSIX] (off_t): Likewise.
27939 [POSIX] (pid_t): Likewise.
27940 [POSIX] (sys/stat.h): Do not allow header.
27941 [POSIX] (unistd.h): Likewise.
27942 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27943 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27944 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27945 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27947 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27948 sigevent): Specify elements.
27949 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27951 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27952 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27954 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27955 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27956 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27957 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27958 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27959 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27960 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27961 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27962 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27963 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27964 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27965 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27966 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27967 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27969 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27971 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27973 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27975 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27976 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27977 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27978 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27979 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27980 Specify lower bound on value.
27981 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27982 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27983 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27984 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27985 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27986 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27987 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27988 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27990 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27992 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27993 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27994 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27995 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27996 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27997 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27998 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27999 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28000 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28001 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28002 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28003 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28004 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28005 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28006 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28007 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28009 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28011 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28012 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28013 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28014 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28015 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28016 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28018 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28019 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28020 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28021 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28022 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
28023 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28024 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28026 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28027 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28028 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28029 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28030 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28031 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28032 specify as optional.
28033 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28034 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28035 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28036 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28037 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28038 [XPG3] (NL_LANGMAX): Likewise.
28039 [POSIX || XPG3] (NL_MSGMAX): Likewise.
28040 [POSIX || XPG3] (NL_NMAX): Likewise.
28041 [POSIX || XPG3] (NL_SETMAX): Likewise.
28042 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28043 [XPG3] (NZERO): Likewise.
28044 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28045 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28046 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28047 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28048 (REG_ERANGE): Expect.
28049 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28051 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28052 Use (void) in prototype.
28053 [POSIX] (*_t): Allow.
28054 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28055 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28056 (WRDE_BADVAL): Expect.
28058 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28060 [XPG3 || XPG4] (O_RSYNC): Likewise.
28061 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28063 [XPG3 || XPG4] (pthread_sigmask): Likewise.
28064 [XPG3 || XPG4] (sigqueue): Likewise.
28065 [XPG3 || XPG4] (sigtimedwait): Likewise.
28066 [XPG3 || XPG4] (sigwaitinfo): Likewise.
28067 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28068 [XPG3 || XPG4] (vsnprintf): Likewise.
28069 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28071 [XPG3 || XPG4] (blksize_t): Likewise.
28072 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28074 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28075 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28076 [XPG3 || XPG4] (struct itimerspec): Likewise.
28077 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28078 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28079 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28080 [XPG3 || XPG4] (clockid_t): Likewise.
28081 [XPG3 || XPG4] (timer_t): Likewise.
28082 [XPG3 || XPG4] (clock_getres): Likewise.
28083 [XPG3 || XPG4] (clock_gettime): Likewise.
28084 [XPG3 || XPG4] (clock_settime): Likewise.
28085 [XPG3 || XPG4] (nanosleep): Likewise.
28086 [XPG3 || XPG4] (timer_create): Likewise.
28087 [XPG3 || XPG4] (timer_delete): Likewise.
28088 [XPG3 || XPG4] (timer_gettime): Likewise.
28089 [XPG3 || XPG4] (timer_getoverrun): Likewise.
28090 [XPG3 || XPG4] (timer_settime): Likewise.
28091 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28092 [XPG3 || XPG4] (getlogin_r): Likewise.
28093 [XPG3 || XPG4] (pread): Likewise.
28094 [XPG3 || XPG4] (pthread_atfork): Likewise.
28095 [XPG3 || XPG4] (pwrite): Likewise.
28098 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28101 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28103 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28104 finalizing MALLSTREAM.
28106 * sysdeps/mach/hurd/syncfs.c: New file.
28108 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28111 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28112 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28113 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28114 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28115 (_nss_dns_gethostbyname4_r): Likewise.
28116 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28117 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28119 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
28122 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28124 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
28126 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28127 * elf/cache.c (print_entry): Print ",AArch64" for
28130 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28131 * elf/cache.c (print_entry): Print ",hard-float" for
28134 2012-11-18 David S. Miller <davem@davemloft.net>
28136 With help from Joseph Myers.
28137 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28139 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28141 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28142 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28144 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28145 * math/libm-test.inc (y0_test): New tests.
28146 (y1_test): New tests.
28147 * sysdeps/i386/fpu/libm-test-ulps: Update.
28148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28151 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
28153 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28155 * configure: Regenerated.
28157 2012-11-17 David S. Miller <davem@davemloft.net>
28160 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28161 nonzero exponents with absolute value below 0x1p-128 to +/-
28164 2012-11-17 Joseph Myers <joseph@codesourcery.com>
28166 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28168 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28170 * posix/getconf-speclist.c: New file.
28171 * posix/posix-envs.def: Likewise.
28172 * posix/confstr.c (START_ENV_GROUP): New macro.
28173 (END_ENV_GROUP): Likewise.
28174 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28175 (KNOWN_PRESENT_ENV_STRING): Likewise.
28176 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28177 (UNKNOWN_ENVIRONMENT): Likewise.
28178 (confstr): Include posix-envs.def instead of handling
28179 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28180 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28181 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28182 (END_ENV_GROUP): Likewise.
28183 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28184 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28185 (UNKNOWN_ENVIRONMENT): Likewise.
28186 (__sysconf): Include posix-envs.def instead of handling associated
28187 cases directly here.
28188 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28189 preprocessing getconf-speclist.c rather than running getconf or
28190 generating empty file.
28192 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
28194 * scripts/check-local-headers.sh: Ignore 'mach' headers.
28196 2012-11-16 Andrej Lajovic <natrij@gmail.com>
28199 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28201 2012-11-16 David S. Miller <davem@davemloft.net>
28203 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28204 smaller than LDBL_EPSILON/2.0L, just return xm1.
28206 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
28208 * elf/tst-array1.c (init): Set constructor priority to 1000.
28209 (fini): Set destructor priority to 1000.
28210 * elf/tst-array2dep.c: Likewise.
28212 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28215 * libio/fileops.c (_IO_new_file_write): Correctly return error.
28216 (_IO_new_file_xsputn): Also return EOF if none of the input
28217 data was written when overflow failed.
28218 * libio/iopadn.c (_IO_padn): Likewise.
28219 * libio/iowpadn.c (_IO_wpadn): Likewise.
28220 * stdio-common/tst-put-error.c: Add copyright notice.
28221 (do_test): Add case for printing padded string.
28222 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28223 _IO_padn returned error.
28224 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28225 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28228 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28230 * libio/libioP.h: Add comment note that the references to C++
28231 bits are now obsolete.
28233 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28235 * math/libm-test.inc (check_complex): Use asprintf.
28237 2012-11-14 Joseph Myers <joseph@codesourcery.com>
28239 * debug/pcprofiledump.c (print_version): Update copyright year.
28240 * malloc/memusagestat.c (print_version): Likewise.
28242 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
28245 * elf/Makefile (tests): Add tst-audit8.
28246 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28247 ($(objpfx)tst-audit8.out): New target.
28248 (tst-audit8-ENV): New variable.
28249 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28250 audit if l_reloc_result is NULL.
28251 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28252 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28253 * elf/tst-audit8.c: New file.
28255 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28257 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28258 * misc/Makefile (CFLAGS-select.c): Define.
28259 * posix/Makefile (CFLAGS-pause.c): Define.
28261 2012-11-13 David S. Miller <davem@davemloft.net>
28263 * crypt/Makefile: Move test targets after toplevel Rules
28264 inclusion. Grab any necessary sysdep routines when linking.
28265 * crypt/md5.c (md5_process_block): Remove define, we will always
28266 name it __md5_process_block.
28267 (md5_finish_ctx): Update md5_process_block call.
28268 (md5_stream): Likewise.
28269 (md5_process_bytes): Likewise.
28270 (md5_process_block): Rename to __md5_process_block and move to ...
28271 * crypt/md5-block.c: ... here.
28272 * crypt/sha256.c (sha256_process_block): Move to ...
28273 * crypt/sha256-block.c: ... here.
28274 * crypt/sha512.c (sha512_process_block): Move to ...
28275 * crypt/sha512-block.c: ... here.
28276 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28278 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28279 * sysdeps/sparc/sparc64/multiarch/Makefile
28280 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28282 (localedef-aux): Add md5 crypto assembler when in locale subdir.
28283 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28285 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28286 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28287 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28288 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28289 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28290 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28291 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28292 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28293 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28295 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28296 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28298 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28300 2012-11-13 Joseph Myers <joseph@codesourcery.com>
28302 * timezone/tzselect.ksh: Update from tzcode git revision
28303 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28304 * timezone/zdump.c: Likewise.
28305 * timezone/zic.c: Likewise.
28306 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28307 in TZVERSION setting, not $(PKGVERSION).
28308 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
28309 REPORT_BUGS_TO settings.
28312 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28315 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28317 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28318 detection to immediately after _FP_ROUND().
28319 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28322 2012-11-11 David S. Miller <davem@davemloft.net>
28324 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28326 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28327 __close rather than their public counterparts.
28329 2012-11-10 Joseph Myers <joseph@codesourcery.com>
28331 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28333 [UNIX98] (sem_timedwait): Do not expect.
28334 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28335 [XPG4 || UNIX98] (sockatmark): Do not expect.
28336 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28337 (clock_getcpuclockid): Do not expect.
28338 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28339 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28341 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28342 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28343 [UNIX98] (vwscanf): Likewise.
28344 [UNIX98] (vswscanf): Likewise.
28346 2012-11-09 Joseph Myers <joseph@codesourcery.com>
28348 * timezone/version.h: Remove file.
28349 * timezone/README: Do not refer to version.h.
28350 * timezone/Makefile ($(objpfx)zic.o): New dependency on
28351 $(objpfx)version.h.
28352 ($(objpfx)zdump.o): Likewise.
28353 ($(objpfx)version.h): New target.
28355 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28357 * timezone/README: Don't mention modification to tzselect.ksh.
28358 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28359 work on unmodified tzselect.ksh. Substitute version numbers in
28362 * Makefile (format-me): Remove.
28363 (INSTALL): Adjust indentation. Use commands directly instead of
28364 using $(format-me).
28366 * aclocal.m4 (ACX_PKGVERSION): New macro.
28367 (ACX_BUGURL): Likewise.
28368 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28369 (PKGVERSION): New AC_DEFINE_UNQUOTED.
28370 (REPORT_BUGS_TO): Likewise.
28371 * configure: Regenerated.
28372 * config.h.in (PKGVERSION): New macro.
28373 (REPORT_BUGS_TO): Likewise.
28374 * config.make.in (PKGVERSION): New variable.
28375 (PKGVERSION_TEXI): Likewise.
28376 (REPORT_BUGS_TO): Likewise.
28377 (REPORT_BUGS_TEXI): Likewise.
28378 * Makefile (format-me): Use -I$(common-objpfx)manual.
28379 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28380 ($(common-objpfx)manual/%): New target.
28381 (manual/%): Remove target.
28382 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28383 (print_version): Use PKGVERSION.
28384 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28385 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28386 and REPORT_BUGS_TO.
28387 ($(objpfx)xtrace): Likewise.
28388 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28389 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28390 (print_version): Use PKGVERSION.
28391 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28392 (do_version): Use PKGVERSION.
28393 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28395 (common-ldd-rewrite): Likewise.
28396 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28397 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28398 (print_version): Use PKGVERSION.
28399 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28400 * elf/pldd.c (argp_program_bug_address): Remove variable.
28401 (more_help): New function.
28402 (argp): Use more_help.
28403 (print_version): Use PKGVERSION.
28404 * elf/sln.c (main): Use PKGVERSION.
28405 (usage): Use REPORT_BUGS_TO.
28406 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28407 (top level): Use PKGVERSION.
28408 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28409 (print_version): Use PKGVERSION.
28410 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28411 (print_version): Use PKGVERSION.
28412 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28413 (print_version): Use PKGVERSION.
28414 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28415 (print_version): Use PKGVERSION.
28416 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28417 (print_version): Use PKGVERSION.
28418 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28419 (print_version): Use PKGVERSION.
28420 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28422 ($(objpfx)memusage): Likewise.
28423 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28424 (do_version): Use PKGVERSION.
28425 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28426 (print_version): Use PKGVERSION.
28427 * malloc/mtrace.pl ($PACKAGE): Remove variable.
28428 ($PKGVERSION): New variable.
28429 ($REPORT_BUGS_TO): Likewise.
28430 (usage): Use $REPORT_BUGS_TO.
28431 (top level): Use $PKGVERSION.
28432 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28433 ($(objpfx)pkgvers.texi): New rule.
28434 ($(objpfx)stamp-pkgvers): Likewise.
28435 * manual/install.texi: Include pkgvers.texi.
28436 (--with-pkgversion): Document new configure option.
28437 (--with-bugurl): Likewise.
28438 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28439 than necessarily for this particular distribution. Use
28440 REPORT_BUGS_TO for where to report bugs.
28441 * INSTALL: Regenerated.
28442 * manual/libc.texinfo: Include pkgvers.texi.
28443 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28444 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28445 (print_version): Use PKGVERSION.
28446 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28447 (print_version): Use PKGVERSION.
28448 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28449 (print_version): Use PKGVERSION.
28450 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28451 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28453 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28454 (print_version): Use PKGVERSION.
28455 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28456 (print_version): Use PKGVERSION.
28457 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28460 * timezone/checktab.awk: Update from tzcode 2012i.
28461 * timezone/ialloc.c: Likewise.
28462 * timezone/private.h: Likewise.
28463 * timezone/scheck.c: Likewise.
28464 * timezone/tzfile.h: Likewise.
28465 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28466 (TZVERSION): Hardcode tzcode version number.
28467 * timezone/zdump.c: Update from tzcode 2012i.
28468 * timezone/zic.c: Likewise.
28469 * timezone/version.h: New file.
28470 * timezone/README: Describe version.h. Update upstream location.
28473 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28474 (mktemp): Enable declaration.
28475 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28476 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28477 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28478 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28480 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28482 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28484 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28486 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28488 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28492 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28493 offset in buffer as u_int32_t not u_long. Consistently use memcpy
28494 for copies of such integer values.
28495 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28496 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28498 2012-11-09 Andreas Jaeger <aj@suse.de>
28500 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28501 definitions and declarations that are provided by
28502 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28504 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28506 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28507 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28508 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28511 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28513 * elf/elf.h: Update comment before AArch64 relocations.
28515 2012-11-07 David S. Miller <davem@davemloft.net>
28517 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28518 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28519 (__start_context): Declare.
28520 (__makecontext_ret): Delete.
28521 (__makecontext): Hook up __start_context instead of
28523 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28524 (sysdep_routines): Add __start_context when in stdlib.
28526 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28528 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28529 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28530 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
28532 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
28533 (READELF): New variable. Use it instead of hardcoded "readelf".
28535 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
28537 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28538 * sysdeps/x86/Makefile: Here.
28539 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28540 * sysdeps/x86/tst-xmmymm.sh: This.
28542 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28544 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28546 [UNIX98] (pthread_barrier_t): Do not expect.
28547 [UNIX98] (pthread_barrierattr_t): Likewise.
28548 [UNIX98] (pthread_spinlock_t): Likewise.
28549 [UNIX98] (pthread_barrier_destroy): Likewise.
28550 [UNIX98] (pthread_barrier_init): Likewise.
28551 [UNIX98] (pthread_barrier_wait): Likewise.
28552 [UNIX98] (pthread_barrierattr_destroy): Likewise.
28553 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28554 [UNIX98] (pthread_barrierattr_init): Likewise.
28555 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28556 [UNIX98] (pthread_getcpuclockid): Likewise.
28557 [UNIX98] (pthread_mutex_timedlock): Likewise.
28558 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28559 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28560 [UNIX98] (pthread_sigmask): Likewise.
28561 [UNIX98] (pthread_spin_destroy): Likewise.
28562 [UNIX98] (pthread_spin_init): Likewise.
28563 [UNIX98] (pthread_spin_lock): Likewise.
28564 [UNIX98] (pthread_spin_trylock): Likewise.
28565 [UNIX98] (pthread_spin_unlock): Likewise.
28566 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28568 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28569 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28570 [XPG3 || XPG4] (pthread_cond_t): Likewise.
28571 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28572 [XPG3 || XPG4] (pthread_key_t): Likewise.
28573 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28574 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28575 [XPG3 || XPG4] (pthread_once_t): Likewise.
28576 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28577 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28578 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28579 [XPG3 || XPG4] (pthread_t): Likewise.
28581 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28583 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28585 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28586 Change function return type to int.
28588 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28589 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28590 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28591 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28592 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28593 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28594 [!POSIX] (posix_madvise): Likewise.
28595 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28597 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28598 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28599 (mode_t): Likewise.
28600 (posix_mem_offset): Likewise.
28601 (posix_typed_mem_get_info): Likewise.
28602 (posix_typed_mem_open): Likewise.
28604 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28605 Change condition to [XOPEN2K8].
28607 * conform/conformtest.pl: Preprocess allow-header data with -x c
28608 instead of from stdin.
28609 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28610 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28611 [C99-based standards] (cerfc): Likewise.
28612 [C99-based standards] (cexp2): Likewise.
28613 [C99-based standards] (cexpm1): Likewise.
28614 [C99-based standards] (clog10): Likewise.
28615 [C99-based standards] (clog1p): Likewise.
28616 [C99-based standards] (clog2): Likewise.
28617 [C99-based standards] (clgamma): Likewise.
28618 [C99-based standards] (ctgamma): Likewise.
28619 [C99-based standards] (cerff): Likewise.
28620 [C99-based standards] (cerfcf): Likewise.
28621 [C99-based standards] (cexp2f): Likewise.
28622 [C99-based standards] (cexpm1f): Likewise.
28623 [C99-based standards] (clog10f): Likewise.
28624 [C99-based standards] (clog1pf): Likewise.
28625 [C99-based standards] (clog2f): Likewise.
28626 [C99-based standards] (clgammaf): Likewise.
28627 [C99-based standards] (ctgammaf): Likewise.
28628 [C99-based standards] (cerfl): Likewise.
28629 [C99-based standards] (cerfcl): Likewise.
28630 [C99-based standards] (cexp2l): Likewise.
28631 [C99-based standards] (cexpm1l): Likewise.
28632 [C99-based standards] (clog10l): Likewise.
28633 [C99-based standards] (clog1pl): Likewise.
28634 [C99-based standards] (clog2l): Likewise.
28635 [C99-based standards] (clgammal): Likewise.
28636 [C99-based standards] (ctgammal): Likewise.
28637 * conform/data/inttypes.h-data [C99-based standards]: Include
28638 stdint.h-data. Remove all expectations for stdint.h contents.
28639 [C99-based standards] (PRI*): Do not allow.
28640 [C99-based standards] (SCN*): Likewise.
28641 [C99-based standards] (*_t): Likewise.
28642 [C99-based-standards] (PRId8): Expect macro.
28643 [C99-based-standards] (PRIi8): Likewise.
28644 [C99-based-standards] (PRIo8): Likewise.
28645 [C99-based-standards] (PRIu8): Likewise.
28646 [C99-based-standards] (PRIx8): Likewise.
28647 [C99-based-standards] (PRIX8): Likewise.
28648 [C99-based-standards] (SCNd8): Likewise.
28649 [C99-based-standards] (SCNi8): Likewise.
28650 [C99-based-standards] (SCNo8): Likewise.
28651 [C99-based-standards] (SCNu8): Likewise.
28652 [C99-based-standards] (SCNx8): Likewise.
28653 [C99-based-standards] (PRIdLEAST8): Likewise.
28654 [C99-based-standards] (PRIiLEAST8): Likewise.
28655 [C99-based-standards] (PRIoLEAST8): Likewise.
28656 [C99-based-standards] (PRIuLEAST8): Likewise.
28657 [C99-based-standards] (PRIxLEAST8): Likewise.
28658 [C99-based-standards] (PRIXLEAST8): Likewise.
28659 [C99-based-standards] (SCNdLEAST8): Likewise.
28660 [C99-based-standards] (SCNiLEAST8): Likewise.
28661 [C99-based-standards] (SCNoLEAST8): Likewise.
28662 [C99-based-standards] (SCNuLEAST8): Likewise.
28663 [C99-based-standards] (SCNxLEAST8): Likewise.
28664 [C99-based-standards] (PRIdFAST8): Likewise.
28665 [C99-based-standards] (PRIiFAST8): Likewise.
28666 [C99-based-standards] (PRIoFAST8): Likewise.
28667 [C99-based-standards] (PRIuFAST8): Likewise.
28668 [C99-based-standards] (PRIxFAST8): Likewise.
28669 [C99-based-standards] (PRIXFAST8): Likewise.
28670 [C99-based-standards] (SCNdFAST8): Likewise.
28671 [C99-based-standards] (SCNiFAST8): Likewise.
28672 [C99-based-standards] (SCNoFAST8): Likewise.
28673 [C99-based-standards] (SCNuFAST8): Likewise.
28674 [C99-based-standards] (SCNxFAST8): Likewise.
28675 [C99-based-standards] (PRId16): Likewise.
28676 [C99-based-standards] (PRIi16): Likewise.
28677 [C99-based-standards] (PRIo16): Likewise.
28678 [C99-based-standards] (PRIu16): Likewise.
28679 [C99-based-standards] (PRIx16): Likewise.
28680 [C99-based-standards] (PRIX16): Likewise.
28681 [C99-based-standards] (SCNd16): Likewise.
28682 [C99-based-standards] (SCNi16): Likewise.
28683 [C99-based-standards] (SCNo16): Likewise.
28684 [C99-based-standards] (SCNu16): Likewise.
28685 [C99-based-standards] (SCNx16): Likewise.
28686 [C99-based-standards] (PRIdLEAST16): Likewise.
28687 [C99-based-standards] (PRIiLEAST16): Likewise.
28688 [C99-based-standards] (PRIoLEAST16): Likewise.
28689 [C99-based-standards] (PRIuLEAST16): Likewise.
28690 [C99-based-standards] (PRIxLEAST16): Likewise.
28691 [C99-based-standards] (PRIXLEAST16): Likewise.
28692 [C99-based-standards] (SCNdLEAST16): Likewise.
28693 [C99-based-standards] (SCNiLEAST16): Likewise.
28694 [C99-based-standards] (SCNoLEAST16): Likewise.
28695 [C99-based-standards] (SCNuLEAST16): Likewise.
28696 [C99-based-standards] (SCNxLEAST16): Likewise.
28697 [C99-based-standards] (PRIdFAST16): Likewise.
28698 [C99-based-standards] (PRIiFAST16): Likewise.
28699 [C99-based-standards] (PRIoFAST16): Likewise.
28700 [C99-based-standards] (PRIuFAST16): Likewise.
28701 [C99-based-standards] (PRIxFAST16): Likewise.
28702 [C99-based-standards] (PRIXFAST16): Likewise.
28703 [C99-based-standards] (SCNdFAST16): Likewise.
28704 [C99-based-standards] (SCNiFAST16): Likewise.
28705 [C99-based-standards] (SCNoFAST16): Likewise.
28706 [C99-based-standards] (SCNuFAST16): Likewise.
28707 [C99-based-standards] (SCNxFAST16): Likewise.
28708 [C99-based-standards] (PRId32): Likewise.
28709 [C99-based-standards] (PRIi32): Likewise.
28710 [C99-based-standards] (PRIo32): Likewise.
28711 [C99-based-standards] (PRIu32): Likewise.
28712 [C99-based-standards] (PRIx32): Likewise.
28713 [C99-based-standards] (PRIX32): Likewise.
28714 [C99-based-standards] (SCNd32): Likewise.
28715 [C99-based-standards] (SCNi32): Likewise.
28716 [C99-based-standards] (SCNo32): Likewise.
28717 [C99-based-standards] (SCNu32): Likewise.
28718 [C99-based-standards] (SCNx32): Likewise.
28719 [C99-based-standards] (PRIdLEAST32): Likewise.
28720 [C99-based-standards] (PRIiLEAST32): Likewise.
28721 [C99-based-standards] (PRIoLEAST32): Likewise.
28722 [C99-based-standards] (PRIuLEAST32): Likewise.
28723 [C99-based-standards] (PRIxLEAST32): Likewise.
28724 [C99-based-standards] (PRIXLEAST32): Likewise.
28725 [C99-based-standards] (SCNdLEAST32): Likewise.
28726 [C99-based-standards] (SCNiLEAST32): Likewise.
28727 [C99-based-standards] (SCNoLEAST32): Likewise.
28728 [C99-based-standards] (SCNuLEAST32): Likewise.
28729 [C99-based-standards] (SCNxLEAST32): Likewise.
28730 [C99-based-standards] (PRIdFAST32): Likewise.
28731 [C99-based-standards] (PRIiFAST32): Likewise.
28732 [C99-based-standards] (PRIoFAST32): Likewise.
28733 [C99-based-standards] (PRIuFAST32): Likewise.
28734 [C99-based-standards] (PRIxFAST32): Likewise.
28735 [C99-based-standards] (PRIXFAST32): Likewise.
28736 [C99-based-standards] (SCNdFAST32): Likewise.
28737 [C99-based-standards] (SCNiFAST32): Likewise.
28738 [C99-based-standards] (SCNoFAST32): Likewise.
28739 [C99-based-standards] (SCNuFAST32): Likewise.
28740 [C99-based-standards] (SCNxFAST32): Likewise.
28741 [C99-based-standards] (PRId64): Likewise.
28742 [C99-based-standards] (PRIi64): Likewise.
28743 [C99-based-standards] (PRIo64): Likewise.
28744 [C99-based-standards] (PRIu64): Likewise.
28745 [C99-based-standards] (PRIx64): Likewise.
28746 [C99-based-standards] (PRIX64): Likewise.
28747 [C99-based-standards] (SCNd64): Likewise.
28748 [C99-based-standards] (SCNi64): Likewise.
28749 [C99-based-standards] (SCNo64): Likewise.
28750 [C99-based-standards] (SCNu64): Likewise.
28751 [C99-based-standards] (SCNx64): Likewise.
28752 [C99-based-standards] (PRIdLEAST64): Likewise.
28753 [C99-based-standards] (PRIiLEAST64): Likewise.
28754 [C99-based-standards] (PRIoLEAST64): Likewise.
28755 [C99-based-standards] (PRIuLEAST64): Likewise.
28756 [C99-based-standards] (PRIxLEAST64): Likewise.
28757 [C99-based-standards] (PRIXLEAST64): Likewise.
28758 [C99-based-standards] (SCNdLEAST64): Likewise.
28759 [C99-based-standards] (SCNiLEAST64): Likewise.
28760 [C99-based-standards] (SCNoLEAST64): Likewise.
28761 [C99-based-standards] (SCNuLEAST64): Likewise.
28762 [C99-based-standards] (SCNxLEAST64): Likewise.
28763 [C99-based-standards] (PRIdFAST64): Likewise.
28764 [C99-based-standards] (PRIiFAST64): Likewise.
28765 [C99-based-standards] (PRIoFAST64): Likewise.
28766 [C99-based-standards] (PRIuFAST64): Likewise.
28767 [C99-based-standards] (PRIxFAST64): Likewise.
28768 [C99-based-standards] (PRIXFAST64): Likewise.
28769 [C99-based-standards] (SCNdFAST64): Likewise.
28770 [C99-based-standards] (SCNiFAST64): Likewise.
28771 [C99-based-standards] (SCNoFAST64): Likewise.
28772 [C99-based-standards] (SCNuFAST64): Likewise.
28773 [C99-based-standards] (SCNxFAST64): Likewise.
28774 [C99-based-standards] (PRIdMAX): Likewise.
28775 [C99-based-standards] (PRIiMAX): Likewise.
28776 [C99-based-standards] (PRIoMAX): Likewise.
28777 [C99-based-standards] (PRIuMAX): Likewise.
28778 [C99-based-standards] (PRIxMAX): Likewise.
28779 [C99-based-standards] (PRIXMAX): Likewise.
28780 [C99-based-standards] (SCNdMAX): Likewise.
28781 [C99-based-standards] (SCNiMAX): Likewise.
28782 [C99-based-standards] (SCNoMAX): Likewise.
28783 [C99-based-standards] (SCNuMAX): Likewise.
28784 [C99-based-standards] (SCNxMAX): Likewise.
28785 [C99-based-standards] (PRIdPTR): Likewise.
28786 [C99-based-standards] (PRIiPTR): Likewise.
28787 [C99-based-standards] (PRIoPTR): Likewise.
28788 [C99-based-standards] (PRIuPTR): Likewise.
28789 [C99-based-standards] (PRIxPTR): Likewise.
28790 [C99-based-standards] (PRIXPTR): Likewise.
28791 [C99-based-standards] (SCNdPTR): Likewise.
28792 [C99-based-standards] (SCNiPTR): Likewise.
28793 [C99-based-standards] (SCNoPTR): Likewise.
28794 [C99-based-standards] (SCNuPTR): Likewise.
28795 [C99-based-standards] (SCNxPTR): Likewise.
28796 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28798 * conform/data/stdint.h-data: Update comments to clarify
28800 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28802 [C99-based standards] (INT8_MAX): Likewise.
28803 [C99-based standards] (INT16_MIN): Likewise.
28804 [C99-based standards] (INT16_MAX): Likewise.
28805 [C99-based standards] (INT32_MIN): Likewise.
28806 [C99-based standards] (INT32_MAX): Likewise.
28807 [C99-based standards] (INT64_MIN): Likewise.
28808 [C99-based standards] (INT64_MAX): Likewise.
28809 [C99-based standards] (UINT8_MAX): Likewise.
28810 [C99-based standards] (UINT16_MAX): Likewise.
28811 [C99-based standards] (UINT32_MAX): Likewise.
28812 [C99-based standards] (UINT64_MAX): Likewise.
28813 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28814 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28815 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28816 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28817 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28818 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28819 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28820 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28821 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28822 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28823 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28824 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28825 [C99-based standards] (INT_FAST8_MIN): Likewise.
28826 [C99-based standards] (INT_FAST8_MAX): Likewise.
28827 [C99-based standards] (INT_FAST16_MIN): Likewise.
28828 [C99-based standards] (INT_FAST16_MAX): Likewise.
28829 [C99-based standards] (INT_FAST32_MIN): Likewise.
28830 [C99-based standards] (INT_FAST32_MAX): Likewise.
28831 [C99-based standards] (INT_FAST64_MIN): Likewise.
28832 [C99-based standards] (INT_FAST64_MAX): Likewise.
28833 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28834 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28835 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28836 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28837 [C99-based standards] (INTPTR_MIN): Likewise.
28838 [C99-based standards] (INTPTR_MAX): Likewise.
28839 [C99-based standards] (UINTPTR_MAX): Likewise.
28840 [C99-based standards] (INTMAX_MIN): Likewise.
28841 [C99-based standards] (INTMAX_MAX): Likewise.
28842 [C99-based standards] (UINTMAX_MAX): Likewise.
28843 [C99-based standards] (PTRDIFF_MIN): Likewise.
28844 [C99-based standards] (PTRDIFF_MAX): Likewise.
28845 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28846 [C99-based standards] (SIZE_MAX): Likewise.
28847 [C99-based standards] (WCHAR_MAX): Likewise.
28848 [C99-based standards] (WINT_MAX): Likewise.
28849 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28850 constraint on value.
28851 [C99-based standards] (WCHAR_MIN): Likewise.
28852 [C99-based standards] (WINT_MIN): Likewise.
28853 [C99-based standards] (*_t): Allow.
28854 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28855 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28856 Include math.h-data and complex.h-data. Remove all expectations
28857 of math.h and complex.h contents.
28858 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28860 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28861 (struct tm): Expect tag.
28862 [C99-based-standards] (wcstof): Expect function.
28863 [C99-based-standards] (wcstold): Likewise.
28864 [C99-based-standards] (wcstoll): Likewise.
28865 [C99-based-standards] (wcstoull): Likewise.
28866 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28867 macro-int-constant. Specify type.
28868 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28869 constraint on value.
28870 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28872 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28874 [ISO C standards]: Do not allow headers.
28875 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28876 wcs[abcdefghijklmnopqrstuvwxyz]*.
28877 [ISO C standards] (*_t): Do not allow.
28878 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28880 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28881 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28883 [ISO C standards]: Do not allow headers.
28884 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28885 is[abcdefghijklmnopqrstuvwxyz]*.
28886 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28887 to[abcdefghijklmnopqrstuvwxyz]*.
28888 [ISO C standards] (*_t): Do not allow.
28889 * conform/data/stdalign.h-data: New file.
28890 * conform/data/stdbool.h-data: Likewise.
28891 * conform/data/stdnoreturn.h-data: Likewise.
28893 2012-11-07 Roland McGrath <roland@hack.frob.com>
28896 * manual/filesys.texi (Directory Entries): Typo fix.
28897 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28899 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28901 * elf/elf.h (EM_AARCH64): New macro.
28902 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28903 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28904 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28905 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28906 (R_AARCH64_TLSDESC): Likewise.
28907 (NT_ARM_TLS): Likewise.
28908 (NT_ARM_HW_BREAK): Likewise.
28909 (NT_ARM_HW_WATCH): Likewise.
28911 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28914 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28915 (__ieee754_powl): Saturate nonzero exponents with absolute value
28916 below 0x1p-79 to +/- 0x1p-79.
28917 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28918 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28919 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28920 nonzero exponents with absolute value below 0x1p-32 to +/-
28922 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28923 (__ieee754_powl): Saturate nonzero exponents with absolute value
28924 below 0x1p-79 to +/- 0x1p-79.
28925 * math/libm-test.inc (pow_test): Add more tests.
28927 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28929 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28930 _dl_s390_cap_flags with kernel. Increase string length.
28931 (_dl_s390_platforms): Add z196 and zEC12.
28933 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28935 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28936 Change XOPEN21K to XOPEN2K.
28938 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28940 * string/memmove.c: Use memcpy when possible.
28942 2012-11-06 Andreas Jaeger <aj@suse.de>
28944 * po/eo.po: Update from translation team.
28946 2012-11-06 Joseph Myers <joseph@codesourcery.com>
28949 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28950 exponent and small x and y exponents, scale x or y up. Increase
28951 by 2 the exponent used in scaling up.
28952 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28953 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28954 * math/libm-test.inc (fma_test): Add more tests.
28955 (fma_test_towardzero): Likewise.
28956 (fma_test_downward): Likewise.
28957 (fma_test_upward): Likewise.
28959 2012-11-05 Joseph Myers <joseph@codesourcery.com>
28962 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28966 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28967 namespace for names of struct fields.
28968 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28970 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28971 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28973 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28976 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28978 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28980 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28984 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28987 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28990 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28991 definitely overflow as x * y not x * y + z.
28992 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28993 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28994 * math/libm-test.inc (fma_test): Add more tests.
28995 (fma_test_towardzero): Likewise.
28996 (fma_test_downward): Likewise.
28997 (fma_test_upward): Likewise.
28999 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29003 * include/stub-tag.h: Remove file.
29004 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29006 * manual/maint.texi (Porting): Don't reference it.
29007 * Makerules ($(objpfx)stubs): Likewise.
29008 * dirent/closedir.c: Don't include <stub-tag.h>.
29009 * dirent/dirfd.c: Likewise.
29010 * dirent/fdopendir.c: Likewise.
29011 * dirent/getdents.c: Likewise.
29012 * dirent/getdents64.c: Likewise.
29013 * dirent/opendir.c: Likewise.
29014 * dirent/readdir.c: Likewise.
29015 * dirent/readdir64.c: Likewise.
29016 * dirent/readdir64_r.c: Likewise.
29017 * dirent/readdir_r.c: Likewise.
29018 * dirent/rewinddir.c: Likewise.
29019 * dirent/seekdir.c: Likewise.
29020 * dirent/telldir.c: Likewise.
29021 * gmon/profil.c: Likewise.
29022 * grp/setgroups.c: Likewise.
29023 * inet/if_index.c: Likewise.
29024 * io/access.c: Likewise.
29025 * io/chdir.c: Likewise.
29026 * io/chmod.c: Likewise.
29027 * io/chown.c: Likewise.
29028 * io/close.c: Likewise.
29029 * io/dup.c: Likewise.
29030 * io/dup2.c: Likewise.
29031 * io/dup3.c: Likewise.
29032 * io/euidaccess.c: Likewise.
29033 * io/faccessat.c: Likewise.
29034 * io/fchdir.c: Likewise.
29035 * io/fchmod.c: Likewise.
29036 * io/fchmodat.c: Likewise.
29037 * io/fchown.c: Likewise.
29038 * io/fchownat.c: Likewise.
29039 * io/fcntl.c: Likewise.
29040 * io/flock.c: Likewise.
29041 * io/fstatfs.c: Likewise.
29042 * io/fstatfs64.c: Likewise.
29043 * io/fstatvfs.c: Likewise.
29044 * io/fstatvfs64.c: Likewise.
29045 * io/futimens.c: Likewise.
29046 * io/fxstat.c: Likewise.
29047 * io/fxstat64.c: Likewise.
29048 * io/fxstatat.c: Likewise.
29049 * io/fxstatat64.c: Likewise.
29050 * io/getcwd.c: Likewise.
29051 * io/isatty.c: Likewise.
29052 * io/lchmod.c: Likewise.
29053 * io/lchown.c: Likewise.
29054 * io/link.c: Likewise.
29055 * io/linkat.c: Likewise.
29056 * io/lseek.c: Likewise.
29057 * io/lseek64.c: Likewise.
29058 * io/lxstat64.c: Likewise.
29059 * io/mkdir.c: Likewise.
29060 * io/mkdirat.c: Likewise.
29061 * io/mkfifo.c: Likewise.
29062 * io/mkfifoat.c: Likewise.
29063 * io/open.c: Likewise.
29064 * io/open64.c: Likewise.
29065 * io/openat.c: Likewise.
29066 * io/openat64.c: Likewise.
29067 * io/pipe.c: Likewise.
29068 * io/pipe2.c: Likewise.
29069 * io/poll.c: Likewise.
29070 * io/posix_fadvise.c: Likewise.
29071 * io/posix_fadvise64.c: Likewise.
29072 * io/posix_fallocate.c: Likewise.
29073 * io/posix_fallocate64.c: Likewise.
29074 * io/read.c: Likewise.
29075 * io/readlink.c: Likewise.
29076 * io/readlinkat.c: Likewise.
29077 * io/rmdir.c: Likewise.
29078 * io/sendfile.c: Likewise.
29079 * io/sendfile64.c: Likewise.
29080 * io/statfs.c: Likewise.
29081 * io/statfs64.c: Likewise.
29082 * io/statvfs.c: Likewise.
29083 * io/statvfs64.c: Likewise.
29084 * io/symlink.c: Likewise.
29085 * io/symlinkat.c: Likewise.
29086 * io/ttyname.c: Likewise.
29087 * io/ttyname_r.c: Likewise.
29088 * io/umask.c: Likewise.
29089 * io/unlink.c: Likewise.
29090 * io/unlinkat.c: Likewise.
29091 * io/utime.c: Likewise.
29092 * io/utimensat.c: Likewise.
29093 * io/write.c: Likewise.
29094 * io/xmknod.c: Likewise.
29095 * io/xmknodat.c: Likewise.
29096 * io/xstat.c: Likewise.
29097 * io/xstat64.c: Likewise.
29098 * login/getpt.c: Likewise.
29099 * login/grantpt.c: Likewise.
29100 * login/unlockpt.c: Likewise.
29101 * math/e_acoshl.c: Likewise.
29102 * math/e_acosl.c: Likewise.
29103 * math/e_asinl.c: Likewise.
29104 * math/e_atan2l.c: Likewise.
29105 * math/e_atanhl.c: Likewise.
29106 * math/e_coshl.c: Likewise.
29107 * math/e_expl.c: Likewise.
29108 * math/e_fmodl.c: Likewise.
29109 * math/e_gammal_r.c: Likewise.
29110 * math/e_hypotl.c: Likewise.
29111 * math/e_j0l.c: Likewise.
29112 * math/e_j1l.c: Likewise.
29113 * math/e_jnl.c: Likewise.
29114 * math/e_lgammal_r.c: Likewise.
29115 * math/e_log10l.c: Likewise.
29116 * math/e_log2l.c: Likewise.
29117 * math/e_logl.c: Likewise.
29118 * math/e_powl.c: Likewise.
29119 * math/e_rem_pio2l.c: Likewise.
29120 * math/e_sinhl.c: Likewise.
29121 * math/e_sqrtl.c: Likewise.
29122 * math/fclrexcpt.c: Likewise.
29123 * math/fedisblxcpt.c: Likewise.
29124 * math/feenablxcpt.c: Likewise.
29125 * math/fegetenv.c: Likewise.
29126 * math/fegetexcept.c: Likewise.
29127 * math/fegetround.c: Likewise.
29128 * math/feholdexcpt.c: Likewise.
29129 * math/fesetenv.c: Likewise.
29130 * math/fesetround.c: Likewise.
29131 * math/feupdateenv.c: Likewise.
29132 * math/fgetexcptflg.c: Likewise.
29133 * math/fraiseexcpt.c: Likewise.
29134 * math/fsetexcptflg.c: Likewise.
29135 * math/ftestexcept.c: Likewise.
29136 * math/k_cosl.c: Likewise.
29137 * math/k_rem_pio2l.c: Likewise.
29138 * math/k_sinl.c: Likewise.
29139 * math/k_tanl.c: Likewise.
29140 * math/s_asinhl.c: Likewise.
29141 * math/s_atanl.c: Likewise.
29142 * math/s_cbrtl.c: Likewise.
29143 * math/s_erfl.c: Likewise.
29144 * math/s_expm1l.c: Likewise.
29145 * math/s_log1pl.c: Likewise.
29146 * math/s_tanhl.c: Likewise.
29147 * misc/acct.c: Likewise.
29148 * misc/brk.c: Likewise.
29149 * misc/chflags.c: Likewise.
29150 * misc/chroot.c: Likewise.
29151 * misc/fchflags.c: Likewise.
29152 * misc/fgetxattr.c: Likewise.
29153 * misc/flistxattr.c: Likewise.
29154 * misc/fremovexattr.c: Likewise.
29155 * misc/fsetxattr.c: Likewise.
29156 * misc/fsync.c: Likewise.
29157 * misc/ftruncate.c: Likewise.
29158 * misc/futimes.c: Likewise.
29159 * misc/futimesat.c: Likewise.
29160 * misc/getdomain.c: Likewise.
29161 * misc/getdtsz.c: Likewise.
29162 * misc/gethostid.c: Likewise.
29163 * misc/gethostname.c: Likewise.
29164 * misc/getloadavg.c: Likewise.
29165 * misc/getpagesize.c: Likewise.
29166 * misc/getsysstats.c: Likewise.
29167 * misc/getxattr.c: Likewise.
29168 * misc/gtty.c: Likewise.
29169 * misc/ioctl.c: Likewise.
29170 * misc/lgetxattr.c: Likewise.
29171 * misc/listxattr.c: Likewise.
29172 * misc/llistxattr.c: Likewise.
29173 * misc/lremovexattr.c: Likewise.
29174 * misc/lsetxattr.c: Likewise.
29175 * misc/lutimes.c: Likewise.
29176 * misc/madvise.c: Likewise.
29177 * misc/mincore.c: Likewise.
29178 * misc/mlock.c: Likewise.
29179 * misc/mlockall.c: Likewise.
29180 * misc/mmap.c: Likewise.
29181 * misc/mprotect.c: Likewise.
29182 * misc/msync.c: Likewise.
29183 * misc/munlock.c: Likewise.
29184 * misc/munlockall.c: Likewise.
29185 * misc/munmap.c: Likewise.
29186 * misc/preadv.c: Likewise.
29187 * misc/preadv64.c: Likewise.
29188 * misc/ptrace.c: Likewise.
29189 * misc/pwritev.c: Likewise.
29190 * misc/pwritev64.c: Likewise.
29191 * misc/readv.c: Likewise.
29192 * misc/reboot.c: Likewise.
29193 * misc/remap_file_pages.c: Likewise.
29194 * misc/removexattr.c: Likewise.
29195 * misc/revoke.c: Likewise.
29196 * misc/select.c: Likewise.
29197 * misc/setdomain.c: Likewise.
29198 * misc/setegid.c: Likewise.
29199 * misc/seteuid.c: Likewise.
29200 * misc/sethostid.c: Likewise.
29201 * misc/sethostname.c: Likewise.
29202 * misc/setregid.c: Likewise.
29203 * misc/setreuid.c: Likewise.
29204 * misc/setxattr.c: Likewise.
29205 * misc/sstk.c: Likewise.
29206 * misc/stty.c: Likewise.
29207 * misc/swapoff.c: Likewise.
29208 * misc/swapon.c: Likewise.
29209 * misc/sync.c: Likewise.
29210 * misc/syncfs.c: Likewise.
29211 * misc/syscall.c: Likewise.
29212 * misc/truncate.c: Likewise.
29213 * misc/ualarm.c: Likewise.
29214 * misc/usleep.c: Likewise.
29215 * misc/ustat.c: Likewise.
29216 * misc/utimes.c: Likewise.
29217 * misc/vhangup.c: Likewise.
29218 * misc/writev.c: Likewise.
29219 * posix/_exit.c: Likewise.
29220 * posix/alarm.c: Likewise.
29221 * posix/execve.c: Likewise.
29222 * posix/fexecve.c: Likewise.
29223 * posix/fork.c: Likewise.
29224 * posix/fpathconf.c: Likewise.
29225 * posix/getaddrinfo.c: Likewise.
29226 * posix/getegid.c: Likewise.
29227 * posix/geteuid.c: Likewise.
29228 * posix/getgid.c: Likewise.
29229 * posix/getgroups.c: Likewise.
29230 * posix/getlogin.c: Likewise.
29231 * posix/getlogin_r.c: Likewise.
29232 * posix/getpgid.c: Likewise.
29233 * posix/getpid.c: Likewise.
29234 * posix/getppid.c: Likewise.
29235 * posix/getresgid.c: Likewise.
29236 * posix/getresuid.c: Likewise.
29237 * posix/getsid.c: Likewise.
29238 * posix/getuid.c: Likewise.
29239 * posix/glob64.c: Likewise.
29240 * posix/nanosleep.c: Likewise.
29241 * posix/pathconf.c: Likewise.
29242 * posix/pause.c: Likewise.
29243 * posix/posix_madvise.c: Likewise.
29244 * posix/pread.c: Likewise.
29245 * posix/pread64.c: Likewise.
29246 * posix/pwrite.c: Likewise.
29247 * posix/pwrite64.c: Likewise.
29248 * posix/sched_getaffinity.c: Likewise.
29249 * posix/sched_getp.c: Likewise.
29250 * posix/sched_gets.c: Likewise.
29251 * posix/sched_primax.c: Likewise.
29252 * posix/sched_primin.c: Likewise.
29253 * posix/sched_rr_gi.c: Likewise.
29254 * posix/sched_setaffinity.c: Likewise.
29255 * posix/sched_setp.c: Likewise.
29256 * posix/sched_sets.c: Likewise.
29257 * posix/sched_yield.c: Likewise.
29258 * posix/setgid.c: Likewise.
29259 * posix/setlogin.c: Likewise.
29260 * posix/setpgid.c: Likewise.
29261 * posix/setresgid.c: Likewise.
29262 * posix/setresuid.c: Likewise.
29263 * posix/setsid.c: Likewise.
29264 * posix/setuid.c: Likewise.
29265 * posix/sleep.c: Likewise.
29266 * posix/spawni.c: Likewise.
29267 * posix/sysconf.c: Likewise.
29268 * posix/times.c: Likewise.
29269 * posix/wait.c: Likewise.
29270 * posix/wait3.c: Likewise.
29271 * posix/wait4.c: Likewise.
29272 * posix/waitpid.c: Likewise.
29273 * resolv/gai_sigqueue.c: Likewise.
29274 * resource/getpriority.c: Likewise.
29275 * resource/getrlimit.c: Likewise.
29276 * resource/getrusage.c: Likewise.
29277 * resource/nice.c: Likewise.
29278 * resource/setpriority.c: Likewise.
29279 * resource/setrlimit.c: Likewise.
29280 * resource/ulimit.c: Likewise.
29281 * rt/aio_cancel.c: Likewise.
29282 * rt/aio_fsync.c: Likewise.
29283 * rt/aio_read.c: Likewise.
29284 * rt/aio_sigqueue.c: Likewise.
29285 * rt/aio_suspend.c: Likewise.
29286 * rt/aio_write.c: Likewise.
29287 * rt/clock_getres.c: Likewise.
29288 * rt/clock_gettime.c: Likewise.
29289 * rt/clock_nanosleep.c: Likewise.
29290 * rt/clock_settime.c: Likewise.
29291 * rt/lio_listio.c: Likewise.
29292 * rt/mq_close.c: Likewise.
29293 * rt/mq_getattr.c: Likewise.
29294 * rt/mq_notify.c: Likewise.
29295 * rt/mq_open.c: Likewise.
29296 * rt/mq_receive.c: Likewise.
29297 * rt/mq_send.c: Likewise.
29298 * rt/mq_setattr.c: Likewise.
29299 * rt/mq_timedreceive.c: Likewise.
29300 * rt/mq_timedsend.c: Likewise.
29301 * rt/mq_unlink.c: Likewise.
29302 * rt/shm_open.c: Likewise.
29303 * rt/shm_unlink.c: Likewise.
29304 * rt/timer_create.c: Likewise.
29305 * rt/timer_delete.c: Likewise.
29306 * rt/timer_getoverr.c: Likewise.
29307 * rt/timer_gettime.c: Likewise.
29308 * rt/timer_settime.c: Likewise.
29309 * setjmp/__longjmp.c: Likewise.
29310 * setjmp/setjmp.c: Likewise.
29311 * signal/kill.c: Likewise.
29312 * signal/killpg.c: Likewise.
29313 * signal/raise.c: Likewise.
29314 * signal/sigaction.c: Likewise.
29315 * signal/sigaltstack.c: Likewise.
29316 * signal/sigblock.c: Likewise.
29317 * signal/sigignore.c: Likewise.
29318 * signal/sigintr.c: Likewise.
29319 * signal/signal.c: Likewise.
29320 * signal/sigpause.c: Likewise.
29321 * signal/sigpending.c: Likewise.
29322 * signal/sigqueue.c: Likewise.
29323 * signal/sigreturn.c: Likewise.
29324 * signal/sigset.c: Likewise.
29325 * signal/sigsetmask.c: Likewise.
29326 * signal/sigstack.c: Likewise.
29327 * signal/sigsuspend.c: Likewise.
29328 * signal/sigtimedwait.c: Likewise.
29329 * signal/sigvec.c: Likewise.
29330 * signal/sigwait.c: Likewise.
29331 * signal/sigwaitinfo.c: Likewise.
29332 * signal/sysv_signal.c: Likewise.
29333 * socket/accept.c: Likewise.
29334 * socket/accept4.c: Likewise.
29335 * socket/bind.c: Likewise.
29336 * socket/connect.c: Likewise.
29337 * socket/getpeername.c: Likewise.
29338 * socket/getsockname.c: Likewise.
29339 * socket/getsockopt.c: Likewise.
29340 * socket/isfdtype.c: Likewise.
29341 * socket/listen.c: Likewise.
29342 * socket/recv.c: Likewise.
29343 * socket/recvfrom.c: Likewise.
29344 * socket/recvmsg.c: Likewise.
29345 * socket/send.c: Likewise.
29346 * socket/sendmsg.c: Likewise.
29347 * socket/sendto.c: Likewise.
29348 * socket/setsockopt.c: Likewise.
29349 * socket/shutdown.c: Likewise.
29350 * socket/sockatmark.c: Likewise.
29351 * socket/socket.c: Likewise.
29352 * socket/socketpair.c: Likewise.
29353 * stdio-common/ctermid.c: Likewise.
29354 * stdio-common/cuserid.c: Likewise.
29355 * stdio-common/remove.c: Likewise.
29356 * stdio-common/rename.c: Likewise.
29357 * stdio-common/renameat.c: Likewise.
29358 * stdio-common/tempname.c: Likewise.
29359 * stdlib/getcontext.c: Likewise.
29360 * stdlib/makecontext.c: Likewise.
29361 * stdlib/setcontext.c: Likewise.
29362 * stdlib/swapcontext.c: Likewise.
29363 * stdlib/system.c: Likewise.
29364 * streams/fattach.c: Likewise.
29365 * streams/fdetach.c: Likewise.
29366 * streams/getmsg.c: Likewise.
29367 * streams/getpmsg.c: Likewise.
29368 * streams/putmsg.c: Likewise.
29369 * streams/putpmsg.c: Likewise.
29370 * sysdeps/unix/bsd/getpt.c: Likewise.
29371 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29372 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29373 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29376 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29377 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29378 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29379 * sysvipc/msgctl.c: Likewise.
29380 * sysvipc/msgget.c: Likewise.
29381 * sysvipc/msgrcv.c: Likewise.
29382 * sysvipc/msgsnd.c: Likewise.
29383 * sysvipc/semctl.c: Likewise.
29384 * sysvipc/semget.c: Likewise.
29385 * sysvipc/semop.c: Likewise.
29386 * sysvipc/semtimedop.c: Likewise.
29387 * sysvipc/shmat.c: Likewise.
29388 * sysvipc/shmctl.c: Likewise.
29389 * sysvipc/shmdt.c: Likewise.
29390 * sysvipc/shmget.c: Likewise.
29391 * termios/tcdrain.c: Likewise.
29392 * termios/tcflow.c: Likewise.
29393 * termios/tcflush.c: Likewise.
29394 * termios/tcgetattr.c: Likewise.
29395 * termios/tcgetpgrp.c: Likewise.
29396 * termios/tcsendbrk.c: Likewise.
29397 * termios/tcsetattr.c: Likewise.
29398 * termios/tcsetpgrp.c: Likewise.
29399 * time/adjtime.c: Likewise.
29400 * time/clock.c: Likewise.
29401 * time/getitimer.c: Likewise.
29402 * time/gettimeofday.c: Likewise.
29403 * time/setitimer.c: Likewise.
29404 * time/settimeofday.c: Likewise.
29405 * time/stime.c: Likewise.
29406 * time/time.c: Likewise.
29408 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
29410 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29413 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29415 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29417 2012-11-03 Joseph Myers <joseph@codesourcery.com>
29420 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29421 FE_TONEAREST before applying Dekker multiplication and Knuth
29422 addition. Clear inexact exceptions and check for exact zero
29423 results afterwards.
29424 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29425 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29426 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29427 * math/libm-test.inc (fma_test): Add more tests.
29428 (fma_test_towardzero): Likewise.
29429 (fma_test_downward): Likewise.
29430 (fma_test_upward): Likewise.
29431 * sysdeps/generic/math_private.h (default_libc_fesetround): New
29433 (libc_fesetround): New macro.
29434 (libc_fesetroundf): Likewise.
29435 (libc_fesetroundl): Likewise.
29436 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29438 (libc_fesetround_387): Likewise.
29439 (libc_fesetroundf): New macro.
29440 (libc_fesetround): Likewise.
29441 (libc_fesetroundl): Likewise.
29442 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29444 (libc_fesetroundf): New macro.
29445 (libc_fesetround): Likewise.
29446 (libc_fesetroundl): Likewise.
29447 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29448 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29449 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29451 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29452 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29454 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29455 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29457 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29461 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29462 integer constant usable in #if and use that to give value to enum
29464 (FE_DIVBYZERO): Likewise.
29465 (FE_UNDERFLOW): Likewise.
29466 (FE_OVERFLOW): Likewise.
29467 (FE_INVALID): Likewise.
29468 (FE_INVALID_SNAN): Likewise.
29469 (FE_INVALID_ISI): Likewise.
29470 (FE_INVALID_IDI): Likewise.
29471 (FE_INVALID_ZDZ): Likewise.
29472 (FE_INVALID_IMZ): Likewise.
29473 (FE_INVALID_COMPARE): Likewise.
29474 (FE_INVALID_SOFTWARE): Likewise.
29475 (FE_INVALID_SQRT): Likewise.
29476 (FE_INVALID_INTEGER_CONVERSION): Likewise.
29477 (FE_TONEAREST): Likewise.
29478 (FE_TOWARDZERO): Likewise.
29479 (FE_UPWARD): Likewise.
29480 (FE_DOWNWARD): Likewise.
29481 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29482 (FE_DIVBYZERO): Likewise.
29483 (FE_OVERFLOW): Likewise.
29484 (FE_UNDERFLOW): Likewise.
29485 (FE_INEXACT): Likewise.
29486 (FE_TONEAREST): Likewise.
29487 (FE_DOWNWARD): Likewise.
29488 (FE_UPWARD): Likewise.
29489 (FE_TOWARDZERO): Likewise.
29490 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29491 (FE_UNDERFLOW): Likewise.
29492 (FE_OVERFLOW): Likewise.
29493 (FE_DIVBYZERO): Likewise.
29494 (FE_INVALID): Likewise.
29495 (FE_TONEAREST): Likewise.
29496 (FE_TOWARDZERO): Likewise.
29497 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29498 (FE_OVERFLOW): Likewise.
29499 (FE_UNDERFLOW): Likewise.
29500 (FE_DIVBYZERO): Likewise.
29501 (FE_INEXACT): Likewise.
29502 (FE_TONEAREST): Likewise.
29503 (FE_TOWARDZERO): Likewise.
29504 (FE_UPWARD): Likewise.
29505 (FE_DOWNWARD): Likewise.
29506 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29507 (FE_DIVBYZERO): Likewise.
29508 (FE_OVERFLOW): Likewise.
29509 (FE_UNDERFLOW): Likewise.
29510 (FE_INEXACT): Likewise.
29511 (FE_TONEAREST): Likewise.
29512 (FE_DOWNWARD): Likewise.
29513 (FE_UPWARD): Likewise.
29514 (FE_TOWARDZERO): Likewise.
29516 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
29518 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29520 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
29522 * scripts/cross-test-ssh.sh (command): Use newlines to separate
29523 commands. Quote $PWD.
29524 (blacklist_exports): Don't use remove_newlines. Replace "declare
29526 (remove_newlines): Remove.
29528 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
29530 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29531 * stdlib/stdlib.h (atof): Moved to ...
29532 * include/bits/stdlib-float.h: Here. New file.
29533 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29534 * stdlib/bits/stdlib-float.h: New file.
29535 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29537 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29540 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29542 * conform/conformtest.pl (@headers): Add fenv.h.
29543 * conform/data/fenv.h-data: New file.
29544 * include/fenv.h [_ISOMAC]: Disable all contents of file except
29545 include of <math/fenv.h>.
29547 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29548 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29549 && !UNIX98]. Enables tests for XOPEN2K8.
29550 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29551 POSIX2008]: Likewise.
29553 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29554 (struct rusage): Do not expect type or its members.
29557 * math/math.h (FP_NAN): Define macro to integer constant usable in
29558 #if and use that to give value to enum constant.
29559 (FP_INFINITE): Likewise.
29560 (FP_ZERO): Likewise.
29561 (FP_SUBNORMAL): Likewise.
29562 (FP_NORMAL): Likewise.
29564 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
29566 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29567 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29570 2012-11-02 Roland McGrath <roland@hack.frob.com>
29572 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29573 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29574 autoconf-time if not.
29575 * configure.in: Remove AC_PREREQ.
29577 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29579 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29580 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29581 of the internal implementation.
29583 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29585 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29586 except include of <misc/sys/syslog.h>.
29588 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29591 function returns with a NULL context exit with zero.
29593 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29595 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29597 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
29599 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29600 (run_program_cmd): This.
29601 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29602 (tst_langinfo): New variable. Use it.
29604 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
29606 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29607 floating point opcodes.
29609 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29611 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29614 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29616 * sysdeps/mach/hurd/powerpc: Remove directory.
29617 * sysdeps/mach/powerpc: Likewise.
29619 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29621 * scripts/check-local-headers.sh: Ignore c++ headers.
29623 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29625 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29626 __libc_cleanup_region_start argument.
29628 2012-11-01 Joseph Myers <joseph@codesourcery.com>
29632 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29633 x * y using scaling, not as x * y + z.
29634 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29635 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29636 * math/libm-test.inc (fma_test): Add more tests.
29637 (fma_test_towardzero): Likewise.
29638 (fma_test_downward): Likewise.
29639 (fma_test_upward): Likewise.
29641 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29643 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29645 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29647 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29650 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
29652 * rt/tst-shm.c (worker): Correct checking for mmap failure.
29654 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29661 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29664 Fix the order of the list for glibc 2.17.
29665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29668 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29672 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29675 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29676 for low part of x being zero before using __atanl (y).
29677 * math/libm-test.inc (atan2_test): Add another test.
29679 * manual/install.texi (Configuring and compiling): Document
29680 general use of test-wrapper and test-wrapper-env.
29681 * INSTALL: Regenerated.
29683 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29684 (__fma): Do not extract and scale down low bits on after-rounding
29685 systems when result rounded to normal precision would have normal
29687 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29688 (__fmal): Do not extract and scale down low bits on after-rounding
29689 systems when result rounded to normal precision would have normal
29691 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29692 (__fmal): Do not extract and scale down low bits on after-rounding
29693 systems when result rounded to normal precision would have normal
29695 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29697 (fma_test): Add more tests.
29698 (fma_test_towardzero): Likewise.
29699 (fma_test_downward): Likewise.
29700 (fma_test_upward): Likewise.
29702 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
29704 * sysdeps/i386/tininess.h: Renamed to ...
29705 * sysdeps/x86/tininess.h: This.
29706 * sysdeps/x86_64/tininess.h: Removed.
29708 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29710 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29711 input. Use $(build-program-cmd).
29712 ($(objpfx)tst-array1-static.out): Likewise.
29713 ($(objpfx)tst-array2.out): Likewise.
29714 ($(objpfx)tst-array3.out): Likewise.
29715 ($(objpfx)tst-array4.out): Likewise.
29716 ($(objpfx)tst-array5.out): Likewise.
29717 ($(objpfx)tst-array5-static.out): Likewise.
29719 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
29721 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29724 * nss/nsswitch.h (nss_interface_function): Provide new
29725 macro for use with NSS functions.
29726 * grp/initgroups.c: Use new macro.
29727 * nss/getXXbyYY.c: Likewise.
29728 * nss/getXXbyYY_r.c: Likewise.
29729 * nss/getXXent.c: Likewise.
29730 * nss/getXXent_r.c: Likewise.
29731 * sysdeps/posix/getaddrinfo.c: Likewise.
29733 2012-10-30 Andreas Jaeger <aj@suse.de>
29735 * po/ru.po: Update Russion translation from translation project.
29737 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29741 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29742 result and shift together with sticky bit instead of replicating
29743 round-to-nearest rounding.
29744 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29745 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29746 * math/libm-test.inc (fma_test): Add more tests. Do not permit
29747 missing underflow exceptions.
29748 (fma_test_towardzero): Add more tests.
29749 (fma_test_downward): Likewise.
29750 (fma_test_upward): Likewise.
29753 * sysdeps/generic/tininess.h: New file.
29754 * sysdeps/i386/tininess.h: Likewise.
29755 * sysdeps/sh/tininess.h: Likewise.
29756 * sysdeps/x86_64/tininess.h: Likewise.
29757 * stdlib/tst-strtod-underflow.c: Likewise.
29758 * stdlib/tst-tininess.c: Likewise.
29759 * stdlib/strtod_l.c: Include <tininess.h>.
29760 (round_and_return): Do not set errno for exact underflow cases.
29761 Force an underflow exception when setting errno for underflow.
29762 Determine underflow based on rounding to normal precision if
29763 TININESS_AFTER_ROUNDING.
29764 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29765 ERANGE for exact underflow cases.
29766 * stdlib/Makefile (tests): Add tst-tininess and
29767 tst-strtod-underflow.
29768 ($(objpfx)tst-tininess): Use $(link-libm).
29769 ($(objpfx)tst-strtod-underflow): Likewise.
29771 2012-10-30 Andreas Jaeger <aj@suse.de>
29774 * elf/Makefile (tests): Remove conditional for have-initfini-array
29775 since this is now always required and the variable does not exist
29777 (tests-static): Likewise.
29778 (modules-names): Likewise.
29780 * po/eo.po: Add Esperanto translation from translation project.
29782 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29783 merged with constructor/destructor.
29784 (init_array): Likewise.
29785 * elf/tst-array2dep.c (fini_array): Likewise.
29786 (init_array): Likewise.
29788 2012-10-29 Mike Frysinger <vapier@gentoo.org>
29790 * manual/message.texi: Delete @cartouche tags.
29792 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29794 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29796 * sysdeps/mach/hurd/fsync.c: Likewise.
29798 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29799 [_POSIX_REALTIME_SIGNALS]: Change condition to
29800 [_POSIX_REALTIME_SIGNALS > 0].
29802 2012-10-27 Andreas Jaeger <aj@suse.de>
29804 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29805 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29806 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29807 [__WORDSIZE != 64]: Likewise.
29809 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29811 * iconvdata/tst-table.sh: Remove ${SHELL}.
29812 * iconvdata/tst-tables.sh: Likewise.
29814 2012-10-25 David S. Miller <davem@davemloft.net>
29816 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29817 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29820 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29822 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29823 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29824 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29827 2012-10-25 Roland McGrath <roland@hack.frob.com>
29829 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29830 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29833 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29834 Jim Blandy <jimb@codesourcery.com>
29836 * scripts/cross-test-ssh.sh: New file.
29837 * manual/install.texi (Configuring and compiling): Document use of
29839 * INSTALL: Regenerated.
29841 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29843 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29846 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29848 * Makeconfig (run-program-prefix): Fix comment.
29850 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29851 Jim Blandy <jimb@codesourcery.com>
29853 * Makeconfig (test-wrapper): New variable,
29854 (test-wrapper-env): Likewise.
29855 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29856 (run-built-tests): Define to yes.
29857 (run-program-prefix): Use $(test-wrapper).
29858 (built-program-cmd): Likewise.
29859 * Rules (make-test-out): Use $(test-wrapper-env) and
29860 $(host-built-program-cmd).
29861 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29862 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29864 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29865 $(test-wrapper-env) to tst-rtld-load-self.sh.
29866 ($(objpfx)order2.out): Use $(test-wrapper).
29867 ($(objpfx)tst-initorder.out): Likewise.
29868 ($(objpfx)tst-initorder2.out): Likewise.
29869 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29870 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29871 (test_wrapper_env): New variable. Use it to run ld.so.
29872 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29873 Use it to run ld.so.
29874 (test_wrapper_env): Likewise.
29875 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29876 $(test-wrapper) to run-iconv-test.sh.
29877 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29878 (ICONV): Use $test_wrapper.
29879 * posix/Makefile ($(objpfx)globtest.out): Pass
29880 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29881 globtest.sh, not $(run-program-prefix).
29882 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29883 (test_wrapper): Likewise.
29884 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29885 set together with run_via_rtld_prefix.
29886 (run_program_prefix): Define in terms of test_wrapper and
29887 run_via_rtld_prefix.
29889 2012-10-24 Roland McGrath <roland@hack.frob.com>
29891 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29892 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29896 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29897 Declare __clock_getres, __clock_gettime, __clock_settime,
29898 __clock_nanosleep, and __clock_getcpuclockid.
29899 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29900 Remove librt_hidden_def (clock_gettime).
29901 * sysdeps/unix/clock_gettime.c: Likewise.
29902 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29903 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29904 * rt/clock_getres.c: Define __clock_getres as an alias.
29905 * sysdeps/posix/clock_getres.c: Likewise.
29906 * rt/clock_settime.c: Define __clock_settime as an alias.
29907 * sysdeps/unix/clock_settime.c: Likewise.
29908 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29909 * sysdeps/unix/clock_nanosleep.c: Likewise.
29910 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29911 * rt/clock-compat.c: New file.
29912 * rt/Makefile (librt-routines): Add clock-compat and move
29913 $(clock-routines) to ...
29914 (routines): ... here, new variable.
29915 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29916 Don't add get_clockfreq here.
29917 * rt/Versions (libc: GLIBC_2.17): New version set.
29918 Add clock_* symbols here.
29919 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29920 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29921 (GLIBC_2.17): Add clock_* symbols.
29922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29924 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29933 * NEWS: Mention the move.
29935 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29936 Use __open, __read, __close rather than their public counterparts.
29937 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29938 (__get_clockfreq_via_cpuinfo): Likewise.
29939 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29940 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29942 * config.h.in (HAVE_IFUNC): New #undef.
29943 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29945 * configure: Regenerated.
29947 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29949 * configure.in: Move READELF check to start of file.
29950 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29951 libc_cv_asm_gnu_indirect_function in the process.
29952 * configure: Regenerated.
29954 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29956 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29957 send the output to /dev/null.
29958 (libc_cv_cc_with_libunwind): Likewise.
29959 (libc_cv_as_noexecstack): Likewise.
29960 * configure: Regenerate.
29962 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29964 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29966 * posix/globtest.sh (TMPDIR): Do not set.
29967 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29968 (testout): Likewise.
29970 2012-10-24 Andreas Jaeger <aj@suse.de>
29972 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29973 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29974 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29975 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29976 posix_fadvise64, posix_fallocate64.
29978 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29979 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29980 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29982 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29984 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29986 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29987 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29988 <bits/fcntl-linux.h>.
29989 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29991 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29992 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29993 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29994 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29995 [__WORDSIZE != 64]: Likewise.
29997 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29999 * Makeconfig (run-built-tests): New variable.
30000 * Rules [$(cross-compiling) = yes]: Change condition to
30001 [$(run-built-tests) = no].
30002 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30003 to [$(run-built-tests) = yes].
30004 * elf/Makefile [$(cross-compiling) = no]: Likewise
30005 * grp/Makefile [$(cross-compiling) = no]: Likewise.
30006 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30007 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30008 * intl/Makefile [$(cross-compiling) = no]: Likewise.
30009 * io/Makefile [$(cross-compiling) = no]: Likewise.
30010 * libio/Makefile [$(cross-compiling) = no]: Likewise.
30011 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30012 * misc/Makefile [$(cross-compiling) = no]: Likewise.
30013 * posix/Makefile [$(cross-compiling) = no]: Likewise.
30014 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30015 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30016 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30017 * string/Makefile [$(cross-compiling) = no]: Likewise.
30019 * posix/Makefile ($(objpfx)globtest.out): Pass
30020 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30021 $(rtld-installed-name).
30022 * posix/globtest.sh (elf_objpfx): Remove variable.
30023 (rtld_installed_name): Likewise.
30024 (library_path): Likewise.
30025 (run_program_prefix): New variable. Use for running globtest
30028 2012-10-23 Jim Blandy <jimb@codesourcery.com>
30029 Joseph Myers <joseph@codesourcery.com>
30031 * Makeconfig (host-built-program-cmd): New variable.
30032 * elf/Makefile (tst-stackguard1-ARGS): Use
30033 $(host-built-program-cmd).
30034 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30035 (tst-spawn-ARGS): Likewise.
30036 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30038 2012-10-23 Joseph Myers <joseph@codesourcery.com>
30039 Jim Blandy <jimb@codesourcery.com>
30041 * Makeconfig (run-via-rtld-prefix): New variable.
30042 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30043 (built-program-cmd): Likewise.
30045 2012-10-22 Andreas Jaeger <aj@suse.de>
30047 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30048 __O_RSYNC if it exists, otherwise to O_SYNC.
30050 2012-10-22 Jim Blandy <jimb@codesourcery.com>
30051 Joseph Myers <joseph@codesourcery.com>
30053 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30055 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30057 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30060 2012-10-22 Andreas Jaeger <aj@suse.de>
30062 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30064 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30066 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30067 bits/fcntl-linux.h.
30069 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30070 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30072 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30074 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30077 2012-10-21 Jim Blandy <jimb@codesourcery.com>
30078 Joseph Myers <joseph@codesourcery.com>
30080 * config.make.in (NM): New variable.
30082 2012-10-21 Andreas Jaeger <aj@suse.de>
30084 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30085 definitions and declarations that are provided by
30086 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30088 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30091 * elf/Makefile (tests-static): Add tst-leaks1-static.
30092 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30093 ($(objpfx)tst-leaks1-static): New rule.
30094 ($(objpfx)tst-leaks1-static-mem): Likewise.
30095 (tst-leaks1-static-ENV): New macro.
30096 * elf/dl-open.c (dl_open_worker): Check the main application
30097 only if SHARED is defined.
30098 * elf/tst-leaks1-static.c: New file.
30100 2012-10-20 Andreas Jaeger <aj@suse.de>
30102 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30103 generic values for Linux.
30104 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30105 and declarations that are provided by <bits/fcntl-linux.h> and
30106 include <bits/fcntl-linux.h>.
30107 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30108 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30110 2012-10-20 Roland McGrath <roland@hack.frob.com>
30112 * io/fcntl.h: Move include of <bits/types.h> to the top and
30113 include it unconditionally.
30115 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30117 * wcsmbs/Makefile (tests-ifunc): New variable.
30118 (tests): Add $(tests-ifunc).
30119 * wcsmbs/test-wcschr-ifunc.c: New file.
30120 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30121 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30122 * wcsmbs/test-wcslen-ifunc.c: Likewise.
30123 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30124 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30126 * string/Makefile (tests-ifunc): New variable.
30127 (tests): Add $(tests-ifunc).
30128 * string/test-memccpy.c (TEST_NAME): New macro.
30129 * string/test-memchr.c (TEST_NAME): Likewise.
30130 * string/test-memcmp.c (TEST_NAME): Likewise.
30131 * string/test-memcpy.c (TEST_NAME): Likewise.
30132 * string/test-memmem.c (TEST_NAME): Likewise.
30133 * string/test-memmove.c (TEST_NAME): Likewise.
30134 * string/test-memset.c (TEST_NAME): Likewise.
30135 * string/test-rawmemchr.c (TEST_NAME): Likewise.
30136 * string/test-stpcpy.c (TEST_NAME): Likewise.
30137 * string/test-stpncpy.c (TEST_NAME): Likewise.
30138 * string/test-strcasecmp.c (TEST_NAME): Likewise.
30139 * string/test-strcasestr.c (TEST_NAME): Likewise.
30140 * string/test-strcat.c (TEST_NAME): Likewise.
30141 * string/test-strchr.c (TEST_NAME): Likewise.
30142 * string/test-strcmp.c(TEST_NAME): Likewise.
30143 * string/test-strcpy.c (TEST_NAME): Likewise.
30144 * string/test-strcspn.c (TEST_NAME): Likewise.
30145 * string/test-strlen.c (TEST_NAME): Likewise.
30146 * string/test-strncasecmp.c (TEST_NAME): Likewise.
30147 * string/test-strncmp.c (TEST_NAME): Likewise.
30148 * string/test-strncpy.c (TEST_NAME): Likewise.
30149 * string/test-strnlen.c (TEST_NAME): Likewise.
30150 * string/test-strpbrk.c (TEST_NAME): Likewise.
30151 * string/test-strrchr.c (TEST_NAME): Likewise.
30152 * string/test-strspn.c (TEST_NAME): Likewise.
30153 * string/test-strstr.c (TEST_NAME): Likewise.
30154 * string/test-bcopy-ifunc.c: New file.
30155 * string/test-bzero-ifunc.c: Likewise.
30156 * string/test-memccpy-ifunc.c: Likewise.
30157 * string/test-memchr-ifunc.c: Likewise.
30158 * string/test-memcmp-ifunc.c: Likewise.
30159 * string/test-memcpy-ifunc.c: Likewise.
30160 * string/test-memmem-ifunc.c: Likewise.
30161 * string/test-memmove-ifunc.c: Likewise.
30162 * string/test-mempcpy-ifunc.c: Likewise.
30163 * string/test-memset-ifunc.c: Likewise.
30164 * string/test-rawmemchr-ifunc.c: Likewise.
30165 * string/test-stpcpy-ifunc.c: Likewise.
30166 * string/test-stpncpy-ifunc.c: Likewise.
30167 * string/test-strcasecmp-ifunc.c: Likewise.
30168 * string/test-strcasestr-ifunc.c: Likewise.
30169 * string/test-strcat-ifunc.c: Likewise.
30170 * string/test-strchr-ifunc.c: Likewise.
30171 * string/test-strchrnul-ifunc.c: Likewise.
30172 * string/test-strcmp-ifunc.c: Likewise.
30173 * string/test-strcpy-ifunc.c: Likewise.
30174 * string/test-strcspn-ifunc.c: Likewise.
30175 * string/test-strlen-ifunc.c: Likewise.
30176 * string/test-strncasecmp-ifunc.c: Likewise.
30177 * string/test-strncat-ifunc.c: Likewise.
30178 * string/test-strncmp-ifunc.c: Likewise.
30179 * string/test-strncpy-ifunc.c: Likewise.
30180 * string/test-strnlen-ifunc.c: Likewise.
30181 * string/test-strpbrk-ifunc.c: Likewise.
30182 * string/test-strrchr-ifunc.c: Likewise.
30183 * string/test-strspn-ifunc.c: Likewise.
30184 * string/test-strstr-ifunc.c: Likewise.
30186 * debug/Makefile (tests-ifunc): New variable.
30187 (tests): Add $(tests-ifunc).
30188 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30189 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30190 * debug/test-stpcpy_chk-ifunc.c: New file.
30191 * debug/test-strcpy_chk-ifunc.c: Likewise.
30193 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30196 * elf/dl-load.c (open_verify): Retry read if the entire ELF
30197 header is not read in.
30199 2012-10-19 Joseph Myers <joseph@codesourcery.com>
30201 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
30202 script to $(SHELL) as $<. Pass $(common-objpfx) to script
30203 directly. Pass built executable to script as
30204 $(built-program-cmd).
30205 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
30206 $testprogram without using LD_LIBRARY_PATH and $ldso.
30208 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30209 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30210 $(rtld-installed-name).
30211 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30212 (rtld_installed_name): Likewise.
30213 (library_path): Likewise.
30214 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
30215 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30216 $(run-program-prefix) to tst-tables.sh.
30217 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
30218 it to run tst-table-from and tst-table-to.
30219 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30220 Pass it to tst-table.sh.
30221 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30222 $(run-program-prefix) to tst-gettext.sh.
30223 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30225 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30227 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
30228 to run tst-gettext.
30229 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
30230 to run tst-gettext2.
30231 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
30232 to run tst-translit.
30233 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30234 $(run-program-prefix) to tst-mtrace.sh.
30235 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
30237 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30238 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30239 $(rtld-installed-name).
30240 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30241 (rtld_installed_name): Likewise.
30242 (run_program_prefix): New variable. Use it to run wordexp-test.
30244 * Makeconfig (ARCH): Remove all definitions.
30245 (machine): Likewise.
30246 [ARCH]: Remove conditional code.
30247 [!objdir]: Give error.
30248 [!objdir] (objpfx): Remove.
30249 [!objdir] (common-objpfx): Likewise.
30250 [!objdir] (common-objdir): Likewise.
30251 * configure.in (config_makefile): Remove. Hardcode Makefile in
30252 AC_CONFIG_FILES call.
30253 * configure: Regenerated.
30256 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30258 (testout): Likewise.
30260 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30261 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30262 $(rtld-installed-name).
30263 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30264 (rtld_installed_name): Likwise.
30265 (runit): Remove function.
30266 (run_getconf): New variable, Use it for running getconf binary.
30268 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
30271 * string/test-memmem.c (check_result): New function.
30272 (do_one_test): Use it.
30273 (check1): New function.
30274 (test_main): Use it.
30276 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
30278 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30280 2012-10-18 Joseph Myers <joseph@codesourcery.com>
30282 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30283 (_G_LSEEK64): Likewise.
30284 (_G_MMAP64): Likewise.
30285 (_G_FSTAT64): Likewise.
30286 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30287 (_G_LSEEK64): Likewise.
30288 (_G_MMAP64): Likewise.
30289 (_G_FSTAT64): Likewise.
30290 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30291 unconditional. Call __mmap64 directly.
30292 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30293 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
30294 __lseek64 directly.
30295 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30296 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
30298 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30299 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
30300 __lseek64 directly.
30301 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30302 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
30303 __lseek64 directly.
30304 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30305 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
30306 __lseek64 directly.
30307 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30308 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
30309 __fxstat64 directly.
30310 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30311 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30313 (freopen64) [!_G_OPEN64]: Remove conditional code.
30314 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30316 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30317 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30319 (ftello64) [!_G_LSEEK64]: Remove conditional code.
30320 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30322 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30323 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30325 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30326 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30328 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30329 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30331 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30332 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30334 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30336 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30339 * manual/memory.texi (Malloc Tunable Parameters): Add note
30340 about free list pointers overwriting some perturb bytes.
30341 Wording suggested by Roland McGrath.
30343 2012-10-17 Joseph Myers <joseph@codesourcery.com>
30345 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30346 (lgamma_test): Likewise.
30347 (tgamma_test): Likewise.
30349 2012-10-16 Florian Weimer <fweimer@redhat.com>
30352 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30353 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30355 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
30357 * NEWS: Mention BZ #14716.
30358 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30359 when removing AVAILABLE1_USES_J macro.
30361 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
30363 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30364 (__bswap_64): __uint64_t for unsigned 64-bit int.
30366 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
30368 * include/string.h (memmem): Declare libc hidden alias.
30369 * string/memmem.c (memmem): Define libc hidden alias.
30370 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30371 __read, __close instead of open, read, close.
30373 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
30375 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30376 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30378 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30379 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30380 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30382 (__rawmemchr_sse2): Likewise.
30383 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30384 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30385 (__strchr_sse2): Likewise.
30386 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30387 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30388 (__strcasecmp_sse2): Likewise.
30389 (__strncasecmp_sse2): Likewise.
30390 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30391 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30392 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30393 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30394 (__strrchr_sse2): Likewise.
30395 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30397 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30398 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30399 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30400 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30401 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30402 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30403 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30404 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30405 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30406 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30407 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30408 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30409 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30410 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30411 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30412 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30413 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30414 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30415 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30416 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30417 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30418 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30419 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30420 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30421 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30422 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30423 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30424 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30425 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30426 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30428 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30430 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30431 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30432 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30433 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30435 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30437 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30438 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30439 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30440 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30442 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30443 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30444 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30445 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30446 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30447 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30448 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30449 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30450 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30451 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30452 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30453 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30454 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30455 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30456 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30457 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30458 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30459 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30460 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30461 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30462 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30463 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30464 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30465 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30466 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30467 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30468 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30469 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30470 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30471 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30472 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30473 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30474 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30475 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30476 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30477 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30478 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30479 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30480 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30481 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30482 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30484 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30485 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30486 * include/ifunc-impl-list.h: New file.
30487 * misc/ifunc-impl-list.c: Likewise.
30488 * misc/Makefile (routines): Add ifunc-impl-list.
30489 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30490 * string/test-string.h: Include <ifunc-impl-list.h>.
30491 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30492 TEST_NAME]: New variables.
30493 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30495 (test_init): Call __libc_ifunc_impl_list to initialize
30496 func_list if TEST_IFUNC and TEST_NAME are defined.
30498 * string/Makefile (strop-tests): Add bcopy and bzero.
30499 * string/test-bcopy.c: New file.
30500 * string/test-bzero.c: Likewise.
30501 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30503 * string/test-memset.c: Support bzero test if TEST_BZERO is
30505 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30507 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30509 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30512 2012-10-10 Joseph Myers <joseph@codesourcery.com>
30514 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30515 * configure: Regenerated.
30517 * Makeconfig (+link-static-before-libc): Don't include
30518 $(link-static-libc).
30520 * libio/libio.h (_IO_pos_t): Remove.
30522 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30524 * NEWS: Add note about FIPS mode. Wording suggested by Roland
30527 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30529 * crypt/crypt-entry.c: Include fips-private.h.
30530 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30531 * crypt/md5c-test.c (main): Tolerate disabled MD5.
30532 * sysdeps/unix/sysv/linux/fips-private.h: New file.
30533 * sysdeps/generic/fips-private.h: New file, dummy fallback.
30535 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30537 * crypt/crypt-private.h: Include stdbool.h.
30538 (_ufc_setup_salt_r): Return bool.
30539 * crypt/crypt-entry.c: Include errno.h.
30540 (__crypt_r): Return NULL with EINVAL for bad salt.
30541 * crypt/crypt_util.c (bad_for_salt): New.
30542 (_ufc_setup_salt_r): Check that salt is long enough and within
30543 the specified alphabet.
30544 * crypt/badsalttest.c: New file.
30545 * crypt/Makefile (tests): Add it.
30546 ($(objpfx)badsalttest): New.
30548 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
30550 * NEWS: Add entry for BZ #14602.
30552 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30554 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30556 * math/libm-test.inc: Update comment listing what functions and
30558 (isgreater_test): New function.
30559 (isgreaterequal_test): Likewise.
30560 (isless_test): Likewise.
30561 (islessequal_test): Likewise.
30562 (islessgreater_test): Likewise.
30563 (isunordered_test): Likewise.
30564 (main): Call the new functions.
30566 2012-10-09 Roland McGrath <roland@hack.frob.com>
30568 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30569 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30570 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30571 * sysdeps/i386/configure: Regenerated.
30572 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30573 * sysdeps/mach/configure: Regenerated.
30574 * sysdeps/mach/hurd/configure: Regenerated.
30575 * sysdeps/powerpc/configure: Regenerated.
30576 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30577 * sysdeps/powerpc/powerpc64/configure: Regenerated.
30578 * sysdeps/s390/s390-32/configure: Regenerated.
30579 * sysdeps/s390/s390-64/configure: Regenerated.
30580 * sysdeps/sh/configure: Regenerated.
30581 * sysdeps/sparc/configure: Regenerated.
30582 * sysdeps/unix/sysv/linux/configure: Regenerated.
30583 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30584 * sysdeps/x86_64/configure: Regenerated.
30586 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30587 defined. Don't check if MAP is NULL.
30589 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30591 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30592 (_G_stat64): Likewise.
30593 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30594 (_G_stat64): Likewise.
30595 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30596 instead of struct _G_stat64.
30597 * libio/fileops.c (mmap_remap_check): Likewise.
30598 (decide_maybe_mmap): Likewise.
30599 (_IO_new_file_seekoff): Likewise.
30600 (_IO_file_stat): Likewise.
30601 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30603 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30604 instead of struct _G_stat64.
30605 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30607 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
30610 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30612 (CHECK_EOL): New macro.
30613 (two_way_short_needle): Check beginning of haystack for EOL. Use
30615 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30616 Replace with CHECK_EOL.
30617 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30618 Replace with CHECK_EOL.
30620 2012-10-08 Joseph Myers <joseph@codesourcery.com>
30622 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30624 * math/libm-test.inc: Update comment listing what functions and
30626 (finite_test): New function.
30627 (isinf_test): Likewise.
30628 (isnan_test): Likewise.
30629 (fpclassify_test): Test subnormal input.
30630 (isfinite_test): Likewise.
30631 (isnormal_test): Likewise.
30632 (main): Call the new functions.
30634 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
30637 * Makerules (%.dynsym): Force C locale when running
30638 $(OBJDUMP) --dynamic-syms.
30640 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
30642 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30645 2012-10-06 David S. Miller <davem@davemloft.net>
30647 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30648 upper 32-bits of the length value in %o2 since we use branch-on-register
30649 tests which consider the entire 64-bit register.
30651 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
30653 * string/test-strstr.c (check2): Add a test for page boundary.
30655 2012-10-05 David S. Miller <davem@davemloft.net>
30657 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30658 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30660 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30662 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30663 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30664 and bzero when HWCAP_SPARC_CRYPTO is present.
30666 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
30669 * string/test-strstr.c (check2): New function.
30670 (test_main): Call check2.
30672 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30674 * string/bug-strcasestr1.c (do_test): Moved to ...
30675 * string/test-strcasestr.c (check1): Here. New function.
30676 (do_one_test): Break out result checking code into ...
30677 (check_result): This. New function.
30678 (do_one_test): Call check_result.
30679 (test_main): Call check1.
30680 * string/bug-strchr1.c (do_test): Moved to ...
30681 * string/test-strchr.c (check1): Here. New function.
30682 (do_one_test): Break out result checking code into ...
30683 (check_result): This. New function.
30684 (do_one_test): Call check_result.
30685 (test_main): Call check1.
30686 * string/bug-strstr1.c (main): Moved to ...
30687 * string/test-strstr.c (check1): Here. New function.
30688 (do_one_test): Break out result checking code into ...
30689 (check_result): This. New function.
30690 (do_one_test): Call check_result.
30691 (test_main): Call check1.
30692 * string/bug-strcasestr1.c: Removed.
30693 * string/bug-strchr1.c: Likewise.
30694 * string/bug-strstr1.c: Likewise.
30696 * elf/Makefile (dl-routines): Add hwcaps.
30697 * elf/dl-support.c (_dl_important_hwcaps): Removed.
30698 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30699 (_dl_important_hwcaps): Moved to ...
30700 * elf/dl-hwcaps.c: Here. New file.
30701 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30704 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30705 if IS_IN_rtld isn't defined.
30707 * elf/dl-support.c (_dl_sysinfo_map): New.
30708 Include "get-dynamic-info.h" and "setup-vdso.h".
30709 (_dl_non_dynamic_init): Call setup_vdso.
30710 * elf/dynamic-link.h: Don't include <assert.h>.
30711 (elf_get_dynamic_info): Moved to ...
30712 * elf/get-dynamic-info.h: Here. New file.
30713 * elf/dynamic-link.h: Include "get-dynamic-info.h".
30714 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30715 * elf/setup-vdso.h: Here. New file.
30716 * elf/rtld.c: Include "setup-vdso.h".
30717 (dl_main): Call setup_vdso.
30719 2012-10-05 Joseph Myers <joseph@codesourcery.com>
30721 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30722 creal in comment listing functions tested. List finite, isinf,
30723 isnan, isless, islessequal, isgreater, isgreaterequal,
30724 islessgreater, isunordered, lgamma_r and pow10 as functions and
30725 macros not tested. Mention which functions not tested are aliases
30726 for other functions. Fix typo. Note that signs of NaNs are not
30729 * scripts/config.guess: Update from config.git.
30730 * scripts/config.sub: Likewise.
30732 2012-10-04 Roland McGrath <roland@hack.frob.com>
30734 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30735 * misc/madvise.c (madvise): Renamed to __madvise.
30736 Make madvise a weak alias.
30737 * include/sys/mman.h: Declare __madvise.
30738 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30739 * sysdeps/unix/syscalls.list
30740 (madvise): Make __madvise the strong name, and madvise a weak alias.
30741 * sysdeps/unix/sysv/linux/syscalls.list
30742 (madvise, mmap): Remove redundant entries.
30743 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30744 * malloc/malloc.c (mtrim): Likewise.
30745 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30747 2012-10-03 Roland McGrath <roland@hack.frob.com>
30749 * sysdeps/mach/hurd/dl-cache.c: File removed.
30750 * config.h.in (USE_LDCONFIG): New #undef.
30751 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30752 * configure: Regenerated.
30753 * elf/Makefile (dl-routines): Add dl-cache only under
30754 [$(use-ldconfig) = yes].
30755 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30756 cache on [USE_LDCONFIG].
30757 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30759 * elf/rtld.c (dl_main): Likewise.
30761 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30763 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30764 _SC_LEVEL4_CACHE_LINESIZE.
30766 2012-10-03 Roland McGrath <roland@hack.frob.com>
30768 * sysdeps/unix/bsd/confstr.h: File removed.
30770 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
30772 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30775 2012-10-02 Roland McGrath <roland@hack.frob.com>
30777 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30778 Make 'mapoff' field ElfW(Off) rather than off_t.
30780 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30782 * nscd/Makefile: Remove nscd-cflags and all its users.
30783 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30784 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30787 * malloc.c (malloc_printerr): Clarify error message.
30789 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30793 Set bit_FMA_Usable if FMA is supported.
30794 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30796 (bit_FMA4_Usable): Updated.
30797 (index_FMA_Usable): New macro.
30798 (CPUID_FMA): Likewise
30799 (HAS_FMA): Defined with bit_FMA_Usable.
30801 2012-10-01 Roland McGrath <roland@hack.frob.com>
30803 * bits/types.h (__swblk_t): Type removed.
30804 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30805 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30806 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30807 (__SWBLK_T_TYPE): Likewise.
30808 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30809 (__SWBLK_T_TYPE): Likewise.
30810 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30811 (__SWBLK_T_TYPE): Likewise.
30812 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30813 (__SWBLK_T_TYPE): Likewise.
30815 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
30816 Honza Horak <hhorak@redhat.com>
30818 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30819 (xdr_mapname): Use YPMAXMAP as maxsize.
30820 (xdr_peername): Use YPMAXPEER as maxsize.
30821 (xdr_keydat): Use YPAXRECORD as maxsize.
30822 (xdr_valdat): Use YPMAXRECORD as maxsize.
30824 2012-10-01 Roland McGrath <roland@hack.frob.com>
30826 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30828 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30829 * csu/init-first.c: ... here.
30830 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30831 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30832 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30833 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30834 * sysdeps/i386/init-first.c: File removed.
30835 * sysdeps/sh/init-first.c: File removed.
30837 2012-10-01 Joseph Myers <joseph@codesourcery.com>
30840 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30841 if x * y might underflow to zero and z is zero.
30842 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30843 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30844 * math/libm-test.inc (min_subnorm_value): New variable.
30845 (fma_test): Add more tests.
30846 (fma_test_towardzero): Likewise.
30847 (fma_test_downward): Likewise
30848 (fma_test_upward): Likewise.
30849 (initialize): Set min_subnorm_value.
30851 2012-09-29 Joseph Myers <joseph@codesourcery.com>
30854 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30856 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30857 mode for addition resulting in exact zero.
30858 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30859 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30861 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30862 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30863 * math/libm-test.inc (fma_test): Add more tests.
30864 (fma_test_towardzero): New function.
30865 (fma_test_downward): Likewise.
30866 (fma_test_upward): Likewise.
30867 (main): Call the new functions.
30869 2012-09-28 David S. Miller <davem@davemloft.net>
30871 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30873 2012-09-28 Roland McGrath <roland@hack.frob.com>
30875 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30876 instead of SIGALRM.
30878 * sysdeps/gnu/_G_config.h: Moved to ...
30879 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30880 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30881 * sysdeps/generic/_G_config.h: ... here.
30883 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30885 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30887 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30888 Conditionalize target on [libnss_test1.so-version].
30890 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30892 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30893 (elfobjdir): Move out of conditionals.
30895 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30896 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30897 (__nss_lookup_function): Conditionalize label remove_from_tree on
30898 [!DO_STATIC_NSS || SHARED], matching its only use.
30900 2012-09-28 David S. Miller <davem@davemloft.net>
30902 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30903 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30905 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30907 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30908 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30909 when HWCAP_SPARC_CRYPTO is present.
30911 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30913 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30915 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30918 * stdio-common/vfprintf.c (process_string_arg): Revert
30921 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30923 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30925 * stdio-common/tst-sprintf.c: Include <locale.h>
30926 (main): Test sprintf's handling of incomplete multibyte
30929 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30931 * elf/dl-runtime.c (VERSYMIDX): Removed.
30932 * elf/dl-version.c (VERSYMIDX): Likewise.
30933 * elf/do-rel.h (VERSYMIDX): Likewise.
30934 (VALIDX): Likewise.
30935 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30936 * elf/rtld.c (VALIDX): Likewise.
30937 (ADDRIDX): Likewise.
30938 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30939 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30940 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30941 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30942 (VALIDX): Likewise.
30943 (ADDRIDX): Likewise.
30945 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30947 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30949 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30952 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30954 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30955 addresses are in the same scope as 192.0.2/24.
30956 * posix/gai.conf: Document new scope table defaults.
30958 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30961 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30962 for ftell. Compute offsets from write pointers instead.
30963 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30965 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30968 * libio/Makefile (tests): New test case tst-fseek.
30969 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30970 combination works in wide mode.
30971 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30972 state when the external buffer state changes.
30974 2012-09-27 David S. Miller <davem@davemloft.net>
30977 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30978 pass reloc->r_addend in as the 'high' argument to
30979 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30983 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30985 * rt/tst-aio2.c: Include <pthread.h>.
30986 * rt/tst-aio3.c: Likewise.
30988 2012-09-27 Steve Ellcey <sellcey@mips.com>
30990 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30992 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30994 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30995 contents on [SHARED].
30997 2012-09-26 Marek Polacek <polacek@redhat.com>
31001 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31002 for C++ and GCC <4.3 as well as for non GCC compilers.
31004 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
31006 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31008 2012-09-25 Roland McGrath <roland@hack.frob.com>
31010 * Makefile.in (all, install): Declare with .PHONY.
31011 Reported by Michael Hope <michael.hope@linaro.org>.
31013 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31015 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31016 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31018 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31020 (sydep_routines): Add the new and the internal functions.
31021 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31022 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31024 (GLIBC_2.17): Add the new function.
31025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31026 (GLIBC_2.17): Likewise.
31027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31028 (GLIBC_2.17): Likewise.
31029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31030 (GLIBC_2.17): Likewise.
31031 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31033 2012-09-25 Alan Modra <amodra@gmail.com>
31035 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31036 Add release barrier before setting once_control to say
31037 initialisation is done. Add hints on lwarx. Use macro in
31039 (clear_once_control): Add release barrier.
31041 2012-09-25 Joseph Myers <joseph@codesourcery.com>
31044 * math/s_clog.c (__clog): Handle more values close to |z| = 1
31046 * math/s_clog10.c (__clog10): Likewise.
31047 * math/s_clog10f.c (__clog10f): Likewise.
31048 * math/s_clog10l.c (__clog10l): Likewise.
31049 * math/s_clogf.c (__clogf): Likewise.
31050 * math/s_clogl.c (__clogl): Likewise.
31051 * math/Makefile (libm-calls): Add x2y2m1.
31052 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31053 (__x2y2m1): Likewise.
31054 (__x2y2m1l): Likewise.
31055 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31056 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31057 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31058 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31059 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31060 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31061 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31062 * sysdeps/i386/fpu/libm-test-ulps: Update.
31063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31066 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31067 int as type of variable DEPTH.
31068 (glob): Use size_t instead of int as type of variables NEWCOUNT
31071 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31073 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31074 Add s_sincosf-sse2.
31075 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31076 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31077 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31078 macros for using routine as __sincosf_ia32.
31079 Use macro for function declaration and weak_alias.
31080 * sysdeps/i386/fpu/libm-test-ulps: Update.
31082 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31085 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
31086 subnormal argument.
31087 * math/s_cexpf.c (__cexpf): Likewise.
31088 * math/s_csinf.c (__csinf): Likewise.
31089 * math/s_csinhf.c (__csinhf): Likewise.
31090 * math/s_ctanf.c (__ctanf): Likewise.
31091 * math/s_ctanhf.c (__ctanhf): Likewise.
31092 * math/s_ccosh.c (__ccoshf): Likewise.
31093 * math/s_cexp.c (__cexpl): Likewise.
31094 * math/s_csin.c (__csin): Likewise.
31095 * math/s_csinh.c (__csinh): Likewise.
31096 * math/s_ctan.c (__ctan): Likewise.
31097 * math/s_ctanh.c (ctanh): Likewise.
31098 * math/s_ccoshl.c (__ccoshl): Likewise.
31099 * math/s_cexpl.c (__cexpl): Likewise.
31100 * math/s_csinl.c (__csinl): Likewise.
31101 * math/s_csinhl.c (__csinhl): Likewise.
31102 * math/s_ctanl.c (__ctanl): Likewise.
31103 * math/s_ctanhl.c (__ctanhl): Likewise.
31105 2012-09-25 Joseph Myers <joseph@codesourcery.com>
31107 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31108 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31109 (_IO_off_t): Define to __off_t, not _G_off_t.
31110 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31111 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31112 (_IO_wint_t): Define to wint_t, not _G_wint_t.
31113 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31114 type of __dummy and __dummy2 fields.
31115 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31116 (_G_ssize_t): Likewise.
31117 (_G_off_t): Likewise.
31118 (_G_pid_t): Likewise.
31119 (_G_uid_t): Likewise.
31120 (_G_wchar_t): Likewise.
31121 (_G_wint_t): Likewise.
31122 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31123 (_G_ssize_t): Likewise.
31124 (_G_off_t): Likewise.
31125 (_G_pid_t): Likewise.
31126 (_G_uid_t): Likewise.
31127 (_G_wchar_t): Likewise.
31128 (_G_wint_t): Likewise.
31129 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31130 (_G_ssize_t): Likewise.
31131 (_G_off_t): Likewise.
31132 (_G_pid_t): Likewise.
31133 (_G_uid_t): Likewise.
31134 (_G_wchar_t): Likewise.
31135 (_G_wint_t): Likewise.
31137 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31139 * malloc/arena.c: Include malloc-sysdep.h.
31140 (shrink_heap): Use check_may_shrink_heap to decide if madvise
31141 is sufficient to shrink the heap or an unmap is needed.
31142 * sysdeps/generic/malloc-sysdep.h: New file. Define
31143 new function check_may_shrink_heap.
31144 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
31145 new function check_may_shrink_heap.
31147 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31149 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31152 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
31154 * catgets/test-gencat.sh: Add "set -e".
31155 * elf/tst-pathopt.sh: Likewise.
31156 * grp/tst_fgetgrent.sh: Likewise.
31157 * iconvdata/run-iconv-test.sh: Likewise.
31158 * intl/tst-gettext.sh: Likewise.
31159 * intl/tst-gettext2.sh: Likewise.
31160 * intl/tst-gettext4.sh: Likewise.
31161 * intl/tst-gettext6.sh: Likewise.
31162 * intl/tst-translit.sh: Likewise.
31163 * io/ftwtest-sh: Likewise.
31164 * libio/test-freopen.sh: Likewise.
31165 * malloc/tst-mtrace.sh: Likewise.
31166 * posix/globtest.sh: Likewise.
31167 * posix/tst-getconf.sh: Likewise.
31168 * posix/wordexp-tst.sh: Likewise.
31169 * stdio-common/tst-printf.sh: Likewise.
31170 * stdio-common/tst-unbputc.sh: Likewise.
31171 * stdlib/tst-fmtmsg.sh: Likewise.
31172 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31173 * catgets/Makefile: Do not specify -e option when running
31174 testsuite shell scripts.
31175 * elf/Makefile: Likewise.
31176 * grp/Makefile: Likewise.
31177 * iconvdata/Makefile: Likewise.
31178 * intl/Makefile: Likewise.
31179 * io/Makefile: Likewise.
31180 * libio/Makefile: Likewise.
31181 * malloc/Makefile: Likewise.
31182 * posix/Makefile: Likewise.
31183 * stdio-common/Makefile: Likewise.
31184 * stdlib/Makefile: Likewise.
31185 * sysdeps/x86_64/Makefile: Likewise.
31187 * io/ftwtest-sh: Add copyright header.
31188 * posix/globtest.sh: Likewise.
31189 * posix/tst-getconf.sh: Likewise.
31190 * posix/wordexp-tst.sh: Likewise.
31191 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31193 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
31196 * Makeconfig (+link): Defined as $(+link-static) if
31197 $(build-shared) isn't yes.
31198 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31200 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31202 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31205 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31206 new chunk size with MALLOC_ALIGN_MASK.
31208 2012-09-24 Joseph Myers <joseph@codesourcery.com>
31211 * stdio-common/printf_fphex.c: Include <stdbool.h> and
31213 (__printf_fphex): Determine rounding using get_rounding_mode and
31215 * stdio-common/tst-printf-round.c (struct hex_test): New
31217 (hex_tests): New variable.
31218 (test_hex_in_one_mode): New function.
31219 (do_test): Also run tests for hex float output.
31221 2012-09-21 Joseph Myers <joseph@codesourcery.com>
31223 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31224 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31225 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31226 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31227 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31228 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31229 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31230 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31232 2012-09-20 Joseph Myers <joseph@codesourcery.com>
31234 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31235 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31236 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31237 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31239 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
31242 * elf/rtld.c (dl_main): Limit the check for self loading to normal
31244 * elf/tst-rtld-load-self.sh: New test.
31245 * elf/Makefile: Run it.
31247 2012-09-18 Joseph Myers <joseph@codesourcery.com>
31249 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31250 (tst-writev-ENV): Remove.
31251 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31253 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
31255 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31257 2012-09-17 Joseph Myers <joseph@codesourcery.com>
31259 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31261 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31263 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31264 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31265 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31268 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
31271 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31272 * config.make.in (have-cpp-asm-debuginfo): Removed.
31273 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31274 * configure: Regenerated.
31276 2012-09-14 Joseph Myers <joseph@codesourcery.com>
31279 * stdio-common/printf_fp.c: Include <stdbool.h> and
31281 (___printf_fp): Determine rounding using get_rounding_mode and
31283 * stdio-common/tst-printf-round.c: New file.
31284 * stdio-common/Makefile (tests): Add tst-printf-round.
31285 (link-libm): New variable.
31286 ($(objpfx)tst-printf-round): Depend in $(link-libm).
31288 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
31291 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31292 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31294 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31297 2012-09-13 Joseph Myers <joseph@codesourcery.com>
31299 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31300 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31301 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31302 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31304 2012-09-12 Joseph Myers <joseph@codesourcery.com>
31307 * include/rounding-mode.h: New file.
31308 * sysdeps/generic/get-rounding-mode.h: Likewise.
31309 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31310 * stdlib/strtod_l.c: Include <rounding-mode.h>.
31311 (MAX_VALUE): New macro.
31312 (MIN_VALUE): Likewise.
31313 (overflow_value): New function.
31314 (underflow_value): Likewise.
31315 (round_and_return): Use overflow_value and underflow_value to
31316 determine return values in overflow and underflow cases. Use
31317 round_away to determine rounding depending on rounding mode.
31318 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31319 determine return values in overflow and underflow cases.
31320 * stdlib/tst-strtod-round.c: Include <fenv.h>.
31321 (struct test_results): New structure.
31322 (struct test): Use struct test_results to store expected results
31323 for all rounding modes.
31324 (TEST): Include expected results for all rounding modes.
31325 (test_in_one_mode): New function.
31326 (do_test): Use test_in_one_mode to compute and check results.
31327 Check results for all rounding modes.
31328 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31331 2012-12-09 Allan McRae <allan@archlinux.org>
31333 * sysdeps/i386/fpu/libm-test-ulps: Update
31335 2012-09-11 Joseph Myers <joseph@codesourcery.com>
31337 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31338 (_G_int32_t): Likewise.
31339 (_G_uint16_t): Likewise.
31340 (_G_uint32_t): Likewise.
31341 (_G_HAVE_BOOL): Likewise.
31342 (_G_HAVE_ATEXIT): Likewise.
31343 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31344 (_G_HAVE_IO_FILE_OPEN): Likewise.
31345 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31346 (_G_int32_t): Likewise.
31347 (_G_uint16_t): Likewise.
31348 (_G_uint32_t): Likewise.
31349 (_G_HAVE_BOOL): Likewise.
31350 (_G_HAVE_ATEXIT): Likewise.
31351 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31352 (_G_HAVE_IO_FILE_OPEN): Likewise.
31353 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31354 (_G_int32_t): Likewise.
31355 (_G_uint16_t): Likewise.
31356 (_G_uint32_t): Likewise.
31357 (_G_HAVE_BOOL): Likewise.
31358 (_G_HAVE_ATEXIT): Likewise.
31359 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31360 (_G_HAVE_IO_FILE_OPEN): Likewise.
31362 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
31364 * csu/libc-tls.c: Update copyright years.
31366 2012-09-10 Joseph Myers <joseph@codesourcery.com>
31368 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31369 [!_G_USING_THUNKS]: Remove conditional code.
31370 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31371 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31373 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31374 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31375 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31376 (_G_VTABLE_LABEL_PREFIX): Likewise.
31377 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31378 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31379 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31380 (_G_VTABLE_LABEL_PREFIX): Likewise.
31381 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31382 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31383 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31384 (_G_VTABLE_LABEL_PREFIX): Likewise.
31385 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31387 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
31389 * libio/Makefile: Include ../Makeconfig before tests.
31390 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31391 only if $(build-shared) is yes.
31393 * iconv/gconv_db.c: Update copyright years.
31395 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31397 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31398 unwind info if defined PIC. Fix special cases description.
31399 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31401 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31403 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31405 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
31407 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31409 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31412 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31413 (LDLIBS-tst-chk4): This.
31414 (LDFLAGS-tst-chk5): Renamed to ...
31415 (LDLIBS-tst-chk5): This.
31416 (LDFLAGS-tst-chk6): Renamed to ...
31417 (LDLIBS-tst-chk6): This.
31418 (LDFLAGS-tst-lfschk4): Renamed to ...
31419 (LDLIBS-tst-lfschk4): This.
31420 (LDFLAGS-tst-lfschk5): Renamed to ...
31421 (LDLIBS-tst-lfschk5): This.
31422 (LDFLAGS-tst-lfschk6): Renamed to ...
31423 (LDLIBS-tst-lfschk6): This.
31425 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31426 on $(common-objpfx)soversions.mk.
31428 2012-09-07 Joseph Myers <joseph@codesourcery.com>
31431 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31434 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31436 * malloc/arena.c (arena_get_retry): New function that gets
31437 another arena for the caller to try its request on.
31438 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31439 current arena cannot fulfill the request.
31440 (__libc_memalign): Likewise.
31441 (__libc_memalign): Likewise.
31442 (__libc_pvalloc): Likewise.
31443 (__libc_calloc): Likewise.
31445 2012-09-05 John Tobey <john.tobey@gmail.com>
31448 * manual/arith.texi (Operations on Complex): Fix description
31449 of carg branch cut.
31451 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31454 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31458 * manual/memory.texi (Memory): Make order of menu items match
31461 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31463 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31464 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
31465 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31467 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31469 * csu/libc-tls.c (static_dtv): Renamed to ...
31470 (_dl_static_dtv): This. Make it global.
31471 (_dl_initial_dtv): Removed.
31472 (__libc_setup_tls): Updated.
31473 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31474 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31477 2012-09-06 Petr Machata <pmachata@redhat.com>
31479 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31480 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31481 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31482 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31484 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31487 * csu/libc-tls.c (_dl_initial_dtv): New variable.
31488 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31491 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31494 * Makeconfig (link-static-before-libc): Replace $(+prector)
31496 (link-static-after-libc): Replace $(+postctor) with
31498 (link-bounded): Replace $(+prector)/$(+postctor) with
31499 $(+prectorT)/$(+postctorT).
31500 (+prectorT): New macro.
31501 (+postctorT): Likewise.
31503 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31505 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31506 (round_str): Handle values above the maximum for IBM long double
31508 * stdlib/tst-strtod-round.c (tests): Regenerated.
31510 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31512 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31514 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31515 zarch_nohighgprs around the zarch optimized routines.
31516 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31517 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31518 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31521 2012-09-05 David S. Miller <davem@davemloft.net>
31523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31525 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31526 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31527 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31528 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31531 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31533 * malloc/arena.c: Fold copyright years.
31534 * malloc/mcheck.c, malloc/memusage.c: Likewise.
31536 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31538 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31540 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31542 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
31544 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31546 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31547 change internal state upon failure.
31549 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31551 * malloc/mcheck.c (mcheck_check_all): Fix typo.
31552 * malloc/memusage.c (mmap): Likewise.
31553 (mmap64, mremap): Likewise. Adjust name in comment.
31555 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31557 * libio/fileops.c: Fix typos in comments.
31558 * libio/oldfileops.c: Likewise.
31559 * libio/wfileops.c: Likewise.
31561 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31564 * malloc/Makefile (tests): Add tst-malloc-usable test case.
31565 (tst-malloc-usable-ENV): Set environment for test case.
31566 * malloc/hooks.c (malloc_check_get_size): New function to get
31568 * malloc/malloc.c (musable): Use malloc_check_get_size.
31569 * malloc/tst-malloc-usable.c: New test case.
31571 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31573 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31575 2012-09-05 Allan McRae <allan@archlinux.org>
31578 * configure.in (CXX_SYSINCLUDES): Use compiler output to
31579 determine header location.
31580 * configure: Regenerated.
31582 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31584 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31586 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31587 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31589 (test): Regenerate.
31591 2012-09-04 David S. Miller <davem@davemloft.net>
31593 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31594 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31595 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31597 2012-09-04 Florian Weimer <fweimer@redhat.com>
31599 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31602 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31604 2012-09-04 Joseph Myers <joseph@codesourcery.com>
31607 * libio/iogetdelim.c: Include <limits.h>.
31608 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31609 + len + 1 would overflow.
31611 2012-09-03 Andreas Jaeger <aj@suse.de>
31613 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31614 * sysdeps/i386/fpu/libm-test-ulps: Update.
31616 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31618 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31619 Add s_sinf-sse2, s_conf-sse2.
31621 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31622 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31623 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31624 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31626 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31627 for using routine as __sinf_ia32.
31628 Use macro for function declaration and weak_alias.
31629 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31630 for using routine as __cosf_ia32.
31631 Use macro for function declaration and weak_alias.
31633 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31634 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31636 * sysdeps/x86_64/fpu/s_sinf.S: New file.
31637 * sysdeps/x86_64/fpu/s_cosf.S: New file.
31638 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31640 * math/libm-test.inc (cos_test): Add more test cases.
31641 (sin_test): Likewise.
31642 (sincos_test): Likewise.
31644 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31646 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31647 (IFUNC_RESOLVE): Make pointers to the specialized implementations
31649 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31651 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
31654 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31655 first element of the GOT.
31656 (elf_machine_load_address): Return the difference between
31657 the runtime address of _DYNAMIC and elf_machine_dynamic ().
31659 2012-09-01 Allan McRae <allan@archlinux.org>
31662 * configure.in (AWK): Require gawk version 3.0 or later.
31663 * configure: Regenerated.
31665 2012-09-01 Joseph Myers <joseph@codesourcery.com>
31667 * sysdeps/unix/sysv/linux/kernel-features.h
31668 (__ASSUME_POSIX_CPU_TIMERS): Remove.
31669 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31670 [__NR_clock_getres]: Make code unconditional.
31671 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31672 (clock_getcpuclockid): Remove code left unreachable by removal of
31674 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31675 code unconditional.
31676 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31677 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31678 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31679 Make code unconditional.
31680 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31681 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31682 * sysdeps/unix/sysv/linux/clock_settime.c
31683 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31685 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31686 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31688 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
31691 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31692 scripts/test-installation.pl.
31694 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31695 and $ld_so_version if it is set.
31697 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31700 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31701 failure if reading from procfs failed.
31702 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31704 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31706 * sysdeps/unix/sysv/linux/kernel-features.h
31707 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31708 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31709 Remove conditional code.
31710 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31711 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31712 Remove conditional code.
31713 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31714 * sysdeps/unix/sysv/linux/i386/fxstat.c
31715 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31716 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31717 * sysdeps/unix/sysv/linux/i386/fxstatat.c
31718 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31719 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31720 * sysdeps/unix/sysv/linux/i386/lxstat.c
31721 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31722 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31723 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31724 Remove conditional code.
31725 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31726 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31727 Remove conditional code.
31728 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31729 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31730 <kernel-features.h>.
31731 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31733 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31734 Remove conditional code.
31735 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31736 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31737 Remove conditional.
31739 2012-08-27 Mike Frysinger <vapier@gentoo.org>
31742 * NEWS: Add fixed bug number.
31744 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31747 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31748 underflowing exponent in case of negative sign.
31749 * stdlib/tst-strtod-round-data: Add more tests.
31750 * stdlib/tst-strtod-round.c (tests): Regenerated.
31753 * stdlib/strtod_l.c (NDIG): Remove.
31754 (HEXNDIG): Likewise.
31755 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31756 smallest representable value.
31757 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31758 lie within an exact representation of 1/2 ulp of the result.
31759 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31761 (TENS_P9_IDX): Define unconditionally.
31762 (TENS_P9_SIZE): Likewise.
31763 (TENS_P10_IDX): Likewise.
31764 (TENS_P10_SIZE): Likewise.
31765 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31766 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31767 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31768 entries for 10^2^13 and 10^2^14.
31769 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31770 (TENS_P13_IDX): Define.
31771 (TENS_P13_SIZE): Likewise.
31772 (TENS_P14_IDX): Likewise.
31773 (TENS_P14_SIZE): Likewise.
31774 (_fpioconst_pow10): Change array size to
31775 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31777 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31778 1024]: Add entries for 10^2^13 and 10^2^14.
31779 [LAST_POW10 > _LAST_POW10]: Remove #error.
31780 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31781 (_fpioconst_pow10): Change array size to
31782 FPIOCONST_POW10_ARRAY_SIZE.
31783 * stdlib/gen-fpioconst.c: New file.
31784 * stdlib/gen-tst-strtod-round.c: Likewise.
31785 * stdlib/tst-strtod-round-data: Likewise.
31786 * stdlib/tst-strtod-round.c: Likewise.
31787 * stdlib/Makefile (tests): Add tst-strtod-round.
31790 * stdlib/strtod_l.c: Include <stdint.h>.
31791 (NDEBUG): Do not define.
31792 (round_and_return): Change EXPONENT parameter to type intmax_t.
31793 Rearrange calculations to avoid internal overflow possibilities.
31794 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31795 Rearrange calculations to avoid internal overflow possibilities.
31796 Assert that number fits inside MPNSIZE limbs.
31797 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31798 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31799 calculations and add assertions to avoid internal overflow
31800 possibilities. Add casts to avoid signed/unsigned operations.
31801 * stdlib/tst-strtod-overflow.c: New file.
31802 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31804 2012-08-25 Marek Polacek <polacek@redhat.com>
31806 * time/time.h: Fix some typos in comments.
31808 2012-08-23 Roland McGrath <roland@hack.frob.com>
31810 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31811 * posix/tst-rfc3484-2.c: Likewise.
31812 * posix/tst-rfc3484-3.c: Likewise.
31814 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31816 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31817 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31819 2012-08-23 Joseph Myers <joseph@codesourcery.com>
31821 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31822 #include of fxstatat64.c.
31824 2012-08-22 Roland McGrath <roland@hack.frob.com>
31826 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31827 * shadow/getspent_r.c: Likewise.
31828 * shadow/getspnam.c: Likewise.
31829 * shadow/getspnam_r.c: Likewise.
31830 * gshadow/getsgent.c: Likewise.
31831 * gshadow/getsgent_r.c: Likewise.
31832 * gshadow/getsgnam.c: Likewise.
31833 * gshadow/getsgnam_r.c: Likewise.
31834 * inet/getnetbyad.c: Likewise.
31835 * inet/getnetbyad_r.c: Likewise.
31836 * inet/getnetbynm.c: Likewise.
31837 * inet/getnetbynm_r.c: Likewise.
31838 * inet/getnetent.c: Likewise.
31839 * inet/getnetent_r.c: Likewise.
31840 * inet/getproto.c: Likewise.
31841 * inet/getproto_r.c: Likewise.
31842 * inet/getprtent.c: Likewise.
31843 * inet/getprtent_r.c: Likewise.
31844 * inet/getprtname.c: Likewise.
31845 * inet/getprtname_r.c: Likewise.
31846 * inet/getrpcbyname.c: Likewise.
31847 * inet/getrpcbyname_r.c: Likewise.
31848 * inet/getrpcbynumber.c: Likewise.
31849 * inet/getrpcbynumber_r.c: Likewise.
31850 * inet/getrpcent.c: Likewise.
31851 * inet/getrpcent_r.c: Likewise.
31852 * inet/getaliasent.c: Likewise.
31853 * inet/getaliasent_r.c: Likewise.
31854 * inet/getaliasname.c: Likewise.
31855 * inet/getaliasname_r.c: Likewise.
31856 * nscd/getgrgid_r.c: Likewise.
31857 * nscd/getgrnam_r.c: Likewise.
31858 * nscd/gethstbyad_r.c: Likewise.
31859 * nscd/gethstbynm3_r.c: Likewise.
31860 * nscd/getpwnam_r.c: Likewise.
31861 * nscd/getpwuid_r.c: Likewise.
31862 * nscd/getsrvbynm_r.c: Likewise.
31863 * nscd/getsrvbypt_r.c: Likewise.
31864 * nscd/gai.c: Likewise.
31866 * configure.in (build_nscd): New substituted variable, set
31867 by --disable-build-nscd and defaults to $use_nscd.
31868 * configure: Regenerated.
31869 * config.make.in (build-nscd): New substituted variable.
31870 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31871 Change conditional to require [$(build-nscd) = yes] as well.
31872 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31875 * configure.in (use_nscd): New substituted variable, set by
31876 --disable-nscd. If enabled, define USE_NSCD.
31877 * configure: Regenerated.
31878 * config.h.in: Add USE_NSCD.
31879 * config.make.in (use-nscd): New substituted variable.
31880 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31881 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31882 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31883 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31884 (CFLAGS-getgrnam_r.c): Likewise.
31885 (CFLAGS-initgroups.c): Likewise.
31886 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31887 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31889 * inet/getnetgrent_r.c
31890 (nscd_setnetgrent): New function, broken out of ...
31891 (setnetgrent): ... here. Call it.
31892 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31893 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31894 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31895 * nscd/Makefile (routines, aux): Move definitions after include of
31896 Makeconfig. Conditionalize on [$(use-nscd) != no].
31897 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31898 Conditionalize on [USE_NSCD].
31899 (is_nscd, nscd_init_cb): Likewise.
31900 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31901 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31902 * nss/nss_db/db-init.c: Likewise.
31903 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31905 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31906 (make_request): Use it.
31907 (cache_valid_p): New function.
31908 (__check_pf): Use it.
31909 * NEWS: Add item for --disable-nscd.
31911 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31913 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31914 to support sed >= 4.2.1-20-ga9bf076.
31915 * configure: Regenerated.
31917 2012-08-22 Roland McGrath <roland@hack.frob.com>
31919 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31920 Conditionalize whole body on [IREL].
31922 2012-08-22 Jeff Law <law@redhat.com>
31925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31926 if the family is PF_UNSPEC.
31928 2012-08-22 Mike Frysinger <vapier@gentoo.org>
31930 * Makerules (lib-version): Rename from V.
31931 (install-lib-nosubdir): Change V to lib-version.
31933 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31936 * powerpc32/power6/wcschr.c: New file.
31937 * powerpc32/power6/wcscpy.c: New file.
31938 * powerpc32/power6/wcsrchr.c: New file.
31939 * powerpc64/power6/wcschr.c: New file.
31940 * powerpc64/power6/wcscpy.c: New file.
31941 * powerpc64/power6/wcsrchr.c: New file.
31943 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31945 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31946 (two_way_short_needle): Use it.
31947 * string/strstr.c (AVAILABLE1_USES_J): Define.
31948 * string/strcasestr.c: Likewise.
31950 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31952 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31955 * NEWS: Add an entry.
31956 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31957 define their defaults.
31958 (two_way_short_needle): Detect end-of-string on-the-fly.
31959 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31960 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31961 * string/bug-strcasestr1.c: New test.
31962 * string/Makefile: Run it.
31964 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31967 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31968 the first character.
31970 2012-08-21 Roland McGrath <roland@hack.frob.com>
31972 * csu/elf-init.c (__libc_csu_irel): Function removed.
31973 * csu/libc-start.c (apply_irel): New function.
31974 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31976 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31978 * sysdeps/unix/sysv/linux/kernel-features.h
31979 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31980 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31981 <kernel-features.h>.
31982 [__NR_fadvise64_64]: Make code unconditional.
31983 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31984 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31985 !__NR_fadvise64_64)]: Likewise.
31986 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31987 !__NR_fadvise64_64))]: Likewise.
31988 [__NR_fadvise64]: Make code unconditional.
31989 [!__NR_fadvise64]: Remove conditional code.
31990 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31991 <kernel-features.h>.
31992 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31994 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31997 not include <kernel-features.h>.
31998 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32000 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32002 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32003 include <kernel-features.h>.
32004 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32006 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32009 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32011 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32012 slight instruction rearrangements per scrollpipe analysis.
32013 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32015 2012-08-20 Roland McGrath <roland@hack.frob.com>
32017 * manual/syslog.texi (syslog; vsyslog, closelog):
32018 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32019 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32021 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32022 DSOCAPS to match condition on defining it.
32024 2012-08-20 Joseph Myers <joseph@codesourcery.com>
32026 * sysdeps/unix/sysv/linux/kernel-features.h
32027 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32029 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32030 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32032 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32033 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32035 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32036 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32038 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32039 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32041 * sysdeps/unix/sysv/linux/kernel-features.h
32042 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32043 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32045 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32046 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32047 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32048 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32049 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32050 Make code unconditional.
32051 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32052 (__mmap64) [!__NR_mmap2]: Likewise.
32053 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32054 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32055 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32056 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32057 [__NR_mmap2]: Make code unconditional.
32058 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32059 (__mmap64) [!__NR_mmap2]: Likewise.
32061 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32063 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32065 2012-08-18 Andreas Jaeger <aj@suse.de>
32067 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32069 2012-08-18 Mike Frysinger <vapier@gentoo.org>
32071 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32072 * include/unistd.h (__have_sock_cloexec): Likewise.
32073 (__have_pipe2): Likewise.
32074 (__have_dup3): Likewise.
32076 2012-08-18 Mike Frysinger <vapier@gentoo.org>
32079 * include/unistd.h (__have_pipe2): Change define into an extern int.
32080 (__have_dup3): Likewise.
32081 * socket/have_sock_cloexec.c: Include fcntl.h.
32082 (__have_pipe2): New variable.
32083 (__have_dup3): Likewise.
32085 2012-08-17 Mike Frysinger <vapier@gentoo.org>
32087 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32089 2012-08-17 Marek Polacek <polacek@redhat.com>
32091 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32092 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32094 2012-08-17 Roland McGrath <roland@hack.frob.com>
32096 * configure.in: Add AC_SUBST for sysheaders.
32097 * configure: Regenerated.
32098 * config.make.in (sysheaders): New substituted variable.
32100 * sysdeps/unix/mkfifo.c: Moved ...
32101 * sysdeps/posix/mkfifo.c: ... here.
32102 * sysdeps/unix/mkfifoat.c: Moved ...
32103 * sysdeps/posix/mkfifoat.c: ... here.
32105 * sysdeps/unix/utime.c: Moved ...
32106 * sysdeps/posix/utime.c: ... here.
32108 * sysdeps/unix/time.c: Moved ...
32109 * sysdeps/posix/time.c: ... here.
32110 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32111 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
32113 * sysdeps/unix/nice.c: Moved ...
32114 * sysdeps/posix/nice.c: ... here.
32116 * sysdeps/unix/alarm.c: Moved ...
32117 * sysdeps/posix/alarm.c: ... here.
32119 * intl/Makefile ($(codeset_mo)): Depend on the input file.
32121 2012-08-17 Jeff Law <law@redhat.com>
32123 * intl/Makefile (codeset_mo): New variable.
32124 ($(codeset_mo)): New target.
32125 (tst-codeset.out): Depend on that. Remove explicit rule.
32126 (tst-gettext3.out, tst-gettext5.out): Likewise.
32127 (LOCPATH-ENV, tst-codeset-ENV): New variables.
32128 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32129 * intl/tst-codeset.sh: Remove.
32130 * intl/tst-gettext3.sh: Likewise.
32131 * intl/tst-gettext5.sh: Likewise.
32133 2012-08-17 Roland McGrath <roland@hack.frob.com>
32135 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
32136 * sysdeps/unix/syscalls.list: ... here.
32138 * sysdeps/posix/getaddrinfo.c
32139 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32140 (gaiconf_init, gaiconf_reload): Use them.
32141 [!_STATBUF_ST_NSEC]
32142 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32143 Define using time_t rather than struct timespec.
32145 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32146 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32148 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32150 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32151 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32154 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32155 __libc_cleanup_push argument.
32157 * bits/param.h: New file.
32158 * misc/sys/param.h: New file.
32159 * include/sys/param.h: New file.
32160 * misc/Makefile (headers): Add bits/param.h.
32161 * sysdeps/generic/sys/param.h: File removed.
32162 * sysdeps/unix/sysv/linux/bits/param.h: New file.
32163 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32164 * sysdeps/mach/hurd/bits/param.h: New file.
32165 * sysdeps/mach/hurd/sys/param.h: File removed.
32167 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32170 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32172 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32173 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32176 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32177 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32178 rather than -D_IO_MTSAFE_IO conditionally.
32179 * stdio-common/Makefile (CPPFLAGS): Likewise.
32180 * wcsmbs/Makefile (CPPFLAGS): Likewise.
32181 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32182 Use $(libio-mtsafe).
32183 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32184 of -D_IO_MTSAFE_IO.
32185 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32186 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32187 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32188 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32189 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32190 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32191 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32192 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32193 (CFLAGS-fread_u_chk.c): Likewise.
32194 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32195 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32196 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32197 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32198 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32199 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32200 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32201 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32202 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32204 * libio/Makefile: Test [$(libc-reentrant) = yes]
32205 instead of [$(filter %REENTRANT, $(defines)) nonempty].
32208 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32209 * sysdeps/pthread/configure: File removed.
32210 * sysdeps/pthread/Makeconfig: New file.
32211 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32212 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32214 2012-08-16 Gary Benson <gbenson@redhat.com>
32216 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32217 unmapping the first object in a namespace.
32219 2012-08-16 Roland McGrath <roland@hack.frob.com>
32221 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32222 (__internal_setnetgrent): ... this. Add internal_function to
32223 definition. Add libc_hidden_def.
32224 (setnetgrent): Update caller.
32225 (internal_endnetgrent): Renamed to ...
32226 (__internal_endnetgrent): ... this. Add internal_function to
32227 definition. Add libc_hidden_def.
32228 (endnetgrent): Update caller.
32229 (internal_getnetgrent_r): Renamed to ...
32230 (__internal_getnetgrent_r): ... this. Add internal_function to
32231 definition. Add libc_hidden_def.
32232 (__getnetgrent_r): Update caller.
32233 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
32235 2012-08-16 Joseph Myers <joseph@codesourcery.com>
32237 * stdlib/longlong.h: Update from GCC.
32239 2012-08-16 Roland McGrath <roland@hack.frob.com>
32241 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32242 on _QL, which is set by umul_ppmm but never used.
32243 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32244 variables, which are set by GMP macros but never used.
32245 * stdio-common/_itowa.c (_itowa): Likewise.
32246 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32247 * stdlib/mod_1.c (mpn_mod_1): Likewise.
32249 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
32251 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32252 struct La_sh_regs is not constant.
32253 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32254 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32255 and struct La_sparc64_regs are not constant.
32257 2012-08-16 Joseph Myers <joseph@codesourcery.com>
32259 * sysdeps/unix/sysv/linux/kernel-features.h
32260 (__ASSUME_POSIX_TIMERS): Remove.
32261 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32262 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32263 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32264 Make code unconditional.
32265 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32266 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32267 Make code unconditional.
32268 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32269 * sysdeps/unix/sysv/linux/clock_nanosleep.c
32270 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32271 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32272 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32273 Make code unconditional.
32274 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32275 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32276 (__libc_missing_posix_timers): Remove.
32278 2012-08-15 Roland McGrath <roland@hack.frob.com>
32280 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32281 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32283 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32285 * elf/dl-sym.c: Include <stdlib.h>.
32287 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32288 constants, which avoids warnings in 32-bit builds.
32290 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32291 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32293 * misc/lseek.c: File moved to ...
32294 * io/lseek.c: ... here.
32296 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32298 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32299 shifting LEN more than 31 bits at once.
32301 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32304 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32305 segmentation fault for a case of two empty input strings.
32306 * string/test-strncasecmp.c (check1): Renamed to...
32307 (bz12205): ...this.
32308 (bz14195): Add new testcase for two empty input strings and N > 0.
32309 (test_main): Call new testcase, adapt for renamed function.
32311 2012-08-15 Andreas Jaeger <aj@suse.de>
32314 * crypt/md5test2.c: New test, based on test supplied by Serge
32315 Belyshev <belyshev@depni.sinp.msu.ru>.
32316 * crypt/Makefile (xtests): Add md5test-giant..
32317 * crypt/Makefile ($(objpfx)md5test-giant): Add.
32319 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
32322 * crypt/md5.c (md5_process_block): Don't assume the buffer
32323 length is less than 2**32.
32324 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32325 length is less than 2**64.
32327 2012-08-15 Roland McGrath <roland@hack.frob.com>
32329 * string/str-two-way.h: Include <sys/param.h>.
32330 (MAX): Macro removed.
32332 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32333 Move #define and #undef of memmove to just before and after
32334 including <string.h>.
32336 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32337 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32338 and after including <string.h>. Move declarations of
32339 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32340 to before #include "string/memmove.c".
32342 * include/dirent.h: Declare __getdirentries.
32344 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32345 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32347 2012-08-14 Mike Frysinger <vapier@gentoo.org>
32349 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32350 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32351 * sysdeps/i386/configure: Regenerated.
32352 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32353 STABS_CURRENT_FILE, and STABS_FUN.
32354 (END): Remove call to STABS_FUN_END.
32355 (STABS_CURRENT_FILE1): Delete.
32356 (STABS_CURRENT_FILE): Likewise.
32357 (STABS_FUN): Likewise.
32358 (STABS_FUN_END): Likewise.
32359 (STABS_FUN2): Likewise.
32360 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32361 * sysdeps/x86_64/configure: Regenerated.
32363 2012-08-14 Roland McGrath <roland@hack.frob.com>
32365 * elf/dl-open.c: Include <atomic.h>.
32366 * elf/dl-lookup.c: Likewise.
32368 2012-08-14 Joseph Myers <joseph@codesourcery.com>
32370 * sysdeps/unix/sysv/linux/kernel-features.h
32371 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32372 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32374 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32376 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32377 condition on __ASSUME_CLONE_THREAD_FLAGS.
32379 2012-08-14 Andreas Jaeger <aj@suse.de>
32381 * sysdeps/i386/fpu/libm-test-ulps: Update.
32383 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
32385 * include/atomic.h (atomic_exchange_and_add): Split into ...
32386 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32389 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
32391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32393 2012-08-13 Jeff Law <law@redhat.com>
32395 * manual/stdio.texi (snprintf): Clarify handling of the trailing
32396 null byte in the output string.
32398 2012-08-10 Joseph Myers <joseph@codesourcery.com>
32400 * sysdeps/unix/sysv/linux/kernel-features.h
32401 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32402 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32403 (__ASSUME_ARG_MAX_STACK_BASED): Define.
32404 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32405 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32406 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
32407 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32409 2012-08-09 Jeff Law <law@redhat.com>
32412 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32413 When avoid_arena is set, don't retry in the that arena. Pick the
32414 next one, whatever it might be.
32415 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32416 (arena_lock): Pass in new parameter to arena_get2.
32417 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32419 (__libc_malloc): Unify retrying after main arena failure with
32420 __libc_memalign version.
32421 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32423 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
32426 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32427 to __redirect_strstr.
32428 (__strstr_sse42): Use typeof __redirect_strstr.
32429 (__strstr_ia32): Likewise.
32430 (__libc_strstr): New prototype.
32431 (strstr): Renamed to ...
32432 (__libc_strstr): This.
32433 (strstr): New strong alias of __libc_strstr.
32434 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32435 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32438 (__libc_time): New prototype.
32439 (time_ifunc): Replace time with __libc_time.
32440 (time): New strong alias and hidden definition of __libc_time.
32441 (__GI_time): Remove strong alias.
32442 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32443 Include <stddef.h>.
32444 (memmove): Redefined to __redirect_memmove.
32445 (__memmove_sse2): Use typeof __redirect_memmove.
32446 (__memmove_ssse3): Likewise.
32447 (__memmove_ssse3_back): Likewise.
32448 (__libc_memmove): New prototype.
32449 (memmove): Renamed to ...
32450 (__libc_memmove): This.
32451 (memmove): New strong alias of __libc_memmove.
32453 2012-08-08 Mark Salter <msalter@redhat.com>
32456 (R_MN10300_TLS_GD): Define.
32457 (R_MN10300_TLS_LD): Likewise.
32458 (R_MN10300_TLS_LDO): Likewise.
32459 (R_MN10300_TLS_GOTIE): Likewise.
32460 (R_MN10300_TLS_IE): Likewise.
32461 (R_MN10300_TLS_LE): Likewise.
32462 (R_MN10300_TLS_DTPMOD): Likewise.
32463 (R_MN10300_TLS_DTPOFF): Likewise.
32464 (R_MN10300_TLS_TPOFF): Likewise.
32465 (R_MN10300_SYM_DIFF): Likewise.
32466 (R_MN10300_ALIGN): Likewise.
32467 (R_MN10300_NUM): Update.
32469 2012-08-08 Joseph Myers <joseph@codesourcery.com>
32471 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32474 2012-08-08 Roland McGrath <roland@hack.frob.com>
32476 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32478 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32479 sysdeps/unix -> sysdeps/posix move.
32480 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32482 2012-08-07 Allan McRae <allan@archlinux.org>
32485 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32486 (SUNOS_CPP): Likewise.
32487 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32489 (open_input): Call CPP using execvp.
32491 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32493 * sysdeps/unix/sysv/linux/kernel-features.h
32494 (__ASSUME_PROT_GROWSUPDOWN): Remove.
32495 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32496 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32497 (__ASSUME_WAITID_SYSCALL): Likewise.
32498 * sysdeps/unix/sysv/linux/dl-execstack.c
32499 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32500 code unconditional.
32501 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32503 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32504 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32505 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32507 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32509 [__ASSUME_WAITID_SYSCALL]: Likewise.
32510 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32512 2012-08-07 Roland McGrath <roland@hack.frob.com>
32514 * sysdeps/unix/closedir.c: Renamed to ...
32515 * sysdeps/posix/closedir.c: ... here.
32516 * sysdeps/unix/dirfd.c: Renamed to ...
32517 * sysdeps/posix/dirfd.c: ... here.
32518 * sysdeps/unix/dirstream.h: Renamed to ...
32519 * sysdeps/posix/dirstream.h: ... here.
32520 * sysdeps/unix/fdopendir.c: Renamed to ...
32521 * sysdeps/posix/fdopendir.c: ... here.
32522 * sysdeps/unix/opendir.c: Renamed to ...
32523 * sysdeps/posix/opendir.c: ... here.
32524 * sysdeps/unix/readdir.c: Renamed to ...
32525 * sysdeps/posix/readdir.c: ... here.
32526 * sysdeps/unix/readdir_r.c: Renamed to ...
32527 * sysdeps/posix/readdir_r.c: ... here.
32528 * sysdeps/unix/rewinddir.c: Renamed to ...
32529 * sysdeps/posix/rewinddir.c: ... here.
32530 * sysdeps/unix/seekdir.c: Renamed to ...
32531 * sysdeps/posix/seekdir.c: ... here.
32532 * sysdeps/unix/telldir.c: Renamed to ...
32533 * sysdeps/posix/telldir.c: ... here.
32534 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32535 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32536 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32537 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32539 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32540 * bits/fcntl.h: ... here.
32542 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32544 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32545 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32546 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32547 (struct flock): Move l_start, l_len to the beginning.
32548 Use __pid_t for l_pid.
32549 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32550 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32551 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32552 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32553 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32554 [__USE_LARGEFILE64] (struct flock64): New type.
32555 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32557 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32558 * bits/dirent.h: ... here.
32560 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32561 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32563 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32565 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32566 Change from 2.6.0 to 2.6.16.
32567 * sysdeps/unix/sysv/linux/configure: Regenerated.
32568 * sysdeps/unix/sysv/linux/kernel-features.h
32569 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32570 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32572 (__ASSUME_UTIMES): Likewise.
32573 (__ASSUME_CLONE_STOPPED): Remove.
32574 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32575 architectures, not kernel version.
32576 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32577 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32578 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32579 (__ASSUME_WAITID_SYSCALL): Likewise.
32580 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32581 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32582 * README: State 2.6.16 as minimum Linux kernel version. Do not
32583 refer to older versions.
32585 2012-08-06 Roland McGrath <roland@hack.frob.com>
32587 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32588 Define alphasort64 as an alias.
32589 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32590 Define versionsort64 as an alias.
32591 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32592 Define scandir64 as an alias.
32593 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32594 Define scandirat64 as an alias.
32595 * dirent/alphasort64.c (alphasort64):
32596 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32597 * dirent/versionsort64.c: Likewise.
32598 * dirent/scandir64.c: Likewise.
32599 * dirent/scandirat64.c: Likewise.
32600 * sysdeps/wordsize-64/alphasort.c: File removed.
32601 * sysdeps/wordsize-64/alphasort64.c: File removed.
32602 * sysdeps/wordsize-64/scandir.c: File removed.
32603 * sysdeps/wordsize-64/scandir64.c: File removed.
32604 * sysdeps/wordsize-64/scandirat.c: File removed.
32605 * sysdeps/wordsize-64/scandirat64.c: File removed.
32606 * sysdeps/wordsize-64/versionsort.c: File removed.
32607 * sysdeps/wordsize-64/versionsort64.c: File removed.
32608 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32609 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32610 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32611 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32612 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32613 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32614 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32615 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32617 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32618 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32619 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32620 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32621 [defined __arch64__ || defined __sparcv9]
32622 (__INO_T_MATCHES_INO64_T): New macro.
32623 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32624 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32625 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32626 * sysdeps/unix/sysv/linux/bits/dirent.h
32627 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32628 (_DIRENT_MATCHES_DIRENT64): New macro.
32630 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32631 Define lockf64 as an alias.
32632 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32633 Define fseeko64 as an alias.
32634 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32635 Define ftello64 as an alias.
32636 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32637 Define _IO_fgetpos64 and fgetpos64 as aliases.
32638 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32639 Define _IO_fsetpos64 and fsetpos64 as aliases.
32640 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32641 Conditionalize body on this.
32642 * libio/fseeko64.c: Likewise.
32643 * libio/ftello64.c: Likewise.
32644 * libio/iofgetpos64.c: Likewise.
32645 * libio/iofsetpos64.c: Likewise.
32646 * sysdeps/wordsize-64/lockf.c: File removed.
32647 * sysdeps/wordsize-64/lockf64.c: File removed.
32648 * sysdeps/wordsize-64/fseeko.c: File removed.
32649 * sysdeps/wordsize-64/fseeko64.c: File removed.
32650 * sysdeps/wordsize-64/ftello.c: File removed.
32651 * sysdeps/wordsize-64/ftello64.c: File removed.
32652 * sysdeps/wordsize-64/iofgetpos.c: File removed.
32653 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32654 * sysdeps/wordsize-64/iofsetpos.c: File removed.
32655 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32656 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32657 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32658 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32659 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32660 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32661 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32662 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32663 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32664 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32665 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32667 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32668 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32669 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32670 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32671 [defined __arch64__ || defined __sparcv9]
32672 (__OFF_T_MATCHES_OFF64_T): New macro.
32673 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32674 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32675 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32676 (__OFF_T_MATCHES_OFF64_T): New macro.
32678 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32680 * stdlib/secure-getenv.c (__secure_getenv): Replace
32681 GLIBC_2_16 with GLIBC_2_17.
32683 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32685 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32686 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32688 2012-08-03 David S. Miller <davem@davemloft.net>
32690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32692 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32694 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32696 (__ASSUME_CORRECT_SI_PID): Likewise.
32697 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32698 (__ASSUME_TMPFS_NAME): Likewise.
32699 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32700 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32701 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32702 (HAVE_AUX_SECURE): Make definition unconditional.
32703 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32704 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32706 2012-08-03 Roland McGrath <roland@hack.frob.com>
32708 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32709 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32710 * sysdeps/mach/hurd/eloop-threshold.h: New file.
32711 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32712 __eloop_threshold instead of SYMLOOP_MAX.
32714 * sysdeps/generic/eloop-threshold.h: New file.
32715 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32717 * elf/chroot_canon.c (chroot_canon): Likewise.
32719 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32722 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32723 Change to 2.6.0 everywhere.
32724 * sysdeps/unix/sysv/linux/configure: Regenerated.
32725 * sysdeps/unix/sysv/linux/kernel-features.h
32726 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32727 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32729 (__ASSUME_POSIX_TIMERS): Define unconditionally.
32730 (__ASSUME_FUTEX_REQUEUE): Remove.
32731 (__ASSUME_STATFS64): Define unconditionally.
32732 (__ASSUME_AT_SECURE): Likewise.
32733 (__ASSUME_CORRECT_SI_PID): Likewise.
32734 (__ASSUME_TGKILL): Define without depending on kernel version for
32736 (__ASSUME_UTIMES): Likewise.
32737 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32739 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32740 (__ASSUME_TMPFS_NAME): Likewise.
32741 * README: Update reference to Linux kernel versions.
32743 2012-08-02 Marek Polacek <polacek@redhat.com>
32746 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
32747 libc_cv_asm_type_prefix with %.
32748 * configure: Regenerated.
32749 * include/libc-symbols.h: Remove comment about
32750 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32751 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32752 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32753 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32754 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32755 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32756 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32757 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32758 * elf/tst-unique2mod1.c: Likewise.
32759 * elf/tst-unique1mod2.c: Likewise.
32760 * elf/tst-unique1mod1.c: Likewise.
32761 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32762 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32763 Replace ASM_TYPE_DIRECTIVE with .type.
32764 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32765 * sysdeps/i386/sysdep.h: Likewise.
32766 * sysdeps/x86_64/sysdep.h: Likewise.
32767 * sysdeps/sh/sysdep.h: Likewise.
32768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32769 Do not define ASM_TYPE_DIRECTIVE.
32770 * sysdeps/powerpc/sysdep.h: Likewise.
32771 * sysdeps/powerpc/powerpc32/sysdep.h:
32772 Replace ASM_TYPE_DIRECTIVE with .type.
32773 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32774 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32775 * sysdeps/i386/fpu/e_powf.S: Likewise.
32776 * sysdeps/i386/fpu/e_expl.S: Likewise.
32777 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32778 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32779 * sysdeps/i386/fpu/e_pow.S: Likewise.
32780 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32781 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32782 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32783 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32784 * sysdeps/i386/fpu/e_log2.S: Likewise.
32785 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32786 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32787 * sysdeps/i386/fpu/e_powl.S: Likewise.
32788 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32789 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32790 * sysdeps/i386/fpu/e_logl.S: Likewise.
32791 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32792 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32793 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32794 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32795 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32796 * sysdeps/i386/fpu/e_log.S: Likewise.
32797 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32798 * sysdeps/i386/fpu/e_logf.S: Likewise.
32799 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32800 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32801 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32802 * sysdeps/i386/fpu/e_log10.S: Likewise.
32803 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32804 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32805 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32806 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32807 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32808 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32809 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32810 * sysdeps/i386/i686/strtok.S: Likewise.
32811 * sysdeps/i386/i386-mcount.S: Likewise.
32812 * sysdeps/i386/strtok.S: Likewise.
32813 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32814 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32815 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32816 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32817 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32818 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32819 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32820 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32821 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32822 * sysdeps/x86_64/_mcount.S: Likewise.
32823 * sysdeps/x86_64/strtok.S: Likewise.
32824 * sysdeps/sh/_mcount.S: Likewise.
32826 2012-08-01 Roland McGrath <roland@hack.frob.com>
32828 * libio/iofopen.c: Include <fcntl.h>.
32829 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32830 (_IO_fopen64, fopen64): Define as aliases.
32831 * libio/iofopen64.c: Include <fcntl.h>.
32832 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32833 Conditionalize body on this.
32834 * sysdeps/wordsize-64/iofopen.c: File removed.
32835 * sysdeps/wordsize-64/iofopen64.c: File removed.
32837 2012-08-01 Marek Polacek <polacek@redhat.com>
32839 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32840 Use dlfcn directly instead of a variable.
32841 (binfmt-subdir): Do not define.
32844 2012-08-01 Joseph Myers <joseph@codesourcery.com>
32846 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32847 Remove all definitions.
32848 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32849 <kernel-features.h>.
32850 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32851 (miss_F_GETOWN_EX): Remove all definitions.
32852 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32854 [!__ASSUME_FCNTL64]: Remove conditional code.
32855 [__ASSUME_FCNTL64]: Make code unconditional.
32856 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32857 <kernel-features.h>.
32858 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32859 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32860 (lockf64) [__NR_fcntl64]: Make code unconditional.
32861 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32863 * sysdeps/unix/sysv/linux/kernel-features.h
32864 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32865 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32866 Make code unconditional.
32867 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32868 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32870 [__NR_vfork]: Make code unconditional.
32871 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32872 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32874 [__NR_vfork]: Make code unconditional.
32875 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32876 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32878 2012-08-01 Roland McGrath <roland@hack.frob.com>
32880 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32881 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32883 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32884 Define mkstemp64 as an alias.
32885 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32886 Define mkstemps64 as an alias.
32887 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32888 Define mkostemp64 as an alias.
32889 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32890 Define mkostemps64 as an alias.
32891 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32892 Conditionalize body on this.
32893 * misc/mkostemp64.c: Likewise.
32894 * misc/mkostemps64.c: Likewise.
32895 * misc/mkstemps64.c: Likewise.
32896 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32897 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32898 * sysdeps/wordsize-64/mkostemp.c: File removed.
32899 * sysdeps/wordsize-64/mkstemp.c: File removed.
32900 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32901 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32902 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32903 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32906 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32907 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32908 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32909 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32911 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32912 compat_symbol macros from <shlib-compat.h> rather than the underlying
32913 default_symbol_version and symbol_version macros, so that DEFAULT
32914 lines in shlib-versions are respected.
32915 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32917 2012-08-01 Florian Weimer <fweimer@redhat.com>
32919 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32920 Declare with warn_unused_result.
32921 (setgid, setregid, setegid, setresgid): Likewise.
32922 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32924 * WUR-REPORT: Remove set*id functions.
32926 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32928 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32930 2012-07-31 Roland McGrath <roland@hack.frob.com>
32933 * include/sys/socket.h (__libc_accept, __libc_accept4):
32934 Add attribute_hidden.
32935 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32937 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32939 * inet/getnetgrent_r.c (setup): Likewise.
32941 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32943 2012-07-31 David S. Miller <davem@davemloft.net>
32945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32947 2012-07-31 Joseph Myers <joseph@codesourcery.com>
32950 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32951 value between 1.0 and 2.0 and smaller part has absolute value less
32953 * math/s_clog10.c (__clog10): Likewise.
32954 * math/s_clog10f.c (__clog10f): Likewise.
32955 * math/s_clog10l.c (__clog10l): Likewise.
32956 * math/s_clogf.c (__clogf): Likewise.
32957 * math/s_clogl.c (__clogl): Likewise.
32958 * math/libm-test.inc (clog_test): Add more tests.
32959 (clog10_test): Likewise.
32960 * sysdeps/i386/fpu/libm-test-ulps: Update.
32961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32963 2012-07-31 Florian Weimer <fweimer@redhat.com>
32965 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32966 Exit with zero in case no suitable GID is found, and write a
32967 message to standard error.
32969 2012-07-30 Roland McGrath <roland@hack.frob.com>
32971 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32973 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32974 (MAXPATHLEN): Removed.
32975 (NOGROUP, NODEV): New macros.
32976 (setbit, clrbit, isset, isclr): New macros.
32977 (howmany, roundup, powerof2): New macros.
32978 (DEV_BSIZE): New macro.
32980 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32981 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32983 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32984 definition on [!__NO_LONG_DOUBLE_MATH].
32986 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32987 PTR_MANGLE and PTR_DEMANGLE.
32989 * socket/accept4.c (accept4): Rename to __libc_accept4.
32990 Define accept4 as a weak alias.
32992 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32993 on [_DIRENT_HAVE_D_TYPE].
32994 * io/ftw.c (ftw_dir): Likewise.
32996 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32998 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33000 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33001 Use the BSD numbers rather than the arbitrary ones we had.
33002 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33003 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33004 (SIGXCPU, SIGXFSZ): New macros.
33007 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33008 initializer on [_LIBC_REENTRANT].
33010 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33011 definitions inside [_POSIX_MAPPED_FILES].
33013 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33015 * dirent/opendir.c: Include <fcntl.h>.
33017 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33018 (__libc_getspecific): Likewise.
33019 (__libc_key_create): Likewise.
33021 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33022 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33023 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33024 (tmpfile64): Define as alias.
33025 * sysdeps/wordsize-64/tmpfile.c: File removed.
33026 * sysdeps/wordsize-64/tmpfile64.c: File removed.
33027 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33028 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33030 * stdio-common/vfscanf.c: Include <stdbool.h>.
33031 * nss/makedb.c: Likewise.
33032 * stdio-common/_i18n_number.h: Likewise.
33033 * argp/argp-help.c: Likewise.
33034 * posix/wordexp.c: Likewise.
33035 * sysdeps/posix/spawni.c: Likewise.
33036 * nss/nss_files/files-initgroups.c: Likewise.
33037 * stdio-common/reg-modifier.c: Include <stdlib.h>.
33038 * nss/nss_files/files-initgroups.c: Likewise.
33039 * nss/nss_db/db-netgrp.c: Likewise.
33040 * nss/nss_db/db-initgroups.c: Likewise.
33041 * io/fchmodat.c: Include <sys/stat.h>.
33043 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33044 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33046 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33049 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33050 Add multiple inclusion protection.
33052 2012-07-27 David S. Miller <davem@davemloft.net>
33054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33056 2012-07-27 Gary Benson <gbenson@redhat.com>
33059 * elf/rtld.c: Include <stap-probe.h>.
33060 (dl_main): Added static probes "init_start" and "init_complete".
33061 * elf/dl-load.c: Include <stap-probe.h>.
33062 (lose): Take new parameter "nsid".
33063 Added static probe "map_failed".
33064 (_dl_map_object_from_fd): Pass namespace id to lose.
33065 Added static probe "map_start".
33066 (open_verify): Pass namespace id to lose.
33067 * elf/dl-open.c: Include <stap-probe.h>.
33068 (dl_open_worker) Added static probes "map_complete", "reloc_start"
33069 and "reloc_complete".
33070 * elf/dl-close.c: Include <stap-probe.h>.
33071 (_dl_close_worker): Added static probes "unmap_start" and
33073 * elf/rtld-debugger-interface.txt: New file documenting the above.
33075 2012-07-26 Roland McGrath <roland@hack.frob.com>
33077 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33078 rather than a string variable.
33079 * sunrpc/rpc_main.c (h_output): Likewise.
33080 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33082 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
33084 * inet/check_native.c: New file.
33086 2012-07-26 Joseph Myers <joseph@codesourcery.com>
33089 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33090 if larger part has absolute value 1.0.
33091 * math/s_clog10.c (__clog10): Likewise.
33092 * math/s_clog10f.c (__clog10f): Likewise.
33093 * math/s_clog10l.c (__clog10l): Likewise.
33094 * math/s_clogf.c (__clogf): Likewise.
33095 * math/s_clogl.c (__clogl): Likewise.
33096 * math/libm-test.inc (clog_test): Add more tests.
33097 (clog10_test): Likewise.
33098 * sysdeps/i386/fpu/libm-test-ulps: Update.
33099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33101 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33102 (pltexit): Likewise.
33103 (La_regs): Likewise.
33104 (La_retval): Likewise.
33105 (int_retval): Likewise.
33106 Update #error for removed macros to refer only to definitions in
33108 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33110 (pltexit): Likewise.
33111 (La_regs): Likewise.
33112 (La_retval): Likewise.
33113 (int_retval): Likewise.
33114 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33116 (pltexit): Likewise.
33117 (La_regs): Likewise.
33118 (La_retval): Likewise.
33119 (int_retval): Likewise.
33120 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33122 (pltexit): Likewise.
33123 (La_regs): Likewise.
33124 (La_retval): Likewise.
33125 (int_retval): Likewise.
33126 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33128 (pltexit): Likewise.
33129 (La_regs): Likewise.
33130 (La_retval): Likewise.
33131 (int_retval): Likewise.
33132 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33134 (pltexit): Likewise.
33135 (La_regs): Likewise.
33136 (La_retval): Likewise.
33137 (int_retval): Likewise.
33138 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33140 (pltexit): Likewise.
33141 (La_regs): Likewise.
33142 (La_retval): Likewise.
33143 (int_retval): Likewise.
33144 * sysdeps/generic/tst-audit.h: Update comment to refer only to
33145 macro definitions in tst-audit.h.
33146 * sysdeps/i386/tst-audit.h: New file.
33147 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33148 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33149 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33150 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33151 * sysdeps/sh/tst-audit.h: Likewise.
33152 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33153 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33154 * sysdeps/x86_64/tst-audit.h: Likewise.
33156 2012-07-26 Andreas Jaeger <aj@suse.de>
33158 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33161 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33162 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33163 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33165 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33166 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33167 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33169 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33172 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33174 (si_call_addr, si_syscall, si_arch): Define new macro.
33175 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33177 (si_call_addr, si_syscall, si_arch): Define new marcro.
33178 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33180 (si_call_addr, si_syscall, si_arch): Define new macro.
33181 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33183 (si_call_addr, si_syscall, si_arch): Define new macro.
33185 2012-07-25 Joseph Myers <joseph@codesourcery.com>
33188 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33189 Change to 2.4.21 where previously 2.4.1.
33190 * sysdeps/unix/sysv/linux/configure: Regenerated.
33191 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33192 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33193 Linux kernel version.
33194 (__ASSUME_STD_AUXV): Remove.
33195 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33197 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33198 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33199 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33200 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33201 (__ASSUME_NETLINK_SUPPORT): Likewise.
33202 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33203 (__no_netlink_support): Remove conditional definition.
33204 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33206 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33207 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33208 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33209 (if_nameindex_ioctl): Remove.
33210 (if_nameindex_netlink): Do not handle __no_netlink_support.
33211 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33213 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33214 Remove conditional code.
33215 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33217 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33219 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33220 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33221 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33223 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33224 [!__ASSUME_STD_AUXV]: Remove conditional code.
33225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33226 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33227 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33229 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33230 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33232 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33234 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33235 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33237 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33239 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33242 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33245 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33246 code unconditional.
33247 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33249 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33251 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33254 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33256 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33259 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33260 code unconditional.
33261 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33263 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33265 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33268 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33269 code unconditional.
33270 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33272 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33274 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33277 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
33279 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33280 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33281 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33282 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33283 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33284 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33285 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33286 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33287 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33288 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33289 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33290 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33291 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33292 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33293 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33294 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33295 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33296 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33297 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33298 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33299 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33300 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33301 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33303 2012-07-25 Florian Weimer <fweimer@redhat.com>
33305 * Versions.def: Add GLIBC_2.17.
33306 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33307 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33308 Introduce __libc_secure_getenv.
33309 * stdlib/Versions (2.17): Add secure_getenv
33310 (GLIBC_PRIVATE): Add __libc_secure_getenv.
33311 * stdlib/secure-getenv.c: Rename __secure_getenv to
33312 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
33313 symbol __secure_getenv for GLIBC_2.0.
33314 * stdlib/tst-secure-getenv.c: New.
33315 * stdlib/Makefile (tests): Add testcase.
33316 * manual/startup.texi (Environment Access): Document
33318 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33319 __libc_secure_getenv.
33320 * inet/ruserpass.c (ruserpass): Likewise.
33321 * malloc/mtrace.c (mtrace): Likewise.
33322 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33323 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33324 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33325 * sysdeps/posix/tempname.c: Likewise. Evaluate
33326 HAVE_SECURE_GETENV.
33327 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33328 __secure_getenv to __libc_secure_getenv.
33329 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33336 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33342 2012-07-25 Joseph Myers <joseph@codesourcery.com>
33344 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33345 (struct La_i86_retval): Likewise.
33346 (struct La_x86_64_regs): Likewise.
33347 (struct La_x86_64_retval): Likewise.
33348 (struct La_x32_regs): Likewise.
33349 (struct La_x32_retval): Likewise.
33350 (struct La_ppc32_regs): Likewise.
33351 (struct La_ppc32_retval): Likewise.
33352 (struct La_ppc64_regs): Likewise.
33353 (struct La_ppc64_retval): Likewise.
33354 (struct La_sh_regs): Likewise.
33355 (struct La_sh_retval): Likewise.
33356 (struct La_s390_32_regs): Likewise.
33357 (struct La_s390_32_retval): Likewise.
33358 (struct La_s390_64_regs): Likewise.
33359 (struct La_s390_64_retval): Likewise.
33360 (struct La_sparc32_regs): Likewise.
33361 (struct La_sparc32_retval): Likewise.
33362 (struct La_sparc64_regs): Likewise.
33363 (struct La_sparc64_retval): Likewise.
33364 (struct audit_ifaces): Remove architecture-specific pltenter and
33366 * sysdeps/i386/ldsodefs.h: New file.
33367 * sysdeps/powerpc/ldsodefs.h: Likewise.
33368 * sysdeps/s390/ldsodefs.h: Likewise.
33369 * sysdeps/sh/ldsodefs.h: Likewise.
33370 * sysdeps/sparc/ldsodefs.h: Likewise.
33371 * sysdeps/x86_64/ldsodefs.h: Likewise.
33373 2012-07-25 Marek Polacek <polacek@redhat.com>
33376 * math/libm-test.inc (yn_test): Add another test.
33377 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33378 to ERANGE when the result is +-Inf.
33379 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33380 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33381 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33382 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33384 2012-07-24 Joseph Myers <joseph@codesourcery.com>
33386 * conform/data/time.h-data (NULL): Use macro-constant. Require
33388 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
33390 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
33392 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
33394 * configure.in <sysdeps resolving>: Correct printing
33396 * configure: Regenerate.
33398 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
33400 * math/w_ilogb.c: Include <limits.h>.
33401 * math/w_ilogbl.c: Likewise.
33403 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33405 * manual/lang.texi (__va_copy): Document primarily as ISO C99
33406 va_copy. Document allowing for unavailable va_copy only as
33407 pre-C99 compatibility.
33408 * manual/string.texi (Copying and Concatenation): Use va_copy
33409 instead of __va_copy in concat example.
33411 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
33413 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33414 (__sendto): Use create_address_port. Initialize APORT and deallocate
33417 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33418 with O_NOLINK passed to __file_name_lookup.
33420 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33421 with O_NOLINK passed to __file_name_lookup.
33423 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33424 negative N or less than NGIDS.
33426 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33427 type to string_t. Set ERANGE as errno and return it if NAME is not big
33428 enough. Use memcpy instead of strncpy.
33430 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33432 * elf/Makefile (check-data): Remove.
33433 (localplt.data): New vpath directive.
33434 ($(objpfx)check-localplt.out): Use localplt.data from vpath
33435 instead of $(check-data).
33436 * scripts/data/localplt-generic.data: Move to ...
33437 * sysdeps/generic/localplt.data: ... here.
33438 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33439 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33440 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33443 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33446 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33449 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33452 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33455 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33459 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33461 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33462 PPC32 and PPC64 files.
33463 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33464 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33466 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33468 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33469 __makecontext_ret to ...
33470 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33471 ... here and call exit if uc_link is NULL. New file.
33472 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33473 __makecontext_ret.S.
33474 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33475 __makecontext_ret to ...
33476 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33477 ... here and call exit if uc_link is NULL. New file.
33478 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33479 __makecontext_ret.S.
33481 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33483 * elf/elf.h (R_390_IRELATIVE): New definition.
33484 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33485 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
33486 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33487 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33488 (elf_machine_lazy_rel): Likewise.
33489 * sysdeps/s390/dl-irel.h: New file.
33490 * sysdeps/s390/s390-64/memcpy.S: New asm code.
33491 * sysdeps/s390/s390-64/memset.S: New asm code.
33492 * sysdeps/s390/s390-64/memcmp.S: New asm code.
33493 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33494 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33495 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33496 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33497 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33498 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33499 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33500 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33501 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33502 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33503 * sysdeps/s390/s390-32/memcpy.S: New asm code.
33504 * sysdeps/s390/s390-32/memset.S: New asm code.
33505 * sysdeps/s390/s390-32/memcmp.S: New asm code.
33507 2012-07-17 Marek Polacek <polacek@redhat.com>
33510 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33511 * sysdeps/s390/s390-64/configure.in: Likewise.
33512 * sysdeps/sparc/configure.in: Likewise.
33513 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33514 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33515 * sysdeps/i386/configure.in: Likewise.
33516 * sysdeps/x86_64/configure.in: Likewise.
33517 * sysdeps/sh/configure.in: Likewise.
33518 * sysdeps/s390/s390-32/configure: Regenerated.
33519 * sysdeps/s390/s390-64/configure: Likewise.
33520 * sysdeps/x86_64/configure: Likewise.
33521 * sysdeps/sh/configure: Likewise.
33522 * sysdeps/powerpc/powerpc64/configure: Likewise.
33523 * sysdeps/powerpc/powerpc32/configure: Likewise.
33524 * sysdeps/sparc/configure: Likwise.
33525 * sysdeps/i386/configure: Likewise.
33527 * elf/dl-open.c: Comment fixes.
33529 2012-07-17 Joseph Myers <joseph@codesourcery.com>
33531 * Makefile [CXX] (check-data): Remove.
33532 [CXX] (c++-types.data): New vpath directive.
33533 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33534 vpath. Do not allow for C++ type data being missing.
33535 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33536 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33537 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33538 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33539 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33540 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33541 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33544 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33547 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33550 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33553 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33556 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33559 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33560 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33562 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33565 * elf/tls-macros.h (TLS_LE): Move architecture-specific
33566 definitions to architecture-specific files.
33567 (TLS_IE): Likewise.
33568 (TLS_LD): Likewise.
33569 (TLS_GD): Likewise.
33570 * sysdeps/i386/tls-macros.h: New file.
33571 * sysdeps/powerpc/tls-macros.h: Likewise.
33572 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33573 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33574 * sysdeps/sh/tls-macros.h: Likewise.
33575 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33576 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33577 * sysdeps/x86_64/tls-macros.h: Likewise.
33579 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33581 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33582 zero value for regular exit case.
33584 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33585 (__start_context): Preserve zero value for regular exit case.
33587 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33588 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33590 * manual/setjmp.texi (setcontext): Clarify normal process
33591 termination when uc_link is the null pointer.
33592 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33595 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
33597 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33598 preprocessor. Test for each exception mask separately.
33600 2012-07-16 Andreas Jaeger <aj@suse.de>
33602 * po/ru.po: Update from translation team.
33604 2012-07-15 Joseph Myers <joseph@codesourcery.com>
33606 * conform/data/string.h-data (NULL): Use macro-constant. Require
33608 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33609 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33610 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33611 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33612 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33614 2012-07-13 Andreas Jaeger <aj@suse.de>
33616 * po/fr.po: Update from translation team.
33618 2012-07-12 Marek Polacek <polacek@redhat.com>
33621 * math/libm-test.inc (yn_test): Add test for BZ #14173.
33622 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33625 2012-07-12 Joseph Myers <joseph@codesourcery.com>
33628 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33629 Change to 2.4.1 where previously 2.4.0.
33630 * sysdeps/unix/sysv/linux/configure: Regenerated.
33631 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33632 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33634 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33635 (__ASSUME_AT_CLKTCK): Remove.
33636 (__ASSUME_AT_PAGESIZE): Likewise.
33637 (__ASSUME_AT_XID): Likewise.
33638 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33639 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33640 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33642 (HAVE_AUX_PAGESIZE): Likewise.
33643 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33644 [__ASSUME_AT_CLKTCK]: Make code unconditional.
33645 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33647 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
33650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33651 the temporary buffer used to invoke __gethostbyname2_r,
33652 __gethostbyaddr_r and gethostbyname4_r to make room for struct
33653 host_data / struct gaih_addrtuple.
33654 * resolv/nss_dns/dns-host.c (global scope): Move definition of
33655 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33656 header file nss/nsswitch.h.
33657 * nss/nsswitch.h (global scope): Add definition of implementation
33658 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33659 resolv/nss_dns/dns-host.c).
33661 2012-07-11 Andreas Jaeger <aj@suse.de>
33663 * po/fr.po: Update from translation team.
33665 * po/sv.po: Update from translation team
33666 * po/fr.po: Another update from translation team.
33668 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33670 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33671 for subnormals or multiply small sinh result by itself.
33672 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33675 2012-07-11 David S. Miller <davem@davemloft.net>
33677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33679 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
33682 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33683 (INTERNAL_MARK): Shift it here.
33685 2012-07-10 Marek Polacek <polacek@redhat.com>
33688 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
33689 libc_cv_asm_global_directive with .globl.
33690 * configure: Regenerated.
33691 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33693 * sysdeps/i386/configure: Regenerated.
33694 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33696 * sysdeps/x86_64/configure: Regenerated.
33697 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33698 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33699 * elf/tst-unique2mod2.c: Likewise.
33700 * elf/tst-unique2mod1.c: Likewise.
33701 * elf/tst-unique1mod2.c: Likewise.
33702 * elf/tst-unique1mod1.c: Likewise.
33703 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33704 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33705 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33706 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33707 * sysdeps/mach/sysdep.h: Likewise.
33708 * sysdeps/i386/sysdep.h: Likewise.
33709 * sysdeps/i386/i386-mcount.S: Likewise.
33710 * sysdeps/x86_64/_mcount.S: Likewise.
33711 * sysdeps/x86_64/sysdep.h: Likewise.
33712 * sysdeps/sh/_mcount.S: Likewise.
33713 * sysdeps/sh/sysdep.h: Likewise.
33714 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33715 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33716 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33717 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33718 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33719 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33720 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33721 * locale/localeinfo.h: Likewise.
33722 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33723 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33725 2012-07-09 Roland McGrath <roland@hack.frob.com>
33728 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33730 * manual/message.texi (The Uniforum approach): Likewise.
33731 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33732 (glibc iconv Implementation): Likewise.
33734 2012-07-09 Joseph Myers <joseph@codesourcery.com>
33737 * math/s_clog.c (__clog): Avoid scaling a value down where that
33738 could result in underflow.
33739 * math/s_clog10.c (__clog10): Likewise.
33740 * math/s_clog10f.c (__clog10f): Likewise.
33741 * math/s_clog10l.c (__clog10l): Likewise.
33742 * math/s_clogf.c (__clogf): Likewise.
33743 * math/s_clogl.c (__clogl): Likewise.
33744 * math/libm-test.inc (clog_test): Add more tests.
33745 (clog10_test): Likewise.
33746 * sysdeps/i386/fpu/libm-test-ulps: Update.
33747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33749 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
33752 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33753 by 7 not 8 to examine high bit of fractional part.
33756 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33757 for call to __mcount_internal.
33758 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33759 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33760 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33762 2012-07-06 Joseph Myers <joseph@codesourcery.com>
33765 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33766 approximation for values within 0x1p-13f of an odd multiple of
33768 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33769 exception. Add more tests.
33770 * sysdeps/i386/fpu/libm-test-ulps: Update.
33773 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33774 inputs and return -1 for them. Do not check for +Inf in case not
33775 reachable for +Inf.
33776 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33777 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33778 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33779 and return -1 for them. Do not check for +Inf in case not
33780 reachable for +Inf.
33781 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33783 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33784 and return -1 for them. Do not check for +Inf in case not
33785 reachable for +Inf.
33786 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33787 spurious underflow.
33788 * sysdeps/i386/fpu/libm-test-ulps: Update.
33789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33791 2012-07-06 Mike Frysinger <vapier@gentoo.org>
33793 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33795 2012-07-05 Joseph Myers <joseph@codesourcery.com>
33799 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33800 could result in spurious underflow. Scale down values above
33801 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33802 * math/s_csqrtf.c (__csqrtf): Likewise.
33803 * math/s_csqrtl.c (__csqrtl): Likewise.
33804 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33805 spurious underflow.
33806 * sysdeps/i386/fpu/libm-test-ulps: Update.
33807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33809 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33811 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33813 * catgets/xopen-msg.awk: New file.
33814 * catgets/xopen-msg.sed: Removed.
33816 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33818 * intl/po2test.awk: New file.
33819 * intl/po2test.sed: Removed.
33821 2012-07-04 Joseph Myers <joseph@codesourcery.com>
33824 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33825 or multiply small sinh result by itself.
33826 * math/s_ctanf.c (__ctanf): Likewise.
33827 * math/s_ctanh.c (__ctanh): Likewise.
33828 * math/s_ctanhf.c (__ctanhf): Likewise.
33829 * math/s_ctanhl.c (__ctanhl): Likewise.
33830 * math/s_ctanl.c (__ctanl): Likewise.
33831 * math/libm-test.inc (ctan_test_tonearest): New function.
33832 (ctan_test_towardzero): Likewise.
33833 (ctan_test_downward): Likewise.
33834 (ctan_test_upward): Likewise.
33835 (ctanh_test_tonearest): Likewise.
33836 (ctanh_test_towardzero): Likewise.
33837 (ctanh_test_downward): Likewise.
33838 (ctanh_test_upward): Likewise.
33839 (main): Call these new functions.
33840 * sysdeps/i386/fpu/libm-test-ulps: Update.
33841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33843 2012-07-03 Mike Frysinger <vapier@gentoo.org>
33845 * .gitignore: Delete /ports entry.
33847 2012-07-03 Andreas Jaeger <aj@suse.de>
33849 * po/bg.po: Update from translation team.
33850 * po/cs.po: Likewise.
33851 * po/de.po: Likewise.
33852 * po/hr.po: Likewise.
33853 * po/nl.pl: Likewise.
33854 * po/pl.po: Likewise.
33855 * po/vi.po: Likewise.
33857 2012-07-03 Joseph Myers <joseph@codesourcery.com>
33859 * Makeconfig [!+link] (+link-before-libc): New variable.
33860 [!+link] (+link-after-libc): Likewise.
33861 [!+link] (+link-tests): Likewise.
33862 [!+link] (+link): Define in terms of $(+link-before-libc) and
33863 $(+link-after-libc).
33864 [!+link-static] (+link-static-before-libc): New variable.
33865 [!+link-static] (+link-static-after-libc): Likewise.
33866 [!+link-static] (+link-static-tests): Likewise.
33867 [!+link-static] (+link-static): Define in terms of
33868 $(+link-static-before-libc) and $(+link-static-after-libc).
33869 [build-shared] (link-libc-before-gnulib): New variable.
33870 [build-shared] (link-libc-tests): Likewise.
33871 [build-shared] (link-libc): Define in terms of
33872 $(link-libc-before-gnulib).
33873 [!build-shared] (link-libc-tests): New variable.
33874 (link-libc-static-tests): New variable.
33875 [!gnulib] (gnulib-arch): New variable.
33876 [!gnulib] (gnulib-tests): Likewise.
33877 [!gnulib] (static-gnulib-arch): Likewise.
33878 [!gnulib] (static-gnulib-tests): Likewise.
33879 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33880 Define with "=" instead of ":=".
33881 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33882 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33883 * Rules (binaries-all-notests): New variable.
33884 (binaries-all-tests): Likewise.
33885 (binaries-static-notests): Likewise.
33886 (binaries-static-tests): Likewise.
33887 (binaries-all): Define using $(binaries-all-notests) and
33888 $(binaries-all-tests).
33889 (binaries-static): Define using $(binaries-static-notests) and
33890 $(binaries-static-tests).
33891 (binaries-shared-tests): New variable.
33892 (binaries-shared-notests): Likewise.
33893 (binaries-shared): Remove variable.
33894 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33895 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33896 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33897 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33898 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33899 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33900 * elf/Makefile (sln-modules): New variable.
33901 (extra-objs): Add $(sln-modules:=.o).
33902 (ldconfig-modules): Add static-stubs.
33903 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33904 * elf/static-stubs.c: New file.
33907 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33908 by 7 not 8 to examine high bit of fractional part. Use volatile
33909 variables when splitting into final array of floats if
33910 __FLT_EVAL_METHOD__ != 0.
33911 * math/libm-test.inc (cos_test): Add another test.
33912 (sin_test): Likewise.
33913 * sysdeps/i386/fpu/libm-test-ulps: Update.
33916 * math/libm-test.inc (cosh_test): Add more tests.
33918 * version.h (RELEASE): Set to "development".
33919 (VERSION): Set to "2.16.90".
33921 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33923 * NEWS: Update copyright. Remove last-updated date.
33924 Mention math library bug fixes and timezone data changes.
33925 * README: Mention GNU/Hurd, x32, and HPPA support status.
33927 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33929 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33931 2012-06-27 Andreas Jaeger <aj@suse.de>
33933 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33935 2012-06-25 Andreas Jaeger <aj@suse.de>
33937 * sysdeps/s390/fpu/libm-test-ulps: Update.
33939 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33940 Thomas Schwinge <thomas@codesourcery.com>
33942 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33943 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33944 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33947 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33949 * sysdeps/mach/start.c: Remove file.
33950 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33951 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33952 * sysdeps/sh/init-first.c: Likewise.
33954 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33955 registers for frame unwinding purposes, add CFI directives.
33956 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33957 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33958 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33961 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33962 __fortify_fail returning.
33963 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33965 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33966 sysdeps/sh/____longjmp_chk.S.
33967 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33968 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33969 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33970 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33972 * sysdeps/sh/abort-instr.h: New file.
33973 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33974 process in case exit returns.
33976 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33977 initialize the GOT register before use.
33979 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33980 calculation of ARGC > 4.
33982 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33983 meaningful names to some local labels.
33985 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33986 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33988 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33989 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33990 (__arch_compare_and_exchange_val_16_acq): Likewise.
33991 (__arch_compare_and_exchange_val_32_acq): Likewise.
33992 (atomic_exchange_and_add): Fix gUSA sequence.
33993 (atomic_add): Likewise.
33994 (atomic_add_negative): Likewise.
33995 (atomic_add_zero): Likewise.
33996 (atomic_bit_test_set): Likewise.
33998 2012-06-22 Andreas Schwab <schwab@redhat.com>
34001 * include/link.h (struct link_map): Add l_free_initfini.
34002 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34004 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34005 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34006 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34009 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
34011 * configure.in: Use AC_LANG_SOURCE.
34012 * configure: Regenerate.
34014 2012-06-22 Roland McGrath <roland@hack.frob.com>
34016 * configure.in (libc_cv_localstatedir): New substituted variable.
34017 * configure: Regenerated.
34018 * config.make.in (localstatedir): New variable, substituted from
34019 libc_cv_localstatedir.
34020 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34021 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34022 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34023 * sysdeps/gnu/configure: Regenerated.
34025 2012-06-21 Jeff Law <law@redhat.com>
34028 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34029 free. Simplify list management for _LIBC case.
34031 2012-06-21 Joseph Myers <joseph@codesourcery.com>
34034 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34035 Clear sign bit of 64-bit integer value before comparing against
34038 * sysdeps/mach/configure: Regenerated.
34040 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
34043 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34045 2012-06-21 Jeff Law <law@redhat.com>
34048 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
34049 uint16_t for elements in the "seen" array to avoid char overflows.
34050 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34051 * elf/dl-open.c (dl_open_worker): Likewise.
34053 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
34055 * scripts/list-sources.sh: Scan PORTS for translations.
34056 * po/libc.pot: Regenerated.
34058 2012-06-21 Andreas Jaeger <aj@suse.de>
34061 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34063 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34064 * bits/byteswap-16.h (__bswap_16): Likewise.
34065 * bits/byteswap.h (__bswap_constant_16): Likewise.
34067 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
34070 * sysdeps/i386/fpu_control.h: Removed.
34071 * sysdeps/x86_64/fpu_control.h: Moved to ...
34072 * sysdeps/x86/fpu_control.h: Here.
34074 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34075 (_FPU_SETCW): Likewise.
34077 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
34080 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34081 * sysdeps/x86/fpu/bits/mathinline.h: This.
34082 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34086 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34087 functions if __x86_64__ is defined.
34089 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
34091 * string/endian.h: Add !__ASSEMBLER__ condition for including
34092 conversion interfaces.
34094 2012-06-15 Joseph Myers <joseph@codesourcery.com>
34097 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34098 of ABS(x) in calculating zero to negative powers other than odd
34100 * math/libm-test.inc (pow_test): Add more tests.
34102 2012-06-15 Andreas Jaeger <aj@suse.de>
34104 * manual/contrib.texi (Contributors): Update entry of Liubov
34105 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34108 2012-06-15 Cyril Hrubis <metan@ucw.cz>
34110 * string/string.h: Add __wur to GNU version of strerror_r.
34112 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
34115 * string/Makefile (tests): Add tst-strtok_r.
34116 * string/tst-strtok_r.c: New file.
34117 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34118 RAX_LP/RDX_LP on SAVE_PTR.
34120 2012-06-14 Roland McGrath <roland@hack.frob.com>
34122 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34124 2012-06-14 Joseph Myers <joseph@codesourcery.com>
34126 * libm_test.inc (csqrt_test): Allow more spurious underflow
34128 (j0_test): Likewise.
34129 (j1_test): Likewise.
34130 (y0_test): Likewise.
34131 (y1_test): Likewise.
34133 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
34135 * po/Makefile (libc.pot): Use UTF-8 charset.
34137 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
34140 Suppress sign-conversion warning from FD_SET.
34141 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34142 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34143 not unsigned long int.
34144 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34146 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
34150 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34151 __extern_always_inline instead of __extern_inline.
34152 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34153 (__signbit): Likewise.
34154 (__signbitl): Support C++ namespace.
34155 (lrintf): New inline function.
34157 (llrintf): Likewise.
34158 (llrint): Likewise.
34168 (floorf): Likewise.
34169 (nearbyint): Likewise.
34170 (nearbyintf): Likewise.
34172 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
34174 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34175 non-default versions.
34177 2012-06-11 Roland McGrath <roland@hack.frob.com>
34180 * manual/argp.texi (Argp): Reword argp_parse description slightly.
34182 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
34184 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34185 (FE_UPWARD, FE_DOWNWARD): Don't define.
34186 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34187 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34189 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34191 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34192 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34194 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34196 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34197 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34198 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34199 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34201 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
34204 * sysdeps/i386/fpu/bits/fenv.h: Removed.
34205 * sysdeps/i386/fpu/Implies: New file.
34206 * sysdeps/x86_64/fpu/Implies: Likewise.
34207 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34208 * sysdeps/x86/fpu/bits/fenv.h: This.
34210 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34213 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34216 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34217 character 0xffff that matches the last element of the
34220 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34222 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34225 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34227 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34228 values higher than 25.6283.
34230 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34232 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34233 subnormal exponent extraction and add some __builtin_expect.
34234 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34235 Fix for subnormal mantissa calculation.
34237 2012-06-04 Mike Frysinger <vapier@gentoo.org>
34239 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34240 cpu2 is -1 and errno is not ENOSYS.
34242 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
34245 * sysdeps/i386/i486/bits/string.h: Renamed to ...
34246 * sysdeps/x86/bits/string.h: This.
34247 * sysdeps/x86_64/bits/string.h: Removed.
34249 * sysdeps/i386/i486/bits/string.h: Define inline functions only
34250 if not compiling for x86-64, but compiling for >= i486.
34252 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34253 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34255 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34256 New macro from Linux kernel 3.4.0.
34257 (FP_XSTATE_MAGIC2): Likewise.
34258 (FP_XSTATE_MAGIC2_SIZE): Likewise.
34259 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34260 (struct _fpx_sw_bytes): New struct.
34261 (struct _xsave_hdr): Likewise.
34262 (struct _ymmh_state): Likewise.
34263 (struct _xstate): Likewise.
34265 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34266 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34267 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34268 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34269 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34270 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34272 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34273 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34274 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34275 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34276 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34277 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34279 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34282 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34283 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34284 (sysdep_headers): Include sys/platform/ppc.h.
34285 * sysdeps/powerpc/test-gettimebase.c: Test for
34286 __ppc_get_timebase() to catch future ISA opcode/insn changes.
34287 * manual/Makefile (appendices): Include platform.texi.
34288 * manual/contrib.texi (Contributors): Update @node pointers.
34289 * manual/maint.texi (Maintenance): Likewise.
34290 (Platform): New node.
34291 * manual/platform.texi: New file. Document the new features.
34293 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34294 Jakub Jelinek <jakub@redhat.com>
34297 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34298 where __builtin_expect is unavailable.
34300 2012-06-03 David S. Miller <davem@davemloft.net>
34302 * stdlib/longlong.h: Updated from GCC.
34304 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
34307 * sysdeps/powerpc/powerpc32/mcount.c: New file.
34308 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34311 (GLIBC_2.16): Likewise.
34313 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34315 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34317 2012-06-01 Joseph Myers <joseph@codesourcery.com>
34319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34320 (default-abi): New variable.
34321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34322 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34324 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34326 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34328 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34331 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34332 definition. Document in comment.
34334 2012-06-01 David S. Miller <davem@davemloft.net>
34336 * stdlib/longlong.h: Updated from GCC.
34338 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34341 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34342 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34343 sys/debugreg.h sys/io.h here.
34344 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34345 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34347 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34348 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34349 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34350 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34351 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34352 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34354 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34355 Define only if __x86_64__ is defined.
34357 2012-06-01 Joseph Myers <joseph@codesourcery.com>
34360 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34361 Use int64_t for variable i.
34362 * math/libm-test.inc (fmod_test): Add more tests.
34364 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34365 z computation is not scheduled after fetestexcept.
34366 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34367 Use math_force_eval instead of asm to ensure calculation scheduled
34368 before exception test.
34369 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34370 Ensure a1 + u.d computation is not scheduled after fetestexcept.
34372 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
34374 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34375 computation is not scheduled after fetestexcept.
34377 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34380 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34381 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34383 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34385 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34386 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34388 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34391 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34393 (__WCHAR_MIN): Support __WORDSIZE == 64.
34394 (__WCHAR_MAX): Likewise.
34396 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34397 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34400 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34401 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34404 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34405 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34407 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34408 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34410 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34411 Defined to 1 if __x86_64__ isn't defined.
34412 (_STAT_VER_LINUX_OLD): New.
34413 (st_atime): Remove duplicate.
34414 (st_mtime): Likewise.
34415 (st_ctime): Likewise.
34417 2012-05-31 David S. Miller <davem@davemloft.net>
34419 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34422 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
34424 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34428 * elf/dl-reloc.c: Include <_itoa.h>.
34429 (_dl_reloc_bad_type): Remove use of INTUSE.
34430 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34431 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34432 * stdio-common/psiginfo.c (psiginfo): Likewise.
34433 * stdio-common/psignal.c (psignal): Likewise.
34434 * string/strsignal.c (strsignal): Likewise.
34435 * include/signal.h (_sys_siglist): Declare hidden proto.
34436 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
34437 INTVARDEF with libc_hidden_data_def.
34438 * stdio-common/itoa-udigits.c: Likewise.
34439 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34440 (_itoa_lower_digits_internal): Remove declaration.
34441 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34442 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34443 (_sys_sigabbrev_internal): Remove aliases.
34444 (_sys_siglist): Define hidden alias.
34446 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
34448 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34451 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34454 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34455 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34457 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34458 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34459 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34460 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34461 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34462 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34464 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34465 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34466 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34468 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34476 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34477 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34478 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34480 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34481 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34482 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34483 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34484 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34485 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34487 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34488 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34490 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34491 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34493 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34494 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34495 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34497 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34498 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34500 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34502 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34503 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34504 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34506 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34508 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34510 2012-05-31 Joseph Myers <joseph@codesourcery.com>
34512 * math/math.h (M_El): Use two more decimal places.
34513 (M_LOG2El): Likewise.
34514 (M_LOG10El): Likewise.
34515 (M_LN2l): Likewise.
34516 (M_LN10l): Likewise.
34518 (M_PI_2l): Likewise.
34519 (M_PI_4l): Likewise.
34520 (M_1_PIl): Likewise.
34521 (M_2_PIl): Likewise.
34522 (M_2_SQRTPIl): Likewise.
34523 (M_SQRT2l): Likewise.
34524 (M_SQRT1_2l): Likewise.
34526 2012-05-31 David S. Miller <davem@davemloft.net>
34528 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34529 values between float registers.
34530 * sysdeps/sparc/sparc64/memset.S: Likewise.
34531 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34533 2012-05-31 Mike Frysinger <vapier@gentoo.org>
34535 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34536 -D_FORTIFY_SOURCE=1.
34537 (CPPFLAGS-tst-longjmp_chk.c): Define.
34538 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34539 (CPPFLAGS-tst-longjmp_chk2.c): Define.
34540 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34541 CFLAGS-tst-wchar-h.c.
34543 2012-05-31 Marek Polacek <polacek@redhat.com>
34546 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34547 __endmntent_internal): Remove declaration.
34548 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34549 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34550 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34552 2012-05-30 David S. Miller <davem@davemloft.net>
34554 * sysdeps/sparc/sparc32/soft-fp/q_util.c
34555 (___Q_simulate_exceptions): Use real FP ops rather than writing
34557 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34560 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34563 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34564 * sysdeps/x86/bits/xtitypes.h: This.
34566 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34567 * sysdeps/x86/bits/wordsize.h: This.
34569 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34570 * sysdeps/x86/bits/huge_vall.h: This.
34572 * sysdeps/i386/bits/select.h: Removed.
34573 * sysdeps/x86_64/bits/select.h: Renamed to ...
34574 * sysdeps/x86/bits/select.h: This.
34576 * sysdeps/i386/bits/setjmp.h: Removed.
34577 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34578 * sysdeps/x86/bits/setjmp.h: This.
34580 * sysdeps/i386/bits/mathdef.h: Removed.
34581 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34582 * sysdeps/x86/bits/mathdef.h: This.
34584 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
34587 * include/sys/socket.h (__connect_internal)
34588 (__libc_sa_len_internal): Remove declaration.
34589 (__connect, __libc_sa_len): Declare hidden_proto.
34590 (SA_LEN): Remove use of INTUSE.
34591 * socket/connect.c: Add libc_hidden_def.
34592 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34593 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34594 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34596 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34597 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34598 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34599 of adding _internal alias.
34601 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34604 * sysdeps/i386/bits/link.h: Removed.
34605 * sysdeps/i386/bits/linkmap.h: Likewise.
34606 * sysdeps/x86_64/bits/link.h: Renamed to ...
34607 * sysdeps/x86/bits/link.h: This.
34608 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34609 * sysdeps/x86/bits/linkmap.h: This.
34611 * sysdeps/i386/bits/endian.h: Removed.
34612 * sysdeps/x86_64/bits/endian.h: Renamed to ...
34613 * sysdeps/x86/bits/endian.h: This.
34615 * sysdeps/i386/bits/byteswap.h: Removed.
34616 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34617 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34618 * sysdeps/x86/bits/byteswap.h: This.
34619 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34620 * sysdeps/x86/bits/byteswap-16.h: This.
34621 * sysdeps/i386/Implies: Add x86.
34622 * sysdeps/x86_64/Implies: Likewise.
34624 2012-05-30 David S. Miller <davem@davemloft.net>
34626 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34627 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34628 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34629 (FP_TRAPPING_EXCEPTIONS): Define.
34630 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34631 (FP_TRAPPING_EXCEPTIONS): Define.
34632 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34633 subnormals only when inexact has been signalled or underflow
34634 exceptions are enabled.
34635 (_FP_PACK_CANONICAL): Likewise.
34637 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34640 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34641 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34643 2012-05-30 Richard Henderson <rth@twiddle.net>
34645 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34646 with #ifndef NOT_IN_libc.
34648 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
34649 marked to avoid plt entry.
34651 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34654 * Makeconfig (default-abi): New macro.
34655 (abi-includes): Likewise.
34656 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
34657 $(abi-$(default-abi)-lib-soname) for soname if defined.
34658 ($(common-objpfx)gnu/lib-names.stmp): Generate from
34660 * Makefile (installed-stubs): Likewise.
34661 * include/stubs-biarch.h: Removed.
34662 * scripts/lib-names.awk: Only handle one library at a time.
34663 * scripts/soversions.awk: Remove WORDSIZE support.
34664 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34666 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34668 (syscall-list-default-condition): Likewise.
34669 (syscall-list-default-condition): Likewise.
34670 (syscall-list-includes): Likewise.
34671 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34672 syscall-list-* with abi-*. Handle undefined abi-variants.
34673 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34674 * sysdeps/unix/sysv/linux/i386/Implies: New file.
34675 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34676 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34677 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34678 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34680 (syscall-list-32-options): Likewise.
34681 (syscall-list-32-condition): Likewise.
34682 (syscall-list-64-options): Likewise.
34683 (syscall-list-64-condition): Likewise.
34684 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34686 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34689 (abi-64-ld-soname): New macro.
34690 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34691 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34694 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34695 * sysdeps/x86_64/x32/shlib-versions: Likewise.
34697 2012-05-30 Joseph Myers <joseph@codesourcery.com>
34699 * sysdeps/unix/sysv/linux/kernel-features.h
34700 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34701 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34702 include <kernel-features.h>.
34703 [!__NR_ftruncate64]: Remove conditional code.
34704 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34705 [__NR_ftruncate64]: Make code unconditional.
34706 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34707 * sysdeps/unix/sysv/linux/truncate64.c: Do not
34708 include <kernel-features.h>.
34709 [!__NR_ftruncate64]: Remove conditional code.
34710 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34711 [__NR_ftruncate64]: Make code unconditional.
34712 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34714 include <kernel-features.h>.
34715 [!__NR_ftruncate64]: Remove conditional code.
34716 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34717 [__NR_ftruncate64]: Make code unconditional.
34718 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34720 include <kernel-features.h>.
34721 [!__NR_ftruncate64]: Remove conditional code.
34722 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34723 [__NR_ftruncate64]: Make code unconditional.
34724 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34726 * configure.in (libc_cv_fpie): Weaken to a compile test using
34727 LIBC_TRY_CC_OPTION.
34728 * configure: Regenerated.
34730 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34745 2012-05-27 David S. Miller <davem@davemloft.net>
34747 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34749 (__Q_simulate_exceptions): Return void. Change to simulate
34750 exceptions by writing into the %fsr.
34751 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34752 (__Qp_handle_exceptions): Likewise.
34754 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34755 __Qp_handle_exceptions.
34756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34757 __Qp_handle_exceptions.
34758 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34759 as unused and give dummy FP_RND_NEAREST initializer.
34760 (FP_INHIBIT_RESULTS): Define.
34761 (___Q_simulate_exceptions): Update declaration.
34762 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34764 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34765 as unused and give dummy FP_RND_NEAREST initializer.
34766 (__Qp_handle_exceptions): Update declaration.
34767 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34770 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34772 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34773 the temporary FPU control word.
34774 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34775 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34776 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34777 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34778 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34779 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34780 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34781 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34782 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34783 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34784 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34786 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34788 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34791 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34793 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34794 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34795 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34796 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34798 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34799 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34802 2012-05-27 Ulrich Drepper <drepper@gmail.com>
34804 * po/h.po: Update from translation team.
34806 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34808 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34810 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34811 handling of denormals.
34812 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34813 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34814 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34815 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34816 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34817 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34818 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34821 2012-05-26 Marek Polacek <polacek@redhat.com>
34824 * math/libm-test.inc (fma_test): Don't always expect underflow
34827 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34830 * elf/tst-execstack.c: Include stackinfo.h.
34831 (do_test): Adjust test case to ensure that pthread_getattr_np
34832 behaviour remains the same after marking stack executable.
34834 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34836 * sysdeps/unix/sysv/linux/kernel-features.h
34837 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34838 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34840 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34841 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34842 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34844 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34845 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34847 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34849 * configure.in: Define the default includes to being none.
34850 * configure: Regenerated.
34852 2012-05-25 Roland McGrath <roland@hack.frob.com>
34854 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34855 * sysdeps/x86_64/setjmp.S: Likewise.
34856 * sysdeps/i386/bsd-setjmp.S: Likewise.
34857 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34858 * sysdeps/i386/setjmp.S: Likewise.
34859 * sysdeps/i386/__longjmp.S: Likewise.
34860 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34861 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34863 * include/stap-probe.h: New file.
34864 * configure.in: Handle --enable-systemtap.
34865 * configure: Regenerated.
34866 * config.h.in (USE_STAP_PROBE): New #undef.
34867 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34868 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34869 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34871 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34874 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34875 to 2.4.0 where earlier.
34876 * sysdeps/unix/sysv/linux/configure: Regenerated.
34877 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34878 <kernel-features.h>.
34879 [__ASSUME_32BITUIDS]: Make code unconditional.
34880 [!__ASSUME_32BITUIDS]: Remove conditional code.
34881 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34882 <kernel-features.h>.
34883 [__ASSUME_32BITUIDS]: Make code unconditional.
34884 [!__ASSUME_32BITUIDS]: Remove conditional code.
34885 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34886 [__ASSUME_32BITUIDS]: Make code unconditional.
34887 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34888 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34889 <kernel-features.h>.
34890 [__ASSUME_32BITUIDS]: Make code unconditional.
34891 [!__ASSUME_32BITUIDS]: Remove conditional code.
34892 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34893 <kernel-features.h>.
34894 [__ASSUME_32BITUIDS]: Make code unconditional.
34895 [!__ASSUME_32BITUIDS]: Remove conditional code.
34896 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34897 <kernel-features.h>.
34898 [__ASSUME_32BITUIDS]: Make code unconditional.
34899 [!__ASSUME_32BITUIDS]: Remove conditional code.
34900 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34901 <kernel-features.h>.
34902 [__ASSUME_32BITUIDS]: Make code unconditional.
34903 [!__ASSUME_32BITUIDS]: Remove conditional code.
34904 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34905 <kernel-features.h>.
34906 [__ASSUME_32BITUIDS]: Make code unconditional.
34907 [!__ASSUME_32BITUIDS]: Remove conditional code.
34908 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34909 <kernel-features.h>.
34910 [__ASSUME_32BITUIDS]: Make code unconditional.
34911 [!__ASSUME_32BITUIDS]: Remove conditional code.
34912 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34913 <kernel-features.h>.
34914 [__ASSUME_32BITUIDS]: Make code unconditional.
34915 [!__ASSUME_32BITUIDS]: Remove conditional code.
34916 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34917 <kernel-features.h>.
34918 [__ASSUME_32BITUIDS]: Make code unconditional.
34919 [!__ASSUME_32BITUIDS]: Remove conditional code.
34920 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34921 <kernel-features.h>.
34922 [__ASSUME_32BITUIDS]: Make code unconditional.
34923 [!__ASSUME_32BITUIDS]: Remove conditional code.
34924 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34925 <kernel-features.h>.
34926 [__ASSUME_32BITUIDS]: Make code unconditional.
34927 [!__ASSUME_32BITUIDS]: Remove conditional code.
34928 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34929 <kernel-features.h>.
34930 [__NR_setresgid] (__setresgid): Do not declare.
34931 [__ASSUME_32BITUIDS]: Make code unconditional.
34932 [!__ASSUME_32BITUIDS]: Remove conditional code.
34933 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34934 <kernel-features.h>.
34935 [__NR_setresuid] (__setresuid): Do not declare.
34936 [__ASSUME_32BITUIDS]: Make code unconditional.
34937 [!__ASSUME_32BITUIDS]: Remove conditional code.
34938 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34939 <kernel-features.h>.
34940 [__ASSUME_32BITUIDS]: Make code unconditional.
34941 [!__ASSUME_32BITUIDS]: Remove conditional code.
34942 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34943 <kernel-features.h>.
34944 [__ASSUME_32BITUIDS]: Make code unconditional.
34945 [!__ASSUME_32BITUIDS]: Remove conditional code.
34946 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34947 <kernel-features.h>.
34948 [__ASSUME_32BITUIDS]: Make code unconditional.
34949 [!__ASSUME_32BITUIDS]: Remove conditional code.
34950 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34951 <kernel-features.h>.
34952 [__ASSUME_32BITUIDS]: Make code unconditional.
34953 [!__ASSUME_32BITUIDS]: Remove conditional code.
34954 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34955 <kernel-features.h>.
34956 [__ASSUME_32BITUIDS]: Make code unconditional.
34957 [!__ASSUME_32BITUIDS]: Remove conditional code.
34958 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34959 <kernel-features.h>.
34960 [__ASSUME_32BITUIDS]: Make code unconditional.
34961 [!__ASSUME_32BITUIDS]: Remove conditional code.
34962 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34963 <kernel-features.h>.
34964 [__ASSUME_32BITUIDS]: Make code unconditional.
34965 [!__ASSUME_32BITUIDS]: Remove conditional code.
34966 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34967 <kernel-features.h>.
34968 [__ASSUME_32BITUIDS]: Make code unconditional.
34969 [!__ASSUME_32BITUIDS]: Remove conditional code.
34970 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34971 <kernel-features.h>.
34972 [__ASSUME_32BITUIDS]: Make code unconditional.
34973 [!__ASSUME_32BITUIDS]: Remove conditional code.
34974 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34975 <kernel-features.h>.
34976 [__ASSUME_32BITUIDS]: Make code unconditional.
34977 [!__ASSUME_32BITUIDS]: Remove conditional code.
34978 * sysdeps/unix/sysv/linux/kernel-features.h
34979 (__ASSUME_SETRESUID_SYSCALL): Remove.
34980 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34981 (__ASSUME_32BITUIDS): Likewise.
34982 (__ASSUME_LDT_WORKS): Likewise.
34983 (__ASSUME_O_DIRECTORY): Likewise.
34984 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34985 architecture but not kernel version.
34986 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34987 (__ASSUME_MMAP2_SYSCALL): Likewise.
34988 (__ASSUME_STAT64_SYSCALL): Likewise.
34989 (__ASSUME_IPC64): Likewise.
34990 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34991 <kernel-features.h>.
34992 [__ASSUME_32BITUIDS]: Make code unconditional.
34993 [!__ASSUME_32BITUIDS]: Remove conditional code.
34994 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34995 <kernel-features.h>.
34996 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34997 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34998 132096]: Remove conditional code.
34999 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35000 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35001 <kernel-features.h>.
35002 [__ASSUME_32BITUIDS]: Make code unconditional.
35003 [!__ASSUME_32BITUIDS]: Remove conditional code.
35004 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35005 <kernel-features.h>.
35006 [__ASSUME_32BITUIDS]: Make code unconditional.
35007 [!__ASSUME_32BITUIDS]: Remove conditional code.
35008 * sysdeps/unix/sysv/linux/setegid.c: Do not include
35009 <kernel-features.h>.
35010 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35012 (__setresgid): Do not declare.
35013 [__ASSUME_32BITUIDS]: Make code unconditional.
35014 [!__ASSUME_32BITUIDS]: Remove conditional code.
35015 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35016 <kernel-features.h>.
35017 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35019 (__setresuid): Do not declare.
35020 [__ASSUME_32BITUIDS]: Make code unconditional.
35021 [!__ASSUME_32BITUIDS]: Remove conditional code.
35022 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35023 <kernel-features.h>.
35024 [__ASSUME_32BITUIDS]: Make code unconditional.
35025 [!__ASSUME_32BITUIDS]: Remove conditional code.
35026 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35027 <kernel-features.h>.
35028 [__ASSUME_32BITUIDS]: Make code unconditional.
35029 [!__ASSUME_32BITUIDS]: Remove conditional code.
35031 2012-05-25 Richard Henderson <rth@twiddle.net>
35033 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35034 dl_hwcap to ifunc resolver.
35035 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35037 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35038 dl_hwcap to ifunc resolver.
35039 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35041 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35044 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35045 for |x| <= 2**-26, not 2**-57.
35046 * math/libm-test.inc (acos_test): Do not allow spurious underflow
35049 2012-05-24 Jeff Law <law@redhat.com>
35051 * stdio-common/Makefile (tests): Add bug25.
35052 * stdio-common/bug25.c: New test.
35054 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35057 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35058 multiple of MALLOC_ALIGNMENT in size.
35059 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35061 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35063 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35065 (FILENAME_MAX): Use macro-int-constant.
35066 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
35067 (_IOFBF): Use macro-int-constant.
35068 (_IOLBF): Likewise.
35069 (_IONBF): Likewise.
35070 (SEEK_CUR): Likewise.
35071 (SEEK_END): Likewise.
35072 (SEEK_SET): Likewise.
35073 (TMP_MAX): Likewise.
35074 (EOF): Use macro-int-constant. Require < 0.
35075 (NULL): Use macro-constant. Require == 0.
35076 (stdin): Require type to be FILE *.
35077 (stdout): Likewise.
35078 (stderr): Likewise.
35079 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35080 macro-int-constant.
35081 (EXIT_SUCCESS): Likewise.
35082 (NULL): Use macro-constant. Require == 0.
35083 (RAND_MAX): Use macro-int-constant.
35084 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35085 [C99-based standards] (strtof): Require function.
35086 [C99-based standards] (strtold): Likewise.
35087 [C99-based standards] (strtoll): Likewise.
35088 [C99-based standards] (strtoull): Likewise.
35089 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35090 [ISO || ISO99 || ISO11] (limits.h): Likewise.
35091 [ISO || ISO99 || ISO11] (math.h): Likewise.
35092 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35093 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35094 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35096 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
35099 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35100 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35101 * intl/dgettext.c (DCGETTEXT): Likewise.
35102 * intl/gettext.c (DCGETTEXT): Likewise.
35103 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35104 * posix/regex_internal.h (gettext): Likewise.
35105 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35106 Remove declaration.
35107 * include/argz.h (__argz_count_internal)
35108 (__argz_stringify_internal): Remove declaration.
35109 (__argz_count, __argz_stringify): Declare hidden proto.
35110 * intl/dcgettext.c: Remove use of INTDEF.
35111 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35112 * string/argz-stringify.c: Likewise.
35113 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35114 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35115 Declare hidden proto.
35116 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35117 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35118 Declare hidden proto.
35119 * include/stdio.h (__asprintf_internal): Don't declare.
35120 (__asprintf): Don't define as macro. Declare hidden proto.
35121 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35122 (__fsetlocking): Declare hidden proto.
35123 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35124 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35126 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35127 (_IO_setlinebuf): Remove use of INTUSE.
35128 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35129 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35130 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35131 Remove declaration.
35132 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35133 (_IO_do_flush): Remove use of INTUSE.
35134 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35135 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35136 (_IO_adjust_column, _IO_least_wmarker)
35137 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35138 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35139 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35140 (_IO_default_doallocate, _IO_wdefault_doallocate)
35141 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35142 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35143 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35144 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35145 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35146 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35147 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35148 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35149 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35150 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35151 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35152 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35153 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35155 (_IO_flush_all_internal, _IO_adjust_column_internal)
35156 (_IO_default_uflow_internal, _IO_default_finish_internal)
35157 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35158 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35159 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35160 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35161 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35162 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35163 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35164 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35165 (_IO_file_close_internal, _IO_file_close_it_internal)
35166 (_IO_file_underflow_internal, _IO_file_overflow_internal)
35167 (_IO_file_init_internal, _IO_file_attach_internal)
35168 (_IO_file_fopen_internal, _IO_file_read_internal)
35169 (_IO_file_sync_internal, _IO_file_seek_internal)
35170 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35171 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35172 (_IO_str_underflow_internal, _IO_str_overflow_internal)
35173 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35174 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35175 (_IO_list_all_internal, _IO_link_in_internal)
35176 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35177 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35178 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35179 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35180 (_IO_do_write_internal, _IO_padn_internal)
35181 (_IO_getline_info_internal, _IO_getline_internal)
35182 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35183 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35184 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35185 (_IO_vfscanf_internal, _IO_vfprintf_internal)
35186 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35187 (_IO_init_internal, _IO_un_link_internal): Don't declare.
35188 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35189 with libc_hidden_ver, remove use of INTUSE.
35190 * libio/genops.c: Likewise.
35191 * libio/freopen.c: Likewise.
35192 * libio/freopen64.c: Likewise.
35193 * libio/iofclose.c: Likewise.
35194 * libio/iofdopen.c: Likewise.
35195 * libio/iofflush.c: Likewise.
35196 * libio/iofflush_u.c: Likewise.
35197 * libio/iofgets.c: Likewise.
35198 * libio/iofgets_u.c: Likewise.
35199 * libio/iofopen.c: Likewise.
35200 * libio/iofopncook.c: Likewise.
35201 * libio/iofread.c: Likewise.
35202 * libio/iofread_u.c: Likewise.
35203 * libio/ioftell.c: Likewise.
35204 * libio/iofwrite.c: Likewise.
35205 * libio/iogetline.c: Likewise.
35206 * libio/iogets.c: Likewise.
35207 * libio/iogetwline.c: Likewise.
35208 * libio/iopadn.c: Likewise.
35209 * libio/iopopen.c: Likewise.
35210 * libio/ioseekoff.c: Likewise.
35211 * libio/ioseekpos.c: Likewise.
35212 * libio/iosetbuffer.c: Likewise.
35213 * libio/iosetvbuf.c: Likewise.
35214 * libio/ioungetc.c: Likewise.
35215 * libio/ioungetwc.c: Likewise.
35216 * libio/iovdprintf.c: Likewise.
35217 * libio/iovsprintf.c: Likewise.
35218 * libio/iovsscanf.c: Likewise.
35219 * libio/memstream.c: Likewise.
35220 * libio/obprintf.c: Likewise.
35221 * libio/oldfileops.c: Likewise.
35222 * libio/oldiofclose.c: Likewise.
35223 * libio/oldiofdopen.c: Likewise.
35224 * libio/oldiofopen.c: Likewise.
35225 * libio/oldiopopen.c: Likewise.
35226 * libio/oldstdfiles.c: Likewise.
35227 * libio/putc.c: Likewise.
35228 * libio/setbuf.c: Likewise.
35229 * libio/setlinebuf.c: Likewise.
35230 * libio/stdfiles.c: Likewise.
35231 * libio/strops.c: Likewise.
35232 * libio/vasprintf.c: Likewise.
35233 * libio/vscanf.c: Likewise.
35234 * libio/vsnprintf.c: Likewise.
35235 * libio/vswprintf.c: Likewise.
35236 * libio/wfiledoalloc.c: Likewise.
35237 * libio/wfileops.c: Likewise.
35238 * libio/wgenops.c: Likewise.
35239 * libio/wmemstream.c: Likewise.
35240 * libio/wstrops.c: Likewise.
35241 * libio/__fpurge.c: Likewise.
35242 * libio/__fsetlocking.c: Likewise.
35243 * assert/assert.c: Likewise.
35244 * debug/fgets_chk.c: Likewise.
35245 * debug/fgets_u_chk.c: Likewise.
35246 * debug/fread_chk.c: Likewise.
35247 * debug/fread_u_chk.c: Likewise.
35248 * debug/gets_chk.c: Likewise.
35249 * debug/obprintf_chk.c: Likewise.
35250 * debug/vasprintf_chk.c: Likewise.
35251 * debug/vdprintf_chk.c: Likewise.
35252 * debug/vsnprintf_chk.c: Likewise.
35253 * debug/vsprintf_chk.c: Likewise.
35254 * malloc/mtrace.c: Likewise.
35255 * misc/error.c: Likewise.
35256 * misc/syslog.c: Likewise.
35257 * stdio-common/asprintf.c: Likewise.
35258 * stdio-common/fxprintf.c: Likewise.
35259 * stdio-common/getw.c: Likewise.
35260 * stdio-common/isoc99_fscanf.c: Likewise.
35261 * stdio-common/isoc99_scanf.c: Likewise.
35262 * stdio-common/isoc99_vfscanf.c: Likewise.
35263 * stdio-common/isoc99_vscanf.c: Likewise.
35264 * stdio-common/isoc99_vsscanf.c: Likewise.
35265 * stdio-common/printf-prs.c: Likewise.
35266 * stdio-common/printf_fp.c: Likewise.
35267 * stdio-common/printf_fphex.c: Likewise.
35268 * stdio-common/printf_size.c: Likewise.
35269 * stdio-common/putw.c: Likewise.
35270 * stdio-common/scanf.c: Likewise.
35271 * stdio-common/sprintf.c: Likewise.
35272 * stdio-common/tmpfile.c: Likewise.
35273 * stdio-common/vfprintf.c: Likewise.
35274 * stdio-common/vfscanf.c: Likewise.
35275 * stdlib/strfmon_l.c: Likewise.
35276 * sunrpc/openchild.c: Likewise.
35277 * sunrpc/xdr_stdio.c: Likewise.
35278 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35279 * sysdeps/mach/hurd/tmpfile.c: Likewise.
35281 2012-05-24 Roland McGrath <roland@hack.frob.com>
35283 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35285 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35286 in the third column, to generate for the shared library an IFUNC
35287 that uses _dl_vdso_vsym.
35288 * Makerules (COMPILE.c, compile-stdin.c): New variables.
35289 * Makeconfig (object-suffixes-noshared): New variable.
35291 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35292 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35293 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35294 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35297 * include/sys/time.h (__gettimeofday): Remove macro.
35298 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35299 * time/gettimeofday.c (__gettimeofday): Remove #undef.
35301 (__gettimeofday): Add libc_hidden_def.
35302 (gettimeofday): Add libc_hidden_weak.
35303 * sysdeps/mach/gettimeofday.c: Likewise.
35304 * sysdeps/posix/gettimeofday.c: Likewise.
35305 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35306 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35307 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35308 (__gettimeofday_internal): Remove strong_alias.
35309 (__gettimeofday): Add libc_hidden_def.
35310 (gettimeofday): Add libc_hidden_weak.
35311 * sysdeps/unix/syscalls.list (gettimeofday):
35312 Remove __gettimeofday_internal alias.
35314 2012-05-24 Daniel Jacobowitz <drow@false.org>
35315 H.J. Lu <hongjiu.lu@intel.com>
35318 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35319 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35320 (largebin_index_32_big): New.
35321 (largebin_index): Use it for 16-byte alignment.
35322 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
35323 correction with front_misalign.
35325 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35330 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35332 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35346 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35353 * scripts/data/c++-types-x32-linux-gnu.data: New file.
35354 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35356 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35360 * math/libm-test.inc (exp_test): Add test from bug 14036.
35361 (pow_test): Add test from bug 10846.
35363 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35365 (special_function): Do not include flags in test name.
35366 (parse_args): Likewise.
35367 * sysdeps/i386/fpu/libm-test-ulps: Update.
35368 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35369 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35370 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35373 * math/gen-libm-test.pl (%beautify): Add entries for underflow
35375 * math/libm-test.inc ("Philosophy"): Update comment about
35377 (UNDERFLOW_EXCEPTION): New macro.
35378 (UNDERFLOW_EXCEPTION_OK): Likewise.
35379 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35380 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35381 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35382 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35383 (INVALID_EXCEPTION_OK): Update value.
35384 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35385 (OVERFLOW_EXCEPTION_OK): Likewise.
35386 (IGNORE_ZERO_INF_SIGN): Likewise.
35387 (test_exceptions): Handle underflow exceptions.
35388 (acos_test): Update for underflow exception expectations.
35389 (cexp_test): Likewise.
35390 (clog_test): Likewise.
35391 (clog10_test): Likewise.
35392 (csqrt_test): Likewise.
35393 (ctan_test): Likewise.
35394 (ctanh_test): Likewise.
35395 (exp_test): Likewise.
35396 (exp10_test): Likewise.
35397 (exp2_test): Likewise.
35398 (expm1_test): Likewise.
35399 (fma_test): Likewise.
35400 (j0_test): Likewise.
35401 (jn_test): Likewise.
35402 (nexttoward_test): Likewise.
35403 (pow_test): Likewise.
35404 (scalbn_test): Likewise.
35405 (scalbln_test): Likewise.
35406 (tan_test): Likewise.
35407 (y1_test): Likewise.
35408 * sysdeps/i386/fpu/libm-test-ulps: Update.
35409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35411 2012-05-23 David S. Miller <davem@davemloft.net>
35413 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35414 (__libc_sigaction): Remove unused local variables.
35416 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35418 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35420 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
35422 mktime: avoid signed integer overflow
35423 * time/mktime.c (__mktime_internal): Do not mishandle the case
35424 where diff == INT_MIN.
35426 mktime: simplify computation of average
35427 * time/mktime.c (ranged_convert): Use new time_t_avg function
35428 instead of rolling our own (probably-slower) code.
35430 mktime: do not assume signed right shift propagates sign bit
35431 * time/mktime.c (isdst_differ): New static function.
35432 (__mktime_internal): No need to normalize tm_isdst now.
35433 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35436 mktime: merge another wrapv change from gnulib
35437 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35438 from some compilers.
35440 mktime: remove incorrect attempt at unusual arithmetics
35441 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35442 The code didn't really work on such machines anyway.
35443 (TYPE_MINIMUM): Assume two's complement.
35444 (twos_complement_arithmetic): Verify that long_int and time_t
35445 are two's complement (or unsigned, in the latter case).
35447 mktime: check signed shifts on long_int and time_t, too
35448 * time/mktime.c (SHR): Check that shifts work as desired
35449 on the types long_int and time_t too, as SHR is used on
35452 mktime: do not assume 'long' is wide enough
35453 * time/mktime.c (verify): Move decl up.
35454 (long_int): New type.
35455 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35456 to remove assumption in the code that 'long' is wide enough to
35457 store year values. This assumption is not true on x32 and on
35458 some non-glibc platforms.
35460 mktime: merge wrapv change from gnulib
35461 * time/mktime.c (WRAPV): New macro.
35462 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35463 (guess_time_tm, __mktime_internal): Do not assume that signed
35464 integer overflow wraps around; modern compilers generate code
35465 where this assumption is no longer valid.
35467 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35469 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35470 Replace "jmp L(pseudo_end)" with "ret".
35471 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35474 2012-05-23 Andreas Jaeger <aj@suse.de>
35476 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35477 * sysdeps/unix/sysv/linux/poll.c: Remove file.
35479 2012-05-23 Andreas Jaeger <aj@suse.de>
35480 Maximilian Attems <max@stro.at>
35482 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35485 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35487 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35488 code so that pseudo_end is just ret and the stack pointer is
35489 correct also for static library in error case.
35491 2012-05-23 Joseph Myers <joseph@codesourcery.com>
35493 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35494 move to syscalls.list.
35495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35500 * manual/install.texi (Running make install): Do not mention Linux
35501 kernel version for which pt_chown is not needed.
35502 (Linux): Do not mention problems with nscd with 2.0 kernels.
35503 * INSTALL: Regenerated.
35505 2012-05-23 Andreas Jaeger <aj@suse.de>
35507 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35508 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35510 * sysdeps/unix/sysv/linux/s390/bits/mman.h
35511 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35512 * sysdeps/unix/sysv/linux/sh/bits/mman.h
35513 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35514 * sysdeps/unix/sysv/linux/i386/bits/mman.h
35515 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35516 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35517 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35518 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35519 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35520 * sysdeps/unix/sysv/linux/bits/in.h
35521 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35523 2012-05-22 Roland McGrath <roland@hack.frob.com>
35525 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35526 (PREPARE_VERSION): Just use assert instead, it will be elided
35527 under [NDEBUG] anyway.
35529 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35531 * sysdeps/unix/sysv/linux/Makefile: Include
35532 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35533 (sysdep_routines): Remove sysctl.
35534 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35535 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35536 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35537 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35538 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35540 2012-05-22 Andreas Jaeger <aj@suse.de>
35542 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35543 that pseudo_end is just ret and the stack pointer is correct also
35544 for static library in error case.
35546 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35549 * nss/nsswitch.c (defconfig_entries): New variable.
35550 (__nss_database_lookup): Don't leak defconfig entries.
35551 (nss_parse_service_list): Don't leak on error paths.
35552 (free_database_entries): New function.
35553 (free_defconfig): New function.
35554 (free_mem): Move common code to free_database_entries.
35556 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35558 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35560 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35562 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35563 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35564 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35566 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35567 (INTERNAL_SYSCALL_TYPES): Likewise.
35568 (LOAD_ARGS_TYPES_[1-6]): Likewise.
35569 (LOAD_REGS_TYPES_[1-6]): Likewise.
35570 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35571 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35573 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35575 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35576 copysignl for GLIBC_2_0.
35577 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35578 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35579 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35580 logbl for GLIBC_2_0.
35581 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35582 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35584 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35586 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35587 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35589 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35592 * time/mktime.c: Update copyright years.
35594 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
35596 mktime: merge comment-quoting-style change from gnulib
35597 * time/mktime.c: Quote 'like this' in comments.
35598 The GNU coding standards suggest that we no longer quote `like this',
35599 as "`" and "'" are typically rendered asymmetrically nowadays.
35600 The typical gnulib style is to quote 'like this' when quoting
35601 code, and "like this" when quoting English.
35603 * time/mktime.c (compile-command): Add "-I.".
35605 mktime: merge mktime-internal.h change from gnulib
35606 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35608 mktime: merge time_r change from gnulib
35609 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35611 mktime: merge DEBUG change from gnulib
35612 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35613 case system <time.h> has a #define.
35615 mktime: merge <sys/types.h> change from gnulib
35616 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35617 since <time.t> is now guaranteed to define time_t.
35619 mktime: merge HAVE_CONFIG_H change from gnulib
35620 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35622 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35624 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35627 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35629 (struct rusage): Use anonymous union to pad each field to
35632 2012-05-21 David S. Miller <davem@davemloft.net>
35634 * Makefules (o-iterator): Remove .s cases.
35635 (compile-command.s): Delete.
35636 (COMPILE.s): Delete.
35637 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35639 2012-05-21 Joseph Myers <joseph@codesourcery.com>
35641 * configure.in (libc_cv_predef_stack_protector): Only consider
35642 "foobar" and "__stack_chk_fail" lines in libc_undefs.
35643 * configure: Regenerated.
35645 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35647 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35648 New macro. Use R*LP on int and pointer.
35649 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35650 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35651 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35652 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35654 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35655 [__WORDSIZE_TIME64_COMPAT32] instead of
35656 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35657 (struct utmp): Likewise.
35658 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35659 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35661 (__WORDSIZE_TIME64_COMPAT32): This.
35662 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35663 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35664 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35665 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35666 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35667 (__WORDSIZE_TIME64_COMPAT32): New macro.
35669 2012-05-21 Andreas Jaeger <aj@suse.de>
35671 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35672 only if [SHARED]. Add prototype for __wcschr_ia32.
35674 2012-05-21 Roland McGrath <roland@hack.frob.com>
35676 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35677 of %rbp unmolested in the jmp_buf while mangling the low bits.
35678 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35679 unmolested high bits of %rbp while demangling the low bits.
35680 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35682 2012-05-21 Andreas Jaeger <aj@suse.de>
35684 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35685 * sunrpc/svc_simple.c: Use it for registerrpc.
35686 * sunrpc/xcrypt.c: Use it for passwd2des.
35688 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35690 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35692 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35693 Don't define if [__SYSCALL_WORDSIZE != 32].
35694 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35697 2012-05-21 Bruno Haible <bruno@clisp.org>
35698 Andreas Jaeger <aj@suse.de>
35700 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35701 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35702 inptr and inend for must_buffer_ch.
35703 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35704 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35705 * stdio-common/Makefile (tests): Remove bug15.
35706 (bug15-ENV): Remove macro.
35707 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35710 2012-05-19 Andreas Jaeger <aj@suse.de>
35711 Roland McGrath <roland@hack.frob.com>
35713 * manual/contrib.texi: Completely rewritten. It contains now an
35714 alphabetical list of contributors and their contributions.
35716 2012-05-21 Richard Henderson <rth@twiddle.net>
35718 * misc/getauxval.c (__getauxval): Use unsigned long int.
35719 * misc/sys/auxv.h: Include <sys/cdefs.h>.
35720 (getauxval): Use unsigned long int.
35722 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35724 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35726 2012-05-21 Roland McGrath <roland@hack.frob.com>
35728 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35729 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35730 __alignof__ (long double).
35732 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35736 2012-05-20 Richard Henderson <rth@twiddle.net>
35738 * misc/getauxval.c: New file.
35739 * misc/sys/auxv.h: New file.
35740 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35741 (routines): Add getauxval.
35742 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35743 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35744 * elf/dl-sysdep.c (_dl_auxv): Remove.
35745 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35746 * elf/dl-support.c (_dl_auxv): New variable.
35747 (_dl_aux_init): Initialize it.
35748 * manual/startup.texi (Auxiliary Vector): New node.
35749 * sysdeps/generic/bits/hwcap.h: New file.
35750 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35751 * sysdeps/powerpc/sysdep.h: ... here. Include it.
35752 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35753 * sysdeps/sparc/sysdep.h: ... here. Include it.
35754 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35755 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35761 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35767 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35771 2012-05-19 David S. Miller <davem@davemloft.net>
35773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35775 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35778 * math/s_ccosh.c: Include <float.h>
35779 (__ccosh): Avoid internal overflow calculating sinh and cosh
35780 values before multiplying by sin and cos values.
35781 * math/s_ccoshf.c: Likewise.
35782 * math/s_ccoshl.c: Likewise.
35783 * math/s_csin.c: Likewise.
35784 * math/s_csinf.c: Likewise.
35785 * math/s_csinl.c: Likewise.
35786 * math/s_csinh.c: Likewise.
35787 * math/s_csinhf.c: Likewise.
35788 * math/s_csinhl.c: Likewise.
35789 * math/libm-test.inc (ccos_test): Add more tests.
35790 (ccosh_test): Likewise.
35791 (csin_test): Likewise.
35792 (csinh_test): Likewise.
35793 * sysdeps/i386/fpu/libm-test-ulps: Update.
35794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35796 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35798 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35799 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35801 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35803 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35805 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35806 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35807 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35808 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35809 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35810 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35811 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35812 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35813 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35814 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35815 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35816 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35817 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35818 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35819 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35820 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35821 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35822 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35823 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35824 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35825 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35826 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35827 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35828 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35829 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35830 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35831 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35832 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35833 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35834 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35835 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35837 2012-05-18 Andreas Jaeger <aj@suse.de>
35839 * csu/.gitignore: Delete.
35841 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35843 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35844 (timex): Use __syscall_slong_t.
35846 2012-05-18 Andreas Jaeger <aj@suse.de>
35847 Carlos O'Donell <carlos_odonell@mentor.com>
35849 * manual/install.texi (Configuring and compiling): Update
35850 description about files modified in the source directory.
35851 * INSTALL: Regenerated.
35853 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35855 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35856 value. Use "or" to set return value to -1.
35857 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35858 negate return value.
35860 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35862 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35863 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35864 failure if the compiler has Graphite support disabled.
35865 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35867 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35868 (CFLAGS-memmove.c): Likewise.
35869 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35872 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35874 * sysdeps/x86_64/x32/_itoa.h: New file.
35876 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35877 getdents system call only if kernel and user dirents have the
35878 same d_ino and d_off.
35880 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35881 LLONG_MAX != LONG_MAX.
35882 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35883 (_fitoa_word): Likewise.
35885 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35887 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35888 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35889 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35891 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35892 include <bits/wordsize.h>. Check __x86_64__ instead of
35894 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35895 if __x86_64__ is defined. Use anonymous union on fpstate.
35897 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35900 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35902 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35903 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35904 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35905 Refer to _rtld_local_ro instead of _rtld_global_ro.
35906 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35908 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35910 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35912 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35913 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35914 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35916 * sysdeps/powerpc/powerpc32/dl-machine.c
35917 (__elf_machine_runtime_setup) [PROF]: Don't reference
35920 2012-05-18 Andreas Jaeger <aj@suse.de>
35922 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35923 function only available for GCCs before 3.4 since GCC 3.4
35924 introduced a builtin.
35926 (llrintf): Likewise.
35927 (llrint): Likewise.
35934 (nearbyint): Likewise.
35935 (nearbyintf): Likewise.
35939 (floorf): Likewise.
35941 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35943 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35944 on both fields and cast pointer to __syscall_ulong_t.
35946 * bits/types.h (__fsword_t): New type.
35947 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35948 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35949 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35950 (__FSWORD_T_TYPE): Likewise.
35951 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35952 (__FSWORD_T_TYPE): Likewise.
35953 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35954 (__FSWORD_T_TYPE): Likewise.
35955 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35956 (__FSWORD_T_TYPE): Likewise.
35957 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35958 __SWORD_TYPE with __fsword_t.
35959 (statfs64): Likewise.
35961 2012-05-17 David S. Miller <davem@davemloft.net>
35963 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35965 2012-05-17 Andreas Jaeger <aj@suse.de>
35967 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35970 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35972 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35974 2012-05-17 Andreas Jaeger <aj@suse.de>
35976 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35979 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35981 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35983 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35985 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35986 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35988 2012-05-17 Andreas Jaeger <aj@suse.de>
35989 Carlos O'Donell <carlos_odonell@mentor.com>
35992 * sysdeps/x86_64/multiarch/init-arch.h
35993 (bit_YMM_Usable): Rename to...
35994 (bit_AVX_Usable): ... this.
35995 (bit_FMA4_Usable): New macro.
35996 (bit_XMM_state): New macro.
35997 (bit_YMM_state): New macro.
35998 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35999 [__ASSEMBLER__] (index_AVX_Usable): ... this.
36000 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36001 (CPUID_OSXSAVE): New macro.
36002 (CPUID_AVX): New macro.
36003 (CPUID_FMA4): New macro.
36004 (index_YMM_Usable): Rename to...
36005 (index_AVX_Usable): ... this.
36006 (HAS_AVX): Use HAS_ARCH_FEATURE.
36007 (HAS_FMA4): Likewise.
36008 (HAS_YMM_USABLE): Remove.
36009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36010 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36012 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36013 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36014 * sysdeps/x86_64/multiarch/Makefile: Likewise.
36015 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36016 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36018 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36020 * math/libm-test.c: Support platforms without multiple rounding modes.
36021 * math/bug-nextafter.c: Support platforms without FP exceptions.
36022 * math/bug-nexttoward.c: Likewise.
36023 * math/test-fenv.c: Likewise.
36024 * math/test-misc.c: Likewise.
36025 * stdlib/bug-getcontext.c: Likewise.
36027 2012-05-17 Andreas Jaeger <aj@suse.de>
36029 * manual/examples/search.c (critter_cmp): Change signature to
36031 * manual/string.texi (Collation Functions): Likewise.
36033 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36035 * bits/types.h: Fold copyright years.
36036 * bits/typesizes.h: Likewise.
36037 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36038 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36039 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36040 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36041 * time/time.h: Likewise.
36043 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
36046 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36047 in instead of returning them. Return void.
36048 (__libc_mallinfo): Accumulate over all arenas.
36049 (__malloc_stats): Adjust for change in int_mallinfo interface.
36051 2012-05-16 Roland McGrath <roland@hack.frob.com>
36054 * configure.in (NM): Add AC_CHECK_TOOL for it.
36055 (libc_extra_cflags): New substituted variable.
36056 Check for -fstack-protector being used implicitly.
36057 * configure: Regenerated.
36058 * config.make.in (config-extra-cflags): New variable,
36059 gets @libc_extra_cflags@.
36060 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36063 * configure.in: Check for _FORTIFY_SOURCE being predefined.
36064 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36065 * configure: Regenerated.
36066 * config.make.in (CPPUNDEFS): New substituted variable.
36067 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36068 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36069 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36071 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36073 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36074 (mq_attr): Use __syscall_slong_t.
36076 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36078 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36079 Check __x86_64__ instead of __WORDSIZE.
36080 (_STAT_VER_LINUX): Likewise.
36081 (stat): Check __x86_64__ instead of __WORDSIZE. Use
36082 __syscall_ulong_t and __syscall_slong_t.
36083 (stat64): Likewise.
36085 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36087 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36089 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36091 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36093 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36095 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36098 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36099 include <bits/wordsize.h>. Check __x86_64__ instead of
36101 (greg_t): Use "__extension__ long long int" if __x86_64__ is
36103 (mcontext_t): Replace "unsigned long" with "unsigned long long".
36105 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36106 include <bits/wordsize.h>. Check __x86_64__ instead of
36108 (user_regs_struct): Use "__extension__ unsigned long long"
36109 instead of "unsigned long" if __x86_64__ is defined.
36110 (user): Likewise. Pad after pointer field if __ILP32__ is
36113 2012-05-16 Joseph Myers <joseph@codesourcery.com>
36115 * configure.in (makeinfo): Require version 4.5 or later. Allow
36117 * configure: Regenerated.
36118 * manual/install.texi (texinfo): Increase version requirement to
36120 * INSTALL: Regenerated.
36122 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36124 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36126 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36128 * sysdeps/x86_64/x32/ffs.c: New file.
36130 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36132 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36133 defined. Use __syscall_ulong_t.
36134 (shminfo): Use __syscall_ulong_t.
36135 (shm_info): Likewise.
36137 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36140 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36142 (msgqnum_t): Use __syscall_ulong_t.
36143 (msglen_t): Likewise.
36144 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
36147 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36148 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36150 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36152 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36153 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36155 * sysvipc/sys/msg.h (msgbuf): Replace long int with
36158 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36159 include <bits/wordsize.h>. Check __x86_64__ instead of
36162 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36163 "unsigned long long int" if __x86_64__ is defined.
36164 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36166 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36167 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36168 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36170 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36172 (GET_PC): Cast to uintptr_t first.
36173 (GET_FRAME): Likewise.
36174 (GET_STACK): Likewise.
36176 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36177 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36178 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36179 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36180 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36181 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36182 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36183 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36184 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36185 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36186 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36187 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36188 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36189 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36190 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36191 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36192 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36193 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36194 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36195 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36196 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36197 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36198 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36199 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36200 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36201 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36202 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36203 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36204 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36206 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
36208 * Makerules (+depfiles): Also collect depfiles from .oS in
36210 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36211 .oS, $(libnldbl-routines)).
36213 * Makerules (native-compile-mkdep-flags): Define.
36214 * sunrpc/Makefile (extra-objs): Add $(addprefix
36215 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36216 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36217 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
36218 calling $(make-target-directory).
36220 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36222 * bits/types.h (__snseconds_t): Removed.
36223 * time/time.h (struct timespec): Replace __snseconds_t with
36225 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36226 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36228 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36229 (__SNSECONDS_T_TYPE): Likewise.
36230 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36231 (__SNSECONDS_T_TYPE): Likewise.
36232 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36233 (__SNSECONDS_T_TYPE): Likewise.
36235 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36237 * sysdeps/mach/hurd/bits/typesizes.h
36238 (__SYSCALL_SLONG_TYPE): New macro.
36239 (__SYSCALL_ULONG_TYPE): Likewise.
36241 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36243 * bits/types.h (__syscall_slong_t): New type.
36244 (__syscall_ulong_t): Likewise.
36246 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36247 (__SYSCALL_ULONG_TYPE): Likewise.
36248 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36249 (__SYSCALL_SLONG_TYPE): Likewise.
36250 (__SYSCALL_ULONG_TYPE): Likewise.
36251 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36252 (__SYSCALL_SLONG_TYPE): Likewise.
36253 (__SYSCALL_ULONG_TYPE): Likewise.
36254 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36255 (__SYSCALL_SLONG_TYPE): Likewise.
36256 (__SYSCALL_ULONG_TYPE): Likewise.
36258 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36260 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36261 Add sigaltstack-offsets.sym.
36262 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36263 <sigaltstack-offsets.h>.
36264 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
36265 longjmp_msg pointer.
36266 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
36267 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36269 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36271 2012-05-15 Joseph Myers <joseph@codesourcery.com>
36273 * elf/stackguard-macros.h: Remove file.
36274 * sysdeps/generic/stackguard-macros.h: New file.
36275 * sysdeps/i386/stackguard-macros.h: Likewise.
36276 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36277 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36278 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36279 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36280 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36281 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36282 * sysdeps/x86_64/stackguard-macros.h: Likewise.
36283 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36284 <elf/stackguard-macros.h>.
36287 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36288 __aligned__ in attribute.
36289 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36290 (gregset_t): Likewise.
36292 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36294 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36295 * sysdeps/x86_64/64/Implies-after: Here. New file.
36296 * sysdeps/x86_64/x32/Implies-after: New file.
36298 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36300 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36301 and access return value for _dl_profile_fixup. Use R10_LP to
36304 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36306 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36308 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36310 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36311 * sysdeps/x86_64/x32/sysdep.h: New file.
36313 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36315 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36316 * sysdeps/x86_64/setjmp.S: Likewise.
36318 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36320 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36321 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36322 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36323 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36324 remove unused global constant.
36326 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
36328 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36329 include of <not-cancel.h>.
36331 2012-05-15 Roland McGrath <roland@hack.frob.com>
36333 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36335 2012-05-15 Jeff Law <law@redhat.com>
36336 Andreas Jaeger <aj@suse.de>
36339 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36341 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36342 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36343 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36344 code changing __hst_map_handle.map.
36346 2012-05-15 Roland McGrath <roland@hack.frob.com>
36348 * configure.in (sysnames): Look for Implies-before and Implies-after
36350 * configure: Regenerated.
36352 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36354 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36355 8-byte data alignment with LP_SIZE alignment.
36357 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36359 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36362 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36364 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36366 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36368 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36369 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36370 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36372 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36374 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36376 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36377 (stackinfo_sub_sp): Likewise.
36379 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36381 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36384 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36386 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36389 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36391 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36394 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36396 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36398 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36400 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36401 into R11_LP and load __x86_64_shared_cache_size_half into
36404 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36406 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36409 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36411 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36413 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36415 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36417 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36418 powerpc32/power7/fpu/s_logb.c via #include.
36419 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36420 powerpc32/power7/fpu/s_logbf.c via #include.
36421 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36422 powerpc32/power7/fpu/s_logbl.c via #include.
36424 2012-05-15 Joseph Myers <joseph@codesourcery.com>
36426 * README.libm: Remove file.
36428 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36430 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36431 count for x32. Use R*_LP and omit operand-size suffix.
36433 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36435 * shlib-versions: Move x86_64-.*-linux.* entries to ...
36436 * sysdeps/x86_64/64/shlib-versions: Here. New file.
36437 * sysdeps/x86_64/x32/shlib-versions: New file.
36439 2012-05-14 Roland McGrath <roland@hack.frob.com>
36441 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36442 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36443 Use _dl_fatal_printf instead.
36445 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36447 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36448 set if not set by the user. Do not allow for being unset.
36449 * sysdeps/unix/sysv/linux/configure: Regenerated.
36451 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36453 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36454 the `q' suffix from lea and replace .quad with ASM_ADDR.
36456 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36458 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36459 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
36461 (PTR_DEMANGLE): Likewise.
36463 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36465 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36467 (ASM_ADDR): Likewise.
36468 (RAX_LP): Likewise.
36469 (RBP_LP): Likewise.
36470 (RBX_LP): Likewise.
36471 (RCX_LP): Likewise.
36472 (RDI_LP): Likewise.
36473 (RSI_LP): Likewise.
36474 (RSP_LP): Likewise.
36477 (R10_LP): Likewise.
36478 (R10_LP): Likewise.
36479 (R11_LP): Likewise.
36480 (R12_LP): Likewise.
36481 (R13_LP): Likewise.
36482 (R14_LP): Likewise.
36483 (R15_LP): Likewise.
36485 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36487 * sysdeps/x86_64/x32/dl-machine.h: New file.
36489 2012-05-14 Andreas Jaeger <aj@suse.de>
36491 * manual/Makefile (subdir): Remove export of subdir.
36492 (all): Remove target.
36493 (.PHONY): Remove all from list.
36494 (mkinstalldirs): Remove.
36495 (.PHONY): Remove installdirs from list.
36496 ($(inst_infodir)/libc.info): Use make-target-directory.
36497 (installdirs): Remove.
36498 (subdir_%): Remove.
36499 (glibc-targets): Remove.
36502 ($(objpfx)stubs ../po/manual.pot): Remove.
36503 ($(objpfx)stamp%): Remove.
36504 (make-target-directory): Remove.
36505 (subdir_install): Remove.
36506 (routines): Remove.
36513 * manual/.gitignore: Remove, it's not needed anymore.
36514 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36516 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36518 (texis): Renamed to $(objpfx)texis.
36519 (texis-path): New, contains path to generated files.
36520 (chapters.%): Use texis-path for complete path, add extra argument
36522 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36523 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36524 (summary,texi, stamp-summary): Use complete path of
36525 files. Generate files in build dir.
36526 (dir-add.texi): Build in build dir.
36527 (libm-err.texi,stamp-libm-err): Likewise.
36528 (version.texi, stamp-version): Likewise.
36529 (.%c.texi): Likewise.
36530 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36531 (mostlyclean): Remove target.
36532 (realclean): Remove target.
36533 (generated): Add new variable with contents from mostlyclean and
36534 realclean, remove entries duplicated in common-mostlyclean, add
36535 stamp-libm-err and stamp-version.
36536 (generated-dirs): Add libc directory.
36537 ($(inst_infodir)/libc.info): Install files from build dir.
36539 * manual/install.texi (Configuring and compiling): Adjust since
36540 the info files are not part of the tar ball anymore.
36542 2012-05-14 Andreas Jaeger <aj@suse.de>
36544 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36547 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36550 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36551 to 2.2.0 where earlier.
36552 * sysdeps/unix/sysv/linux/configure: Regenerated.
36553 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36554 Remove conditional code.
36555 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36556 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36557 Remove conditional code.
36558 [!__NR_lchown]: Likewise.
36559 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36560 [__NR_lchown]: Likewise.
36561 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36562 comment referencing __ASSUME_LCHOWN_SYSCALL.
36563 * sysdeps/unix/sysv/linux/i386/sigaction.c
36564 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36565 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36566 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36567 Remove conditional code.
36568 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36569 (__protocol_available): Remove #if 0 code.
36570 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36572 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36573 * sysdeps/unix/sysv/linux/kernel-features.h
36574 (__ASSUME_GETCWD_SYSCALL): Don't define.
36575 (__ASSUME_REALTIME_SIGNALS): Likewise.
36576 (__ASSUME_PREAD_SYSCALL): Likewise.
36577 (__ASSUME_PWRITE_SYSCALL): Likewise.
36578 (__ASSUME_POLL_SYSCALL): Likewise.
36579 (__ASSUME_LCHOWN_SYSCALL): Likewise.
36580 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36582 (__ASSUME_SIOCGIFNAME): Don't define.
36583 (__ASSUME_MSG_NOSIGNAL): Likewise.
36584 (__ASSUME_SENDFILE): Define unconditionally.
36585 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36586 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36588 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36589 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36590 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36591 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36592 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36593 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36594 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36596 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36597 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36599 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36600 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36602 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36603 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36605 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36606 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36608 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36609 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36611 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36612 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36614 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36615 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36617 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36618 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36619 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36620 Remove conditional code.
36621 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36622 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36623 Remove conditional code.
36624 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36625 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36626 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36627 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36628 Remove conditional code.
36629 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36630 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36631 Remove conditional code.
36632 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36633 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36634 Remove conditional code.
36635 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36636 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36637 Remove conditional code.
36638 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36639 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36640 Remove conditional code.
36641 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36642 * sysdeps/unix/sysv/linux/sh/pwrite64.c
36643 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36644 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36645 * sysdeps/unix/sysv/linux/sigaction.c
36646 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36647 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36648 * sysdeps/unix/sysv/linux/sigpending.c
36649 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36650 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36651 * sysdeps/unix/sysv/linux/sigprocmask.c
36652 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36653 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36654 * sysdeps/unix/sysv/linux/sigsuspend.c
36655 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36656 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36657 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36658 (__libc_missing_rt_sigs): Remove.
36659 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36660 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36661 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36662 Remove conditional code.
36663 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36664 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36666 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36667 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36668 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36669 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36671 2012-05-14 Andreas Jaeger <aj@suse.de>
36673 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36674 it's not used in glibc.
36675 (__coshm1): Likewise.
36676 (__acosh1p): Likewise.
36679 * manual/string.texi (Copying and Concatenation): Add missing
36680 variable in concat example.
36681 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36683 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36686 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36687 __builtin_clzl with __builtin_clzll.
36689 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36692 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36695 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36697 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36698 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36699 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36700 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36702 2012-05-14 Mike Frysinger <vapier@gentoo.org>
36704 * NEWS: Update ia64 info.
36706 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
36708 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36711 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
36713 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36714 * sysdeps/unix/syscalls.list (dup3): Likewise.
36715 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36716 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36718 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36720 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36721 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36723 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36725 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36727 (TLS_IE): Use mov/add instead of movq/addq to load thread
36729 (TLS_GD_PREFIX): New.
36732 2012-05-11 David S. Miller <davem@davemloft.net>
36734 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36735 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36736 (_FPU_SETCW): Likewise.
36738 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36740 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36741 is 32-byte aligned.
36743 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
36746 * iconvdata/gb18030.c: Update tables.
36747 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
36748 characters specially.
36749 (BODY for TO_LOOP): Add encoding of missing ranges.
36751 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
36754 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36755 * sysdeps/mach/hurd/dup3.c: Likewise.
36756 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36757 * sysdeps/powerpc/memmove.c:: Likewise.
36759 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36761 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36762 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36764 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36766 * elf/elf.h (R_X86_64_RELATIVE64): New.
36767 (R_X86_64_NUM): Updated.
36768 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36769 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36770 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36771 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36772 tst-quad1pie tst-quad2pie
36773 (modules-names): Add tst-quadmod1 tst-quadmod2.
36774 ($(objpfx)tst-quad1): New dependency.
36775 ($(objpfx)tst-quad2): Likewise.
36776 ($(objpfx)tst-quad1pie): Likewise.
36777 ($(objpfx)tst-quad2pie): Likewise.
36778 * sysdeps/x86_64/tst-quad1.c: New file.
36779 * sysdeps/x86_64/tst-quad1pie.c: New file.
36780 * sysdeps/x86_64/tst-quad2.c: Likewise.
36781 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36782 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36783 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36784 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36785 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36787 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36789 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36790 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36791 * streams/stropts.h (t_scalar_t): Define type.
36793 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36794 (_PATH_PRESERVE): Set to "/var/lib".
36795 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36797 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36800 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36801 if __dir_mkfile succeeded.
36803 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36804 checking for _hurd_dtablesize. Unlock it right after having
36805 finished _hurd_dtable allocation.
36807 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36809 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36810 * sysdeps/mach/hurd/configure: Regenerated.
36811 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36812 special-casing to...
36813 * sysdeps/gnu/configure.in: ... this new file.
36814 * sysdeps/unix/sysv/linux/configure: Regenerated.
36815 * sysdeps/gnu/configure: New generated file.
36817 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36818 for Linux: use nsec instead of usec, as well as:
36819 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36820 members of type struct timespec.
36821 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36823 (struct stat64): Likewise.
36824 (_STATBUF_ST_NSEC): New macro.
36825 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36827 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36828 __strtoul_internal rather than strtoul.
36830 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36832 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36835 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36837 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36838 which preserves existing values.
36839 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36841 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36843 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36844 TIMEOUT values. Return EINVAL for NFDS values either negative or
36845 greater than FD_SETSIZE.
36847 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36849 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36850 allocated, call __vm_protect to finish enabling the existing space, and
36851 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36852 allocate the remainder.
36854 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36856 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36857 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36859 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36861 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36862 sysdeps/mach/hurd/readlink.c.
36864 * posix/tst-sysconf.c (posix_options): Only use
36865 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36866 _POSIX_SYNCHRONIZED_IO when they are defined
36867 * sysdeps/mach/hurd/bits/posix_opt.h:
36868 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36869 (_XOPEN_REALTIME): Undefine macro.
36870 (_XOPEN_REALTIME_THREADS): Undefine macro.
36871 (_XOPEN_SHM): Undefine macro.
36872 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36874 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36876 (_POSIX_ASYNC_IO): Undefine macro.
36877 (_POSIX_PRIORITIZED_IO): Undefine macro.
36878 (_POSIX_SPIN_LOCKS): Define macro to -1.
36880 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36881 SA_NODEFER, SA_RESETHAND.
36882 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36883 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36886 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36888 * elf/Makefile (pldd-modules): Define unconditionally.
36890 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36892 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36894 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36896 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36897 Return ENOENT when name is empty.
36898 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36900 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36902 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36904 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36906 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36908 Fix mlock in all cases except non-readable pages.
36909 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36910 instead of VM_PROT_ALL as parameter to __vm_wire function.
36912 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36913 (__mkdir): When path is `/', just fail with EEXIST.
36914 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36916 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36918 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36919 <sys/uio.h> (for writev).
36920 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36921 and <sys/param.h> (for MIN).
36923 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36925 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36926 REQUESTED_TIME. Properly set the remaining time and return EINTR
36929 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36931 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36932 Depend on against $(link-rpcuserlibs).
36934 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36936 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36937 (__libc_stack_end): Do not use attribute_relro.
36938 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36939 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36940 to libthread-provided value.
36941 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36944 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36947 * bits/libc-lock.h (__libc_once_get): New macro.
36948 * sysdeps/mach/bits/libc-lock.h: Likewise.
36949 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36950 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36951 instead of using implementation details.
36953 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36954 * libio/freopen.c: Likewise.
36955 * libio/freopen64.c: Likewise.
36956 * misc/syslog.c: Likewise.
36957 * nscd/connections.c: Likewise.
36958 * nscd/netgroupcache.c: Likewise.
36959 * sysdeps/posix/getcwd.c: Likewise.
36961 2012-05-10 Roland McGrath <roland@hack.frob.com>
36963 * math/w_ilogbf.c: Add #include <limits.h>.
36965 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36967 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36968 path instead of returning without unlocking.
36970 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36971 immediate-write ioctls.
36972 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36974 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36976 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36977 __builtin_frame_address instead of making assumptions about the
36978 location of the return address relative to DATA. Force early load of
36979 the return address.
36980 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36981 __builtin_frame_address.
36984 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36985 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36986 implement dup3 and do some further code clean-ups.
36987 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36988 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36990 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36992 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36994 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36995 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36996 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36997 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36998 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37001 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37002 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
37003 when handler == SIG_ERR, not when handler != SIG_ERR.
37005 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37007 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37008 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37011 accept4 for GNU Hurd.
37012 * include/sys/socket.h (__libc_accept4): New prototype.
37013 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
37014 to implement __libc_accept4.
37015 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37017 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37019 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37020 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37021 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37022 signal-defines.sym.
37024 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37026 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
37028 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37030 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37031 assertion on O_CLOEXEC flag.
37032 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37033 * hurd/intern-fd.c: Likewise.
37034 * hurd/port2fd.c: Likewise.
37036 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37039 * bits/in.h (IPV6_PKTINFO): Define new macro.
37040 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37042 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37047 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37048 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37049 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37050 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37051 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37052 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37053 * math/libm-test.inc (logb_test) : Additional logb tests.
37055 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
37056 Andreas Jaeger <aj@suse.de>
37058 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37059 * configure: Regenerated.
37060 * config.h.in (LINK_OBSOLETE_RPC): New macro.
37061 * config.make.in (link-obsolete-rpc): New substituted variable.
37062 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37063 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37064 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37065 (shared-only-routines): Don't set it under [link-obsolete-rpc],
37066 so that libc.a contains the symbols.
37067 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37068 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37069 * sunrpc/auth_none.c: Likewise.
37070 * sunrpc/auth_unix.c: Likewise.
37071 * sunrpc/authdes_prot.c: Likewise.
37072 * sunrpc/authuxprot.c: Likewise.
37073 * sunrpc/clnt_gen.c: Likewise.
37074 * sunrpc/clnt_perr.c: Likewise.
37075 * sunrpc/clnt_raw.c: Likewise.
37076 * sunrpc/clnt_simp.c: Likewise.
37077 * sunrpc/clnt_tcp.c: Likewise.
37078 * sunrpc/clnt_udp.c: Likewise.
37079 * sunrpc/clnt_unix.c: Likewise.
37080 * sunrpc/des_crypt.c: Likewise.
37081 * sunrpc/des_soft.c: Likewise.
37082 * sunrpc/get_myaddr.c: Likewise.
37083 * sunrpc/key_call.c: Likewise.
37084 * sunrpc/key_prot.c: Likewise.
37085 * sunrpc/netname.c: Likewise.
37086 * sunrpc/pm_getmaps.c: Likewise.
37087 * sunrpc/pm_getport.c: Likewise.
37088 * sunrpc/pmap_clnt.c: Likewise.
37089 * sunrpc/pmap_prot.c: Likewise.
37090 * sunrpc/pmap_prot2.c: Likewise.
37091 * sunrpc/pmap_rmt.c: Likewise.
37092 * sunrpc/publickey.c: Likewise.
37093 * sunrpc/rpc_cmsg.c: Likewise.
37094 * sunrpc/rpc_common.c: Likewise.
37095 * sunrpc/rpc_dtable.c: Likewise.
37096 * sunrpc/rpc_prot.c: Likewise.
37097 * sunrpc/rpc_thread.c: Likewise.
37098 * sunrpc/rtime.c: Likewise.
37099 * sunrpc/svc.c: Likewise.
37100 * sunrpc/svc_auth.c: Likewise.
37101 * sunrpc/svc_raw.c: Likewise.
37102 * sunrpc/svc_run.c: Likewise.
37103 * sunrpc/svc_tcp.c: Likewise.
37104 * sunrpc/svc_udp.c: Likewise.
37105 * sunrpc/svc_unix.c: Likewise.
37106 * sunrpc/svcauth_des.c: Likewise.
37107 * sunrpc/xcrypt.c: Likewise.
37108 * sunrpc/xdr.c: Likewise.
37109 * sunrpc/xdr_array.c: Likewise.
37110 * sunrpc/xdr_float.c: Likewise.
37111 * sunrpc/xdr_intXX_t.c: Likewise.
37112 * sunrpc/xdr_mem.c: Likewise.
37113 * sunrpc/xdr_rec.c: Likewise.
37114 * sunrpc/xdr_ref.c: Likewise.
37115 * sunrpc/xdr_sizeof.c: Likewise.
37116 * sunrpc/xdr_stdio.c: Likewise.
37118 2012-05-10 Roland McGrath <roland@hack.frob.com>
37120 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37121 change. Update copyright years.
37123 2012-05-10 Joseph Myers <joseph@codesourcery.com>
37125 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37127 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
37128 Joseph Myers <joseph@codesourcery.com>
37129 Paul Pluzhnikov <ppluzhnikov@google.com>
37132 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37134 [cross-compiling] (extra-libs): Likewise.
37135 [cross-compiling] (extra-libs-others): Likewise.
37136 [cross-compiling] (librpcsvc-routines): Likewise.
37137 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37138 [cross-compiling] (omit-deps): Likewise.
37139 (sunrpc-CPPFLAGS): New variable.
37140 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37141 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37142 (cross-rpcgen-objs): New variable.
37143 (extra-objs): Append $(cross-rpcgen-objs).
37144 ($(cross-rpcgen-objs)): New rule.
37145 ($(objpfx)cross-rpcgen): Likewise.
37146 (rpcgen-cmd): Define to use $(built-program-file). Expand
37148 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37149 ($(objpfx)x%.stmp): Likewise.
37150 * sunrpc/proto.h [IS_IN_build] (_): Define.
37151 [IS_IN_build] (_libc_intl_domainname): Likewise.
37153 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37155 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37156 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37157 and R_X86_64_TPOFF64.
37159 2012-05-10 Joseph Myers <joseph@codesourcery.com>
37161 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37162 sysdeps/unix/sysv/syscalls.list.
37165 * sysdeps/unix/sysv/syscalls.list: Remove file.
37167 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
37170 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37171 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37172 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37173 (__LC_IDENTIFICATION): Make these macros useful in #if
37174 expressions, as required by C99.
37176 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
37178 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37179 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
37182 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
37184 * stdlib/longlong.h: Updated from GCC.
37186 2012-05-09 Andreas Jaeger <aj@suse.de>
37188 * nscd/nscd.c (run_modes): Make named enum, reorder so that
37189 default is first entry.
37190 (run_mode): Set type.
37191 (main): Remove informal message about syslog.
37192 (options): Fix typo.
37195 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37198 (llrintf): Likewise.
37199 (llrint): Likewise.
37202 (nearbyint): Likewise.
37203 (nearbyintf): Likewise.
37205 2012-05-09 Andreas Jaeger <aj@suse.de>
37206 Pedro Alves <palves@redhat.com>
37208 * nscd/nscd.c (run_mode): Use enum.
37209 (main): Cleanup coding style issue.
37211 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
37212 Andreas Jaeger <aj@suse.de>
37214 * nscd/nscd.c (go_background): Replaced with...
37215 (run_mode): ... this.
37216 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37217 (options): Add -F --foreground.
37218 (main): Implement it.
37219 (parse_opt): Parse it.
37221 2012-05-09 Andreas Jaeger <aj@suse.de>
37224 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37225 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37226 -Wconversion warning.
37227 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37230 2012-05-09 Joseph Myers <joseph@codesourcery.com>
37232 * conform/data/locale.h-data (NULL): Use macro-constant. Require
37234 (LC_ALL): Use macro-int-constant.
37235 (LC_COLLATE): Likewise.
37236 (LC_CTYPE): Likewise.
37237 (LC_MESSAGES): Likewise.
37238 (LC_MONETARY): Likewise.
37239 (LC_NUMERIC): Likewise.
37240 (LC_TIME): Likewise.
37241 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37242 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37243 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37244 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37246 [C99-based standards] (float_t): Expect type.
37247 [C99-based standards] (double_t): Expect type.
37248 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
37250 [C99-based standards] (HUGE_VALL): Likewise.
37251 [C99-based standards] (INFINITY): Likewise.
37252 [C99-based standards] (NAN): Likewise.
37253 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37254 [C99-based standards] (FP_NAN): Likewise.
37255 [C99-based standards] (FP_NORMAL): Likewise.
37256 [C99-based standards] (FP_SUBNORMAL): Likewise.
37257 [C99-based standards] (FP_ZERO): Likewise.
37258 [C99-based standards] (FP_FAST_FMA): Use
37259 optional-macro-int-constant. Specify type. Require == 1.
37260 [C99-based standards] (FP_FAST_FMAF): Likewise.
37261 [C99-based standards] (FP_FAST_FMAL): Likewise.
37262 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37263 [C99-based standards] (FP_ILOGBNAN): Likewise.
37264 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37266 [C99-based standards] (MATH_ERREXCEPT): Likewise.
37267 [C99-based standards] (math_errhandling): Specify type.
37268 [ISO99 || ISO11] (signgam): Do not allow.
37269 [non-C99-based standards] (copysignf): Do not allow.
37270 [non-C99-based standards] (exp2f): Likewise.
37271 [non-C99-based standards] (log2f): Likewise.
37272 [non-C99-based standards] (modff): Allow.
37273 [non-C99-based standards] (erff): Do not allow.
37274 [non-C99-based standards] (erfcf): Likewise.
37275 [non-C99-based standards] (gammaf): Likewise.
37276 [non-C99-based standards] (hypotf): Likewise.
37277 [non-C99-based standards] (j0f): Likewise.
37278 [non-C99-based standards] (j1f): Likewise.
37279 [non-C99-based standards] (jnf): Likewise.
37280 [non-C99-based standards] (lgammaf): Likewise.
37281 [non-C99-based standards] (tgammaf): Likewise.
37282 [non-C99-based standards] (y0f): Likewise.
37283 [non-C99-based standards] (y1f): Likewise.
37284 [non-C99-based standards] (ynf): Likewise.
37285 [non-C99-based standards] (isnanf): Likewise.
37286 [non-C99-based standards] (acoshf): Likewise.
37287 [non-C99-based standards] (asinhf): Likewise.
37288 [non-C99-based standards] (atanhf): Likewise.
37289 [non-C99-based standards] (cbrtf): Likewise.
37290 [non-C99-based standards] (expm1f): Likewise.
37291 [non-C99-based standards] (ilogbf): Likewise.
37292 [non-C99-based standards] (log1pf): Likewise.
37293 [non-C99-based standards] (logbf): Likewise.
37294 [non-C99-based standards] (nextafterf): Likewise.
37295 [non-C99-based standards] (remainderf): Likewise.
37296 [non-C99-based standards] (rintf): Likewise.
37297 [non-C99-based standards] (scalbf): Likewise.
37298 [non-C99-based standards] (copysignl): Likewise.
37299 [non-C99-based standards] (exp2l): Likewise.
37300 [non-C99-based standards] (log2l): Likewise.
37301 [non-C99-based standards] (modfl): Allow.
37302 [non-C99-based standards] (erfl): Do not allow.
37303 [non-C99-based standards] (erfcl): Likewise.
37304 [non-C99-based standards] (gammal): Likewise.
37305 [non-C99-based standards] (hypotl): Likewise.
37306 [non-C99-based standards] (j0l): Likewise.
37307 [non-C99-based standards] (j1l): Likewise.
37308 [non-C99-based standards] (jnl): Likewise.
37309 [non-C99-based standards] (lgammal): Likewise.
37310 [non-C99-based standards] (tgammal): Likewise.
37311 [non-C99-based standards] (y0l): Likewise.
37312 [non-C99-based standards] (y1l): Likewise.
37313 [non-C99-based standards] (ynl): Likewise.
37314 [non-C99-based standards] (isnanl): Likewise.
37315 [non-C99-based standards] (acoshl): Likewise.
37316 [non-C99-based standards] (asinhl): Likewise.
37317 [non-C99-based standards] (atanhl): Likewise.
37318 [non-C99-based standards] (cbrtl): Likewise.
37319 [non-C99-based standards] (expm1l): Likewise.
37320 [non-C99-based standards] (ilogbl): Likewise.
37321 [non-C99-based standards] (log1pl): Likewise.
37322 [non-C99-based standards] (logbl): Likewise.
37323 [non-C99-based standards] (nextafterl): Likewise.
37324 [non-C99-based standards] (remainderl): Likewise.
37325 [non-C99-based standards] (rintl): Likewise.
37326 [non-C99-based standards] (scalbl): Likewise.
37327 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37328 [non-C99-based standards] (FP_*): Do not allow.
37329 [C99-based standards] (FP_*): Change to
37330 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37331 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37333 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37334 (SIG_ERR): Likewise.
37335 [X/Open-based standards] (SIG_HOLD): Likewise.
37336 (SIG_IGN): Likewise.
37337 (SIGABRT): Use macro-int-constant. Specify type. Require
37339 (SIGFPE): Likewise.
37340 (SIGILL): Likewise.
37341 (SIGINT): Likewise.
37342 (SIGSEGV): Likewise.
37343 (SIGTER): Likewise.
37344 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37345 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37346 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37347 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37348 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37349 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37350 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37351 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37352 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37353 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37354 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37355 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37356 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37357 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37358 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37359 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37360 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37361 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37362 [X/Open-based standards] (SIGTRAP): Likewise.
37363 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37364 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37365 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37366 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37367 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37370 2012-05-08 Ian Wienand <ianw@vmware.com>
37373 * time/tzset.c (__tzset_parse_tz): Update default rules for
37374 daylight time changes in the Energy Policy Act of 2005.
37376 2012-05-09 Andreas Jaeger <aj@suse.de>
37379 * elf/ldconfig.c (parse_conf): Change string to make clear that
37380 ldconfig only issued a warning if ld.so.conf does not exist.
37382 2012-05-08 David S. Miller <davem@davemloft.net>
37384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37385 movxtod instead of popping the value on the stack.
37387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37389 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
37391 * config.h.in: Add HAVE_ARM_PCS_VFP.
37393 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
37396 * include/features.h: Warn if user requests __FORTIFY_SOURCE
37397 checking but the checks are disabled for any reason.
37399 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
37401 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37402 and ELF64_R_TYPE with ELFW(R_TYPE).
37404 2012-05-08 Joseph Myers <joseph@codesourcery.com>
37406 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37407 (ulimit): Likewise.
37409 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37410 (settimeofday): Likewise.
37412 2012-05-08 Mike Frysinger <vapier@gentoo.org>
37414 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
37415 a struct th_u2 inside the union, and move tu_block/tu_code into
37416 a new th_u3 union of tu_block/tu_code inside of that. Move
37417 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
37418 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
37419 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37420 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37421 (th_stuff): Change to th_u1.tu_stuff.
37423 (th_msg): Change to th_u1.th_u2.tu_data.
37425 2012-05-07 David S. Miller <davem@davemloft.net>
37427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37430 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37431 (SETUP_PIC_REG): Use it.
37432 (SETUP_PIC_REG_LEAF): Use it.
37434 2012-05-07 Joseph Myers <joseph@codesourcery.com>
37438 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37440 (EXPL_FINITE): Likewise.
37441 (FLDLOG): Likewise.
37442 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37443 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37445 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37447 (EXPL_FINITE): Likewise.
37448 (FLDLOG): Likewise.
37449 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37450 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37452 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
37453 test of -max_value argument for long double.
37454 * sysdeps/i386/fpu/libm-test-ulps: Update.
37455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37457 2012-05-06 David S. Miller <davem@davemloft.net>
37459 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37460 quad soft-float symbols whose references which are compiler
37462 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37464 2012-05-06 Joseph Myers <joseph@codesourcery.com>
37468 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37470 (EXPL_FINITE): Likewise.
37471 (FLDLOG): Likewise.
37474 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37475 Adjust comments for base varying.
37476 (__expl_finite): Change alias to EXPL_FINITE.
37477 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37479 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37480 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37481 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37482 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37483 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37485 (EXPL_FINITE): Likewise.
37486 (FLDLOG): Likewise.
37489 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37490 Adjust comments for base varying.
37491 (__expl_finite): Change alias to EXPL_FINITE.
37492 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
37494 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37497 * math/libm-test.inc (check_float_internal): Correct ulp
37498 calculation for subnormal expected results.
37500 2012-05-06 Andreas Jaeger <aj@suse.de>
37502 * Makeconfig (+math-flags): New, set to -frounding-math.
37503 (+cflags): Add +math-flags so that all of glibc gets compiled with
37506 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37508 2012-05-05 Joseph Myers <joseph@codesourcery.com>
37510 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37516 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37517 (__ieee754_expl): Allow for and saturate large arguments.
37518 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37519 (u_threshold): Likewise.
37520 (__exp): Call __ieee754_exp before checking for overflow and
37522 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37523 (u_threshold): Likewise.
37524 (__expf): Call __ieee754_expf before checking for overflow and
37526 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37527 (u_threshold): Likewise.
37528 (__expl): Call __ieee754_expl before checking for overflow and
37530 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37531 (__ieee754_expl): Allow for and saturate large arguments.
37532 * math/libm-test.inc (exp_test): Add another test. Do not allow
37533 missing overflow exception on overflow.
37534 (expm1_test): Do not allow missing overflow exception on overflow.
37536 * sysdeps/i386/fpu/e_expl.c: Move to ...
37537 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
37538 rather than using inline asm.
37539 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37540 * sysdeps/x86_64/fpu/e_expl.S: Copy from
37541 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37543 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37546 (signal): Likewise.
37550 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37552 * sysdeps/unix/syscalls.list (adjtime): Add entry from
37553 sysdeps/unix/common/syscalls.list.
37554 (fchmod): Likewise.
37555 (fchown): Likewise.
37556 (ftruncate): Likewise.
37557 (getrusage): Likewise.
37558 (gettimeofday): Likewise.
37559 (setpgid): Likewise.
37560 (setregid): Likewise.
37561 (setreuid): Likewise.
37562 (sigaction): Likewise.
37563 (truncate): Likewise.
37564 (vhangup): Likewise.
37565 * sysdeps/unix/common/syscalls.list: Remove file.
37566 * sysdeps/unix/bsd/Implies: Don't include unix/common.
37567 * sysdeps/unix/sysv/linux/Implies: Likewise.
37569 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
37571 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37572 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37573 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37577 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37580 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37583 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37586 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37589 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37592 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37595 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37599 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37603 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37606 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37610 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37614 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37616 * sysdeps/unix/common/bits/dirent.h: Remove file.
37617 * sysdeps/unix/common/bits/fcntl.h: Likewise.
37619 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37620 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37621 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37622 * sysdeps/unix/bsd/isatty.c: Likewise.
37623 * sysdeps/unix/bsd/tcdrain.c: Likewise.
37624 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37625 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37627 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37630 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37631 long double comparison inaccuracies.
37632 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37635 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
37637 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37638 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37640 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37643 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37644 nonzero digits before rounding a hex value.
37645 * stdlib/tst-strtod.c (tests): Add another test.
37647 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37649 * sysdeps/s390/fpu/libm-test-ulps: Update.
37651 2012-05-03 Andreas Jaeger <aj@suse.de>
37653 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37654 does not get optimized out.
37655 (malloc_opt_barrier): New.
37657 2012-05-03 Andreas Jaeger <aj@suse.de>
37658 Roland McGrath <roland@hack.frob.com>
37660 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37661 intermediate file deletion.
37662 (generated): Add .symlist files.
37664 2012-05-03 Joseph Myers <joseph@codesourcery.com>
37667 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37668 Redirect under this condition.
37669 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37670 [__USE_GNU] (__dprintf_chk): Not under this condition.
37671 [__USE_GNU] (__vdprintf_chk): Likewise.
37672 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37673 under this condition.
37674 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37675 [__USE_XOPEN2K8] (dprintf): Define under this condition.
37676 [__USE_XOPEN2K8] (vdprintf): Likewise.
37677 [__USE_GNU] (__dprintf_chk): Not under this condition.
37678 [__USE_GNU] (__vdprintf_chk): Likewise.
37679 [__USE_GNU] (dprintf): Likewise.
37680 [__USE_GNU] (vdprintf): Likewise.
37682 2012-05-03 Roland McGrath <roland@hack.frob.com>
37684 * elf/Makefile (common-generated): Set this instead of generated for
37685 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
37686 $(all-built-dso)-derived lists.
37688 2012-05-03 Andreas Jaeger <aj@suse.de>
37690 * sysdeps/i386/fpu/libm-test-ulps: Update.
37693 * FAQ.in: Likewise.
37694 * scripts/gen-FAQ.pl: Likewise.
37695 * manual/install.texi (Installation): Point to online location of
37697 * Makefile (files-for-dist): Remove FAQ.
37700 2012-05-02 Allan McRae <allan@archlinux.org>
37702 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37703 (LDFLAGS-reldepmod5.so): Likewise.
37704 (LDFLAGS-reldep6mod1.so): Likewise.
37705 (LDFLAGS-reldep6mod4.so): Likewise.
37706 (LDFLAGS-reldep8mod3.so): Likewise.
37707 (LDFLAGS-unload4mod1.so): Likewise.
37708 (LDFLAGS-unload4mod2.so): Likewise.
37709 (LDFLAGS-tst-initorder): Likewise.
37710 (LDFLAGS-tst-initordera2.so): Likewise.
37711 (LDFLAGS-tst-initordera3.so): Likewise.
37712 (LDFLAGS-tst-initordera4.so): Likewise.
37713 (LDFLAGS-tst-initorderb2.so): Likewise.
37714 (LDFLAGS-noload): Likewise.
37715 (LDFLAGS-next): Likewise.
37716 (LDFLAGS-order2mod1.so): Likewise.
37717 (LDFLAGS-order2mod2.so): Likewise.
37718 (LDFLAGS-tst-initorder2): Likewise.
37719 (LDFLAGS-tst-initorder2a.so): Likewise.
37720 (LDFLAGS-tst-initorder2b.so): Likewise.
37721 (LDFLAGS-tst-initorder2c.so): Likewise.
37722 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37724 2012-05-02 David S. Miller <davem@davemloft.net>
37726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37728 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37731 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37733 2012-05-02 Andreas Jaeger <aj@suse.de>
37735 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37736 since we manipulate rounding mode.
37737 (CPPFLAGS-test-idouble.c): Likewise.
37738 (CPPFLAGS-test-ifloat.c): Likewise.
37739 (CFLAGS-test-ldouble.c): Likewise.
37740 (CFLAGS-test-double.c): Likewise.
37741 (CFLAGS-test-float.c): Likewise.
37742 (CFLAGS-test-misc.c): Likewise.
37743 (CFLAGS-test-test-fenv.c): Likewise.
37745 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37749 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37750 comparisons to determine direction to adjust input.
37752 2012-05-01 Roland McGrath <roland@hack.frob.com>
37754 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37755 output to the target.
37757 * scripts/localplt.awk: New file.
37758 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37759 (check-localplt-CFLAGS): Variable removed.
37760 ($(all-built-dso:=.jmprel)): New static pattern rule.
37761 (generated): Add those targets.
37762 (localplt-built-dso): New variable.
37763 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37765 * elf/check-localplt.c: File removed.
37767 * scripts/check-execstack.awk: New file.
37768 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37769 (check-execstack-CFLAGS): Variable removed.
37770 ($(objpfx)check-execstack.h): Target removed.
37771 ($(objpfx)execstack-default): New target.
37772 (generated): Add that instead of check-execstack.h.
37773 ($(all-built-dso:=.phdr)): New static pattern rule.
37774 (generated): Add those targets.
37775 * elf/check-execstack.c: File removed.
37777 * scripts/check-textrel.awk: New file.
37778 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37779 (check-textrel-CFLAGS): Variable removed.
37780 (all-built-dso): Use := to define.o
37781 ($(all-built-dso:=.dyn)): New static pattern rule.
37782 (generated): Add those targets.
37783 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37784 * config.make.in (READELF): New substituted variable.
37785 * elf/check-textrel.c: File removed.
37787 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37789 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37791 * conform/data/ctype.h-data [C99-based standards] (isblank):
37793 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37794 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37795 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37796 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37797 Specify type. Require positive value.
37798 (EILSEQ): Likewise.
37799 (ERANGE): Likewise.
37800 [ISO || POSIX] (EILSEQ): Do not expect.
37801 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37802 Specify type. Require positive value.
37803 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37804 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37805 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37806 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37807 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37808 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37809 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37810 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37811 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37812 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37813 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37814 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37815 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37816 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37817 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37818 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37819 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37820 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37821 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37822 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37823 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37824 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37825 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37826 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37827 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37828 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37829 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37830 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37831 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37832 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37833 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37834 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37835 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37836 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37837 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37838 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37839 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37840 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37841 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37842 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37843 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37844 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37845 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37846 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37847 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37848 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37849 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37850 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37851 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37852 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37853 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37854 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37855 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37856 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37857 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37858 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37859 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37860 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37861 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37862 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37863 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37864 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37865 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37866 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37867 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37868 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37869 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37870 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37871 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37872 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37873 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37874 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37875 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37876 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37877 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37878 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37879 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37881 (FLT_ROUNDS): Expect as macro, not constant.
37882 (FLT_MANT_DIG): Use macro-int-constant.
37883 (DBL_MANT_DIG): Likewise.
37884 (LDBL_MANT_DIG): Likewise.
37885 (FLT_DIG): Likewise.
37886 (DBL_DIG): Likewise.
37887 (LDBL_DIG): Likewise.
37888 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37889 (DBL_MIN_EXP): Likewise.
37890 (LDBL_MIN_EXP): Likewise.
37891 (FLT_MAX_EXP): Use macro-int-constant.
37892 (DBL_MAX_EXP): Likewise.
37893 (LDBL_MAX_EXP): Likewise.
37894 (FLT_MAX_10_EXP): Likewise.
37895 (DBL_MAX_10_EXP): Likewise.
37896 (LDBL_MAX_10_EXP): Likewise.
37897 (FLT_MAX): Use macro-constant.
37898 (DBL_MAX): Likewise.
37899 (LDBL_MAX): Likewise.
37900 (FLT_EPSILON): Use macro-constant. Give upper bound.
37901 (DBL_EPSILON): Likewise.
37902 (LDBL_EPSILON): Likewise.
37903 (FLT_MIN): Likewise.
37904 (DBL_MIN): Likewise.
37905 (LDBL_MIN): Likewise.
37906 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37907 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37908 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37909 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37910 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37911 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37912 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37913 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37914 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37915 [ISO11] (FLT_TRUE_MIN): Likewise.
37916 [ISO11] (LDBL_TRUE_MIN): Likewise.
37917 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37918 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37919 (SCHAR_MIN): Use macro-int-constant. Specify type.
37920 (SCHAR_MAX): Likewise.
37921 (UCHAR_MAX): Likewise.
37922 (CHAR_MIN): Likewise.
37923 (CHAR_MAX): Likewise.
37924 (MB_LEN_MAX): Use macro-int-constant.
37925 (SHRT_MIN): Use macro-int-constant. Specify type.
37926 (SHRT_MAX): Likewise.
37927 (USHRT_MAX): Likewise.
37928 (INT_MAX): Likewise.
37929 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37931 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37933 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37935 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37936 bound negative. Suffix upper bound with "L".
37937 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37939 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37941 [C99-based standards] (LLONG_MAX): Likewise.
37942 [C99-based standards] (ULLONG_MAX): Likewise.
37943 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37945 [ISO11] (max_align_t): Require type.
37946 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37948 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37949 from $CFLAGS, without defining away __attribute__ calls.
37950 (checknamespace): Use $CFLAGS_namespace.
37952 * conform/conformtest.pl (@keywords): Only include C99 keywords
37953 for standards based on C99 or C11.
37955 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37957 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37960 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37961 usability of symbols in #if.
37963 * conform/conformtest.pl: If macro or constant types start
37964 "promoted:", expect the symbol to be of the following type
37965 promoted by the integer promotions.
37967 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37968 in one place. Also handle "macro-constant".
37970 * conform/conformtest.pl: Only accept expected macro values with
37971 "==". Parse all "macro" lines in one place.
37972 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37974 * conform/conformtest.pl: Handle braced types on "constant" lines
37975 instead of handling "typed-constant".
37976 * conform/data/signal.h-data: Use "constant" instead of
37979 * conform/conformtest.pl: Handle "optional-" at start of lines in
37980 one place rather than duplicating several cases. Handle each
37981 format of "macro" line with initial "optional-".
37983 * conform/conformtest.pl: Only accept expected constant or
37984 optional-constant values with "==". Parse all "constant" lines in
37985 one place. Parse all "optional-constant" lines in one place.
37986 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37987 * conform/data/fmtmsg.h-data: Likewise.
37988 * conform/data/netinet/in.h-data: Likewise.
37989 * conform/data/tar.h-data: Likewise.
37990 * conform/data/limits.h-data: Use "==" form on "constant" and
37991 "optional-constant" lines.
37993 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37994 Use -std=c99 for XOPEN2K.
37995 (@knownproblems): Remove.
37996 (newtoken): Don't check %isknown.
37998 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37999 Do not expect macro.
38000 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38001 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38002 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38003 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38004 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38005 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38006 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38007 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38008 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38009 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38010 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38011 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38012 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38013 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38014 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38015 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38016 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38017 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38018 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38019 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38020 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38021 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38022 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38023 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38024 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38025 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38026 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38027 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38028 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38029 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38030 [XPG3] (acosh): Likewise.
38031 [XPG3] (asinh): Likewise.
38032 [XPG3] (atanh): Likewise.
38033 [XPG3] (cbrt): Likewise.
38034 [XPG3] (expm1): Likewise.
38035 [XPG3] (ilogb): Likewise.
38036 [XPG3] (log1p): Likewise.
38037 [XPG3] (logb): Likewise.
38038 [XPG3] (nextafter): Likewise.
38039 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38040 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38041 [XPG3] (remainder): Likewise.
38042 [XPG3] (rint): Likewise.
38043 [XPG3 || XPG4 || UNIX98] (round): Likewise.
38044 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38045 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38046 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38047 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38048 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38049 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38050 [UNIX98 || XOPEN2K] (scalb): Expect.
38051 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38052 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38053 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38054 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38055 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38056 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38057 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38058 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38059 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38060 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38061 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38062 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38063 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38064 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38065 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38066 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38067 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38068 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38069 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38070 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38071 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38072 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38073 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38074 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38075 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38076 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38077 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38078 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38079 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38080 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38081 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38082 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38083 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38084 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38085 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38086 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38087 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38088 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38089 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38090 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38091 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38092 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38093 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38094 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38095 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38096 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38097 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38098 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38099 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38100 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38101 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38102 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38103 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38104 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38105 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38106 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38107 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38108 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38109 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38110 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38111 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38112 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38113 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38114 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38115 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38116 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38117 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38118 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38119 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38120 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38121 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38122 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38123 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38124 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38125 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38126 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38127 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38128 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38129 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38130 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38131 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38132 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38133 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38134 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38135 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38136 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38137 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38138 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38139 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38140 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38141 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38142 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38143 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38144 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38145 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38146 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38147 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38148 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38149 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38150 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38151 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38152 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38153 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38154 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38155 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38156 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38157 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38158 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38159 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38160 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38161 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38162 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38163 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38164 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38165 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38166 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38167 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38168 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38169 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38170 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38171 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38172 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38173 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38174 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38175 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38176 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38177 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38178 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38179 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38180 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38181 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38182 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38183 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38184 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38185 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38186 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38187 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38189 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38190 _XOPEN_SOURCE_EXTENDED for XPG4.
38192 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38194 * Makeconfig (localtime): Remove variable.
38195 (inst_localtime-file): Likewise.
38197 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38218 2012-05-01 Joseph Myers <joseph@codesourcery.com>
38222 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38223 comparisons to determine direction to adjust input.
38224 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38225 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38226 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38228 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38230 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38232 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38233 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38235 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38237 * math/libm-test.inc (nexttoward_test): Add more tests.
38239 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38242 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38243 in version GLIBC_2.1, not GLIBC_2.0.
38244 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38247 2012-04-30 Joseph Myers <joseph@codesourcery.com>
38250 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38252 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38253 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38254 * math/libm-test.inc (acos_test): Add more tests.
38255 (asin_test): Likewise.
38256 * sysdeps/i386/fpu/libm-test-ulps: Update.
38257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38260 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38262 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38263 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38264 * math/libm-test.inc (acos_test_tonearest): New function.
38265 (acos_test_towardzero): Likewise.
38266 (acos_test_downward): Likewise.
38267 (acos_test_upward): Likewise.
38268 (asin_test_tonearest): Likewise.
38269 (asin_test_towardzero): Likewise.
38270 (asin_test_downward): Likewise.
38271 (asin_test_upward): Likewise.
38272 (main): Call the new functions.
38273 * sysdeps/i386/fpu/libm-test-ulps: Update.
38274 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38278 * math/e_exp10.c: Include <float.h>.
38279 (__ieee754_exp10): Handle underflow here rather than multiplying
38280 large negative argument by M_LN10.
38281 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38283 * math/e_exp10l.c: Include <float.h>.
38284 (__ieee754_exp10l): Handle underflow here rather than multiplying
38285 large negative argument by M_LN10l.
38286 * math/libm-test.inc (exp10_test): Add another test. Do not allow
38287 spurious overflow exception on underflow.
38289 2012-04-29 Marek Polacek <polacek@redhat.com>
38291 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38292 (__fortify_function): New macro.
38293 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38294 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38295 __extern_always_inline.
38296 * libio/bits/stdio2.h: Likewise.
38297 * libio/bits/stdio.h: Likewise.
38298 * string/string.h: Likewise.
38299 * string/bits/string3.h: Likewise.
38300 * include/stdio.h: Likewise.
38301 * stdlib/bits/stdlib.h: Likewise.
38302 * stdlib/stdlib.h: Likewise.
38303 * rt/bits/mqueue2.h: Likewise.
38304 * rt/mqueue.h: Likewise.
38305 * posix/bits/unistd.h: Likewise.
38306 * posix/unistd.h: Likewise.
38307 * io/bits/poll2.h: Likewise.
38308 * io/bits/fcntl2.h: Likewise.
38309 * io/fcntl.h: Likewise.
38310 * io/sys/poll.h: Likewise.
38311 * misc/bits/syslog.h: Likewise.
38312 * misc/bits/syslog-ldbl.h: Likewise.
38313 * misc/sys/syslog.h: Likewise.
38314 * socket/bits/socket2.h: Likewise.
38315 * socket/sys/socket.h: Likewise.
38316 * debug/tst-chk1.c: Likewise.
38317 * wcsmbs/bits/wchar2.h: Likewise.
38318 * wcsmbs/bits/wchar-ldbl.h: Likewise.
38319 * wcsmbs/wchar.h: Likewise.
38321 2012-04-29 Andreas Jaeger <aj@suse.de>
38323 * Makerules (tests): Remove enable-check-abi protection.
38324 (check-abi-warn): Remove.
38325 (check-abi-%): Remove check-abi-warn usage.
38327 * configure.in: Remove check-abi configure option.
38328 * configure: Regenerated.
38329 * config.make.in (enable-check-abi): Remove.
38331 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
38334 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38335 double functions to double *_finite functions.
38338 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38339 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38341 * stdio-common/Makefile (tests): Add tst-sprintf3.
38342 * stdio-common/tst-sprintf3.c: New file.
38344 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38345 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38347 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38349 * conform/conformtest.pl: Remove duplicate typed-constant
38352 2012-04-28 David S. Miller <davem@davemloft.net>
38354 * Makerules (%.abilist): Add vpath on sysdep_dirs.
38355 (check-abi-%): Remove AWK script prerequisite and explicit
38357 (check-abi): Rewrite to just diff the symlist with the abilist.
38358 (config-tls, config-abi-config): Delete, no longer used.
38359 (update-abi-%): Remove AWK script and explicit abilist directory.
38360 (update-abi): Rewrite to simply compare and conditionally copy the
38361 symlist and the sysdep abilist file. Remove update-abi-config
38363 * abilist/ld.abilist: Remove.
38364 * abilist/libBrokenLocale.abilist: Remove.
38365 * abilist/libanl.abilist: Remove.
38366 * abilist/libcrypt.abilist: Remove.
38367 * abilist/libdl.abilist: Remove.
38368 * abilist/librt.abilist: Remove.
38369 * abilist/libthread_db.abilist: Remove.
38370 * abilist/libutil.abilist: Remove.
38371 * scripts/extract-abilist.awk: Remove.
38372 * scripts/merge-abilist.awk: Remove.
38373 * sysdeps/generic/libcidn.abilist: New file.
38374 * sysdeps/generic/libnss_compat.abilist: New file.
38375 * sysdeps/generic/libnss_db.abilist: New file.
38376 * sysdeps/generic/libnss_dns.abilist: New file.
38377 * sysdeps/generic/libnss_files.abilist: New file.
38378 * sysdeps/generic/libnss_hesiod.abilist: New file.
38379 * sysdeps/generic/libnss_nis.abilist: New file.
38380 * sysdeps/generic/libnss_nisplus.abilist: New file.
38381 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38382 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38383 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38385 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38386 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38387 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38388 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38389 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38390 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38391 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38392 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38393 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38395 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38396 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38397 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38398 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38400 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38401 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38402 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38403 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38404 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38405 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38407 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38408 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38409 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38411 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38412 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38414 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38416 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38418 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38420 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38422 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38424 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38426 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38428 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38430 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38432 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38434 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38514 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38515 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38516 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38518 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38519 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38520 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38521 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38522 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38523 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38524 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38525 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38526 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38527 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38579 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38581 * conform/conformtest.pl: Fix typo in handling typed-constant from
38584 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38586 * README: Cut down references to pre-2.6 Linux kernels and
38587 Linuxthreads. Update lists of configurations in libc and ports
38588 and sort alphabetically. Say "or newer" with Linux kernel version
38591 * config.h.in [IS_IN_build]: Allow compiling without optimization.
38593 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38596 * math/libm-test.inc (logb_test_downward): New test to expose
38597 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38600 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38603 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38605 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38606 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38608 2012-04-26 Joseph Myers <joseph@codesourcery.com>
38610 * sysdeps/unix/i386/brk.S: Remove file.
38611 * sysdeps/unix/i386/dl-brk.S: Likewise.
38612 * sysdeps/unix/i386/pipe.S: Likewise.
38613 * sysdeps/unix/i386/sigreturn.S: Likewise.
38614 * sysdeps/unix/i386/syscall.S: Likewise.
38615 * sysdeps/unix/i386/vfork.S: Likewise.
38616 * sysdeps/unix/i386/wait.S: Likewise.
38618 * sysdeps/unix/common/tcsendbrk.c: Move to ...
38619 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38621 * configure.in (arm*-none*): Do not allow without
38622 --enable-hacker-mode.
38623 (netbsd*): Remove case setting base_os.
38624 (386bsd*): Likewise.
38625 (freebsd*): Likewise.
38628 (sunos*): Likewise.
38629 (ultrix*): Likewise.
38630 (newsos*): Likewise.
38631 (dynix*): Likewise.
38637 (minix*): Likewise.
38638 (irix4*): Likewise.
38639 (irix6*): Likewise.
38640 (solaris[2-9]*): Likewise.
38642 * configure: Regenerated.
38644 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38647 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38648 overflow or cancellation in calculating denominator.
38649 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38650 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38651 down expression to avoid unexpected rounding in newer GCCs.
38652 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38654 2012-04-26 David S. Miller <davem@davemloft.net>
38656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38657 long-double compat symbols.
38658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38672 2012-04-25 David S. Miller <davem@davemloft.net>
38674 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38675 HWCAP_* values only after the memory barriers have been defined.
38676 (atomic_full_barrier): Define.
38677 (atomic_read_barrier): Define.
38678 (atomic_write_barrier): Define.
38680 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38682 * shlib-versions: Add libgcc_s version information.
38683 * sysdeps/generic/libgcc_s.h: Remove.
38684 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38686 * sysdeps/gnu/unwind-resume.c: Likewise.
38687 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38689 2012-04-25 David S. Miller <davem@davemloft.net>
38691 * sysdeps/unix/sparc/brk.S: Delete.
38692 * sysdeps/unix/sparc/dl-brk.S: Delete.
38693 * sysdeps/unix/sparc/pipe.S: Delete.
38694 * sysdeps/unix/sparc/sysdep.S: Delete.
38695 * sysdeps/unix/sparc/sysdep.h: Delete.
38696 * sysdeps/unix/sparc/vfork.S: Delete.
38697 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38698 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38699 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38700 (ret_ERRVAL, r0, r1, MOVE): Define.
38701 (JUMPTARGET): Remove.
38702 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38703 sysdeps/unix/sparc/sysdep.h
38704 (ENTRY, END): Remove.
38705 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38707 2012-04-25 Joseph Myers <joseph@codesourcery.com>
38709 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38710 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38713 * timezone/README: Update upstream location and email address for
38715 * timezone/zdump.c: Update from tzcode 2012b.
38716 * timezone/zic.c: Likewise.
38718 * configure.in (libc_cv_as_needed): Remove test.
38719 * configure: Regenerated.
38720 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38721 conditional definition.
38722 [$(have-as-needed) != yes] (no-as-needed): Likewise.
38723 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38724 * config.make.in (have-as-needed): Remove variable.
38726 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38727 Paul Pluzhnikov <ppluzhnikov@google.com>
38729 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38732 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
38734 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38735 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38736 * sysdeps/sh/strlen.S: Likewise.
38738 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38740 * sysdeps/unix/fork.S: Remove file.
38741 * sysdeps/unix/i386/fork.S: Likewise.
38742 * sysdeps/unix/sparc/fork.S: Likewise.
38744 * sysdeps/unix/system.c: Remove file.
38745 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38747 * sysdeps/unix/getegid.S: Remove file.
38748 * sysdeps/unix/geteuid.S: Likewise.
38750 2012-04-24 Roland McGrath <roland@hack.frob.com>
38752 * scripts/check-localplt.awk: New file.
38753 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38755 * scripts/data/localplt-generic.data: Add a comment.
38757 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38758 NODE when __dir_mkfile failed.
38759 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38760 Reported by Ludovic Courtès <ludo@gnu.org>.
38762 2012-04-24 Andreas Jaeger <aj@suse.de>
38764 * Makerules (common-clean): Also remove gen-as-const-headers
38767 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38769 * Makerules (native-compile): Do not change working directory for
38770 build. Use $(OUTPUT_OPTION) in command.
38771 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38773 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38776 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38777 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38778 * math/libm-test.inc (floor_test): Add more tests.
38779 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38781 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38783 * sysdeps/unix/getdents.c: Remove file.
38784 * sysdeps/unix/sysv/getdents.c: Likewise.
38785 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38787 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38788 sysdeps/unix/mman/syscalls.list.
38790 (mprotect): Likewise.
38792 (munmap): Likewise.
38793 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38794 * sysdeps/unix/mman/syscalls.list: Remove.
38795 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38797 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38798 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38799 * configure: Regenerated.
38800 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38801 $(libgcc_s_suffix).
38802 * config.make.in (libgcc_s_suffix): Remove variable.
38804 2012-04-23 Joseph Myers <joseph@codesourcery.com>
38806 * sysdeps/unix/sysv/gethostname.c: Move to ...
38807 * sysdeps/posix/gethostname.c: ... here.
38809 * sysdeps/unix/execve.S: Remove file.
38811 * sysdeps/unix/_exit.S: Remove file.
38813 2012-04-23 Andreas Jaeger <aj@suse.de>
38816 * manual/Makefile: Remove make dist support, there's no
38817 need for a stand-alone documentation tar ball.
38818 (TEXI2DVI): Define always, it's not in Makeconfig.
38821 (edition): Removed.
38822 (glibc-doc-$(edition).tar): Removed
38826 (ETAGS): Remove, it's in Makeconfig.
38827 (move-if-change): Remove, it's in Makeconfig.
38829 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
38832 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38833 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38834 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38835 (strtod_l, strtof_l, strtold_l): Remove __wur.
38836 It is not necessarily an error to ignore strtol's return value.
38837 One can reliably look at the stored endptr to decide whether
38838 the number had valid syntax.
38840 2012-04-21 Andreas Jaeger <aj@suse.de>
38843 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38845 2012-04-21 Joseph Myers <joseph@codesourcery.com>
38847 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38848 * sysdeps/unix/sysv/Versions: Remove file.
38850 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38855 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
38858 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38859 version from __vm86.
38861 2012-04-20 Joseph Myers <joseph@codesourcery.com>
38863 * sysdeps/unix/common/lxstat.c: Remove file.
38864 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38866 * sysdeps/unix/sysv/Makefile: Remove file.
38868 * sysdeps/unix/sysv/direct.h: Remove file.
38870 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38871 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38872 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38873 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38874 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38875 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38876 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38878 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38880 * sysdeps/unix/xmknod.c: Remove file.
38881 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38883 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38885 * sysdeps/unix/sysv/i386/time.S: Remove file.
38887 * sysdeps/unix/fxstat.c: Remove file.
38888 * sysdeps/unix/xstat.c: Likewise.
38889 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38891 * sysdeps/unix/sysv/sigaction.c: Remove file.
38893 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38894 (sysdep_headers): Remove variable.
38895 [termio.h not in sysdep_headers] (generated): Likewise.
38896 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38897 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38898 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38899 * sysdeps/unix/sysv/tcflow.c: Likewise.
38900 * sysdeps/unix/sysv/tcflush.c: Likewise.
38901 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38902 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38903 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38904 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38905 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38907 * sysdeps/unix/siglist.c: Remove file.
38909 * sysdeps/unix/getppid.S: Remove file.
38911 * sysdeps/unix/mkdir.c: Remove file.
38912 * sysdeps/unix/rmdir.c: Likewise.
38914 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38916 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38918 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38919 errlist-compat value.
38921 2012-04-18 David S. Miller <davem@davemloft.net>
38923 * sysdeps/generic/memcopy.h (reg_char): Delete.
38924 * debug/strcat_chk.c: Use char, not reg_char.
38925 * debug/strcpy_chk.c: Likewise.
38926 * debug/strncat_chk.c: Likewise.
38927 * debug/strncpy_chk.c: Likewise.
38928 * string/memchr.c: Likewise.
38929 * string/memrchr.c: Likewise.
38930 * string/rawmemchr.c: Likewise.
38931 * string/strcat.c: Likewise.
38932 * string/strchr.c: Likewise.
38933 * string/strchrnul.c: Likewise.
38934 * string/strcmp.c: Likewise.
38935 * string/strcpy.c: Likewise.
38936 * string/strncat.c: Likewise.
38937 * string/strncmp.c: Likewise.
38938 * string/strncpy.c: Likewise.
38940 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38942 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38943 __builtin_memcopy is called when src and dest ranges are known to not
38946 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38948 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38949 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38950 fwd_align_merge macro call.
38951 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38952 bwd_align_merge macro call.
38953 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38955 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38957 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38958 bwd_align_merge macros.
38959 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38960 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38961 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38963 2012-04-18 David S. Miller <davem@davemloft.net>
38965 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38967 2012-04-18 Andreas Jaeger <aj@suse.de>
38970 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38971 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38972 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38974 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38975 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38976 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38978 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38979 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38980 Adjust for changed ldbl-128 files.
38982 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38983 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38984 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38986 2012-04-17 David S. Miller <davem@davemloft.net>
38988 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38990 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38992 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38993 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38994 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38995 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38996 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38997 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38999 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39002 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39003 * math/libm-test.inc: Add ilogb errno and exception tests.
39004 * math/w_ilogb.c: New file: ilogb wrapper.
39005 * math/w_ilogbf.c: New file: ilogbf wrapper.
39006 * math/w_ilogbl.c: New file: ilogbl wrapper.
39007 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39008 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39009 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39010 exception being thrown with 0.0 as argument.
39011 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39012 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39013 exception being thrown with 0.0 as argument.
39014 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39015 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39016 exception being thrown with 0.0 as argument.
39017 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39018 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39019 exception being thrown with 0.0 as argument.
39020 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39021 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
39022 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
39023 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39024 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39025 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39026 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39027 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39028 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39030 2012-04-17 Petr Baudis <pasky@ucw.cz>
39032 * include/sys/uio.h: Change __vector to __iovec to avoid clash
39035 2012-04-16 Marek Polacek <polacek@redhat.com>
39037 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39039 2012-04-16 Marek Polacek <polacek@redhat.com>
39041 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39042 operands of fdivp instruction.
39044 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39046 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39047 * elf/tst-auditmod3b.c: Likewise.
39048 * elf/tst-auditmod4b.c: Likewise.
39049 * elf/tst-auditmod5b.c: Likewise.
39050 * elf/tst-auditmod6b.c: Likewise.
39051 * elf/tst-auditmod6c.c: Likewise.
39052 * elf/tst-auditmod7b.c: Likewise.
39053 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39054 * sysdeps/x86_64/preconfigure.in: Likewise.
39055 * sysdeps/x86_64/preconfigure: Regenerated.
39057 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39059 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39062 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
39064 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39065 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39067 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
39070 * locale/iso-639.def: Fix gl language name. Spotted by
39073 2012-04-12 Roland McGrath <roland@hack.frob.com>
39076 * libio/libio.h (__io_write_fn): Update comment.
39078 2012-04-12 Petr Baudis <pasky@ucw.cz>
39081 * stdio.texi (Hook Functions): The user provided writer function
39082 is not allowed to return -1.
39084 2012-04-11 David S. Miller <davem@davemloft.net>
39086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39088 2012-04-11 Mike Frysinger <vapier@gentoo.org>
39090 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39091 Add a leading slash to rtkaio.
39093 2012-04-11 Jim Meyering <meyering@redhat.com>
39096 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39097 It is not necessarily an error to ignore fwrite's return
39098 value. One can reliably use ferror to test for errors after
39101 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39103 * bits/types.h (__snseconds_t): New type.
39104 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39106 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39107 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39108 (__SNSECONDS_T_TYPE): Likewise.
39109 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39110 (__SNSECONDS_T_TYPE): Likewise.
39111 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39112 (__SNSECONDS_T_TYPE): Likewise.
39114 2012-04-10 Andreas Jaeger <aj@suse.de>
39117 * manual/time.texi (Processor Time): Return type of times is
39118 elapsed real time since an arbitrary point in the past.
39119 (CPU Time): Move CLK_TCK from here...
39120 (Processor Time): ...to here. Correct description.
39121 * manual/conf.texi (Constants for Sysconf): Correct description of
39124 2012-04-10 David S. Miller <davem@davemloft.net>
39127 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39128 where the is a gap between DT_REL(A) and DT_JMPREL.
39130 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39132 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39133 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39134 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39136 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39138 * elf/dl-support.c (_dl_inhibit_cache): New variable.
39139 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39140 (dl_main): Handle --inhibit-cache.
39141 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39143 * elf/dl-load.c (_dl_map_object): Use it.
39144 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39146 2012-04-09 Joseph Myers <joseph@codesourcery.com>
39149 * sysdeps/i386/fpu/e_powl.S (p78): New object.
39150 (__ieee754_powl): Saturate large exponents rather than testing for
39151 overflow of y*log2(x).
39152 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39153 * math/libm-test.inc (pow_test): Do not permit spurious overflow
39157 * math/s_ctan.c: Include <float.h>.
39158 (__ctan): Avoid internal overflow or cancellation in calculating
39160 * math/s_ctanf.c: Likewise.
39161 * math/s_ctanl.c: Likewise.
39162 * math/s_ctanh.c: Likewise.
39163 * math/s_ctanhf.c: Likewise.
39164 * math/s_ctanhl.c: Likewise.
39165 * math/libm-test.inc (ctan_test): Add more tests.
39166 (ctanh_test): Likewise.
39167 * sysdeps/i386/fpu/libm-test-ulps: Update.
39168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39170 2012-04-09 Andreas Jaeger <aj@suse.de>
39173 * manual/filesys.texi (Directory Entries): Mention that d_namlen
39174 is an optional BSD extension.
39177 * manual/stdio.texi (Opening Streams): Document additional fopen
39180 2012-04-09 Roland McGrath <roland@hack.frob.com>
39182 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39183 %eax without telling the compiler.
39185 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
39188 * manual/install.texi: Use sourceware.org.
39190 2012-04-09 Joseph Myers <joseph@codesourcery.com>
39193 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39194 (__ieee754_pow): Generate overflow and underflow using huge*huge
39195 and tiny*tiny rather than just returning constant infinity or zero
39196 for large exponents.
39197 * math/libm-test.inc (pow_test): Require overflow exceptions for
39198 applicable cases of large exponents.
39201 * sysdeps/i386/fpu/e_pow.S (p10): New object.
39202 (__ieee754_pow): Use iterative multiplication algorithm only for
39203 integer exponents with absolute value below 1024. Check for odd
39204 integer exponents when using algorithm for real exponents.
39205 * math/libm-test.inc (pow_test): Add more tests.
39206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39208 2012-04-08 Joseph Myers <joseph@codesourcery.com>
39211 * math/libm-test.inc (exp_test): Do not allow overflow exception
39214 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
39217 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39218 instead of __kernel_standard_f.
39220 2012-04-08 Mike Frysinger <vapier@gentoo.org>
39222 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39223 * sysdeps/x86_64/memset_chk.S: Likewise.
39225 2012-04-08 Andreas Jaeger <aj@suse.de>
39228 * manual/startup.texi (Environment Access): Describe return value
39229 for putenv and setenv.
39232 * manual/filesys.texi (Directory Entries): Add description for
39236 * manual/filesys.texi (Directory Entries): Clarify that it's file
39237 system not operating system in the description of DT_UNKNOWN.
39240 * manual/syslog.texi (closelog): Fix reference, it's openlog.
39242 2012-04-08 Stephen Compall <s11@member.fsf.org>
39245 * manual/llio.texi (Opening and Closing Files): Add cross
39246 reference to explain mode argument.
39248 2012-04-07 Mike Frysinger <vapier@gentoo.org>
39250 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39251 * sysdeps/x86_64/memset_chk.S: Likewise.
39253 2012-04-07 David S. Miller <davem@davemloft.net>
39255 * elf/elf.h (R_SPARC_WDISP10): Define.
39256 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39258 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39259 R_SPARC_SIZE64 and R_SPARC_H34.
39261 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
39263 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39264 conditions and remove no longer applicable assertion.
39266 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39268 * bits/byteswap.h: Include <features.h>.
39269 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39270 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39272 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39274 * bits/byteswap.h (__bswap_16): Removed.
39275 Include <bits/byteswap-16.h> to get __bswap_16.
39276 * sysdeps/i386/bits/byteswap.h: Likewise.
39277 * sysdeps/s390/bits/byteswap.h: Likewise.
39278 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39279 * bits/byteswap-16.h: New file.
39280 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39281 * sysdeps/s390/bits/byteswap-16.h: Likewise.
39282 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39283 * string/Makefile (headers): Add bits/byteswap-16.h.
39285 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39288 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39290 * nss/Makefile (tests-static, tests): Add tst-nss-static.
39291 * nss/tst-nss-static.c: New.
39293 2012-04-06 Robert Millan <rmh@gnu.org>
39296 * manual/llio.texi (File Position Primitive): lseek
39297 refers to WHENCE when it really means OFFSET.
39299 2012-04-06 Andreas Jaeger <aj@suse.de>
39301 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39302 strncmp declarations.
39304 * abilist/libc.abilist: Add __poll and __ppoll.
39306 2012-04-05 David S. Miller <davem@davemloft.net>
39308 * scripts/check-local-headers.sh: Accept a host triplet in the
39309 path matched by the exclude regexp.
39311 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39313 * sysdeps/powerpc/powerpc32/dl-machine.h
39314 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39315 * sysdeps/s390/s390-32/dl-machine.h
39316 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39317 * sysdeps/sparc/sparc32/dl-machine.h
39318 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39319 * sysdeps/sparc/sparc64/dl-machine.h
39320 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39322 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39324 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39325 undefined symbol errors.
39327 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39330 2012-04-05 Michael Matz <matz@suse.de>
39333 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39335 2012-04-05 Andreas Jaeger <aj@suse.de>
39338 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39341 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39343 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39344 which ROUND is no valid rounding mode.
39346 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39348 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39350 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39352 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39354 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39355 an exception using FPU order intentionally.
39357 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39359 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39360 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39361 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39362 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39364 2012-04-05 Simon Josefsson <simon@josefsson.org>
39367 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39368 EINVAL when BUFLEN is too smal.
39370 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
39373 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39374 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39376 2012-04-03 Andreas Jaeger <aj@suse.de>
39379 * manual/setjmp.texi (System V contexts): Fix sentence.
39382 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39383 New macro for this case.
39384 [!__GNUC__] (__bswap_64): New inline function for this case.
39385 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39386 * bits/byteswap.h: Likewise.
39387 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39388 ull, guard with __GLIBC_HAVE_LONG_LONG.
39390 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39391 __GLIBC_HAVE_LONG_LONG.
39393 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39394 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39396 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39399 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39400 inptr and inend, rather than using last_ch.
39402 2012-04-02 David S. Miller <davem@davemloft.net>
39404 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39405 * stdio-common/printf-parse.h (read_int): Change return type to
39406 'int', return -1 on INT_MAX overflow.
39407 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39408 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
39409 overflows INT_MAX. Check for overflow of in-format-string precision
39410 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
39411 SIZE_MAX not INT_MAX for integer overflow test.
39412 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39413 skip the construct in the format string but do not record anything.
39414 * stdio-common/bug22.c: Adjust to test both width/prevision
39415 INT_MAX overflow as well as total length INT_MAX overflow. Check
39416 explicitly for proper errno values.
39418 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
39420 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39422 * string/test-strcmp.c [! WIDE]: Likewise.
39423 * time/tst-mktime2.c: Likewise for INT_MAX.
39424 * string/test-string.h: #include <sys/param.h> for MIN.
39426 * csu/init-first.c (__libc_init_first): Call __ctype_init.
39427 * sysdeps/i386/init-first.c (init): Likewise.
39428 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39429 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39430 * sysdeps/sh/init-first.c (init): Likewise.
39432 2012-04-01 Ulrich Drepper <drepper@gmail.com>
39434 * po/ru.po: Update from translation team.
39435 * po/vi.po: Likewise.
39437 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39439 * resolv/nss_dns/dns-host.c: Merge copyright years.
39441 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39443 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39444 Optimize memcpy with prefetch if
39445 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
39446 src, dst pointers have unequal 16 byte alignments.
39448 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39451 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39452 from a CNAME entry and return the minimum ttl for the query.
39453 (gaih_getanswer_slice): Likewise.
39455 2012-03-30 Jeff Law <law@redhat.com>
39457 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39459 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39460 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39462 * resolv/nss_dns/dns-host.c: Update copyright year.
39464 2012-03-30 Ulrich Drepper <drepper@gmail.com>
39466 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39467 requests to save a system call. Fix check that all bytes are sent.
39469 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39470 comments for sendmmsg.
39472 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39475 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39476 with only 1 character between 0x0041 and 0x01b0.
39477 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39478 * wcsmbs/tst-mbsnrtowcs.c: New file.
39480 2012-03-29 David S. Miller <davem@davemloft.net>
39482 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39483 small copies by hand.
39485 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39488 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39489 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39492 2012-03-28 David S. Miller <davem@davemloft.net>
39494 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39495 that branches into memcpy.
39496 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39497 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39498 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39499 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39500 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39502 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39503 implementation too.
39504 * sysdeps/sparc/mempcpy.S: New file.
39506 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39507 the IFUNC routine in the libc case.
39508 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39510 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39511 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39512 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39513 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39514 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39515 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39516 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39517 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39519 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39520 loop to 256 bytes instead of 64 bytes and fix test signedness.
39522 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39523 * sysdeps/sparc/sparc32/Makefile: rather than here...
39524 * sysdeps/sparc/sparc64/Makefile: and here.
39526 2012-03-28 Ulrich Drepper <drepper@gmail.com>
39528 * malloc/mallocbug.c: Avoid warnings about unused variables.
39530 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39533 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39534 in the right place. Discard and retry query if response is
39535 larger than input buffer size.
39537 2012-03-28 Joseph Myers <joseph@codesourcery.com>
39542 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39543 x for large integer exponent.
39544 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39545 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39546 sign of result as needed afterwards.
39547 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39548 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39549 result for underflowing pow the same as for overflow.
39550 (__kernel_standard_l): Handle powl overflow and underflow here
39551 rather than calling __kernel_standard.
39552 * math/libm-test.inc (pow_test): Add more tests.
39567 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39568 * sysdeps/ieee754/k_standard.c: Include <float.h>.
39569 (__kernel_standard_l): New function.
39570 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39572 * math/w_acosl.c (__acosl): Likewise.
39573 * math/w_asinl.c (__asinl): Likewise.
39574 * math/w_atan2l.c (__atan2l): Likewise.
39575 * math/w_atanhl.c (__atanhl): Likewise.
39576 * math/w_coshl.c (__coshl): Likewise.
39577 * math/w_exp10l.c (__exp10l): Likewise.
39578 * math/w_exp2l.c (__exp2l): Likewise.
39579 * math/w_fmodl.c (__fmodl): Likewise.
39580 * math/w_hypotl.c (__hypotl): Likewise.
39581 * math/w_j0l.c (__j0l, __y0l): Likewise.
39582 * math/w_j1l.c (__j1l, __y1l): Likewise.
39583 * math/w_jnl.c (__jnl, __ynl): Likewise.
39584 * math/w_lgammal.c (__lgammal): Likewise.
39585 * math/w_log10l.c (__log10l): Likewise.
39586 * math/w_log2l.c (__log2l): Likewise.
39587 * math/w_logl.c (__logl): Likewise.
39588 * math/w_powl.c (__powl): Likewise.
39589 * math/w_remainderl.c (__remainderl): Likewise.
39590 * math/w_scalbl.c (sysv_scalbl): Likewise.
39591 * math/w_sinhl.c (__sinhl): Likewise.
39592 * math/w_sqrtl.c (__sqrtl): Likewise.
39593 * math/w_tgammal.c (__tgammal): Likewise.
39594 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39595 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39596 * math/libm-test.inc (acos_test): Add more tests.
39597 (acosh_test): Likewise.
39598 (asin_test): Likewise.
39599 (atanh_test): Likewise.
39600 (exp_test): Likewise.
39601 (exp10_test): Likewise.
39602 (exp2_test): Likewise.
39603 (expm1_test): Likewise.
39604 (lgamma_test): Likewise.
39605 (log_test): Likewise.
39606 (log10_test): Likewise.
39607 (log1p_test): Likewise.
39608 (log2_test): Likewise.
39609 (pow_test): Do not allow some spurious overflow exceptions.
39610 (sqrt_test): Add more tests.
39611 (tgamma_test): Likewise.
39612 (y0_test): Likewise.
39613 (y1_test): Likewise.
39614 (yn_test): Likewise.
39616 2012-03-27 Anton Blanchard <anton@samba.org>
39618 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39620 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39621 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39622 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39624 2012-03-27 David S. Miller <davem@davemloft.net>
39626 * conform/Makefile: Run run-conformtest.sh using $(BASH).
39628 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39629 have-as-vis3 check.
39631 2012-03-27 Andreas Jaeger <aj@suse.de>
39633 * sysdeps/x86_64/elf/configure.in: Moved to ...
39634 * sysdeps/x86_64/configure.in: ... here.
39635 * sysdeps/x86_64/elf/start.S: Moved to ...
39636 * sysdeps/x86_64/start.S: ... here.
39637 * sysdeps/x86_64/elf/configure: Delete.
39639 * sysdeps/x86_64/configure.in: Merge contents from
39640 sysdeps/i386/configure.in (without i686 check).
39642 * sysdeps/i386/elf/Versions: Merge into ...
39643 * sysdeps/i386/Versions: ... this.
39644 * sysdeps/i386/elf/Versions: Delete file.
39645 * sysdeps/i386/elf/start.S: Moved to ...
39646 * sysdeps/i386/start.S: ...here.
39647 * sysdeps/i386/elf/configure.in: Merge into...
39648 * sysdeps/i386/configure.in: ...here.
39649 * sysdeps/i386/elf/configure.in: Delete file.
39650 * sysdeps/i386/elf/configure: Delete file.
39652 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39653 * debug/backtracesyms.c: ... here.
39654 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39655 * debug/backtracesymsfd.c: ... here.
39656 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39657 * sysdeps/generic/ifunc-sel.h: ... here.
39659 * sysdeps/unix/i386/start.c: Delete file.
39660 * sysdeps/unix/sparc/start.c: Delete file.
39661 * sysdeps/unix/start.c: Delete file.
39663 * sysdeps/sh/elf/configure.in: Moved to ...
39664 * sysdeps/sh/configure.in: ... here.
39665 * sysdeps/sh/elf/start.S: Moved to ...
39666 * sysdeps/sh/start.S: ... here.
39667 * sysdeps/sh/elf/configure: Delete file.
39669 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39670 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39671 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39672 * sysdeps/powerpc/powerpc64/entry.h: ... here.
39673 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39674 * sysdeps/powerpc/powerpc64/start.S: here.
39675 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39676 * sysdeps/powerpc/powerpc64/Makefile: ... this.
39677 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39678 * sysdeps/powerpc/powerpc64/configure.in: ... this.
39679 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39681 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39682 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39683 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39684 * sysdeps/powerpc/powerpc32/start.S: ... here.
39685 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39686 * sysdeps/powerpc/powerpc32/configure.in: ... this.
39687 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39689 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39690 * sysdeps/powerpc/ifunc-sel.h: ... here.
39691 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39692 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39694 * sysdeps/sparc/elf/configure.in: Moved to ...
39695 * sysdeps/sparc/configure.in: ... here.
39696 * sysdeps/sparc/elf/configure: Delete file.
39697 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39698 * sysdeps/sparc/sparc32/start.S: ... here.
39699 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39700 * sysdeps/sparc/sparc64/start.S: ... here.
39701 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39702 * sysdeps/sparc/sparc32/Makefile: ... this.
39703 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39704 * sysdeps/sparc/sparc64/Makefile: ... this.
39706 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39707 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39708 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39709 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39710 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39711 * sysdeps/s390/s390-32/setjmp.S: ... here.
39712 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39713 * sysdeps/s390/s390-32/configure.in: ... here.
39714 * sysdeps/s390/s390-32/elf/configure: Delete file.
39715 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39716 * sysdeps/s390/s390-32/start.S: ... here.
39718 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39719 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39720 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39721 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39722 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39723 * sysdeps/s390/s390-64/setjmp.S: ... here.
39724 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39725 * sysdeps/s390/s390-64/configure.in: ... here
39726 * sysdeps/s390/s390-64/elf/configure: Delete file.
39727 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39728 * sysdeps/s390/s390-64/start.S: ... here.
39729 * sysdeps/s390/s390-64/elf/configure: Delete.
39731 * configure.in: Remove support for elf directories in sysdeps.
39733 * configure: Regenerated.
39734 * sysdeps/i386/configure: Regenerated.
39735 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39736 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39737 * sysdeps/s390/s390-32/configure: Regenerated.
39738 * sysdeps/s390/s390-64/configure: Regenerated.
39739 * sysdeps/sh/configure: Regenerated.
39740 * sysdeps/sparc/configure: Regenerated.
39741 * sysdeps/x86_64/configure: Regenerated.
39743 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
39745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39747 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39748 denormal result into account.
39750 2012-03-25 Roland McGrath <roland@hack.frob.com>
39752 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39753 Reported by Allan McRae <allan@archlinux.org>.
39755 2012-03-23 Jeff Law <law@redhat.com>
39757 * nss/getnssent.c (__nss_getent): Fix typo.
39759 2012-03-23 David S. Miller <davem@davemloft.net>
39761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39763 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39765 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39766 to pad to uint64_t for each field.
39767 (dl_tls_index): Replace unsigned long with uint64_t.
39769 2012-03-23 Daniel Jacobowitz <dmj@google.com>
39770 Paul Pluzhnikov <ppluzhnikov@google.com>
39773 * grp/Makefile (otherlibs): Don't set it.
39774 * inet/Makefile (otherlibs): Likewise.
39775 * login/Makefile (otherlibs): Likewise.
39776 * nscd/Makefile (otherlibs): Likewise.
39777 * posix/Makefile (otherlibs): Likewise.
39778 * pwd/Makefile (otherlibs): Likewise.
39779 * rt/Makefile (otherlibs): Likewise.
39780 * sunrpc/Makefile (otherlibs): Likewise.
39781 * nss/Makefile (otherlibs): Likewise.
39782 Add libnss_files to routines and static-only-routines.
39783 ($(objpfx)getent): Remove rule.
39784 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39785 static-only-routines.
39787 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39790 * math/s_cexp.c: Include <float.h>.
39791 (__cexp): Handle exp result overflowing not necessarily
39792 overflowing both real and imaginary parts of result.
39793 * math/s_cexpf.c: Likewise.
39794 * math/s_cexpl.c: Likewise.
39795 * math/libm-test.inc (cexp_test): Add more tests.
39796 * sysdeps/i386/fpu/libm-test-ulps: Update.
39797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39799 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39801 * include/link.h (ELFW): New macro.
39802 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39803 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39805 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39807 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39810 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39812 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39814 (struct La_x32_retval): Likewise.
39816 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39818 * sysdeps/x86_64/preconfigure.in: New file.
39819 * sysdeps/x86_64/preconfigure: New generated file.
39821 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39824 * math/e_exp2l.c: Include <float.h>.
39825 (__ieee754_exp2l): Handle overflow and underflow cases
39826 separately. Only pass fractional part of argument to
39828 * math/libm-test.inc (exp2_test): Add more tests.
39830 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39831 negating x to take absolute value.
39832 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39834 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39835 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39837 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39838 computing low part if x was negated.
39839 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39841 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39843 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39844 la_x32_gnu_pltexit.
39845 (pltexit): Cast int_retval to ptrdiff_t.
39846 * elf/tst-auditmod3b.c: Likewise.
39847 * elf/tst-auditmod4b.c: Likewise.
39848 * elf/tst-auditmod5b.c: Likewise.
39849 * elf/tst-auditmod6b.c: Likewise.
39850 * elf/tst-auditmod6c.c: Likewise.
39851 * elf/tst-auditmod7b.c: Likewise.
39853 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39854 and x32_gnu_pltexit.
39856 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39857 __ELF_NATIVE_CLASS.
39858 (La_x32_regs): New macro.
39859 (La_x32_retval): Likewise.
39860 (la_x32_gnu_pltenter): New function prototype.
39861 (la_x32_gnu_pltexit): Likewise.
39863 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39865 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39870 * configure.in (libc_cv_cc_nofma): Check for option to disable
39871 generation of FMA instructions.
39872 * configure: Regenerate.
39873 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39874 * sysdeps/ieee754/dbl-64/Makefile: New file.
39875 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39876 Remove brandred-fma4.
39877 (CFLAGS-brandred-fma4.c): Remove.
39878 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39879 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39881 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39884 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39886 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39887 LLONG_MAX != LONG_MAX.
39888 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39889 (_fitoa_word): Likewise.
39890 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39891 LLONG_MAX != LONG_MAX.
39892 * stdio-common/_itowa.h: Include <_itoa.h>.
39893 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39894 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39895 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39896 only if not defined.
39897 (_ITOA_WORD_TYPE): Likewise.
39898 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39899 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39901 2012-03-21 David S. Miller <davem@davemloft.net>
39903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39905 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39907 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39908 of x86_64 when setting libc_cv_slibdir, libdir and
39910 * sysdeps/unix/sysv/linux/configure: Regenerated.
39912 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39914 * manual/lang.texi (Old Varargs): Remove section.
39915 (How Variadic): Update menu.
39916 (va_start): Do not mention varargs.h.
39918 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39919 Joseph Myers <joseph@codesourcery.com>
39921 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39923 * configure: Regenerated.
39925 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39927 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39928 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39931 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39934 * Makefile (files-for-dist): Remove NOTES.
39935 (NOTES): Remove rule.
39936 * README: Don't refer to NOTES.
39937 * manual/creature.texi: Don't include macros.texi.
39938 * manual/intro.texi (creature.texi): Remove comment referring to
39941 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39942 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39943 * configure: Regenerated.
39944 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39945 LIBC_TRY_CC_OPTION.
39946 (libc_cv_as_i686): Likewise.
39947 (libc_cv_cc_avx): Likewise.
39948 (libc_cv_cc_sse2avx): Likewise.
39949 (libc_cv_cc_fma4): Likewise.
39950 (libc_cv_cc_novzeroupper): Likewise.
39951 * sysdeps/i386/configure: Regenerated.
39954 * sysdeps/i386/fpu/s_cexp.S: Remove.
39955 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39956 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39957 * math/libm-test.inc (cexp_test): Add more tests.
39958 * sysdeps/i386/fpu/libm-test-ulps: Update.
39959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39961 2012-03-21 Allan McRae <allan@archlinux.org>
39963 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39965 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39968 * math/w_exp2.c: Do not include <float.h>.
39969 (o_threshold, u_threshold): Remove.
39970 (__exp2): Calculate result before checking finiteness and calling
39972 * math/w_exp2f.c: Likewise.
39973 * math/w_exp2l.c: Likewise.
39974 * math/libm-test.inc (exp2_test): Require overflow exception for
39978 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39979 range of signed 64-bit integers before using fistpll. Remove
39980 checks for whether integers fit in mantissa bits.
39981 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39982 the range of signed 32-bit integers before using fistpl. Remove
39983 checks for whether integers fit in mantissa bits.
39984 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39985 (__ieee754_powl): Test for y outside the range of signed 64-bit
39986 integers before using fistpll. Reduce 64-bit values to 63-bit
39988 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39989 divide-by-zero is raised for zero to large negative powers.
39990 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39991 (__ieee754_powl): Test for y outside the range of signed 64-bit
39992 integers before using fistpll. Reduce 64-bit values to 63-bit
39994 * math/libm-test.inc (pow_test): Add more tests.
39996 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39998 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39999 <stdio-common/_itoa.h>.
40000 * debug/segfault.c: Likewise.
40001 * elf/dl-cache.c: Likewise.
40002 * elf/dl-minimal.c: Likewise.
40003 * elf/dl-misc.c: Likewise.
40004 * elf/dl-sysdep.c: Likewise.
40005 * elf/dl-version.c: Likewise.
40006 * elf/rtld.c: Likewise.
40007 * hurd/hurdsock.c: Likewise.
40008 * hurd/lookup-retry.c: Likewise.
40009 * malloc/malloc.c: Likewise.
40010 * malloc/mtrace.c: Likewise.
40011 * nscd/nscd_getgr_r.c: Likewise.
40012 * nscd/nscd_getpw_r.c: Likewise.
40013 * nscd/nscd_getserv_r.c: Likewise.
40014 * posix/getopt_init.c: Likewise.
40015 * posix/wordexp.c: Likewise.
40016 * stdio-common/_itoa.c: Likewise.
40017 * stdio-common/printf_fphex.c: Likewise.
40018 * stdio-common/vfprintf.c: Likewise.
40019 * string/_strerror.c: Likewise.
40020 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40021 * sysdeps/i386/i686/hp-timing.h: Likewise.
40022 * sysdeps/mach/_strerror.c: Likewise.
40023 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40024 * sysdeps/mach/hurd/sethostid.c: Likewise.
40025 * sysdeps/mach/hurd/xmknodat.c: Likewise.
40026 * sysdeps/mach/xpg-strerror.c: Likewise.
40027 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40028 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40029 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40030 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40031 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40032 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40033 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40034 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40035 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40036 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40037 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40038 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40039 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40040 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40041 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40042 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40043 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40044 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40045 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40046 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40047 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40049 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40051 * stdio-common/_itoa.h: Moved to ...
40052 * sysdeps/generic/_itoa.h: Here.
40054 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40056 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40057 instead of "_itoa.h" and "_itowa.h".
40058 * stdio-common/vfprintf.: Likewise.
40060 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40062 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40064 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40065 (__signbit): Likwise.
40066 (llrintf): Likwise.
40069 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40071 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40074 2012-03-20 Joseph Myers <joseph@codesourcery.com>
40076 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40077 OVERFLOW_EXCEPTION_OK.
40078 * math/libm-test.inc ("Philosophy"): Update comment about
40080 (OVERFLOW_EXCEPTION): Define.
40081 (OVERFLOW_EXCEPTION_OK): Likewise.
40082 (INVALID_EXCEPTION_OK): Renumber.
40083 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40084 (IGNORE_ZERO_INF_SIGN): Likewise.
40085 (test_exceptions): Handle FE_OVERFLOW.
40086 (exp10_test): Expect overflow exceptions.
40087 (exp2_test): Likewise.
40088 (expm1_test): Likewise.
40089 (nextafter_test): Likewise.
40090 (pow_test): Likewise.
40091 (scalbn_test): Likewise.
40092 (scalbln_test): Likewise.
40094 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40096 * sysdeps/x86_64/bits/atomic.h
40097 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40099 (atomic_exchange_acq): Likewise.
40100 (__arch_exchange_and_add_body): Likewise.
40101 (__arch_add_body): Likewise.
40102 (atomic_add_negative): Likewise.
40103 (atomic_add_zero): Likewise.
40105 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40107 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
40108 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40110 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40112 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40113 Check __x86_64__ instead of __WORDSIZE.
40115 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40117 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40119 2012-03-19 David S. Miller <davem@davemloft.net>
40121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40123 * sysdeps/sparc/fpu/fenv_private.h: New file.
40124 * sysdeps/sparc/fpu/math_private.h: Use it.
40125 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40127 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
40128 (libc_feholdexcept_setroundl): Remove.
40129 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40131 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40132 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40134 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40136 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40137 int64_t instead of long int.
40138 (INSERT_WORDS64): Likwise.
40140 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40142 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40143 _Unwind_GetCFA return to _Unwind_Ptr first.
40145 2012-03-19 Joseph Myers <joseph@codesourcery.com>
40148 * math/s_clog.c: Include <float.h>.
40149 (__clog): Scale large or subnormal inputs.
40150 * math/s_clogf.c: Likewise.
40151 * math/s_clogl.c: Likewise.
40152 * math/s_clog10.c: Include <float.h>.
40153 (M_LOG10_2): Define.
40154 (__clog10): Scale large or subnormal inputs.
40155 * math/s_clog10f.c: Likewise.
40156 * math/s_clog10l.c: Likewise.
40157 * math/libm-test.inc (clog_test): Add more tests.
40158 (clog10_test): Likewise.
40159 * sysdeps/i386/fpu/libm-test-ulps: Update.
40160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40163 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40165 * math/libm-test.inc (atan2_test): Add another test.
40167 * Makerules (common-objdir-compile): Remove.
40168 * sysdeps/unix/Makefile (config-generated): Do not add
40169 $(unix-generated) to variable.
40170 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40171 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40173 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40175 [generic bits/local_lim.h] (before-compile): Do not append to
40177 [generic bits/local_lim.h] (common-generated): Likewise.
40178 [generic sys/param.h] (before-compile): Do not append to variable.
40179 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40180 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40181 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40182 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40184 [generic sys/param.h] (sys/param.h-includes): Remove variable.
40185 [generic sys/param.h] (sys/param.h-includes): Remove rule.
40186 [generic sys/param.h] ($(addprefix
40187 $(common-objpfx),$(sys/param.h-includes))): Likewise.
40188 [generic sys/param.h] (common-generated): Do not append to
40190 [generic sys/param.h] (sysdep_headers): Likewise.
40191 [generic bits/errno.h] (before-compile): Do not append to
40193 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40195 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40196 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40197 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40198 [generic bits/errno.h] (common-generated): Do not append to
40200 [generic bits/ioctls.h] (before-compile): Do not append to
40202 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40204 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40205 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40206 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40208 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40209 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40210 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40211 [generic bits/ioctls.h] (common-generated): Do not append to
40213 [generic sys/syscall.h] (syscall.h): Remove variable.
40214 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40216 [generic sys/syscall.h] (before-compile): Do not append to
40218 [generic sys/syscall.h] (common-generated): Likewise.
40219 * sysdeps/unix/errnos-tmpl.c: Remove file.
40220 * sysdeps/unix/errnos.awk: Likewise.
40221 * sysdeps/unix/ioctls-tmpl.c: Likewise.
40222 * sysdeps/unix/ioctls.awk: Likewise.
40223 * sysdeps/unix/mk-local_lim.c: Likewise.
40224 * sysdeps/unix/snarf-ioctls: Likewise.
40226 2012-03-19 Richard Henderson <rth@twiddle.net>
40228 * sysdeps/i386/fpu/fenv_private.h: New file.
40229 * sysdeps/i386/fpu/math_private.h: Use it.
40230 (math_opt_barrier, math_force_eval): Remove.
40231 (libc_feholdexcept_setround_53bit): Remove.
40232 (libc_feupdateenv_53bit): Remove.
40233 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40234 (math_opt_barrier, math_force_eval): Remove.
40235 (libc_feholdexcept): Remove.
40236 (libc_feholdexcept_setround): Remove.
40237 (libc_fetestexcept, libc_fesetenv): Remove.
40238 (libc_feupdateenv_test): Remove.
40239 (libc_feupdateenv, libc_feholdsetround): Remove.
40240 (libc_feresetround): Remove.
40242 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40243 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40245 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40246 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40247 (libc_feupdateenv_testl): New.
40248 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40249 (libc_feupdateenv_testf): New.
40250 (libc_feupdateenv): Use libc_feupdateenv_test.
40251 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40252 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40254 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40255 (libc_feholdsetroundf, libc_feholdsetroundl): New.
40256 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40257 (libc_feresetround_noex): New.
40258 (libc_feresetround_noexf): New.
40259 (libc_feresetround_noexl): New.
40260 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40261 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40262 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40263 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40265 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40266 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40268 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40269 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40270 SET_RESTORE_ROUND_NOEX.
40271 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40272 SET_RESTORE_ROUND_NOEXF.
40273 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40274 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40275 (libc_feholdsetroundf): New.
40276 (libc_feresetround, libc_feresetroundf): New.
40278 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40279 (libc_feholdexcept_setround_53bit): Convert from macro to function.
40280 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
40282 * sysdeps/generic/math_private.h: Include <fenv.h>.
40283 (default_libc_feholdexcept): New.
40284 (default_libc_feholdexcept_setround): New.
40285 (default_libc_fesetenv, default_libc_feupdateenv): New.
40286 (libc_feholdexcept): Only define if undefined.
40287 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40288 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40289 (libc_feholdexcept_setroundl): Likewise.
40290 (libc_feholdexcept_setround_53bit): Likewise.
40291 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40292 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40293 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40294 (libc_feupdateenv_53bit): Likewise.
40295 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40296 (libc_feholdexcept): Convert from macro to inline function.
40297 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40298 (libc_fesetenv, libc_feupdateenv): Likewise.
40300 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40301 not previously defined.
40302 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40303 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40304 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40305 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40306 * sysdeps/ieee754/flt-32/math_private.h: New file.
40307 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40308 math_private.h below SET_FLOAT_WORD.
40309 (__isnan, __isinf_ns, __finite): Remove.
40310 (__isnanf, __isinf_nsf, __finitef): Remove.
40312 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
40314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40316 2012-03-17 David S. Miller <davem@davemloft.net>
40319 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40322 2012-03-16 David S. Miller <davem@davemloft.net>
40324 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40328 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40330 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40331 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40332 sysdep_routines when subdir is sysvipc.
40333 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40334 __getshmlba helper.
40336 * sysdeps/sparc/fpu/libm-test/ulps: Update.
40338 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40340 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40343 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40345 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40346 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40347 (__lround): Renamed to ...
40348 (__llround): This. Replace long int with long long int.
40349 Define lround functions as aliases of llround functions.
40350 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40352 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40354 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40355 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
40356 adresses to uintptr_t. Replace "long int" and "unsigned long
40357 int" with "greg_t" on va_arg.
40359 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40361 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40362 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40364 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40365 Move e_machine check before EI_CLASS check. Handle x32
40366 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40367 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40368 SKIP_EM_IA_64 and include
40369 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40371 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40372 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40373 (add_system_dir): New macro.
40375 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40376 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40378 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40389 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40391 * math/w_j0f.c (j0f): Likewise.
40393 * math/w_j0l.c (__j0l): Likewise.
40395 * math/w_j1.c (j1): Likewise.
40397 * math/w_j1f.c (j1f): Likewise.
40399 * math/w_j1l.c (__j1l): Likewise.
40401 * math/w_jn.c (jn): Likewise.
40403 * math/w_jnf.c (jnf): Likewise.
40405 * math/w_jnl.c (__jnl): Likewise.
40407 * math/libm-test.inc (j0_test): Add more tests.
40408 (j1_test): Likewise.
40409 (jn_test): Likewise. Add trailing semicolon to existing test.
40410 (y0_test): Likewise.
40411 (y1_test): Likewise.
40412 * sysdeps/i386/fpu/libm-test-ulps: Update.
40413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40417 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40418 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40419 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40420 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40421 (__tanl): Set errno for infinite argument.
40422 * sysdeps/i386/fpu/mptan.c: Remove.
40423 * sysdeps/i386/fpu/s_tan.S: Likewise.
40424 * sysdeps/i386/fpu/s_tanl.S: Likewise.
40425 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40426 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40427 * math/libm-test.inc (tan_test): Add more tests and enable more
40428 tests for double and long double.
40429 * sysdeps/i386/fpu/libm-test-ulps: Update.
40430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40432 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
40434 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40435 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40437 2012-03-16 Roland McGrath <roland@hack.frob.com>
40439 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40440 * configure.in: Use it for both main tree and add-ons.
40441 * configure: Regenerated.
40443 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40445 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40447 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40449 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40453 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40454 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40455 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40456 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40457 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40459 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40460 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40461 != 0 for prec == 2.
40462 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40463 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40464 * sysdeps/i386/fpu/s_cosl.S: Likewise.
40465 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40466 * sysdeps/i386/fpu/s_sinl.S: Likewise.
40467 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40468 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40469 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40470 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40471 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40472 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40473 * math/libm-test.inc (cos_test): Add more tests and enable more
40474 tests for long double.
40475 (sin_test): Likewise.
40476 (sincos_test): Likewise.
40477 * sysdeps/i386/fpu/libm-test-ulps: Update.
40478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40480 2012-03-16 David S. Miller <davem@davemloft.net>
40482 * sysdeps/sparc/fpu/math_private.h: New file.
40484 2012-03-15 David S. Miller <davem@davemloft.net>
40486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40496 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40500 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40501 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40503 * sysdeps/sparc/sparc-ifunc.h: New file.
40504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40528 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40529 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40530 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40531 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40533 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40534 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40538 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40542 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40543 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40544 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40545 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40546 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40547 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40549 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40551 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40555 2012-03-15 Andreas Jaeger <aj@suse.de>
40558 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40559 ieee754/flt-32 implementation for sin, cos and sincos.
40560 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40561 * sysdeps/i386/fpu/s_cosf.S: Likewise.
40562 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40563 * sysdeps/i386/fpu/s_sinf.S: Likewise.
40564 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40565 ieee754/flt-32 implementation for tan.
40567 * math/libm-test.inc (cos_test): Enable some large input tests for
40569 (sin_test): Likewise.
40570 (sincos_test): Likewise.
40571 (tan_test): Add tests for large input.
40573 * sysdeps/i386/fpu/libm-test-ulps: Update.
40575 2012-03-15 Andreas Jaeger <aj@suse.de>
40578 * math/libm-test.inc (cos_test): Add more test cases.
40579 (sin_test): Likewise.
40580 (sincos_test): Likewise.
40582 2012-03-15 Andreas Jaeger <aj@suse.de>
40585 * math/libm-test.inc (cos_test): Add a test case for large input
40587 (sin_test): Likewise.
40588 (sincos_test): Likewise.
40590 2012-03-15 Andreas Jaeger <aj@suse.de>
40591 Joseph Myers <joseph@codesourcery.com>
40594 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40595 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40596 * sysdeps/i386/fpu/branred.c: Likewise.
40597 * sysdeps/i386/fpu/dosincos.c: Likewise.
40598 * sysdeps/i386/fpu/mpa.c: Likewise.
40599 * sysdeps/i386/fpu/s_cos.S: Likewise.
40600 * sysdeps/i386/fpu/s_sin.S: Likewise.
40601 * sysdeps/i386/fpu/s_sincos.S: Likewise.
40602 * sysdeps/i386/fpu/sincos32.c: Likewise.
40604 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40606 (libc_feupdateenv_53bit): Define.
40607 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40609 (libc_feupdateenv_53bit): Define.
40611 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40612 53 bit (without extend i386 double precision).
40614 * math/libm-test.inc (sincos_test): Add tests for large input.
40618 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40620 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40624 2012-03-15 David S. Miller <davem@davemloft.net>
40626 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40627 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40628 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40629 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40635 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40637 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40638 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40653 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40654 fmin/fmax sysdep routines.
40655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40657 2012-03-14 David S. Miller <davem@davemloft.net>
40659 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40660 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40661 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40662 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40663 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40664 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40665 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40666 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40667 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40668 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40669 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40670 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40671 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40672 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40673 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40674 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40676 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40677 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40678 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40679 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40680 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40681 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40682 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40683 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40684 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40685 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40686 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40687 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40731 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40736 * sysdeps/sparc/configure.in: New file.
40737 * sysdeps/sparc/configure: Generate.
40738 * configure.in (libc_cv_sparc_as_vis3): Substitute.
40739 * configure: Regenerate.
40740 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40741 * config.make.in (have-as-vis3): New.
40742 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40743 available use -Av9d instead of -Av9a.
40744 * sysdeps/sparc/sparc64/Makefile: Likewise.
40745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40754 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40755 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40756 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40757 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40758 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40760 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40761 fzeros/fnegs to load 0x80000000 into a float register instead of
40763 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40765 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40767 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40769 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40770 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40771 ($(inst_includedir)/bits/syscall.h): Remove rule.
40772 ($(objpfx)bits/syscall.d): Include instead of
40773 $(objpfx)syscall-list.d.
40774 (generated): Change syscall-list.h and syscall-list.d to
40775 bits/syscall.h and bits/syscall.d.
40777 2012-03-14 Roland McGrath <roland@hack.frob.com>
40780 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40782 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40785 * math/s_csqrt.c: Include <float.h>.
40786 (__csqrt): Scale large or subnormal inputs.
40787 * math/s_csqrtf.c: Likewise.
40788 * math/s_csqrtl.c: Likewise.
40789 * math/libm-test.inc (csqrt_test): Add more tests.
40790 * sysdeps/i386/fpu/libm-test-ulps: Update.
40791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40794 * math/libm-test.inc (hypot_test): Add more tests.
40796 2012-03-13 David S. Miller <davem@davemloft.net>
40799 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40800 double-precision for the calculation instead of scaling.
40802 2012-03-13 Joseph Myers <joseph@codesourcery.com>
40804 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40805 manipulate bits before adding and subtracting TWO52[sx].
40806 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40807 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40809 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40811 2012-03-13 David S. Miller <davem@davemloft.net>
40813 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40814 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40815 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40816 rtld-global-offsets.h
40817 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40819 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40822 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40824 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40825 'err' in the ifdef scope in which it is actually used.
40827 * nss/nss_db/db-init.c: Include string.h
40829 2012-03-12 David S. Miller <davem@davemloft.net>
40831 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40832 masking out of the most significant byte of random value used.
40833 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40834 Fix coding style in previous change.
40836 * sysdeps/unix/sysv/linux/kernel-features.h
40837 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40838 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40840 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40843 2012-03-11 David S. Miller <davem@davemloft.net>
40845 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40846 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40847 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40848 for 'resultvar' otherwise things get truncated on 64-bit.
40850 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40851 Fix masking out of the most significant byte of random value used.
40853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40855 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40859 2012-03-09 David S. Miller <davem@davemloft.net>
40861 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40862 variables with appropriate CPP guards.
40863 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40864 from the frame pointer, not the stack pointer. Correct layout
40865 comments. Fix test on resulting framesize and the management of
40866 the outregs buffer for pltexit. Preserve floating point return
40867 values across _dl_call_pltexit call.
40868 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40869 framesize and the management of the outregs buffer for pltexit.
40870 Preserve floating point return values across _dl_call_pltexit
40872 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40873 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40874 (la_sparc64_gnu_pltexit): New functions.
40875 (print_exit): Fix format string for return register value.
40877 2012-03-10 Joseph Myers <joseph@codesourcery.com>
40879 * sunrpc/Makefile (others): Add rpcgen.
40880 ($(objpfx)rpcgen): Remove special build rule and dependency on
40882 * sunrpc/rpcgen.c: New file.
40884 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40887 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40888 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40889 * sysdeps/i386/crti.S: Likewise.
40890 * sysdeps/i386/crtn.S: Likewise.
40891 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40892 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40893 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40894 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40895 * sysdeps/sh/crti.S: Likewise.
40896 * sysdeps/sh/crtn.S: Likewise.
40897 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40900 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40902 * locale/programs/locfile-kw.gperf: Likewise.
40903 * locale/programs/charmap-kw.h: Regenerated.
40904 * locale/programs/locfile-kw.h: Likewise.
40907 * intl/plural.y: Replace FSF snail mail address with URL.
40908 * intl/plural.c: Regenerated.
40910 2012-03-09 Richard Henderson <rth@twiddle.net>
40912 * include/math_private.h: Remove file.
40913 * math/math_private.h: Move file ...
40914 * sysdeps/generic/math_private.h: ... here.
40916 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40917 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40918 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40920 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40921 and <math_private.h>.
40922 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40923 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40924 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40925 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40926 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40927 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40928 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40929 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40930 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40931 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40932 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40933 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40934 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40935 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40936 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40937 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40938 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40939 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40940 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40941 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40942 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40943 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40944 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40945 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40946 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40947 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40948 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40949 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40950 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40951 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40952 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40953 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40954 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40955 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40956 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40957 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40958 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40959 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40960 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40961 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40962 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40963 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40964 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40965 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40966 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40967 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40968 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40969 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40970 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40971 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40972 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40973 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40974 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40975 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40976 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40977 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40978 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40979 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40980 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40981 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40982 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40983 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40984 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40985 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40986 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40987 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40988 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40989 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40990 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40991 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40992 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40993 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40994 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40995 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40996 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40997 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40998 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40999 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41000 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41001 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41002 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41003 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41004 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41005 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41006 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41007 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41008 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41009 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41010 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41011 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41012 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41013 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41014 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41015 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41016 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41017 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41018 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41019 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41020 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41021 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41022 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41023 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41024 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41025 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41026 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41027 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41028 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41029 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41030 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41031 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41032 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41033 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41034 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41035 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41036 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41037 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41038 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41039 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41040 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41041 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41042 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41043 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41044 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41045 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41046 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41047 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41048 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41049 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41050 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41051 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41052 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41053 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41054 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41055 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41056 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41057 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41058 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41059 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41060 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41061 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41062 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41063 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41064 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41065 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41066 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41067 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41068 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41069 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41070 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41071 * sysdeps/ieee754/k_standard.c: Likewise.
41072 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41073 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41074 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41075 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41076 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41077 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41078 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41079 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41080 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41081 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41082 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41083 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41084 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41085 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41086 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41087 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41088 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41089 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41090 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41091 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41092 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41093 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41094 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41095 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41096 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41097 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41098 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41099 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41100 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41101 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41102 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41103 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41104 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41105 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41106 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41107 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41108 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41109 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41110 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41111 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41112 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41113 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41114 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41115 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41116 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41117 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41118 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41119 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41120 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41121 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41122 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41123 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41124 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41125 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41126 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41127 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41128 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41129 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41130 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41131 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41132 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41133 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41134 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41135 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41136 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41137 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41138 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41139 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41140 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41141 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41142 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41143 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41144 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41145 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41146 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41147 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41148 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41149 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41150 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41151 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41152 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41153 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41154 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41155 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41156 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41157 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41158 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41159 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41160 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41161 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41162 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41163 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41164 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41165 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41166 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41167 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41168 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41169 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41170 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41171 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41172 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41173 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41174 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41175 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41176 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41177 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41178 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41179 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41180 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41181 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41182 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41183 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41184 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41185 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41186 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41187 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41188 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41189 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41190 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41191 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41192 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41193 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41194 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41195 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41196 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41197 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41198 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41199 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41200 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41201 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41202 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41203 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41204 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41205 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41206 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41207 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41208 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41209 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41210 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41211 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41212 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41213 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41214 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41215 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41216 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41217 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41218 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41219 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41220 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41221 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41222 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41223 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41224 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41225 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41226 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41227 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41228 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41229 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41230 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41231 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41232 * sysdeps/ieee754/s_lib_version.c: Likewise.
41233 * sysdeps/ieee754/s_matherr.c: Likewise.
41234 * sysdeps/ieee754/s_signgam.c: Likewise.
41235 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41236 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41237 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41238 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41239 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41240 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41241 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41242 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41243 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41244 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41245 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41246 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41247 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41248 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41249 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41250 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41251 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41252 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41253 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41254 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41255 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41257 2012-03-09 Joseph Myers <joseph@codesourcery.com>
41259 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41260 * sunrpc/rpc_main.c: Likewise.
41261 * sunrpc/rpc_svcout.c: Likewise.
41263 2012-03-09 David S. Miller <davem@davemloft.net>
41265 * include/math_private.h: New file.
41267 2012-03-09 Joseph Myers <joseph@codesourcery.com>
41269 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41270 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41271 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41272 from <bits/socket_type.h>.
41273 (enum __socket_type): Don't define here.
41274 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41276 bits/socket_type.h.
41279 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41280 checking __USE_GNU.
41282 * Makerules ($(inst_includedir)/%.h): New rule.
41283 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41284 (install-others): Remove variable setting.
41285 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41287 2012-03-08 Richard Henderson <rth@twiddle.net>
41289 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41290 from macro to inline function; merge with the
41291 !__LIBC_INTERNAL_MATH_INLINES version.
41292 (__ieee754_sqrtf): Likewise.
41294 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41295 to inline function.
41296 (__rintf, __floor, __floorf): Likewise.
41298 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41299 macro to inline function.
41300 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41302 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41303 not <math/math_private.h>.
41305 2012-03-08 David S. Miller <davem@davemloft.net>
41307 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41309 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41311 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
41313 * resolv/gai_misc.c (handle_requests): Fix struct timespec
41315 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41316 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41318 2012-03-08 Ulrich Drepper <drepper@gmail.com>
41320 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
41321 be defined individually, they must be defined as a block. Define
41322 S for printing a string instead of hidint the different by using a
41323 macro for adding the 'l'.
41324 * stdio-common/tst-fphex-wide.c: Adjust.
41326 2012-03-07 Marek Polacek <polacek@redhat.com>
41328 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41330 2012-03-08 Marek Polacek <polacek@redhat.com>
41333 * stdio-common/Makefile (tests): Add tst-fphex-wide.
41334 * stdio-common/tst-fphex.c: Define a few macros to make the
41335 test reusable. Use them.
41336 * stdio-common/tst-fphex-wide.c: New file.
41338 2012-03-08 Joseph Myers <joseph@codesourcery.com>
41341 * manual/macros.texi (gnusystems): New macro.
41342 (nongnusystems): Likewise.
41343 (gnulinuxhurdsystems): Likewise.
41344 (gnuhurdsystems): Likewise..
41345 (gnulinuxsystems): Likewise.
41346 * manual/charset.texi: Use new macros or @theglibc{} to refer to
41347 variants of the GNU system, not "GNU system".
41348 * manual/conf.texi: Likewise.
41349 * manual/errno.texi: Likewise. Update example of errno macro
41351 * manual/filesys.texi: Likewise.
41352 (getumask): Document as specific to GNU/Hurd.
41353 * manual/install.texi: Likewise. Reword some references to
41355 * manual/intro.texi: Likewise.
41356 * manual/io.texi: Likewise.
41357 (File Name Portability): Detail which constraints are inapplicable
41358 to all GNU systems and which are only inapplicable to GNU/Hurd.
41359 * manual/job.texi: Likewise.
41360 * manual/llio.texi: Likewise.
41361 (O_NOCTTY): Document as present on GNU/Linux.
41362 * manual/maint.texi: Likewise.
41363 * manual/memory.texi: Likewise.
41364 * manual/pattern.texi: Likewise.
41365 * manual/pipe.texi: Likewise.
41366 * manual/process.texi: Likewise.
41367 * manual/resource.texi: Likewise.
41368 (RUSAGE_CHILDREN): Remove statement about specifying a particular
41370 * manual/setjmp.texi: Likewise.
41371 * manual/signal.texi: Likewise.
41372 * manual/startup.texi: Likewise.
41373 * manual/stdio.texi: Likewise.
41374 * manual/terminal.texi: Likewise.
41375 (ONLCR): Document as POSIX.
41376 (OXTABS): Document availability on GNU/Linux as XTABS.
41377 (ONOEOT): Document availability separately from other bits.
41378 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41379 * manual/time.texi: Likewise.
41380 * manual/users.texi: Likewise.
41381 * INSTALL: Regenerated.
41382 * sysdeps/gnu/errlist.c: Regenerated.
41384 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41385 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41386 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
41388 * configure: Regenerated.
41390 2012-03-07 Joseph Myers <joseph@codesourcery.com>
41392 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41393 default includes instead of AC_HEADER_CHECK.
41394 * sysdeps/i386/configure: Regenerated.
41397 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41398 * math/s_cacoshf.c (__cacoshf): Likewise.
41399 * math/s_cacoshl.c (__cacoshl): Likewise.
41400 * math/s_casinh.c (__casinh): Set signs of result from argument.
41401 * math/s_casinhf.c (__casinhf): Likewise.
41402 * math/s_casinhl.c (__casinhl): Likewise.
41403 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41404 (casinh_test): Add more tests.
41405 * sysdeps/i386/fpu/libm-test-ulps: Update.
41406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41408 2012-03-07 Ulrich Drepper <drepper@gmail.com>
41410 * po/zh_TW.po: Update from translation team.
41412 * login/Makefile (distribute): Remove variable.
41413 * catgets/Makefile: Likewise.
41414 * mach/Makefile: Likewise.
41415 * malloc/Makefile: Likewise.
41416 * misc/Makefile: Likewise.
41417 * iconv/Makefile: Likewise.
41418 * nscd/Makefile: Likewise.
41419 * hurd/Makefile: Likewise.
41420 * manual/Makefile: Likewise.
41421 * locale/Makefile: Likewise.
41422 * intl/Makefile: Likewise.
41423 * conform/Makefile: Likewise.
41424 * nss/Makefile: Likewise.
41425 * time/Makefile: Likewise.
41426 * soft-fp/Makefile: Likewise.
41427 * dirent/Makefile: Likewise.
41428 * gmon/Makefile: Likewise.
41429 * po/Makefile: Likewise.
41430 * rt/Makefile: Likewise.
41431 * socket/Makefile: Likewise.
41432 * math/Makefile: Likewise.
41433 * signal/Makefile: Likewise.
41434 * debug/Makefile: Likewise.
41435 * elf/Makefile: Likewise.
41436 * timezone/Makefile: Likewise.
41437 * stdlib/Makefile: Likewise.
41438 * iconvdata/Makefile: Likewise.
41439 * sunrpc/Makefile: Likewise.
41440 * io/Makefile: Likewise.
41441 * argp/Makefile: Likewise.
41442 * inet/Makefile: Likewise.
41443 * hesiod/Makefile: Likewise.
41444 * grp/Makefile: Likewise.
41445 * csu/Makefile: Likewise.
41446 * wctype/Makefile: Likewise.
41447 * crypt/Makefile: Likewise.
41448 * libio/Makefile: Likewise.
41449 * string/Makefile: Likewise.
41450 * nis/Makefile: Likewise.
41451 * resolv/Makefile: Likewise.
41452 * stdio-common/Makefile: Likewise.
41453 * wcsmbs/Makefile: Likewise.
41454 * dlfcn/Makefile: Likewise.
41455 * posix/Makefile: Likewise.
41458 * timezone/Makefile: Don't install timezone files, just the programs
41461 2012-03-06 Ulrich Drepper <drepper@gmail.com>
41463 * nss/databases.def: Add missing gshadow entry.
41465 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
41467 2012-03-06 Marek Polacek <polacek@redhat.com>
41470 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41471 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41472 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41473 * stdio-common/tst-long-dbl-fphex.c: New file.
41475 2012-03-06 David S. Miller <davem@davemloft.net>
41477 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41478 (set_obp_int): New function.
41479 (get_obp_int): New function.
41480 (__get_clockfreq_via_dev_openprom): Likewise.
41481 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41482 Avoid unused variable warnings on 'val' and use builtin_expect.
41483 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41485 (INLINE_CLONE_SYSCALL): Likewise.
41487 2012-03-05 David S. Miller <davem@davemloft.net>
41489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41491 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
41493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41495 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41496 only for |x| >= 40.
41497 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41499 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
41501 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41502 Replace gettimeofday with __vdso_gettimeofday.
41504 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41505 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41506 __vdso_clock_gettime and __vdso_getcpu.
41508 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41509 time with __vdso_time.
41511 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41513 * manual/lang.texi (size_t): Note types to which size_t may be
41514 equivalent with the GNU C Library, but do not describe when
41515 differences between them are significant.
41517 2012-03-05 Andreas Jaeger <aj@suse.de>
41519 * sysdeps/i386/fpu/libm-test-ulps: Update.
41521 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41524 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41525 (__ieee754_pow): Save and restore rounding mode and use
41526 round-to-nearest for main computations.
41527 * math/libm-test.inc (pow_test_tonearest): New function.
41528 (pow_test_towardzero): Likewise.
41529 (pow_test_downward): Likewise.
41530 (pow_test_upward): Likewise.
41531 (main): Call the new functions.
41532 * sysdeps/i386/fpu/libm-test-ulps: Update.
41533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41536 * math/libm-test.inc (cosh_test_tonearest): New function.
41537 (cosh_test_towardzero): Likewise.
41538 (cosh_test_downward): Likewise.
41539 (cosh_test_upward): Likewise.
41540 (sinh_test_tonearest): Likewise.
41541 (sinh_test_towardzero): Likewise.
41542 (sinh_test_downward): Likewise.
41543 (sinh_test_upward): Likewise.
41544 (main): Call the new functions.
41545 * sysdeps/i386/fpu/libm-test-ulps: Update.
41546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41548 2012-03-05 Tom de Vries <tom@codesourcery.com>
41550 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41551 default stack guard is set in last bytes.
41552 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41554 2012-03-05 Kees Cook <keescook@chromium.org>
41556 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41559 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41560 possibly allocate from heap instead of stack.
41561 * stdio-common/bug-vfprintf-nargs.c: New file.
41562 * stdio-common/Makefile (tests): Add nargs overflow test.
41564 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
41566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41568 2012-03-03 Marek Polacek <polacek@redhat.com>
41570 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41571 * math/math_private.h: Likewise.
41572 * stdlib/tst-strtod.c: Likewise.
41573 * sysdeps/i386/i486/bits/atomic.h: Likewise.
41574 * sysdeps/x86_64/bits/atomic.h: Likewise.
41576 2012-03-02 David S. Miller <davem@davemloft.net>
41578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41582 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41583 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41584 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41585 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41587 2012-03-02 Roland McGrath <roland@hack.frob.com>
41590 * manual/examples/README: New file, says the example source files
41591 can be used under GPL>=2.
41592 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41593 line containing just "*/".
41594 * manual/examples/add.c: Add copyright header (GPL>=2).
41595 * manual/examples/argp-ex1.c: Likewise.
41596 * manual/examples/argp-ex2.c: Likewise.
41597 * manual/examples/argp-ex3.c: Likewise.
41598 * manual/examples/argp-ex4.c: Likewise.
41599 * manual/examples/atexit.c: Likewise.
41600 * manual/examples/db.c: Likewise.
41601 * manual/examples/dir.c: Likewise.
41602 * manual/examples/dir2.c: Likewise.
41603 * manual/examples/execinfo.c: Likewise.
41604 * manual/examples/filecli.c: Likewise.
41605 * manual/examples/filesrv.c: Likewise.
41606 * manual/examples/fmtmsgexpl.c: Likewise.
41607 * manual/examples/genpass.c: Likewise.
41608 * manual/examples/inetcli.c: Likewise.
41609 * manual/examples/inetsrv.c: Likewise.
41610 * manual/examples/isockad.c: Likewise.
41611 * manual/examples/longopt.c: Likewise.
41612 * manual/examples/memopen.c: Likewise.
41613 * manual/examples/memstrm.c: Likewise.
41614 * manual/examples/mkfsock.c: Likewise.
41615 * manual/examples/mkisock.c: Likewise.
41616 * manual/examples/mygetpass.c: Likewise.
41617 * manual/examples/pipe.c: Likewise.
41618 * manual/examples/popen.c: Likewise.
41619 * manual/examples/rprintf.c: Likewise.
41620 * manual/examples/search.c: Likewise.
41621 * manual/examples/select.c: Likewise.
41622 * manual/examples/setjmp.c: Likewise.
41623 * manual/examples/sigh1.c: Likewise.
41624 * manual/examples/sigusr.c: Likewise.
41625 * manual/examples/stpcpy.c: Likewise.
41626 * manual/examples/strdupa.c: Likewise.
41627 * manual/examples/strftim.c: Likewise.
41628 * manual/examples/strncat.c: Likewise.
41629 * manual/examples/subopt.c: Likewise.
41630 * manual/examples/swapcontext.c: Likewise.
41631 * manual/examples/termios.c: Likewise.
41632 * manual/examples/testopt.c: Likewise.
41633 * manual/examples/testpass.c: Likewise.
41634 * manual/examples/timeval_subtract.c: Likewise.
41637 * manual/time.texi (Elapsed Time): Move timeval_subtract example
41639 * manual/timeval_subtract.c.texi: ... here, new file.
41641 2012-03-02 David S. Miller <davem@davemloft.net>
41643 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41645 2012-03-02 Joseph Myers <joseph@codesourcery.com>
41648 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41649 (__sin): Save and restore rounding mode and use round-to-nearest
41650 for all computations.
41651 (__cos): Save and restore rounding mode and use round-to-nearest
41652 for all computations.
41653 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41655 (tan): Save and restore rounding mode and use round-to-nearest for
41657 * math/libm-test.inc (cos_test_tonearest): New function.
41658 (cos_test_towardzero): Likewise.
41659 (cos_test_downward): Likewise.
41660 (cos_test_upward): Likewise.
41661 (sin_test_tonearest): Likewise.
41662 (sin_test_towardzero): Likewise.
41663 (sin_test_downward): Likewise.
41664 (sin_test_upward): Likewise.
41665 (tan_test_tonearest): Likewise.
41666 (tan_test_towardzero): Likewise.
41667 (tan_test_downward): Likewise.
41668 (tan_test_upward): Likewise.
41669 (main): Call the new functions.
41670 * sysdeps/i386/fpu/libm-test-ulps: Update.
41671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41674 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41675 small n, then large n, before computing and testing k+n.
41676 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41677 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41679 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41681 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41682 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41683 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41684 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41685 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41686 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41687 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41688 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41689 * math/libm-test.inc (scalbn_test): Add more tests.
41690 (scalbln_test): Likewise.
41692 * manual/filesys.texi (mode_t): Describe constraints on size and
41693 signedness, not exact equivalence to a particular type.
41695 (ino64_t): Likewise.
41697 (nlink_t): Likewise.
41698 (blkcnt_t): Likewise.
41699 (blkcnt64_t): Likewise.
41700 * manual/llio.texi (off_t): Likewise.
41703 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41704 (__ieee754_exp): Save and restore rounding mode and use
41705 round-to-nearest for all computations.
41706 * math/libm-test.inc (exp_test_tonearest): New function.
41707 (exp_test_towardzero): Likewise.
41708 (exp_test_downward): Likewise.
41709 (exp_test_upward): Likewise.
41710 (main): Call the new functions.
41711 * sysdeps/i386/fpu/libm-test-ulps: Update.
41712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41714 2012-03-01 Chris Demetriou <cgd@google.com>
41716 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41717 have predictable order.
41719 2012-03-01 David S. Miller <davem@davemloft.net>
41721 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41723 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41724 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41725 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41726 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41728 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41729 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41730 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41732 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41733 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41734 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41735 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41736 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41740 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41741 * sysdeps/sparc/fpu/libm-test-ulps: to here.
41742 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41744 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41745 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41746 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41747 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41748 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41749 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41750 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41751 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41752 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41753 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41754 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41755 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41756 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41757 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41758 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41759 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41760 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41761 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41762 * sysdeps/sparc/elf/configure: Regenerated.
41764 2012-03-01 Joseph Myers <joseph@codesourcery.com>
41766 * configure.in (AS, LD): Require binutils 2.20 or later.
41767 * configure: Regenerated.
41768 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41769 as required minimum version.
41770 * INSTALL: Regenerated.
41774 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41775 before squaring exponent.
41776 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41777 bottom long double and 27 bits of top long double before squaring
41779 * math/libm-test.inc (erfc_test): Add more tests.
41780 * sysdeps/i386/fpu/libm-test-ulps: Update.
41781 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41784 2012-03-01 Kai Tietz <ktietz@redhat.com>
41786 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41787 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41788 containing bit-fields.
41789 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41790 * soft-fp/single.h (_FP_UNION_S): Likewise.
41791 * soft-fp/double.h (_FP_UNION_D): Likewise.
41793 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41796 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41797 not include ../strcmp.S.
41798 [USE_AS_STRNCASECMP_L]: Likewise.
41799 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41800 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41801 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41802 (__strncasecmp_l_ia32): Define as alias to
41803 __strncasecmp_l_nonascii.
41806 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41807 * sysdeps/i386/fpu/libm-test-ulps: Update.
41808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41810 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41813 2012-02-29 Jeff Law <law@redhat.com>
41815 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41816 out of bounds read.
41818 2012-02-29 Marek Polacek <polacek@redhat.com>
41821 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41822 * elf/Makefile: Add rules to run tst-unused-dep.out.
41824 2012-02-28 David S. Miller <davem@davemloft.net>
41826 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41827 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41828 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41829 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41830 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41831 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41833 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41835 * math/libm-test.inc (llround_test): Move one test from
41836 lround_test. Use TEST_f_L in moved test.
41837 (lround_test): Move misplaced test to llround_test. Add testcase
41840 2012-02-28 Ulrich Drepper <drepper@gmail.com>
41842 * sysdeps/x86_64/fpu/e_expf.S: New file.
41843 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41845 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41848 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41849 of remain_len that may cause incomplete multi-byte character and
41851 * posix/bug-regex33.c: New file.
41852 * posix/Makefile (tests): Add bug-regex33.
41854 2012-02-28 Joseph Myers <joseph@codesourcery.com>
41856 * manual/macros.texi: New file.
41857 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41858 * manual/libc.texinfo: Include macros.texi.
41859 * manual/creatute.texi: Likewise.
41860 * manual/install.texi: Likewise.
41861 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41862 @glibcadj{} in references to the GNU C Library.
41863 * manual/charset.texi: Likewise.
41864 * manual/conf.texi: Likewise.
41865 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41866 when not using those macros.
41867 * manual/creature.texi: Likewise.
41868 * manual/crypt.texi: Likewise.
41869 * manual/errno.texi: Likewise.
41870 * manual/filesys.texi: Likewise.
41871 * manual/header.texi: Likewise.
41872 * manual/install.texi: Likewise.
41873 * manual/intro.texi: Likewise.
41874 * manual/io.texi: Likewise.
41875 * manual/job.texi: Likewise.
41876 * manual/lang.texi: Likewise.
41877 * manual/libc.texiinfo: Likewise.
41878 * manual/llio.texi: Likewise.
41879 * manual/locale.texi: Likewise.
41880 * manual/maint.texi: Likewise.
41881 * manual/math.texi: Likewise.
41882 * manual/memory.texi: Likewise.
41883 * manual/message.texi: Likewise.
41884 * manual/nss.texi: Likewise.
41885 * manual/pattern.texi: Likewise.
41886 * manual/process.texi: Likewise.
41887 * manual/resource.texi: Likewise.
41888 * manual/search.texi: Likewise.
41889 * manual/setjmp.texi: Likewise.
41890 * manual/signal.texi: Likewise.
41891 * manual/socket.texi: Likewise.
41892 * manual/startup.texi: Likewise.
41893 * manual/stdio.texi: Likewise.
41894 * manual/string.texi: Likewise.
41895 * manual/sysinfo.texi: Likewise.
41896 * manual/syslog.texi: Likewise.
41897 * manual/terminal.texi: Likewise.
41898 * manual/time.texi: Likewise.
41899 * manual/users.texi: Likewise.
41900 * INSTALL: Regenerated.
41901 * NOTES: Regenerated.
41902 * sysdeps/gnu/errlist.c: Regenerated.
41904 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41906 * include/dirent.h: Include <dirstream.h> before
41909 2012-02-28 David S. Miller <davem@davemloft.net>
41911 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41912 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41913 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41914 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41916 2012-02-27 David S. Miller <davem@davemloft.net>
41918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41920 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41921 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41924 frame pointer instead of stack pointer relative arg slot.
41925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41926 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41927 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41929 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41932 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41934 2012-02-27 David S. Miller <davem@davemloft.net>
41936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41940 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41941 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41942 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41943 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41945 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41947 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41948 later. Allow versions 5-9.
41949 * configure: Regenerated.
41950 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41951 required minimum version and 4.6 as recommended version. Do not
41952 mention bugs in GCC 2.7 and 2.8.
41953 * INSTALL: Regenerated.
41955 2012-02-27 David S. Miller <davem@davemloft.net>
41957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41961 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41962 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41963 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41964 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41966 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41967 manipulate bits before adding and subtracting TWO112[sx].
41968 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41970 2012-02-27 Roland McGrath <roland@hack.frob.com>
41973 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41974 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41975 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41976 being in POSIX, because they are in 1003.1-2008.
41978 * rt/tst-aio.c: Include <fcntl.h>.
41979 * rt/tst-aio7.c: Likewise.
41980 * rt/tst-aio64.c: Likewise.
41982 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41984 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41986 * manual/install.texi (--with-headers): Describe headers as
41987 interface headers, not private headers.
41988 (Specific advice for GNU/Linux systems): Describe use of headers
41989 from "make headers_install", not private headers from older
41991 * INSTALL: Regenerated.
41992 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41994 * sysdeps/unix/sysv/linux/configure: Regenerated.
41996 * manual/llio.texi (fclean): Remove documentation.
41998 * manual/Makefile (libc-texi-generated): New variable. Include
42000 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42001 $(libc-texi-generated), not duplicated list of files.
42002 (version.texi, stamp-version): New rules.
42003 (realclean): Remove $(libc-texi-generated), not individual files
42004 from that list. Do not remove dir-add.texinfo.
42005 * manual/libc.texinfo: Comment out uses of edition numbers and
42006 references to printed manual. Remove last-updated dates.
42007 (EDITION): Comment out.
42009 (VERSION, UPDATED): Remove.
42010 (version.texi): Include.
42012 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
42014 * sysdeps/posix/spawni.c: Include <signal.h>.
42015 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42016 * sysdeps/pthread/aio_fsync.c: Likewise.
42018 2012-02-26 Ulrich Drepper <drepper@gmail.com>
42020 * conform/Makefile (tests): Run only when not cross-compiling and
42021 when fast-check is not defined.
42023 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42024 * conform/data/limits.h-data: Fixes for POSIX2008.
42025 * conform/run-conformtest.sh: Run all tests.
42026 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42028 * include/bits/dlfcn.h: Likewise.
42029 * include/langinfo.h: Likewise.
42030 * include/monetary.h: Likewise.
42031 * include/sys/poll.h: Likewise.
42033 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42035 * posix/spawn.h: Define __need_sigset_t.
42036 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42037 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42038 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
42039 to get sigevent_t only.
42040 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42041 only for __USE_GNU.
42042 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42043 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42044 process_vm_writev only for __USE_GNU.
42045 * termios/termios.h: Declare tcgetsid also for POSIX2008.
42047 * conform/Makefile: For now ignore errors from run-conformtest.
42048 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
42049 POSIX to avoid namespace pollution. Don't prepend headers.
42050 * conform/data/aio.h-data: Fixes for POSIX testing.
42051 * conform/data/fcntl.h-data: Likewise.
42052 * conform/data/glob.h-data: Likewise.
42053 * conform/data/grp.h-data: Likewise.
42054 * conform/data/pthread.h-data: Likewise.
42055 * conform/data/pwd.h-data: Likewise.
42056 * conform/data/signal.h-data: Likewise.
42057 * conform/data/spawn.h-data: Likewise.
42058 * conform/data/stdio.h-data: Likewise.
42059 * conform/data/stdlib.h-data: Likewise.
42060 * conform/data/stropts.h-data: Likewise.
42061 * conform/data/sys/mman.h-data: Likewise.
42062 * conform/data/sys/stat.h-data: Likewise.
42063 * conform/data/sys/types.h-data: Likewise.
42064 * conform/data/sys/wait.h-data: Likewise.
42065 * conform/data/time.h-data: Likewise.
42066 * conform/data/unistd.h-data: Likewise.
42067 * conform/data/utime.h-data: Likewise.
42069 * io/sys/stat.h: fchmod was always in POSIX.
42070 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42071 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42072 * rt/aio.h: Define __need_timespec before including <time.h>.
42073 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42074 struct. Add forward declaration of pthread_attr_t and use it in
42076 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42077 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42078 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42079 always remove CLK_TCK definition.
42081 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
42083 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42085 2012-02-25 Ulrich Drepper <drepper@gmail.com>
42087 * conform/run-conformtest.sh: New file.
42088 * conform/Makefile: Run run-conformtest for tests.
42089 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
42092 * conform/data/uchar.h-data: New file.
42093 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42094 * conform/data/arpa/inet.h-data: Likewise.
42095 * conform/data/assert.h-data: Likewise.
42096 * conform/data/complex.h-data: Likewise.
42097 * conform/data/cpio.h-data: Likewise.
42098 * conform/data/ctype.h-data: Likewise.
42099 * conform/data/dirent.h-data: Likewise.
42100 * conform/data/dlfcn.h-data: Likewise.
42101 * conform/data/errno.h-data: Likewise.
42102 * conform/data/fcntl.h-data: Likewise.
42103 * conform/data/float.h-data: Likewise.
42104 * conform/data/fmtmsg.h-data: Likewise.
42105 * conform/data/fnmatch.h-data: Likewise.
42106 * conform/data/ftw.h-data: Likewise.
42107 * conform/data/glob.h-data: Likewise.
42108 * conform/data/grp.h-data: Likewise.
42109 * conform/data/iconv.h-data: Likewise.
42110 * conform/data/inttypes.h-data: Likewise.
42111 * conform/data/langinfo.h-data: Likewise.
42112 * conform/data/libgen.h-data: Likewise.
42113 * conform/data/limits.h-data: Likewise.
42114 * conform/data/locale.h-data: Likewise.
42115 * conform/data/math.h-data: Likewise.
42116 * conform/data/monetary.h-data: Likewise.
42117 * conform/data/mqueue.h-data: Likewise.
42118 * conform/data/ndbm.h-data: Likewise.
42119 * conform/data/net/if.h-data: Likewise.
42120 * conform/data/netdb.h-data: Likewise.
42121 * conform/data/netinet/in.h-data: Likewise.
42122 * conform/data/nl_types.h-data: Likewise.
42123 * conform/data/poll.h-data: Likewise.
42124 * conform/data/pthread.h-data: Likewise.
42125 * conform/data/pwd.h-data: Likewise.
42126 * conform/data/regex.h-data: Likewise.
42127 * conform/data/sched.h-data: Likewise.
42128 * conform/data/search.h-data: Likewise.
42129 * conform/data/semaphore.h-data: Likewise.
42130 * conform/data/setjmp.h-data: Likewise.
42131 * conform/data/signal.h-data: Likewise.
42132 * conform/data/spawn.h-data: Likewise.
42133 * conform/data/stdarg.h-data: Likewise.
42134 * conform/data/stdio.h-data: Likewise.
42135 * conform/data/stdlib.h-data: Likewise.
42136 * conform/data/string.h-data: Likewise.
42137 * conform/data/strings.h-data: Likewise.
42138 * conform/data/stropts.h-data: Likewise.
42139 * conform/data/sys/ipc.h-data: Likewise.
42140 * conform/data/sys/mman.h-data: Likewise.
42141 * conform/data/sys/msg.h-data: Likewise.
42142 * conform/data/sys/resource.h-data: Likewise.
42143 * conform/data/sys/select.h-data: Likewise.
42144 * conform/data/sys/sem.h-data: Likewise.
42145 * conform/data/sys/shm.h-data: Likewise.
42146 * conform/data/sys/socket.h-data: Likewise.
42147 * conform/data/sys/stat.h-data: Likewise.
42148 * conform/data/sys/statvfs.h-data: Likewise.
42149 * conform/data/sys/time.h-data: Likewise.
42150 * conform/data/sys/timeb.h-data: Likewise.
42151 * conform/data/sys/times.h-data: Likewise.
42152 * conform/data/sys/types.h-data: Likewise.
42153 * conform/data/sys/uio.h-data: Likewise.
42154 * conform/data/sys/un.h-data: Likewise.
42155 * conform/data/sys/utsname.h-data: Likewise.
42156 * conform/data/sys/wait.h-data: Likewise.
42157 * conform/data/syslog.h-data: Likewise.
42158 * conform/data/tar.h-data: Likewise.
42159 * conform/data/termios.h-data: Likewise.
42160 * conform/data/utime.h-data: Likewise.
42161 * conform/data/utmpx.h-data: Likewise.
42162 * conform/data/varargs.h-data: Likewise.
42163 * conform/data/wchar.h-data: Likewise.
42164 * conform/data/wctype.h-data: Likewise.
42165 * conform/data/wordexp.h-data: Likewise.
42167 * include/stropts.h: New file.
42168 * include/uchar.h: New file.
42169 * include/aio.h: Changes to allow conformtest.pl to use the headers.
42170 * include/assert.h: Likewise.
42171 * include/ctype.h: Likewise.
42172 * include/dirent.h: Likewise.
42173 * include/dlfcn.h: Likewise.
42174 * include/fcntl.h: Likewise.
42175 * include/fnmatch.h: Likewise.
42176 * include/glob.h: Likewise.
42177 * include/grp.h: Likewise.
42178 * include/libio.h: Likewise.
42179 * include/locale.h: Likewise.
42180 * include/math.h: Likewise.
42181 * include/net/if.h: Likewise.
42182 * include/netdb.h: Likewise.
42183 * include/netinet/in.h: Likewise.
42184 * include/pthread.h: Likewise.
42185 * include/pwd.h: Likewise.
42186 * include/regex.h: Likewise.
42187 * include/sched.h: Likewise.
42188 * include/search.h: Likewise.
42189 * include/setjmp.h: Likewise.
42190 * include/signal.h: Likewise.
42191 * include/stdio.h: Likewise.
42192 * include/stdlib.h: Likewise.
42193 * include/string.h: Likewise.
42194 * include/sys/cdefs.h: Likewise.
42195 * include/sys/mman.h: Likewise.
42196 * include/sys/msg.h: Likewise.
42197 * include/sys/resource.h: Likewise.
42198 * include/sys/select.h: Likewise.
42199 * include/sys/socket.h: Likewise.
42200 * include/sys/stat.h: Likewise.
42201 * include/sys/statvfs.h: Likewise.
42202 * include/sys/time.h: Likewise.
42203 * include/sys/times.h: Likewise.
42204 * include/sys/uio.h: Likewise.
42205 * include/sys/utsname.h: Likewise.
42206 * include/sys/wait.h: Likewise.
42207 * include/termios.h: Likewise.
42208 * include/time.h: Likewise.
42209 * include/ulimit.h: Likewise.
42210 * include/unistd.h: Likewise.
42211 * include/utime.h: Likewise.
42212 * include/wchar.h: Likewise.
42213 * include/wctype.h: Likewise.
42214 * include/wordexp.h: Likewise.
42216 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42218 * time/time.h: TIME_UTC must be a macro.
42219 Make timespec_get available for ISO C11 only as well.
42221 2012-02-24 Ulrich Drepper <drepper@gmail.com>
42223 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42224 Reported by Peng Haitao <penght@cn.fujitsu.com>.
42226 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42228 * configure.in: Use -o not -a in test for unsupported multi-arch.
42230 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42232 * manual/texinfo.tex: Update to version 2012-01-19.16.
42234 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42236 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42238 2012-02-24 Roland McGrath <roland@hack.frob.com>
42241 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42242 * manual/fdl-1.3.texi: New file.
42243 * manual/fdl-1.1.texi: File removed.
42246 * manual/libc.texinfo (FDL_VERSION): New @set.
42247 Use it for mention of FDL in cover text.
42248 (Documentation License): Use it in @include file name.
42250 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42251 Roland McGrath <roland@hack.frob.com>
42254 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42255 (not LONG_LONG_MAX and LONG_LONG_MIN.
42256 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42257 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
42259 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42261 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42265 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42266 manipulate bits before adding and subtracting TWO23[sx].
42267 * math/libm-test.inc (nearbyint_test): Add more tests.
42269 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42272 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42273 bits before adding and subtracting TWO23[sx].
42274 * math/libm-test.inc (rint_test): Add more tests.
42275 (rint_test_tonearest): Likewise.
42276 (rint_test_towardzero): Likewise.
42277 (rint_test_downward): Likewise.
42278 (rint_test_upward: Likewise.
42280 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42283 * include/stdc-predef.h: New file. Extracted from features.h.
42284 * include/features.h: Include stdc-predef.h.
42285 * Makefile (headers): Add stdc-predef.h.
42286 * CONFORMANCE (Compiler limitations): Update.
42288 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42290 * manual/libc.texinfo (VERSION, UPDATED): Revert.
42292 2012-02-21 David S. Miller <davem@davemloft.net>
42294 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42295 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42297 2012-02-20 David S. Miller <davem@davemloft.net>
42299 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42300 using a normal save/restore sequence, rather than allocating a
42301 dummy stack frame just to store a frame pointer and restore.
42302 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42304 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42306 * manual/install.texi: Fix stray word in line-wrapped comment.
42308 2012-02-20 David S. Miller <davem@davemloft.net>
42310 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42311 both binutils and gcc support GOTDATA.
42313 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42314 "rd %pc" in the PIC register setup sequences.
42316 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42317 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42318 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42319 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42320 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42321 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42322 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42323 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42324 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42325 (SYSCALL_ERROR_HANDLER): Likewise.
42326 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42327 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42328 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42329 (SYSCALL_ERROR_HANDLER): Likewise.
42331 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42332 (HAVE_GCC_GOTDATA): New.
42333 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42334 relocation support in both binutils and gcc.
42335 * sysdeps/sparc/elf/configure: Regenerate.
42337 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42338 * sysdeps/sparc/sparc32/elf/configure: Delete.
42339 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42340 * sysdeps/sparc/sparc64/elf/configure: Delete.
42341 * sysdeps/sparc/elf/configure.in: New file.
42342 * sysdeps/sparc/elf/configure: Generate.
42344 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42345 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42346 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42347 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42348 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42350 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42352 * manual/install.texi: Do not mention specific glibc version
42354 * manual/libc.texinfo (VERSION, UPDATED): Update.
42355 (@copying): Use @copyright{} and range of years.
42357 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42360 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42361 [crti.S not in sysdirs] (generated): Do not append.
42362 [crti.S not in sysdirs] (omit-deps): Likewise.
42363 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42364 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42365 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42366 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42367 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42369 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42370 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42371 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42372 * csu/defs.awk: Remove file.
42373 * sysdeps/generic/initfini.c: Likewise.
42374 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42376 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42379 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42381 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42382 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42383 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42384 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42385 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42386 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42388 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42389 (__EPOLL_PACKED): Define to empty if not defined by
42391 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42395 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42397 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42398 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42399 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42400 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42402 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42406 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42408 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42410 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42411 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42412 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42415 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
42417 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42418 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42420 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
42422 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42423 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42425 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42427 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42430 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
42432 * math/w_acos.c: Use non-signaling floating-point comparisons.
42433 * math/w_acosf.c: Likewise.
42434 * math/w_acosh.c: Likewise.
42435 * math/w_acoshf.c: Likewise.
42436 * math/w_acoshl.c: Likewise.
42437 * math/w_acosl.c: Likewise.
42438 * math/w_asin.c: Likewise.
42439 * math/w_asinf.c: Likewise.
42440 * math/w_asinl.c: Likewise.
42441 * math/w_atanh.c: Likewise.
42442 * math/w_atanhf.c: Likewise.
42443 * math/w_atanhl.c: Likewise.
42444 * math/w_exp2.c: Likewise.
42445 * math/w_exp2f.c: Likewise.
42446 * math/w_exp2l.c: Likewise.
42447 * math/w_j0.c: Likewise.
42448 * math/w_j0f.c: Likewise.
42449 * math/w_j0l.c: Likewise.
42450 * math/w_j1.c: Likewise.
42451 * math/w_j1f.c: Likewise.
42452 * math/w_j1l.c: Likewise.
42453 * math/w_jn.c: Likewise.
42454 * math/w_jnf.c: Likewise.
42455 * math/w_log.c: Likewise.
42456 * math/w_log10.c: Likewise.
42457 * math/w_log10f.c: Likewise.
42458 * math/w_log10l.c: Likewise.
42459 * math/w_log2.c: Likewise.
42460 * math/w_log2f.c: Likewise.
42461 * math/w_log2l.c: Likewise.
42462 * math/w_logf.c: Likewise.
42463 * math/w_logl.c: Likewise.
42464 * math/w_sqrt.c: Likewise.
42465 * math/w_sqrtf.c: Likewise.
42466 * math/w_sqrtl.c: Likewise.
42467 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42468 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42469 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42470 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42471 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42473 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42476 * manual/string.texi (strnlen): Use correct parameter name in
42477 equivalent expression.
42479 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42482 * manual/users.texi (seteuid): Consistently use neweuid for
42485 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42488 * manual/nss.texi (Services in the NSS configuration): Correct
42489 list of services in example configuration file.
42491 2012-02-19 Nick Bowler <nbowler@draconx.ca>
42494 * manual/arith.texi: Remove statements about negative zero
42495 behaving identically to zero.
42497 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42500 * manual/install.texi: Do not document upgrading from libc5.
42502 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42505 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42507 2012-02-18 David S. Miller <davem@davemloft.net>
42509 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42510 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42511 %o7 across the call.
42512 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42514 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42515 SETUP_PIC_REG_LEAF.
42516 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42517 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42518 * sysdeps/sparc/crtn.S: Likewise.
42520 2012-02-17 Ulrich Drepper <drepper@gmail.com>
42522 * aout/Makefile: Remove.
42524 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
42527 * manual/examples/argp-ex1.c (main): Format definition in GNU
42529 * manual/examples/argp-ex2.c (main): Likewise.
42530 * manual/examples/argp-ex3.c (main): Likewise.
42531 * manual/examples/argp-ex4.c (main): Likewise.
42532 * manual/examples/longopt.c (main): Use new-style prototype
42534 * manual/examples/strncat.c (main): Specify return type and use
42535 (void) for arguments.
42536 * manual/examples/subopt.c (main): Use char **argv argument.
42538 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42541 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42544 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
42547 * manual/string.texi (strchr): Change when strchrnul is
42550 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
42553 * manual/locale.texi (setlocale): Document LOCPATH.
42555 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42558 * manual/process.texi (execle): Move @dots{} before last argument.
42560 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
42563 * manual/charset.texi (Generic Charset Conversion): Fix typo
42564 (LC_TYPE -> LC_CTYPE).
42566 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
42569 * manual/arith.texi (scalbn): Use @var{} on parameter names.
42570 (scalbnf): Likewise.
42571 (scalbnl): Likewise.
42572 (scalbln): Likewise.
42573 (scalblnf): Likewise.
42574 (scalblnl): Likewise.
42575 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42576 (vwarnx): Likewise.
42579 * manual/filesys.texi (telldir): Use braces around return type.
42580 * manual/llio.texi (mmap): Add space after comma.
42581 (mmap64): Likewise.
42582 * manual/math.texi (jn): Use @var{} on parameter names.
42588 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42590 * manual/resource.texi (ulimit): Use @dots{} instead of literal
42592 (sched_get_priority_min): Remove semicolon on @deftypefun line.
42593 (sched_get_priority_max): Likewise.
42594 * manual/signal.texi (sigvec): Add space after comma.
42595 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42597 (if_indextoname): Likewise.
42598 (if_freenameindex): Likewise.
42599 (sendto): Use ',' instead of '.' in prototype.
42600 * manual/startup.texi (syscall): Use @dots{} instead of literal
42602 * manual/stdio.texi (__fpending): Separate initial words of
42603 paragraph from @deftypefun line.
42604 * manual/syslog.texi (syslog): Use @dots{} instead of literal
42606 (vsyslog): Use @var{} on parameter names.
42607 * manual/terminal.texi (stty): Use @var{} on parameter names.
42608 * manual/users.texi (getutmp): Use @var{} on parameter names.
42609 (getutmpx): Likewise.
42611 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42614 * manual/stdio.texi (fopen): Fix typos in description of
42617 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
42620 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42621 get clock_id definition.
42623 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
42626 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42627 (madvise): Cast every argument to void on its own.
42629 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42632 * manual/startup.texi (Exit Status): Fix typo.
42634 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42637 * manual/examples/argp-ex1.c: Include <stdlib.h>.
42638 * manual/examples/argp-ex2.c: Likewise.
42639 * manual/examples/argp-ex3.c: Likewise.
42641 2012-02-16 Richard Henderson <rth@redhat.com>
42643 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42644 * sysdeps/s390/s390-32/initfini.c: Remove.
42645 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42646 * sysdeps/s390/s390-64/initfini.c: Remove.
42648 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42650 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42651 compiler output for sysdeps/generic/initfini.c.
42652 * sysdeps/sh/elf/initfini.c: Remove file.
42654 2012-02-16 David S. Miller <davem@davemloft.net>
42657 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42659 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42660 * sysdeps/sparc/crti.S: New file.
42661 * sysdeps/sparc/crtn.S: New file.
42662 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42663 * sysdeps/sparc/sparc64/Makefile: Likewise.
42665 2012-02-15 Mike Frysinger <vapier@gentoo.org>
42668 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42670 2012-02-15 Roland McGrath <roland@hack.frob.com>
42673 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42675 * mach/devstream.c (cookie_io_functions_t): Macro removed.
42676 (write, read, close): Likewise.
42677 Patch by Aurelien Jarno <aurelien@aurel32.net>.
42679 2012-02-15 Joseph Myers <joseph@codesourcery.com>
42681 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42682 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42683 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42684 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42686 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42690 2012-02-14 Marek Polacek <polacek@redhat.com>
42692 * sysdeps/x86_64/crti.S: New file.
42693 * sysdeps/x86_64/crtn.S: New file.
42694 * sysdeps/x86_64/elf/initfini.c: Remove file.
42696 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42698 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42699 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42700 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42701 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42703 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42704 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42707 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42709 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42710 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42711 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42712 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42714 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42715 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42718 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
42720 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42721 __feraiseexcept instead of feraiseexcept.
42723 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42724 nanosleep invocations.
42725 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42726 strings, and add error checking for a nanosleep invocations.
42728 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
42730 Replace FSF snail mail address with URLs, as per GNU coding standards.
42731 Most of the snail mail addresses were wrong anyway, and omitting
42732 them makes the source code easier to maintain. Almost all of the
42733 changes are to license notices and to locale LC_IDENTIFICATION
42734 addresses, except for this one:
42735 * manual/libc.texinfo: In "Published by", give the FSF's URL,
42736 not its snail mail address.
42738 2012-02-09 Richard Henderson <rth@twiddle.net>
42740 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42741 of kernel-features.h.
42743 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42745 2012-02-08 Marek Polacek <polacek@redhat.com>
42747 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42748 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42749 * sysdeps/gnu/_G_config.h: Likewise.
42750 * sysdeps/generic/_G_config.h: Likewise.
42752 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
42754 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42758 * sysdeps/powerpc/powerpc32/crti.S: New file.
42759 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42760 * sysdeps/powerpc/powerpc64/crti.S: New file.
42761 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42763 * Makeconfig (have-initfini): Don't set.
42764 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42765 * configure.in (nopic_initfini): Don't substitute.
42766 * config.h.in (HAVE_INITFINI): Don't #undef.
42767 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42768 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42770 2012-02-08 Joseph Myers <joseph@codesourcery.com>
42772 Support crti.S and crtn.S provided directly by architectures.
42773 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42774 [crti.S in sysdirs] (omit-deps): Likewise.
42775 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42776 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42777 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42778 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42779 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42780 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42781 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42782 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42783 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42784 compiler output for sysdeps/generic/initfini.c.
42785 * sysdeps/i386/elf/Makefile: Remove file.
42786 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42788 2012-02-07 Marek Polacek <polacek@redhat.com>
42790 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42791 * sysdeps/gnu/_G_config.h: Likewise.
42792 * sysdeps/mach/hurd/_G_config.h: Likewise.
42794 2012-02-07 Marek Polacek <polacek@redhat.com>
42796 * math/Makefile (tests): Add tst-CMPLX2.
42797 * math/tst-CMPLX2.c: New file.
42799 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42801 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42803 * math/libm-test.inc (jn_test): Add missing L suffix.
42805 2012-02-06 Marek Polacek <polacek@redhat.com>
42807 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42808 * sysdeps/i386/fpu/e_powf.S: Likewise.
42809 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42810 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42811 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42812 * sysdeps/i386/fpu/e_pow.S: Likewise.
42813 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42814 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42815 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42816 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42817 * sysdeps/i386/fpu/e_log2.S: Likewise.
42818 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42819 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42820 * sysdeps/i386/fpu/e_powl.S: Likewise.
42821 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42822 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42823 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42824 * sysdeps/i386/fpu/e_logl.S: Likewise.
42825 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42826 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42827 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42828 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42829 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42830 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42831 * sysdeps/i386/fpu/e_log.S: Likewise.
42832 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42833 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42834 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42835 * sysdeps/i386/fpu/e_logf.S: Likewise.
42836 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42837 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42838 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42839 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42840 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42841 * sysdeps/i386/fpu/e_log10.S: Likewise.
42842 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42843 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42844 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42845 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42846 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42847 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42848 * sysdeps/i386/asm-syntax.h: Likewise.
42849 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42850 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42851 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42852 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42853 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42854 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42855 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42856 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42857 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42858 * sysdeps/powerpc/sysdep.h: Likewise.
42859 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42860 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42862 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42865 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42867 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42869 * sysdeps/i386/sysdep.h: Include <features.h>.
42870 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42873 2012-02-05 Joseph Myers <joseph@codesourcery.com>
42875 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42877 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42880 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42882 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42883 (SETUP_PIC_REG): Use GET_PC_THUNK.
42884 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42887 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42889 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42890 for non-PIC compilation.
42891 (SETUP_PIC_REG): Add .p2align directive.
42892 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42893 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42894 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42895 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42896 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42897 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42898 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42899 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42900 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42901 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42902 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42903 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42904 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42905 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42906 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42907 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42908 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42909 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42910 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42911 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42912 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42913 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42914 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42915 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42916 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42917 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42918 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42919 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42920 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42921 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42922 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42923 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42924 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42925 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42926 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42927 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42928 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42929 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42930 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42931 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42932 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42934 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42936 * math/tst-CMPLX.c: Include <stdio.h>.
42938 2012-01-31 Joseph Myers <joseph@codesourcery.com>
42940 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42942 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42943 * sysdeps/sparc/bits/mathdef.h: Likewise.
42945 2012-01-31 Marek Polacek <polacek@redhat.com>
42947 * libio/libio.h: Don't define _PARAMS.
42948 * locale/programs/config.h: Don't define PARAMS.
42949 * stdlib/strtol_l.c: Likewise.
42950 (__strtol_l): Remove PARAMS from the prototype.
42952 2012-01-31 Ulrich Drepper <drepper@gmail.com>
42954 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42955 names. Just use the correct names. Remove unnecessary wrapper
42957 * malloc/arena.c: Likewise.
42958 * malloc/hooks.c: Likewise.
42960 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42961 ARENA_TEST says not to. Simplify test for creation of a new arena.
42962 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42964 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42966 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42968 (update_get_addr): New function.
42969 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42970 GET_ADDR_MODULE parameter.
42972 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42974 * crypt/cert.c: Remove __STDC__ conditionals.
42975 * crypt/crypt-entry.c: Likewise.
42976 * crypt/crypt_util.c: Likewise.
42977 * libio/filedoalloc.c: Likewise.
42978 * libio/fileops.c: Likewise.
42979 * libio/genops.c: Likewise.
42980 * libio/iofclose.c: Likewise.
42981 * libio/iofdopen.c: Likewise.
42982 * libio/iofopen.c: Likewise.
42983 * libio/iofopen64.c: Likewise.
42984 * libio/iogetdelim.c: Likewise.
42985 * libio/iopopen.c: Likewise.
42986 * libio/obprintf.c: Likewise.
42987 * libio/oldfileops.c: Likewise.
42988 * libio/oldiofclose.c: Likewise.
42989 * libio/oldiofdopen.c: Likewise.
42990 * libio/oldiofopen.c: Likewise.
42991 * libio/oldiopopen.c: Likewise.
42992 * libio/wfiledoalloc.c: Likewise.
42993 * libio/wgenops.c: Likewise.
42994 * locale/programs/xmalloc.c: Likewise.
42995 * misc/syslog.c: Likewise.
42996 * stdio-common/xbug.c: Likewise.
42997 * string/memchr.c: Likewise.
42998 * string/memcmp.c: Likewise.
42999 * string/memrchr.c: Likewise.
43000 * string/rawmemchr.c: Likewise.
43001 * sysdeps/posix/getcwd.c: Likewise.
43002 * time/strftime_l.c: Likewise.
43004 2012-01-30 Joseph Myers <joseph@codesourcery.com>
43006 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
43007 * config.make.in (config-cflags-sse2avx): Define.
43008 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43011 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
43013 * scripts/config.guess: Update from upstream config git repository.
43014 * scripts/config.sub: Likewise.
43016 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
43018 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43020 (R_TILEPRO_*, R_TILEGX_*): New macros.
43022 * scripts/firstversions.awk: Fix bug in version range handling.
43024 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43026 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43028 * include/sys/epoll.h: New file.
43029 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43032 2012-01-28 Ulrich Drepper <drepper@gmail.com>
43034 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43035 Avoid unnecessary __WORDSIZE == 64 test.
43036 (fmaxf): Use VEX format if possible.
43041 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43042 * math/math_private.h: Remove libc_fegetround* and
43044 * sysdeps/i386/configure.in: Check for -msse2avx.
43045 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43046 also if SSE2AVX is defined.
43047 Remove libc_fegetround* and libc_fesetround*.
43048 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43049 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
43050 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43052 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43053 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43054 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43055 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43056 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43058 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43060 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43062 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43064 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43066 2012-01-27 Ulrich Drepper <drepper@gmail.com>
43069 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43071 * Makeconfig (libm): Define.
43072 * elf/Makefile: Add rules to build and run tst-relsort1.
43073 * elf/tst-relsort1.c: New file.
43074 * elf/tst-relsort1mod1.c: New file.
43075 * elf/tst-relsort1mod2.c: New file.
43077 2012-01-27 Joseph Myers <joseph@codesourcery.com>
43079 * math/s_ldexp.c: Remove __STDC__ conditionals.
43080 * math/s_ldexpf.c: Likewise.
43081 * math/s_ldexpl.c: Likewise.
43082 * math/s_nextafter.c: Likewise.
43083 * math/s_nexttowardf.c: Likewise.
43084 * math/s_significand.c: Likewise.
43085 * math/s_significandf.c: Likewise.
43086 * math/s_significandl.c: Likewise.
43087 * math/w_jnl.c: Likewise.
43088 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43089 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43090 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43091 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43092 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43093 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43094 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43095 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43096 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43097 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43098 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43099 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43100 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43101 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43102 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43103 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43104 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43105 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43106 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43107 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43108 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43109 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43110 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43111 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43112 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43113 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43114 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43115 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43116 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43117 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43118 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43119 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43120 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43121 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43122 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43123 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43124 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43125 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43126 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43127 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43128 * sysdeps/ieee754/k_standard.c: Likewise.
43129 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43130 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43131 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43132 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43133 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43134 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43135 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43136 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43137 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43138 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43139 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43140 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43141 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43142 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43143 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43144 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43145 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43146 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43147 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43148 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43149 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43150 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43151 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43152 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43153 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43154 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43155 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43156 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43157 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43158 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43159 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43160 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43161 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43162 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43163 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43164 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43165 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43166 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43167 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43168 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43169 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43170 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43171 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43172 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43173 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43174 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43175 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43176 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43177 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43178 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43179 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43180 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43181 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43182 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43183 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43184 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43185 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43186 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43187 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43188 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43189 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43190 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43191 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43192 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43193 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43194 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43195 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43196 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43197 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43198 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43199 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43200 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43201 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43202 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43203 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43204 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43205 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43206 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43207 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43208 * sysdeps/ieee754/s_matherr.c: Likewise.
43209 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43210 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43211 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43212 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43214 2012-01-26 Joseph Myers <joseph@codesourcery.com>
43216 * crypt/md5.h: Remove __STDC__ conditionals.
43217 * libio/libioP.h: Likewise.
43218 * locale/programs/config.h: Likewise.
43219 * sysdeps/generic/sysdep.h: Likewise.
43220 * sysdeps/i386/asm-syntax.h: Likewise.
43221 * sysdeps/s390/asm-syntax.h: Likewise.
43222 * sysdeps/unix/sysdep.h: Likewise.
43223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43226 2012-01-26 Joseph Myers <joseph@codesourcery.com>
43228 * libio/libio.h: Remove __STDC__ conditionals.
43229 * malloc/obstack.h: Likewise.
43230 * math/complex.h: Likewise.
43231 * math/math.h: Likewise.
43232 * sysdeps/generic/_G_config.h: Likewise.
43233 * sysdeps/gnu/_G_config.h: Likewise.
43234 * sysdeps/mach/hurd/_G_config.h: Likewise.
43235 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43236 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43237 * sysdeps/sparc/bits/mathdef.h: Likewise.
43239 2012-01-26 Ulrich Drepper <drepper@gmail.com>
43242 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43243 Clean up HAS_* macros.
43244 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43245 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43247 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43249 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43250 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43251 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43252 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43253 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43255 2012-01-25 Joseph Myers <joseph@codesourcery.com>
43257 * elf/tst-unique3.cc (gets): Remove declaration.
43258 * elf/tst-unique3lib.cc (gets): Likewise.
43259 * elf/tst-unique3lib2.cc (gets): Likewise.
43260 * elf/tst-unique4.cc (gets): Likewise.
43262 2012-01-24 Ulrich Drepper <drepper@gmail.com>
43264 * include/stdio.h: Add C++ protection. Add gets declarations and
43266 * debug/tst-chk1.c: Don't declare gets here.
43267 * stdio-common/tst-gets.c: Likewise.
43269 2012-01-24 Joseph Myers <joseph@codesourcery.com>
43271 * posix/glob: Remove directory.
43273 2012-01-24 Joseph Myers <joseph@codesourcery.com>
43275 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43277 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
43279 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43280 of the non-standard EPFNOSUPPORT.
43282 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
43284 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43285 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43286 ANYWHERE set to 1 only on KERN_NO_SPACE error.
43288 2012-01-21 Ulrich Drepper <drepper@gmail.com>
43290 * wcsmbs/uchar.h: Test __STDC_VERSION__.
43292 2012-01-20 Ulrich Drepper <drepper@gmail.com>
43294 * nscd/aicache.c (addhstaiX): Do not cache negative results of
43296 * nscd/grpcache.c (cache_addgr): Likewise.
43297 * nscd/hstcache.c (cache_addhst): Likewise.
43298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43299 * nscd/pwdcache.c (cache_addpw): Likewise.
43300 * nscd/servicescache.c (cache_addserv): Likewise.
43302 2012-01-16 Ulrich Drepper <drepper@gmail.com>
43304 * malloc/malloc.c: Various cleanups.
43305 * malloc/hooks.c: Likewise.
43307 * stdlib/Makefile (tests): Add bug-fmtmsg1.
43308 * stdlib/bug-fmtmsg1.c: New file.
43310 * stdlib/fmtmsg.c (init): Add missing unlock.
43311 Patch by Peng Haitao <penght@cn.fujitsu.com>.
43313 2012-01-12 Marek Polacek <polacek@redhat.com>
43315 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43318 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43320 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43321 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43322 macro to ensure uniqueness of label name.
43323 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43324 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43326 2012-01-11 Ulrich Drepper <drepper@gmail.com>
43328 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43330 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43331 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43332 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43333 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43335 2012-01-10 Ulrich Drepper <drepper@gmail.com>
43337 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43339 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43340 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43341 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43343 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43345 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43346 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43347 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43348 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43350 * math/bits/math-finite.h: Add ldexp support.
43352 2012-01-10 Marek Polacek <polacek@redhat.com>
43354 * locale/programs/localedef.h (show_archive_content): Add noreturn
43357 2012-01-09 Ulrich Drepper <drepper@gmail.com>
43359 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43361 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43363 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43365 * io/Makefile (headers): Add bits/poll2.h.
43367 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
43369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43370 typo #include statement.
43372 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43374 * include/sys/cdefs.h: Define __attribute_alloc_size.
43375 * catgets/gencat.c: Add alloc_size attribute and apply consistently
43376 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43377 * elf/pldd.c: Likewise.
43378 * iconv/iconv_charmap.c: Likewise.
43379 * iconv/iconvconfig.c: Likewise.
43380 * iconv/strtab.c: Likewise.
43381 * locale/programs/locale.c: Likewise.
43382 * locale/programs/localedef.h: Likewise.
43383 * locale/programs/simple-hash.c: Likewise.
43384 * nscd/nscd.h: Likewise.
43385 * nss/makedb.c: Likewise.
43386 * sysdeps/generic/ldconfig.h: Likewise.
43387 * locale/programs/localedef.c: Remove xmalloc prototype.
43388 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43390 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43392 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43395 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43397 * math/Makefile (tests): Add tst-CMPLX.
43398 * math/tst-CMPLX.c: New file.
43400 * math/complex.h (CMPLXL): Fix typo.
43402 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43403 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43405 * debug/tst-chk1.c: Add poll and ppoll tests.
43406 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43407 * include/sys/poll.h: Add hidden proto for ppoll.
43408 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43409 * sysdeps/mach/hurd/ppoll.c: Likewise.
43410 * io/ppoll.c: Likewise.
43411 * debug/poll_chk.c: New file.
43412 * debug/ppoll_chk.c: New file.
43413 * include/bits/poll2.h: New file.
43414 * io/bits/poll2.h: New file.
43417 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43419 * configure.in: static is always set to yes. Remove.
43420 * config.make.in: Don't set build-static.
43421 * Makeconfig: Remove use of build-static.
43422 * dlfcn/Makefile: Likewise.
43423 * elf/Makefile: Likewise.
43424 * math/Makefile: Likewise.
43425 * misc/Makefile: Likewise.
43426 * nptl/Makefile: Likewise.
43427 * sysdeps/mach/hurd/Makefile: Likewise.
43429 * configure.in: PWD_P is not used anymore.
43430 * config.make.in: Remove PWD_P entry.
43432 * configure.in: Remove last remnants of RANLIB.
43433 No need to check for signed size_t anymore.
43434 Don't set libc_commonpagesize and libc_relro_required here for Alpha
43436 Remove __builtin_expect test because we require at least gcc 3.4.
43437 * aclocal.m4: Likewise.
43439 * wcsmbs/mbrtoc16.c: Implement using towc function.
43440 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43441 * wcsmbs/wcsmbsload.c: Likewise.
43442 * iconv/gconv_simple.c: Likewise.
43443 * iconv/gconv_int.h: Likewise.
43444 * iconv/gconv_builtin.h: Likewise.
43445 * iconv/iconv_prog.c: Remove CHAR16 handling.
43447 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43449 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43451 * configure.in: Remove --with-elf and --enable-bounded options.
43452 Dont set base_machine for ia64. More non-ELF conditions removed.
43453 Remove testing and setting of leading underscore information.
43454 * config.make.in (build-bounded): Set to no.
43455 * config.h.in: Remove NO_UNDERSCORES entry.
43456 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
43458 * csu/start.c: Remove !NO_UNDERSCORE code.
43459 * locale/localeinfo.h: Likewise.
43460 * sysdeps/generic/machine-gmon.h: Likewise.
43461 * sysdeps/generic/sysdep.h: Likewise.
43462 * sysdeps/i386/sysdep.h: Likewise.
43463 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43464 * sysdeps/mach/sysdep.h: Likewise.
43465 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43466 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43467 * sysdeps/sh/sysdep.h: Likewise.
43468 * sysdeps/sparc/sparc32/alloca.S: Likewise.
43469 * sysdeps/unix/i386/sysdep.S: Likewise.
43470 * sysdeps/unix/sparc/start.c: Likewise.
43471 * sysdeps/unix/sparc/sysdep.S: Likewise.
43472 * sysdeps/unix/sparc/sysdep.h: Likewise.
43473 * sysdeps/unix/start.c: Likewise.
43474 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43475 * sysdeps/x86_64/sysdep.h: Likewise.
43477 2012-01-07 Ulrich Drepper <drepper@gmail.com>
43480 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43482 * argp/argp-fmtstream.h: Use const instead __const.
43483 * argp/argp.h: Likewise.
43484 * assert/assert.h: Likewise.
43485 * bits/fenv.h: Likewise.
43486 * bits/sched.h: Likewise.
43487 * bits/sigset.h: Likewise.
43488 * bits/sigthread.h: Likewise.
43489 * catgets/nl_types.h: Likewise.
43490 * conform/data/pthread.h-data: Likewise.
43491 * crypt/crypt-private.h: Likewise.
43492 * crypt/crypt.h: Likewise.
43493 * crypt/crypt_util.c: Likewise.
43494 * ctype/ctype.h: Likewise.
43495 * debug/execinfo.h: Likewise.
43496 * debug/mbsnrtowcs_chk.c: Likewise.
43497 * debug/mbsrtowcs_chk.c: Likewise.
43498 * debug/wcsnrtombs_chk.c: Likewise.
43499 * debug/wcsrtombs_chk.c: Likewise.
43500 * debug/wcstombs_chk.c: Likewise.
43501 * dirent/dirent.h: Likewise.
43502 * dlfcn/dlfcn.h: Likewise.
43503 * elf/neededtest4.c: Likewise.
43504 * grp/grp.h: Likewise.
43505 * gshadow/gshadow.h: Likewise.
43506 * iconv/gconv.h: Likewise.
43507 * iconv/gconv_int.h: Likewise.
43508 * iconv/gconv_simple.c: Likewise.
43509 * iconv/iconv.h: Likewise.
43510 * iconv/loop.c: Likewise.
43511 * iconv/skeleton.c: Likewise.
43512 * include/aio.h: Likewise.
43513 * include/aliases.h: Likewise.
43514 * include/argz.h: Likewise.
43515 * include/arpa/inet.h: Likewise.
43516 * include/assert.h: Likewise.
43517 * include/dirent.h: Likewise.
43518 * include/dlfcn.h: Likewise.
43519 * include/execinfo.h: Likewise.
43520 * include/fcntl.h: Likewise.
43521 * include/fenv.h: Likewise.
43522 * include/glob.h: Likewise.
43523 * include/grp.h: Likewise.
43524 * include/libintl.h: Likewise.
43525 * include/mntent.h: Likewise.
43526 * include/netdb.h: Likewise.
43527 * include/pwd.h: Likewise.
43528 * include/rpc/netdb.h: Likewise.
43529 * include/sched.h: Likewise.
43530 * include/search.h: Likewise.
43531 * include/shadow.h: Likewise.
43532 * include/signal.h: Likewise.
43533 * include/stdio.h: Likewise.
43534 * include/stdlib.h: Likewise.
43535 * include/string.h: Likewise.
43536 * include/sys/socket.h: Likewise.
43537 * include/sys/stat.h: Likewise.
43538 * include/sys/statfs.h: Likewise.
43539 * include/sys/statvfs.h: Likewise.
43540 * include/sys/syslog.h: Likewise.
43541 * include/sys/time.h: Likewise.
43542 * include/sys/uio.h: Likewise.
43543 * include/time.h: Likewise.
43544 * include/unistd.h: Likewise.
43545 * include/utmp.h: Likewise.
43546 * include/wchar.h: Likewise.
43547 * include/wctype.h: Likewise.
43548 * inet/aliases.h: Likewise.
43549 * inet/arpa/inet.h: Likewise.
43550 * inet/netinet/ether.h: Likewise.
43551 * inet/netinet/in.h: Likewise.
43552 * intl/libintl.h: Likewise.
43553 * io/bits/fcntl2.h: Likewise.
43554 * io/fcntl.h: Likewise.
43555 * io/ftw.h: Likewise.
43556 * io/sys/poll.h: Likewise.
43557 * io/sys/stat.h: Likewise.
43558 * io/sys/statfs.h: Likewise.
43559 * io/sys/statvfs.h: Likewise.
43560 * io/utime.h: Likewise.
43561 * libio/bits/stdio.h: Likewise.
43562 * libio/bits/stdio2.h: Likewise.
43563 * libio/libio.h: Likewise.
43564 * libio/libioP.h: Likewise.
43565 * libio/stdio.h: Likewise.
43566 * locale/lc-ctype.c: Likewise.
43567 * locale/locale.h: Likewise.
43568 * login/utmp.h: Likewise.
43569 * malloc/arena.c: Likewise.
43570 * malloc/malloc.c: Likewise.
43571 * malloc/malloc.h: Likewise.
43572 * malloc/mcheck.c: Likewise.
43573 * malloc/mtrace.c: Likewise.
43574 * math/bits/mathcalls.h: Likewise.
43575 * math/fenv.h: Likewise.
43576 * math/math_private.h: Likewise.
43577 * misc/bits/error.h: Likewise.
43578 * misc/bits/syslog.h: Likewise.
43579 * misc/err.h: Likewise.
43580 * misc/error.h: Likewise.
43581 * misc/fstab.h: Likewise.
43582 * misc/mntent.h: Likewise.
43583 * misc/regexp.h: Likewise.
43584 * misc/search.h: Likewise.
43585 * misc/sgtty.h: Likewise.
43586 * misc/sys/mman.h: Likewise.
43587 * misc/sys/syslog.h: Likewise.
43588 * misc/sys/uio.h: Likewise.
43589 * misc/sys/xattr.h: Likewise.
43590 * misc/ttyent.h: Likewise.
43591 * nis/rpcsvc/ypclnt.h: Likewise.
43592 * nss/nss.h: Likewise.
43593 * posix/bits/unistd.h: Likewise.
43594 * posix/fnmatch.h: Likewise.
43595 * posix/glob.h: Likewise.
43596 * posix/sched.h: Likewise.
43597 * posix/spawn.h: Likewise.
43598 * posix/sys/wait.h: Likewise.
43599 * posix/unistd.h: Likewise.
43600 * posix/wordexp.h: Likewise.
43601 * pwd/pwd.h: Likewise.
43602 * resolv/netdb.h: Likewise.
43603 * resource/sys/resource.h: Likewise.
43604 * rt/aio.h: Likewise.
43605 * rt/bits/mqueue2.h: Likewise.
43606 * rt/mqueue.h: Likewise.
43607 * shadow/shadow.h: Likewise.
43608 * signal/signal.h: Likewise.
43609 * socket/send.c: Likewise.
43610 * socket/sendto.c: Likewise.
43611 * socket/sys/socket.h: Likewise.
43612 * stdio-common/printf.h: Likewise.
43613 * stdlib/bits/stdlib.h: Likewise.
43614 * stdlib/fmtmsg.h: Likewise.
43615 * stdlib/monetary.h: Likewise.
43616 * stdlib/stdlib.h: Likewise.
43617 * stdlib/ucontext.h: Likewise.
43618 * streams/stropts.h: Likewise.
43619 * string/argz.h: Likewise.
43620 * string/bits/string2.h: Likewise.
43621 * string/string.h: Likewise.
43622 * string/strings.h: Likewise.
43623 * sunrpc/rpc/auth.h: Likewise.
43624 * sunrpc/rpc/auth_des.h: Likewise.
43625 * sunrpc/rpc/clnt.h: Likewise.
43626 * sunrpc/rpc/netdb.h: Likewise.
43627 * sunrpc/rpc/pmap_clnt.h: Likewise.
43628 * sunrpc/rpc/xdr.h: Likewise.
43629 * sysdeps/generic/inttypes.h: Likewise.
43630 * sysdeps/generic/net/if.h: Likewise.
43631 * sysdeps/generic/sys/swap.h: Likewise.
43632 * sysdeps/gnu/net/if.h: Likewise.
43633 * sysdeps/gnu/utmpx.h: Likewise.
43634 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43635 * sysdeps/i386/i486/bits/string.h: Likewise.
43636 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43637 * sysdeps/s390/bits/string.h: Likewise.
43638 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43639 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43640 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43641 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43642 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43643 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43644 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43645 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43646 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43647 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43648 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43649 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43650 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43651 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43652 * sysdeps/unix/sysv/linux/readv.c: Likewise.
43653 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43654 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43655 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43656 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43657 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43658 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43659 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43660 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43661 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43662 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43663 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43664 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43665 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43666 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43667 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43668 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43669 * sysvipc/sys/ipc.h: Likewise.
43670 * sysvipc/sys/msg.h: Likewise.
43671 * sysvipc/sys/sem.h: Likewise.
43672 * sysvipc/sys/shm.h: Likewise.
43673 * termios/termios.h: Likewise.
43674 * time/sys/time.h: Likewise.
43675 * time/time.h: Likewise.
43676 * wcsmbs/bits/wchar2.h: Likewise.
43677 * wcsmbs/uchar.h: Likewise.
43678 * wcsmbs/wchar.h: Likewise.
43679 * wctype/wctype.h: Likewise.
43682 * Makeconfig: Remove all but ELF support including AIX support.
43683 * Makerules: Likewise.
43684 * config.h.in: Likewise.
43685 * config.make.in: Likewise.
43686 * configure: Likewise.
43687 * configure.in: Likewise.
43688 * csu/Makefile: Likewise.
43689 * csu/version.c: Likewise.
43690 * debug/Makefile: Likewise.
43691 * dlfcn/Makefile: Likewise.
43692 * elf/Makefile: Likewise.
43693 * extra-lib.mk: Likewise.
43694 * iconv/Makefile: Likewise.
43695 * include/libc-symbols.h: Likewise.
43696 * include/shlib-compat.h: Likewise.
43697 * resolv/Makefile: Likewise.
43698 * resolv/res_libc.c: Likewise.
43699 * rt/Makefile: Likewise.
43700 * sysdeps/i386/asm-syntax.h: Likewise.
43701 * sysdeps/i386/sysdep.h: Likewise.
43702 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43703 * sysdeps/mach/sysdep.h: Likewise.
43704 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43705 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43706 * sysdeps/s390/asm-syntax.h: Likewise.
43707 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43708 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43709 * sysdeps/sh/sysdep.h: Likewise.
43710 * sysdeps/unix/sparc/sysdep.h: Likewise.
43711 * sysdeps/wordsize-32/divdi3.c: Likewise.
43712 * sysdeps/x86_64/sysdep.h: Likewise.
43714 * argp/Versions: Remove _argp_unlock_xxx.
43717 * abilist/ld.abilist: Update. Adjust for removal of tls option.
43718 * abilist/libBrokenLocale.abilist: Likewise.
43719 * abilist/libanl.abilist: Likewise.
43720 * abilist/libc.abilist: Likewise.
43721 * abilist/libcrypt.abilist: Likewise.
43722 * abilist/libdl.abilist: Likewise.
43723 * abilist/libm.abilist: Likewise.
43724 * abilist/libnsl.abilist: Likewise.
43725 * abilist/libpthread.abilist: Likewise.
43726 * abilist/libresolv.abilist: Likewise.
43727 * abilist/librt.abilist: Likewise.
43728 * abilist/libthread_db.abilist: Likewise.
43729 * abilist/libutil.abilist: Likewise.
43730 * abilist/libnss_db.abilist: New file.
43732 * scripts/abilist.awk: Add support for indirect functions.
43734 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43736 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43738 * shlib-versions: Remove entries for ports architectures.
43740 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
43742 * elf/stackguard-macros.h: Remove support for IA-64.
43743 * elf/tst-auditmod1.c: Likewise.
43744 * sysdeps/generic/ldsodefs.h: Likewise.
43746 * sysdeps/unix/sysv/linux/configure.in: Ports should define
43747 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43751 * configure.in: Remove --enable-omitfp support.
43753 * config.make.in: Likewise.
43754 * Makeconfig: Likewise.
43755 * manual/install.texi: Likewise.
43757 In case anyone cares, the IA-64 architecture could move to ports.
43758 * sysdeps/ia64/*: Removed.
43759 * sysdeps/unix/sysv/linux/ia64/*: Removed.
43760 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43763 * configure.in: Remove entries for unsupported architectures.
43766 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43767 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43769 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43770 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43771 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43772 fall back to using wcrtomb.
43773 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43774 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43776 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43777 * wcsmbs/tst-c16c32-1.c: New file.
43779 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43782 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43784 * elf/tst-unique3.cc: Add explicit declaration of gets.
43785 * elf/tst-unique3lib.cc: Likewise.
43786 * elf/tst-unique3lib2.cc: Likewise.
43787 * elf/tst-unique4.cc: Likewise.
43789 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43791 2012-01-06 Joseph Myers <joseph@codesourcery.com>
43794 * assert/assert.h (static_assert): Don't define for C++.
43795 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43796 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43798 2012-01-03 Ulrich Drepper <drepper@gmail.com>
43800 * iconv/loop.c (single loop): Fix assertion in storing of
43803 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43805 2012-01-01 Ulrich Drepper <drepper@gmail.com>
43807 * posix/getconf.c: Update copyright year.
43808 * nss/getent.c: Likewise.
43809 * nss/makedb.c: Likewise.
43810 * iconv/iconvconfig.c: Likewise.
43811 * iconv/iconv_prog.c: Likewise.
43812 * elf/ldconfig.c: Likewise.
43813 * elf/pldd.c: Likewise.
43814 * elf/sotruss.ksh: Likewise.
43815 * catgets/gencat.c: Likewise.
43816 * csu/version.c: Likewise.
43817 * elf/ldd.bash.in: Likewise.
43818 * elf/sprof.c (print_version): Likewise.
43819 * locale/programs/locale.c: Likewise.
43820 * locale/programs/localedef.c: Likewise.
43821 * login/programs/pt_chown.c: Likewise.
43822 * nscd/nscd.c (print_version): Likewise.
43823 * debug/xtrace.sh: Likewise.
43824 * malloc/memusage.sh: Likewise.
43825 * malloc/mtrace.pl: Likewise.
43826 * debug/catchsegv.sh: Likewise.
43828 2011-12-30 Jakub Jelinek <jakub@redhat.com>
43830 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43833 2011-12-24 Ulrich Drepper <drepper@gmail.com>
43836 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43837 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43839 * iconv/gconv_int.h: Likewise.
43840 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43841 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43842 from libc for GLIBC_2.16.
43843 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43844 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43845 * wcsmbs/uchar.h: Really define mbstate_t.
43846 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43847 * wcsmbs/c16rtomb.c: New file.
43848 * wcsmbs/mbrtoc16.c: New file.
43849 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43850 for C/POSIX locale.
43851 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43852 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43854 * wcsmbs/wchar.h: Add missing __restrict.
43856 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43859 * time/Makefile (routines): Add timespec_get.
43860 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43861 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43862 timespec for ISO C11.
43863 * time/timespec_get.c: New file.
43864 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43865 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43868 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43869 * stdlib/stdlib.h: Declare aligned_alloc.
43870 * Versions.def: Add GLIBC_2.16 for libc.
43871 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43874 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43877 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43881 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43884 * assert/assert.h (static_assert): Define.
43886 * version.h: Update for 2.16 development version.
43889 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43892 * version.h (RELEASE): Bump for 2.15 release.
43893 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43895 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43896 Patch by Marek Polacek <mpolacek@redhat.com>.
43898 * bits/byteswap.h: Protect long long constants with __extension__.
43899 * sysdeps/i386/bits/byteswap.h: Likewise.
43900 * sysdeps/ia64/bits/byteswap.h: Likewise.
43901 * sysdeps/s390/bits/byteswap.h: Likewise.
43902 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43904 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43907 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43908 destination buffer.
43909 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43911 2011-12-23 Marek Polacek <polacek@redhat.com>
43913 * elf/dl-addr.c (determine_info): Add inline keyword.
43914 * elf/tst-auditmod4b.c (check_avx): Likewise.
43915 * elf/tst-auditmod6b.c (check_avx): Likewise.
43916 * elf/tst-auditmod6c.c (check_avx): Likewise.
43917 * elf/tst-auditmod7b.c (check_avx): Likewise.
43919 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43921 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43924 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43927 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43928 processing for last bytes.
43930 2011-08-06 Bruno Haible <bruno@clisp.org>
43933 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43934 U+0385, not to U+1FEE.
43937 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43938 entry for U+00A5 U+0301.
43940 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43943 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43944 buffer for the output is too small.
43946 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43950 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43951 SSE flags if possible.
43953 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43956 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43957 processing for last bytes.
43959 2011-12-22 Joseph Myers <joseph@codesourcery.com>
43961 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43962 (syscall-list-default-options, syscall-list-default-condition)
43963 (syscall-list-includes): Define.
43964 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43965 list of ABIs and options and #if conditions for each ABI. Do not
43966 handle common syscalls between ABIs specially.
43967 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43969 (syscall-list-variants, syscall-list-32bit-options)
43970 (syscall-list-32bit-condition, syscall-list-64bit-options)
43971 (syscall-list-64bit-condition): Define.
43972 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43973 (syscall-list-variants, syscall-list-32bit-options)
43974 (syscall-list-32bit-condition, syscall-list-64bit-options)
43975 (syscall-list-64bit-condition): Define.
43976 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43978 (syscall-list-variants, syscall-list-32bit-options)
43979 (syscall-list-32bit-condition, syscall-list-64bit-options)
43980 (syscall-list-64bit-condition): Define.
43981 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43983 (syscall-list-variants, syscall-list-32bit-options)
43984 (syscall-list-32bit-condition, syscall-list-64bit-options)
43985 (syscall-list-64bit-condition): Define.
43987 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43989 * locale/iso-639.def: Add brx entry.
43992 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43993 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43995 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43996 __feraiseexcept_renamed.
43998 2011-12-21 Ulrich Drepper <drepper@gmail.com>
44001 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44002 EPOLLET with unsigned values.
44003 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44004 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44006 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44007 to large cancellation.
44008 * math/s_cacoshf.c: Likewise.
44009 * math/s_cacoshl.c: Likewise.
44011 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
44015 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44016 * math/s_cacoshf.c: Likewise.
44017 * math/s_cacoshl.c: Likewise.
44019 2011-12-21 Ulrich Drepper <drepper@gmail.com>
44022 * iconv/gconv.h: Define __GCONV_SWAP.
44023 * iconvdata/unicode.c: The swap bit must be stored in __flags.
44024 * iconvdata/utf-16.c: Likewise.
44025 * iconvdata/utf-32.c: Likewise.
44027 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
44030 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44031 numerator after shifting it by one limb.
44033 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
44035 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44036 under [__USE_EXTERN_INLINES].
44038 2011-12-17 Ulrich Drepper <drepper@gmail.com>
44041 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44043 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44045 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44046 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44048 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44049 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44050 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44051 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44052 for strncasecmp/strncasecmp_l compilation.
44053 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44054 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44056 2011-12-08 Marek Polacek <mpolacek@redhat.com>
44059 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44062 2011-12-17 Ulrich Drepper <drepper@gmail.com>
44065 * time/tzfile.c (__tzfile_read): Check values from file header.
44067 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
44069 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44070 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44071 * powerpc/powerpc32/dl-start.S: Likewise.
44072 * powerpc/powerpc32/elf/start.S: Likewise.
44073 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44074 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44075 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44076 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44077 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44078 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44079 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44080 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44081 * powerpc/powerpc32/fpu/s_round.S: Likewise.
44082 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44083 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44084 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44085 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44086 * powerpc/powerpc32/memset.S: Likewise.
44087 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44088 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44089 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44090 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44091 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44092 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44093 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44094 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44095 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44096 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44097 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44098 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44099 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44101 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44103 * math/libm-test.inc: Added more nearbyint tests.
44104 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44105 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44106 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44107 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44109 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
44111 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44114 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44116 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44117 Add wcscpy-ssse3 wcscpy-c.
44118 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44119 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44120 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44121 * sysdeps/x86_64/wcschr.S: New file.
44122 * sysdeps/x86_64/wcsrchr.S: New file.
44123 * string/test-strcmp.c: Remove checking of wcscmp function for
44125 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44126 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44127 wcsrchr-sse2 wcsrchr-c.
44128 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44129 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44130 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44131 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44132 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44133 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44134 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44135 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44136 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44137 * wcsmbc/wcschr.c (WCSCHR): New macro.
44139 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44141 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44142 * wcsmbs/test-wcsrchr.c: New file.
44143 * string/test-strrchr.c: Add wcsrchr support.
44145 * wcsmbs/test-wcscpy.c: New file.
44146 * string/test-strcpy.c: Add wcscpy support.
44149 2011-12-10 Ulrich Drepper <drepper@gmail.com>
44151 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44154 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
44157 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44159 2011-12-04 Ulrich Drepper <drepper@gmail.com>
44161 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44162 Minor optimizations.
44164 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44165 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44166 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44168 2011-12-03 Ulrich Drepper <drepper@gmail.com>
44170 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44171 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44172 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44173 for gcc to avoid warnings.
44174 * inet/Makefile (tests): Add tst-checks.
44175 * inet/tst-checks.c: New file.
44177 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44180 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44183 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44184 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44186 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44188 2011-12-02 Ulrich Drepper <drepper@gmail.com>
44190 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44193 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44195 2011-11-29 Joseph Myers <joseph@codesourcery.com>
44197 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44198 conditional on GCC version.
44199 (__arch_compare_and_exchange_val_8_acq)
44200 (__arch_compare_and_exchange_val_16_acq)
44201 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44202 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44203 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44205 2011-12-02 Joseph Myers <joseph@codesourcery.com>
44207 * sysdeps/sh/backtrace.c: New file.
44209 2011-12-02 Andreas Schwab <schwab@redhat.com>
44211 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
44214 2011-12-01 Andreas Schwab <schwab@redhat.com>
44216 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44217 falling back to utime.
44219 2011-11-30 Andreas Schwab <schwab@redhat.com>
44221 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44222 expectations for float.
44224 2011-11-29 Andreas Schwab <schwab@redhat.com>
44226 * locale/weight.h (findidx): Add parameter len.
44227 * locale/weightwc.h (findidx): Likewise.
44228 * posix/fnmatch_loop.c (FCT): Adjust caller.
44229 * posix/regcomp.c (build_equiv_class): Likewise.
44230 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44231 * posix/regexec.c (check_node_accept_bytes): Likewise.
44232 * string/strcoll_l.c (STRCOLL): Likewise.
44233 * string/strxfrm_l.c (STRXFRM): Likewise.
44235 2011-11-17 Ulrich Drepper <drepper@gmail.com>
44237 * Makefile.in: Remove CVSOPT handling.
44238 * configure.in: Remove use of AC_REVISION.
44239 * iconvdata/Makefile (distribute): No need to filter out CVS.
44240 * scripts/list-sources.sh: Remove CVS, subversion and monotone
44243 2011-11-16 Andreas Schwab <schwab@redhat.com>
44245 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44246 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44247 [USE_AS_STRNCASECMP_L]: Likewise.
44248 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44249 NO_TLS_DIRECT_SEG_REFS.
44250 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44251 Fix argument offsets for non-PIC.
44252 [USE_AS_STRNCASECMP_L]: Likewise.
44253 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44254 NO_TLS_DIRECT_SEG_REFS.
44256 2011-11-15 Ulrich Drepper <drepper@gmail.com>
44258 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44260 * locale/loadlocale.c (_nl_load_locale): Likewise.
44262 2011-11-15 Andreas Schwab <schwab@redhat.com>
44264 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44265 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44266 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44267 (SYSCALL_GETTIME): Set errno on error.
44269 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44270 count references to noai6ai_cached.
44272 2011-11-15 Ulrich Drepper <drepper@gmail.com>
44274 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44276 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44277 FD_CLOEXEC for /proc/self/maps.
44279 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44280 FD_CLOEXEC for /proc/meminfo.
44282 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44285 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
44286 FD_CLOEXEC for given file.
44288 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44290 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44291 FD_CLOEXEC for /etc/hosts.
44292 (_gethtent): Likewise.
44294 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44296 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44297 cancellation and set FD_CLOEXEC for /etc/netgroup.
44299 * nss/nss_files/files-key.c (search): Don't allow cancellation when
44300 reading /etc/publickey.
44302 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44303 allow cancellation when reading /etc/group.
44305 * nss/nss_files/files-alias.c (internal_setent): Don't allow
44307 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
44309 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44310 when using data file.
44312 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44314 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44315 (write_nis_obj): Use "c" and "e" in fopen.
44317 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44319 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44321 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44323 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44325 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44328 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44330 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44332 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44334 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44335 file parsing and set FD_CLOEXEC.
44337 2011-11-14 Ulrich Drepper <drepper@gmail.com>
44339 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44341 2011-11-14 Andreas Schwab <schwab@redhat.com>
44343 * malloc/arena.c (arena_get2): Don't call reused_arena when
44344 _int_new_arena failed.
44346 2011-11-14 Ulrich Drepper <drepper@gmail.com>
44348 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44349 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44350 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44351 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44352 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44353 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44354 to compile strcasecmp and strncasecmp.
44355 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44356 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44358 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44360 2011-11-13 Ulrich Drepper <drepper@gmail.com>
44362 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44363 locale-defines.sym to gen-as-const-headers.
44364 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44365 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44366 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44367 to compile strcasecmp and strncasecmp.
44368 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44369 strcasecmp_l and strncasecmp_l.
44370 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44371 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44372 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44373 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44374 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44375 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44376 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44377 * sysdeps/i386/i686/multiarch/strncase.S: New file.
44378 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44379 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44380 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44382 2011-11-12 Ulrich Drepper <drepper@gmail.com>
44384 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44385 result of SYSDEP_GETTIME_CPU to retval.
44386 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44387 parameter list to macro. Remove trailing semicolon. Adjust users.
44389 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44392 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44394 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44396 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44397 from unused variable.
44399 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44401 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44404 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44407 * sunrpc/rpc_prot.c (rejected): Fix case value.
44409 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44410 unsigned long long int to avoid warnings in shift.
44412 * posix/regex_internal.c (re_string_reconstruct): Actually use result
44414 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44417 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44418 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44419 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44421 * nis/nis_table.c (nis_list): Use variable of correct type for
44422 result of __follow_path call.
44424 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44426 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44427 of math functions ceil, trunc, floor, round, and sqrt, when
44428 avaliable on the platform.
44429 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44431 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44432 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44433 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44435 2011-10-30 Marek Polacek <mpolacek@redhat.com>
44437 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44438 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44440 2011-11-11 Roland McGrath <roland@hack.frob.com>
44442 * include/unistd.h: Fix __readlink return type.
44443 Reported by Chris Metcalf <cmetcalf@tilera.com>.
44445 2011-11-11 Ulrich Drepper <drepper@gmail.com>
44447 * stdlib/ucontext.h: Undo last change for makecontext.
44449 2011-11-11 Andreas Schwab <schwab@redhat.com>
44451 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44453 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44454 * setjmp/setjmp.h: Mark functions as non-leaf.
44455 * setjmp/bits/setjmp2.h: Likewise.
44456 * stdlib/ucontext.h: Likewise.
44458 2011-11-10 Andreas Schwab <schwab@redhat.com>
44460 * malloc/arena.c (_int_new_arena): Don't increment narenas.
44461 (reused_arena): Don't check arena limit.
44462 (arena_get2): Atomically check arena limit.
44464 2011-11-08 Ulrich Drepper <drepper@gmail.com>
44466 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44467 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44469 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44472 2011-11-07 Andreas Schwab <schwab@redhat.com>
44474 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44475 handler when locking.
44477 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44478 Fix size of allocated buffer.
44480 2011-11-04 Andreas Schwab <schwab@redhat.com>
44483 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44484 declarations for long double functions.
44485 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44487 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44489 2011-11-03 Andreas Schwab <schwab@redhat.com>
44491 * nscd/nscd.c (main): Don't start AVC thread until credentials are
44494 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44497 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
44499 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44501 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
44503 * include/alloca.h (stackinfo_alloca_round): Define.
44504 (extend_alloca): Use it.
44505 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44506 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44509 * scripts/check-local-headers.sh: Ignore libaudit.h.
44511 * nscd/Makefile (extra-objs): Make recursively expanded.
44513 2011-11-01 Ulrich Drepper <drepper@gmail.com>
44515 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44516 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44518 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44519 * posix/tst-rfc3484-2.c: Likewise.
44520 * posix/tst-rfc3484-3.c: Likewise.
44522 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44524 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44526 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44527 process_vm_writev from libc using GLIBC_2.15 version.
44529 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44531 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
44533 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44536 2011-10-31 Ulrich Drepper <drepper@gmail.com>
44539 * nss/getent.c (initgroups_keys): Show error message in case no group
44542 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44543 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44544 __bump_nl_timestamp.
44545 * nscd/connections (nscd_init): When host database is served open
44546 netlink socket and request notification about configuration changes.
44547 (main_loop_poll): Track netlink file descriptor and bump timestamp
44548 in case data becomes available.
44549 (main_loop_epoll): Likewise.
44550 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44551 (database_pers_head): Add extra_data fileds.
44552 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44553 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44554 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44556 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44557 in6ai data, call __free_in6ai.
44558 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44559 Add -DHAVE_NETLINK.
44560 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
44561 interface information. Reuse previous data if netlink timestamp
44563 (__bump_nl_timestamp): New function.
44564 (__free_in6ai): New function.
44566 2011-10-30 Ulrich Drepper <drepper@gmail.com>
44568 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44569 close_not_cancel_no_status here.
44570 (__check_pf): Reorganize code a bit to not call close twice if OOM.
44572 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44575 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44578 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44579 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44580 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44582 2011-07-03 Andreas Jaeger <aj@suse.de>
44585 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44586 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44587 * math/libm-test.inc (sin_test): Add test case.
44589 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44592 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44593 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44595 * elf/chroot_canon.c (chroot_canon): Cleanups.
44597 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44600 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44601 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44603 * string/test-strchr.c: Make usable for strchrnul testing.
44604 * string/test-strchrnul.c: New file.
44605 * string/Makefile (strop-tests): Add strchrnul.
44607 * po/it.po: Update from translation team.
44608 * po/es.po: Likewise.
44610 2011-10-28 Ulrich Drepper <drepper@gmail.com>
44612 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44613 the three constants needed as parameters. Drop the others.
44614 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44615 __m128i_strloadu_tolower.
44616 Create and initialize variable zero and use it in all the places
44617 where _mm_setzero_si128 was used.
44619 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44620 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44621 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44622 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44624 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44625 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44626 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44627 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44628 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44629 __mpranred, __mptan.
44630 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44631 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44632 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44633 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44634 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44635 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44636 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44637 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44638 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44640 2011-10-28 Andreas Schwab <schwab@redhat.com>
44642 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44643 redefine if SHARED.
44644 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44646 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44647 wide char related routines to wcsmbs subdir.
44649 2011-10-27 Andreas Schwab <schwab@redhat.com>
44652 * misc/sys/cdefs.h (__THROWNL): Define.
44653 * posix/unistd.h: Use __THREADNL instead of __THREAD
44654 for memory synchronization functions.
44656 2011-10-26 Roland McGrath <roland@hack.frob.com>
44659 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44661 * manual/stdio.texi (Obstack Streams): Node removed.
44663 2011-10-26 Andreas Schwab <schwab@redhat.com>
44665 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44666 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44667 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44669 * math/math_private.h (math_force_eval): Allow non-addressable
44671 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44673 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44675 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44676 file is not needed.
44678 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44679 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44680 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44681 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44682 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44683 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44684 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44685 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44687 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44688 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44689 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44690 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44691 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44692 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44693 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44694 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44695 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44696 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44697 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44698 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44699 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44700 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44701 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44702 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44703 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44704 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44705 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44707 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44708 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
44710 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44711 place. Use VEX encoding when compiling for AVX.
44713 2011-10-25 Andreas Schwab <schwab@redhat.com>
44715 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44716 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44718 * string/test-strchr.c (do_test): Don't generate NUL bytes.
44720 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44722 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44723 useless if() expression.
44724 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44725 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44726 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44727 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44728 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44729 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44730 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44731 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44732 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44733 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44734 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44735 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44736 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44737 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44738 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44739 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44740 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44741 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44742 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44744 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44746 2011-10-25 Andreas Schwab <schwab@redhat.com>
44748 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44750 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44752 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44754 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44755 .text section. Avoid duplicate constants.
44756 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44757 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44758 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44759 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44760 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44761 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44762 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44763 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44764 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44765 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44766 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44767 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44768 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44769 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44770 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44771 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44772 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44773 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44774 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44775 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44776 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44777 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44778 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44779 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44780 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44781 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44782 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44783 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44784 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44785 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44786 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44787 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44788 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44789 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44790 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44791 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44792 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44793 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44794 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44795 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44796 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44797 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44798 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44799 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44800 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44802 2011-10-24 Ulrich Drepper <drepper@gmail.com>
44804 * sysdeps/x86_64/dla.h: Move to ...
44805 * sysdeps/x86_64/fpu/dla.h: ...here.
44806 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44807 situations. Use __builtin_fma only for gcc 4.6 and up.
44809 * config.make.in: Add have-mfma4 entry.
44810 * configure.in: Substitute libc_cv_cc_fma4.
44811 * math/Makefile (dbl-only-routines): Add sincostab.
44812 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44813 Use __sincostab not sincos.
44814 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44816 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44817 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44818 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44819 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44821 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44822 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44823 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44824 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44826 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44827 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44829 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44830 define aliases when function name is a macro.
44831 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44832 sysdeps/ieee754/dbl-64/sincos.tbl.
44833 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44834 fma4-enabled routines.
44835 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44836 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44837 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44838 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44839 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44840 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44841 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44842 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44843 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44844 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44845 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44846 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44847 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44848 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44849 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44850 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44851 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44852 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44853 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44854 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44855 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44856 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44857 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44858 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44859 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44860 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44861 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44862 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44863 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44864 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44866 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44868 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44869 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44870 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44871 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44872 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44873 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44874 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44875 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44877 2011-10-24 Andreas Schwab <schwab@redhat.com>
44879 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44881 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44883 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44885 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44887 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44889 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44890 Remove unused variable magic_bits.
44891 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44893 * string/strnlen.c: Define and use STRNLEN macro.
44894 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44895 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44896 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44897 * wcsmbs/wcslen.c: Define and use WCSLEN.
44898 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44899 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44900 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44901 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44902 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44903 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44904 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44906 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44908 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44909 strnlen-sse2-no-bsf.
44910 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44911 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44912 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44913 Add strnlen support.
44914 (USE_AS_STRNLEN): New macro.
44915 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44916 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44917 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44918 * sysdeps/x86_64/wcslen.S: New file.
44920 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44922 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44923 XMM-moves are used for copying on small sizes.
44925 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44927 * wcsmbs/Makefile (strop-tests): Add wcschr.
44928 * wcsmbs/test-wcschr.c: New file.
44929 * string/test-strchr.c: Update.
44930 Add wcschr support.
44933 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44935 * wcsmbs/Makefile (strop-tests): Add wcslen.
44936 * wcsmbs/test-wcslen.c: New file.
44937 * string/test-strlen.c: Update.
44938 Add wcslen support.
44941 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44943 * po/it.po: Update from translation team.
44945 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44947 * sysdeps/x86_64/wcscmp.S: Update.
44948 Fix wrong comparison semantics.
44949 wcscmp shall use signed comparison not unsigned.
44950 Don't use substraction to avoid overflow bug.
44951 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44952 * wcsmbc/wcscmp.c: Likewise.
44953 * string/test-strcmp.c: Likewise.
44954 Add new tests to check cases with negative values.
44956 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44958 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44959 * sysdeps/x86_64/dla.h: ...here. New file.
44960 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44961 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44962 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44963 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44964 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44965 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44966 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44967 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44968 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44970 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44972 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44973 __ynl_finite aliases.
44975 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44977 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44979 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44981 [DLA_FMA] (EMULV): Use DLA_FMA.
44982 [DLA_FMA] (MUL12): Use EMULV.
44983 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44984 that are not needed.
44985 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44986 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44987 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44988 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44989 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44990 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44991 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44993 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44995 * math/s_nan.c: Undef __nan.
44996 * math/s_nanf.c: Undef __nanf.
44997 * math/s_nanl.c: Undef __nanl.
44998 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45001 2011-10-22 Ulrich Drepper <drepper@gmail.com>
45003 * math/s_catan.c: Add branch predictions.
45004 * math/s_catanf.c: Likewise.
45005 * math/s_catanh.c: Likewise.
45006 * math/s_catanhf.c: Likewise.
45007 * math/s_catanhl.c: Likewise.
45008 * math/s_catanl.c: Likewise.
45009 * math/s_cexp.c: Likewise.
45010 * math/s_cexpf.c: Likewise.
45011 * math/s_cexpl.c: Likewise.
45012 * math/s_clog.c: Likewise.
45013 * math/s_clog10.c: Likewise.
45014 * math/s_clog10f.c: Likewise.
45015 * math/s_clog10l.c: Likewise.
45016 * math/s_clogf.c: Likewise.
45017 * math/s_clogl.c: Likewise.
45018 * math/s_csqrt.c: Likewise.
45019 * math/s_csqrtf.c: Likewise.
45020 * math/s_csqrtl.c: Likewise.
45021 * math/s_ctanf.c: Likewise.
45022 * math/s_ctanh.c: Likewise.
45023 * math/s_ctanhf.c: Likewise.
45024 * math/s_ctanhl.c: Likewise.
45025 * math/s_ctanl.c: Likewise.
45027 * math/math_private.h: Define __nan, __nanf, __nanl.
45028 * math/s_cacosh.c: Include <math_private.h>.
45029 * math/s_cacoshl.c: Likewise.
45030 * math/s_casinh.c: Likewise.
45031 * math/s_casinhf.c: Likewise.
45032 * math/s_casinhl.c: Likewise.
45033 * math/s_ccos.c: Rely entire on ccosh.
45034 * math/s_ccosf.c: Rely entire on ccoshf.
45035 * math/s_ccosl.c: Rely entirely on ccoshl.
45036 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
45037 Remove tests for FE_INVALID.
45038 * math/s_ccoshf.c: Likewise.
45039 * math/s_ccoshl.c: Likewise.
45040 * math/s_csin.c: Likewise.
45041 * math/s_csinf.c: Likewise.
45042 * math/s_csinh.c Likewise.
45043 * math/s_csinhf.c: Likewise.
45044 * math/s_csinhl.c: Likewise.
45045 * math/s_csinl.c: Likewise.
45046 * math/s_ctan.c: Likewise.
45047 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45048 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45049 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45051 2011-10-21 Ulrich Drepper <drepper@gmail.com>
45053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45054 compilation problems.
45056 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45059 2011-10-20 Ulrich Drepper <drepper@gmail.com>
45061 * sysdeps/i386/configure.in: Test for -mfma4 option.
45062 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45063 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45064 COMMON_CPUID_INDEX_80000001.
45065 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45066 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45067 use it if FMA3 is not supported.
45068 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45070 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45071 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45073 2011-10-20 Andreas Schwab <schwab@redhat.com>
45076 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45077 it would create a cycle with a link time dependency.
45079 2011-10-19 Ulrich Drepper <drepper@gmail.com>
45081 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45083 * string/Makefile (strop-tests): Add rawmemchr.
45084 * string/test-rawmemchr.c: New file.
45086 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45087 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
45088 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
45089 when compiling str{,n}casecmp and when AVX is available. Hook up
45090 new optimized code in initializers.
45092 2011-10-19 Andreas Schwab <schwab@redhat.com>
45094 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45095 __feraiseexcept instead of feraiseexcept.
45097 2011-10-18 Ulrich Drepper <drepper@gmail.com>
45099 * math/math_private.h: Define defaults for libc_fetestexcept and
45101 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45102 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45103 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45104 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45105 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45106 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45107 libc_fetestexcept and libc_feupdateenv.
45109 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45110 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45111 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45112 * sysdeps/x86_64/fpu/math_private.h: Define special version of
45113 libc_feholdexcept_setround.
45115 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45116 Add s_nearbyint-c and s_nearbyintf-c.
45117 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45118 nearbyintf inlines.
45119 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45120 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45121 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45122 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45124 * math/math_private.h: Define defaults for libc_fegetround,
45125 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45126 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45127 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45128 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45129 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45130 standard functions.
45131 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45132 Remove comments and hacks for old compiler versions.
45133 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45134 libc_fegetround, libc_fesetround, libc_feholdexcept, and
45135 libc_feholdexceptl.
45137 2011-10-18 Andreas Schwab <schwab@redhat.com>
45139 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45140 (__feraiseexcept_renamed): Add __NTH.
45141 (feraiseexcept): Add __NTH. Rename local variables to fix
45142 namespace violations.
45144 2011-10-17 Ulrich Drepper <drepper@gmail.com>
45146 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45148 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45150 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45151 recently added interfaces.
45152 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45154 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45155 about macro parameter expansion.
45157 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45158 __NO_MATH_INLINES is defined. Cleanups.
45160 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45161 and __floorf is target has SSE4.1.
45162 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45163 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45164 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45165 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45167 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45169 (floorf): Likewise.
45171 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45173 2011-10-17 Andreas Schwab <schwab@redhat.com>
45175 * misc/sys/cdefs.h: Fix last change.
45177 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45180 2011-10-16 Ulrich Drepper <drepper@gmail.com>
45182 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45184 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45185 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45186 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45187 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45188 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45189 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45190 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45191 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45192 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45193 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45194 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45195 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45196 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45197 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45198 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45199 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45200 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45201 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45202 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45203 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45204 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45205 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45207 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45208 ceil, ceilf, floor, floorf.
45210 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45211 Perform IRELATIVE relocations last.
45213 * elf/do-rel.h: Add another parameter nrelative, replacing the
45214 local variable with the same name. Change name of the function
45215 to end in Rel or Rela (uppercase).
45216 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45217 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
45218 elf_dynamic_do_##reloc function.
45220 2011-10-15 Ulrich Drepper <drepper@gmail.com>
45222 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45223 is sufficient, at least on modern CPUs.
45225 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45227 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45228 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45230 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45232 * math/bits/math-finite.h: Add entries for exp.
45233 * math/e_expl.c: Add __*_finite alias.
45234 * sysdeps/i386/fpu/e_exp.S: Likewise.
45235 * sysdeps/i386/fpu/e_expf.S: Likewise.
45236 * sysdeps/i386/fpu/e_expl.c: Likewise.
45237 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45238 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45239 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45240 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45241 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45242 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45243 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45245 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45246 is sufficient, at least on modern CPUs.
45248 * ctype/ctype-info.c (__ctype_init): Define.
45249 * include/ctype.h (__ctype_init): Declare.
45250 (__ctype_b_loc): The variable is always initialized.
45251 (__ctype_toupper_loc): Likewise.
45252 (__ctype_tolower_loc): Likewise.
45253 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45254 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45256 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
45258 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45260 * configure.in: Also look in $cxxmachine/include for C++ system
45263 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45265 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45266 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45267 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45268 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
45269 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45270 (USE_AS_WMEMCMP): New macro.
45272 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45273 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45274 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45275 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45276 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45277 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45278 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45279 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45280 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45281 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45282 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45283 (USE_AS_WMEMCMP): New macro.
45284 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45285 * sysdeps/string/test-memcmp.c: Update.
45286 Fix simple_wmemcmp.
45288 * wcsmbs/wmemcmp.c: Update.
45289 (WMEMCMP): New macro.
45292 2011-10-12 Andreas Jaeger <aj@suse.de>
45295 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45297 2011-10-15 Ulrich Drepper <drepper@gmail.com>
45299 * libio/iofwide.c (do_length): Avoid warning.
45301 * ctype/ctype.h (__isctype_f): Add missing __THROW.
45303 2011-10-14 Ulrich Drepper <drepper@gmail.com>
45305 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45307 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45308 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45309 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45310 * sysdeps/i386/i686/fpu/e_log.S: New file.
45311 * sysdeps/i386/i686/fpu/e_logf.S: New file.
45312 * sysdeps/i386/i686/fpu/e_logl.S: New file.
45314 * ctype/ctype.h: Add support for inlined isXXX functions when
45315 compiling C++ code.
45317 2011-10-14 Andreas Schwab <schwab@redhat.com>
45319 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45321 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45323 2011-10-13 Roland McGrath <roland@hack.frob.com>
45326 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45328 2011-10-13 Andreas Schwab <schwab@redhat.com>
45330 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45331 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45334 * sysdeps/x86_64/memrchr.S: Check for zero size.
45336 * string/stratcliff.c: Add memrchr tests.
45338 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45340 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45341 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45342 rawmemchr-sse2 rawmemchr-sse2-bsf.
45343 * sysdeps/i386/i686/multiarch/memchr.S: New file.
45344 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45345 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45346 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45347 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45348 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45349 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45350 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45351 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45352 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45353 * string/memrchr.c (MEMRCHR): New macro.
45355 2011-10-12 Ulrich Drepper <drepper@gmail.com>
45357 Add integration with gcc's -ffinite-math-only and optimize wrapper
45359 * Versions.def: Define GLIBC_2.15 version for libm.
45360 * math/Makefile (headers): Add bits/math-finite.h.
45361 * math/bits/math-finite.h: New file.
45362 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45363 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45364 * math/e_acoshl.c: Add __*_finite alias.
45365 * math/e_acosl.c: Likewise.
45366 * math/e_asinl.c: Likewise.
45367 * math/e_atan2l.c: Likewise.
45368 * math/e_atanhl.c: Likewise.
45369 * math/e_coshl.c: Likewise.
45370 * math/e_exp10.c: Likewise.
45371 * math/e_exp10f.c: Likewise.
45372 * math/e_exp10l.c: Likewise.
45373 * math/e_exp2l.c: Likewise.
45374 * math/e_fmodl.c: Likewise.
45375 * math/e_gammal_r.c: Likewise.
45376 * math/e_hypotl.c: Likewise.
45377 * math/e_j0l.c: Likewise.
45378 * math/e_j1l.c: Likewise.
45379 * math/e_jnl.c: Likewise.
45380 * math/e_lgammal_r.c: Likewise.
45381 * math/e_log10l.c: Likewise.
45382 * math/e_log2l.c: Likewise.
45383 * math/e_logl.c: Likewise.
45384 * math/e_powl.c: Likewise.
45385 * math/e_sinhl.c: Likewise.
45386 * math/e_sqrtl.c: Likewise.
45387 * math/e_scalb.c: Completely rewritten and optimized.
45388 * math/e_scalbf.c: Likewise.
45389 * math/e_scalbl.c: Likewise.
45390 * math/w_acos.c: Likewise.
45391 * math/w_acosf.c: Likewise.
45392 * math/w_acosl.c: Likewise.
45393 * math/w_acosh.c: Likewise.
45394 * math/w_acoshf.c: Likewise.
45395 * math/w_acoshl.c: Likewise.
45396 * math/w_asin.c: Likewise.
45397 * math/w_asinf.c: Likewise.
45398 * math/w_asinl.c: Likewise.
45399 * math/w_atan2.c: Likewise.
45400 * math/w_atan2f.c: Likewise.
45401 * math/w_atan2l.c: Likewise.
45402 * math/w_atanh.c: Likewise.
45403 * math/w_atanhf.c: Likewise.
45404 * math/w_atanhl.c: Likewise.
45405 * math/w_exp10.c: Likewise.
45406 * math/w_exp10f.c: Likewise.
45407 * math/w_exp10l.c: Likewise.
45408 * math/w_fmod.c: Likewise.
45409 * math/w_fmodf.c: Likewise.
45410 * math/w_fmodl.c: Likewise.
45411 * math/w_j0.c: Likewise.
45412 * math/w_j0f.c: Likewise.
45413 * math/w_j0l.c: Likewise.
45414 * math/w_j1.c: Likewise.
45415 * math/w_j1f.c: Likewise.
45416 * math/w_j1l.c: Likewise.
45417 * math/w_jn.c: Likewise.
45418 * math/w_jnf.c: Likewise.
45419 * math/w_log.c: Likewise.
45420 * math/w_logf.c: Likewise.
45421 * math/w_logl.c: Likewise.
45422 * math/w_log10.c: Likewise.
45423 * math/w_log10f.c: Likewise.
45424 * math/w_log10l.c: Likewise.
45425 * math/w_log2.c: Likewise.
45426 * math/w_log2f.c: Likewise.
45427 * math/w_log2l.c: Likewise.
45428 * math/w_pow.c: Likewise.
45429 * math/w_powf.c: Likewise.
45430 * math/w_powl.c: Likewise.
45431 * math/w_remainder.c: Likewise.
45432 * math/w_remainderf.c: Likewise.
45433 * math/w_remainderl.c: Likewise.
45434 * math/w_scalb.c: Likewise.
45435 * math/w_scalbf.c: Likewise.
45436 * math/w_scalbl.c: Likewise.
45437 * math/w_sqrt.c: Likewise.
45438 * math/w_sqrtf.c: Likewise.
45439 * math/w_sqrtl.c: Likewise.
45440 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45441 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
45443 * math/math_private.h: Declare __kernel_standard_f.
45444 * math/w_cosh.c: Remove cruft and optimize a bit.
45445 * math/w_coshf.c: Likewise.
45446 * math/w_coshl.c: Likewise.
45447 * math/w_exp2.c: Likewise.
45448 * math/w_exp2f.c: Likewise.
45449 * math/w_exp2l.c: Likewise.
45450 * math/w_hypot.c: Likewise.
45451 * math/w_hypotf.c: Likewise.
45452 * math/w_hypotl.c: Likewise.
45453 * math/w_lgamma.c: Likewise.
45454 * math/w_lgamma_r.c: Likewise.
45455 * math/w_lgammaf.c: Likewise.
45456 * math/w_lgammaf_r.c: Likewise.
45457 * math/w_lgammal.c: Likewise.
45458 * math/w_lgammal_r.c: Likewise.
45459 * math/w_sinh.c: Likewise.
45460 * math/w_sinhf.c: Likewise.
45461 * math/w_sinhl.c: Likewise.
45462 * math/w_tgamma.c: Likewise.
45463 * math/w_tgammaf.c: Likewise.
45464 * math/w_tgammal.c: Likewise.
45465 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45466 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45467 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45468 Minor optimizations. Pretty printing. Remove cruft.
45469 * sysdeps/i386/fpu/e_acosf.S: Likewise.
45470 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45471 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45472 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45473 * sysdeps/i386/fpu/e_acosl.c: Likewise.
45474 * sysdeps/i386/fpu/e_asin.S: Likewise.
45475 * sysdeps/i386/fpu/e_asinf.S: Likewise.
45476 * sysdeps/i386/fpu/e_atan2.S: Likewise.
45477 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45478 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45479 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45480 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45481 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45482 * sysdeps/i386/fpu/e_exp10.S: Likewise.
45483 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45484 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45485 * sysdeps/i386/fpu/e_exp2.S: Likewise.
45486 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45487 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45488 * sysdeps/i386/fpu/e_fmod.S: Likewise.
45489 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45490 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45491 * sysdeps/i386/fpu/e_hypot.S: Likewise.
45492 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45493 * sysdeps/i386/fpu/e_log.S: Likewise.
45494 * sysdeps/i386/fpu/e_log10.S: Likewise.
45495 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45496 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45497 * sysdeps/i386/fpu/e_log2.S: Likewise.
45498 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45499 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45500 * sysdeps/i386/fpu/e_logf.S: Likewise.
45501 * sysdeps/i386/fpu/e_logl.S: Likewise.
45502 * sysdeps/i386/fpu/e_pow.S: Likewise.
45503 * sysdeps/i386/fpu/e_powf.S: Likewise.
45504 * sysdeps/i386/fpu/e_powl.S: Likewise.
45505 * sysdeps/i386/fpu/e_remainder.S: Likewise.
45506 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45507 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45508 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45509 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45510 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45511 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45512 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45513 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45514 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45515 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45516 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45517 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45518 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45519 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45520 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45521 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45522 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45523 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45524 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45525 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45526 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45527 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45528 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45529 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45530 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45531 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45532 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45533 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45534 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45535 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45536 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45537 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45538 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45539 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45540 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45541 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45542 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45543 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45544 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45545 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45546 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45547 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45548 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45549 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45550 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45551 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45552 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45553 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45554 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45555 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45556 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45557 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45558 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45559 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45560 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45561 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45562 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45563 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45564 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45565 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45566 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45567 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45568 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45569 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45570 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45571 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45572 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45573 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45574 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45575 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45576 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45577 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45578 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45579 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45580 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45581 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45582 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45583 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45584 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45585 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45586 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45587 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45588 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45589 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45590 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45591 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45592 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45593 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45594 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45595 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45596 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45597 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45598 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45599 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45600 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45601 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45602 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45603 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45604 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45605 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45606 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45607 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45608 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45609 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45610 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45611 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45612 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45613 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45614 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45615 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45616 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45617 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45618 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45619 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45620 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45621 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45622 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45623 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45624 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
45625 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45626 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45627 (__isnanf): Likewise.
45628 (__isinf_ns): Likewise.
45629 (__isinf_nsf): Likewise.
45630 (__finite): Likewise.
45631 (__finitef): Likewise.
45632 (__ieee754_sqrt): Define as macro.
45633 (__ieee754_sqrtf): Define as macro.
45634 (__ieee754_sqrtl): Define as macro.
45635 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45637 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45638 __FINITE_MATH_ONLY__ consistent.
45639 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45641 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
45643 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45646 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45648 2011-10-09 Ulrich Drepper <drepper@gmail.com>
45650 * po/ja.po: Update from translation team.
45652 2011-10-08 Roland McGrath <roland@hack.frob.com>
45654 * locale/programs/locarchive.c (prepare_address_space): New function.
45655 (create_archive, enlarge_archive, open_archive): Use it.
45657 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45658 inside [SHARED], where it is used.
45660 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45662 * nss/getent.c (netgroup_keys): Remove unused variable.
45663 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45665 2011-10-08 Ulrich Drepper <drepper@gmail.com>
45667 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45668 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45669 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45670 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45671 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45672 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45673 * math/Makefile (libm-calls): Add s_isinf_ns.
45674 * math/divtc3.c: Use __isinf_nsl instead of isinf.
45675 * math/multc3.c: Likewise.
45676 * math/s_casin.c: Likewise.
45677 * math/s_casinf.c: Likewise.
45678 * math/s_casinl.c: Likewise.
45679 * math/s_ccos.c: Likewise.
45680 * math/s_ccosf.c: Likewise.
45681 * math/s_ccosl.c: Likewise.
45682 * math/s_ctan.c: Likewise.
45683 * math/s_ctanf.c: Likewise.
45684 * math/s_ctanh.c: Likewise.
45685 * math/s_ctanhf.c: Likewise.
45686 * math/s_ctanhl.c: Likewise.
45687 * math/s_ctanl.c: Likewise.
45688 * math/w_fmod.c: Likewise.
45689 * math/w_fmodf.c: Likewise.
45690 * math/w_fmodl.c: Likewise.
45691 * math/w_remainder.c: Likewise.
45692 * math/w_remainderf.c: Likewise.
45693 * math/w_remainderl.c: Likewise.
45694 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45695 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45696 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45697 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45698 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45699 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45700 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45701 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45703 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45705 * stdio-common/printf_fphex.c: Likewise.
45706 * stdio-common/printf_size.c: Likewise.
45708 * math/e_exp10.c: Include math_private.h using <...> not "...".
45709 * math/e_exp10f.c: Likewise.
45710 * math/e_exp10l.c: Likewise.
45711 * math/e_exp2l.c: Likewise.
45712 * math/e_j0l.c: Likewise.
45713 * math/e_j1l.c: Likewise.
45714 * math/e_jnl.c: Likewise.
45715 * math/e_lgammal_r.c: Likewise.
45716 * math/e_rem_pio2l.c: Likewise.
45717 * math/e_scalb.c: Likewise.
45718 * math/e_scalbf.c: Likewise.
45719 * math/e_scalbl.c: Likewise.
45720 * math/k_cosl.c: Likewise.
45721 * math/k_sinl.c: Likewise.
45722 * math/k_tanl.c: Likewise.
45723 * math/s_cacoshf.c: Likewise.
45724 * math/s_catan.c: Likewise.
45725 * math/s_catanf.c: Likewise.
45726 * math/s_catanh.c: Likewise.
45727 * math/s_catanhf.c: Likewise.
45728 * math/s_catanhl.c: Likewise.
45729 * math/s_catanl.c: Likewise.
45730 * math/s_ccosh.c: Likewise.
45731 * math/s_ccoshf.c: Likewise.
45732 * math/s_ccoshl.c: Likewise.
45733 * math/s_cexp.c: Likewise.
45734 * math/s_cexpf.c: Likewise.
45735 * math/s_cexpl.c: Likewise.
45736 * math/s_clog.c: Likewise.
45737 * math/s_clog10.c: Likewise.
45738 * math/s_clog10f.c: Likewise.
45739 * math/s_clog10l.c: Likewise.
45740 * math/s_clogf.c: Likewise.
45741 * math/s_clogl.c: Likewise.
45742 * math/s_csin.c: Likewise.
45743 * math/s_csinf.c: Likewise.
45744 * math/s_csinh.c: Likewise.
45745 * math/s_csinhf.c: Likewise.
45746 * math/s_csinhl.c: Likewise.
45747 * math/s_csinl.c: Likewise.
45748 * math/s_csqrt.c: Likewise.
45749 * math/s_csqrtf.c: Likewise.
45750 * math/s_csqrtl.c: Likewise.
45751 * math/s_ctan.c: Likewise.
45752 * math/s_ctanf.c: Likewise.
45753 * math/s_ctanh.c: Likewise.
45754 * math/s_ctanhf.c: Likewise.
45755 * math/s_ctanhl.c: Likewise.
45756 * math/s_ctanl.c: Likewise.
45757 * math/s_ldexp.c: Likewise.
45758 * math/s_ldexpf.c: Likewise.
45759 * math/s_ldexpl.c: Likewise.
45760 * math/s_significand.c: Likewise.
45761 * math/s_significandf.c: Likewise.
45762 * math/s_significandl.c: Likewise.
45763 * math/w_acos.c: Likewise.
45764 * math/w_acosf.c: Likewise.
45765 * math/w_acosh.c: Likewise.
45766 * math/w_acoshf.c: Likewise.
45767 * math/w_acoshl.c: Likewise.
45768 * math/w_acosl.c: Likewise.
45769 * math/w_asin.c: Likewise.
45770 * math/w_asinf.c: Likewise.
45771 * math/w_asinl.c: Likewise.
45772 * math/w_atan2.c: Likewise.
45773 * math/w_atan2f.c: Likewise.
45774 * math/w_atan2l.c: Likewise.
45775 * math/w_atanh.c: Likewise.
45776 * math/w_atanhf.c: Likewise.
45777 * math/w_atanhl.c: Likewise.
45778 * math/w_cosh.c: Likewise.
45779 * math/w_coshf.c: Likewise.
45780 * math/w_coshl.c: Likewise.
45781 * math/w_dremf.c: Likewise.
45782 * math/w_exp10.c: Likewise.
45783 * math/w_exp10f.c: Likewise.
45784 * math/w_exp10l.c: Likewise.
45785 * math/w_exp2.c: Likewise.
45786 * math/w_exp2f.c: Likewise.
45787 * math/w_fmod.c: Likewise.
45788 * math/w_fmodf.c: Likewise.
45789 * math/w_fmodl.c: Likewise.
45790 * math/w_hypot.c: Likewise.
45791 * math/w_hypotf.c: Likewise.
45792 * math/w_hypotl.c: Likewise.
45793 * math/w_j0.c: Likewise.
45794 * math/w_j0f.c: Likewise.
45795 * math/w_j0l.c: Likewise.
45796 * math/w_j1.c: Likewise.
45797 * math/w_j1f.c: Likewise.
45798 * math/w_j1l.c: Likewise.
45799 * math/w_jn.c: Likewise.
45800 * math/w_jnf.c: Likewise.
45801 * math/w_jnl.c: Likewise.
45802 * math/w_lgamma.c: Likewise.
45803 * math/w_lgamma_r.c: Likewise.
45804 * math/w_lgammaf.c: Likewise.
45805 * math/w_lgammaf_r.c: Likewise.
45806 * math/w_lgammal.c: Likewise.
45807 * math/w_lgammal_r.c: Likewise.
45808 * math/w_log.c: Likewise.
45809 * math/w_log10.c: Likewise.
45810 * math/w_log10f.c: Likewise.
45811 * math/w_log10l.c: Likewise.
45812 * math/w_log2.c: Likewise.
45813 * math/w_log2f.c: Likewise.
45814 * math/w_log2l.c: Likewise.
45815 * math/w_logf.c: Likewise.
45816 * math/w_logl.c: Likewise.
45817 * math/w_pow.c: Likewise.
45818 * math/w_powf.c: Likewise.
45819 * math/w_powl.c: Likewise.
45820 * math/w_remainder.c: Likewise.
45821 * math/w_remainderf.c: Likewise.
45822 * math/w_remainderl.c: Likewise.
45823 * math/w_scalb.c: Likewise.
45824 * math/w_scalbf.c: Likewise.
45825 * math/w_scalbl.c: Likewise.
45826 * math/w_sinh.c: Likewise.
45827 * math/w_sinhf.c: Likewise.
45828 * math/w_sinhl.c: Likewise.
45829 * math/w_sqrt.c: Likewise.
45830 * math/w_sqrtf.c: Likewise.
45831 * math/w_sqrtl.c: Likewise.
45832 * math/w_tgamma.c: Likewise.
45833 * math/w_tgammaf.c: Likewise.
45834 * math/w_tgammal.c: Likewise.
45836 * po/ja.po: Update from translation team.
45838 2011-09-29 Andreas Jaeger <aj@suse.de>
45841 * sunrpc/netname.c (netname2host): Fix logic.
45845 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45847 * math/w_remainder.c (__remainder): Likewise.
45848 * math/w_remainderf.c (__remainderf): Likewise.
45849 * math/libm-test.inc (remainder_test): Add test cases.
45851 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45853 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45856 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45858 * string/test-memcmp.c: Avoid unncessary #defines.
45859 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45861 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45863 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45864 Use new sse2 version for core i3 - i7 as it's faster
45865 than sse42 version.
45866 (bit_Prefer_PMINUB_for_stringop): New.
45867 * sysdeps/x86_64/rawmemchr.S: Update.
45868 Replace with faster SSE2 version.
45869 * sysdeps/x86_64/memrchr.S: New file.
45870 * sysdeps/x86_64/memchr.S: Update.
45871 Replace with faster SSE2 version.
45873 2011-09-12 Marek Polacek <mpolacek@redhat.com>
45875 * elf/dl-load.c (lose): Add cast to avoid warning.
45877 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45879 * po/ca.po: Update from translation team.
45881 * inet/getnetgrent_r.c: Hook up nscd.
45882 * nscd/Makefile (routines): Add nscd_netgroup.
45883 (nscd-modules): Add netgroupcache.
45884 (CFLAGS-netgroupcache.c): Define.
45885 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45886 (cache_search): Add const to second parameter.
45887 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45889 (dbs): Add netgrdb entry.
45890 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45891 (verify_persistent_db): Handle netgrdb.
45892 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45893 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45895 (netgroup_response_header): Define.
45896 (innetgroup_response_header): Define.
45897 (datahead): Add netgroup_response_header and innetgroup_response_header
45899 * nscd/nscd.conf: Add entries for netgroup cache.
45900 * nscd/nscd.h (dbtype): Add netgrdb.
45901 (_PATH_NSCD_NETGROUP_DB): Define.
45902 (netgroup_iov_disabled): Declare.
45903 (xmalloc, xcalloc, xrealloc): Move declarations here.
45904 (cache_search): Adjust prototype.
45905 Add netgroup-related prototypes.
45906 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45907 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45908 (__nscd_innetgr): Declare.
45909 * nscd/selinux.c (perms): Use access_vector_t as element type and
45910 add netgroup-related initializers.
45911 * nscd/netgroupcache.c: New file.
45912 * nscd/nscd_netgroup.c: New file.
45913 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45914 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45915 For four parameters use innetgr.
45916 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45917 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45918 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45919 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45921 * nscd/connections.c (register_traced_file): Don't register file
45922 for disabled databases.
45924 2011-10-06 Ulrich Drepper <drepper@gmail.com>
45926 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45928 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45929 from tree and freeing node.
45931 2011-09-25 Jiri Olsa <jolsa@redhat.com>
45933 * nss/nsswitch.c (__nss_database_lookup): Handle
45934 nss_parse_service_list out of memory case.
45936 2011-09-15 Jiri Olsa <jolsa@redhat.com>
45938 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45939 out of memory case.
45941 2011-10-04 Andreas Schwab <schwab@redhat.com>
45943 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45944 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45946 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45947 elf_machine_rela, elf_machine_lazy_rel.
45948 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45949 (ELF_DYNAMIC_DO_REL): Likewise.
45950 (ELF_DYNAMIC_DO_RELA): Likewise.
45951 (ELF_DYNAMIC_RELOCATE): Likewise.
45952 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45953 to ELF_DYNAMIC_DO_REL.
45954 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45955 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45956 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45958 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45959 skip_ifunc, don't call ifunc function if non-zero.
45960 (elf_machine_rela): Likewise.
45961 (elf_machine_lazy_rel): Likewise.
45962 (elf_machine_lazy_rela): Likewise.
45963 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45964 (elf_machine_lazy_rel): Likewise.
45965 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45967 (elf_machine_lazy_rel): Likewise.
45968 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45970 (elf_machine_lazy_rel): Likewise.
45971 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45972 (elf_machine_lazy_rel): Likewise.
45973 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45974 (elf_machine_lazy_rel): Likewise.
45975 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45976 (elf_machine_lazy_rel): Likewise.
45977 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45978 (elf_machine_lazy_rel): Likewise.
45979 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45980 (elf_machine_lazy_rel): Likewise.
45981 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45982 (elf_machine_lazy_rel): Likewise.
45984 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45986 * nss/nss_files/files-init.c (_nss_files_init): Use static
45987 initialization for all the *_traced_file variables.
45989 2011-09-28 Andreas Schwab <schwab@redhat.com>
45991 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45993 2011-09-27 Roland McGrath <roland@hack.frob.com>
45996 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45998 2011-09-27 Andreas Schwab <schwab@redhat.com>
46000 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46001 Reread the line before reparsing it.
46003 2011-09-26 Andreas Schwab <schwab@redhat.com>
46005 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46007 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
46008 Maxim Kuvyrkov <maxim@codesourcery.com>
46009 Joseph Myers <joseph@codesourcery.com>
46011 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46012 if needed for __stack_chk_guard.
46014 2011-09-19 Roland McGrath <roland@hack.frob.com>
46016 * sysdeps/posix/spawni.c (script_execute): Always define it.
46017 It will be optimized away if unused.
46018 (maybe_script_execute): New function.
46019 (__spawni): Call it.
46021 * Makerules: Don't include tls.make.
46022 (config-tls): Always set to thread.
46023 * tls.make.c: File removed.
46025 2011-09-19 Mike Frysinger <vapier@gentoo.org>
46027 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46028 * config.make.in (CPPFLAGS-config): New substituted variable.
46030 2011-09-15 Ulrich Drepper <drepper@gmail.com>
46032 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46035 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46036 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46038 2011-09-15 Roland McGrath <roland@hack.frob.com>
46040 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46041 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46042 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46043 (CALL_FAIL): Likewise.
46044 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46045 (CALL_FAIL): Macro removed.
46046 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46048 2011-09-15 Ulrich Drepper <drepper@gmail.com>
46050 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46051 for __FINITE_MATH_ONLY__ == 1.
46053 2011-09-15 Andreas Schwab <schwab@redhat.com>
46055 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46056 __ieee754_sqrt instead of sqrt.
46057 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46058 __ieee754_sqrtf instead of sqrtf.
46059 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46060 __floorf instead of floorf.
46061 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46062 __floorf, __truncf instead of floorf, truncf.
46064 2011-09-14 Ulrich Drepper <drepper@gmail.com>
46066 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46068 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46069 __extern_always_inline.
46070 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46073 2011-09-14 Andreas Schwab <schwab@redhat.com>
46075 * elf/rtld.c (dl_main): Also relocate in dependency order when
46076 doing symbol dependency testing.
46078 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
46080 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46081 Always define `refsym'.
46083 2011-09-13 Andreas Schwab <schwab@redhat.com>
46085 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46086 (__FD_ELT): Renamed from __FDELT.
46087 * misc/bits/select2.h (__FD_ELT): Likewise.
46088 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46089 __FD_MASK instead of __FDELT, __FDMASK.
46090 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46092 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46095 * elf/Makefile (gen-ldd): Fix pattern.
46097 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46098 (init_tls): Likewise.
46100 2011-09-12 Ulrich Drepper <drepper@gmail.com>
46102 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46104 2011-09-12 Andreas Schwab <schwab@redhat.com>
46106 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46107 `struct cmsghdr *' instead of `void *'.
46108 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46111 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
46113 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46115 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46116 ldd_rewrite_script.
46118 2011-09-11 Ulrich Drepper <drepper@gmail.com>
46120 * configure.in: Remove --with-tls option.
46121 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46122 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46123 out in case it is missing.
46124 * sysdeps/ia64/elf/configure.in: Likewise.
46125 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46126 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46127 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46128 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46129 * sysdeps/sh/elf/configure.in: Likewise.
46130 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46131 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46132 * sysdeps/x86_64/elf/configure.in: Likewise.
46133 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46134 * sysdeps/mach/hurd/tls.h: Likewise.
46137 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46140 * configure.in: Fix use of AC_INIT.
46142 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46144 2011-09-10 Ulrich Drepper <drepper@gmail.com>
46146 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46148 * malloc/hooks.c: Likewise.
46151 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
46152 variables statically.
46153 (narenas): Initialize.
46154 (list_lock): Initialize.
46155 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
46156 initializtion of main_arena and list_lock. Small cleanups.
46157 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46158 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
46159 Add initializers to main_arena and mp_.
46160 (malloc_state): Remove pagesize member. Change all users to use
46163 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46164 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
46165 is always initialized.
46167 * malloc/malloc.c: Removed unused configurations and dead code.
46168 * malloc/arena.c: Likewise.
46169 * malloc/hooks.c: Likewise.
46170 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46172 * include/tls.h: Removed. USE___THREAD must always be defined.
46173 * bits/libc-tsd.h: Don't handle !USE___THREAD.
46174 * elf/dl-libc.c: Likewise.
46175 * elf/dl-tsd.c: Likewise.
46176 * include/errno.h: Likewise.
46177 * include/netdb.h: Likewise.
46178 * include/resolv.h: Likewise.
46179 * inet/herrno-loc.c: Likewise.
46180 * inet/herrno.c: Likewise.
46181 * malloc/arena.c: Likewise.
46182 * malloc/hooks.c: Likewise.
46183 * malloc/malloc.c: Likewise.
46184 * resolv/res-state.c: Likewise.
46185 * resolv/res_libc.c: Likewise.
46186 * sysdeps/i386/dl-machine.h: Likewise.
46187 * sysdeps/ia64/dl-machine.h: Likewise.
46188 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46189 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46190 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46191 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46192 * sysdeps/sh/dl-machine.h: Likewise.
46193 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46194 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46195 * sysdeps/unix/i386/sysdep.S: Likewise.
46196 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46197 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46198 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46199 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46200 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46201 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46202 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46203 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46204 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46205 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46206 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46207 * sysdeps/x86_64/dl-machine.h: Likewise.
46208 * tls.make.c: Likewise.
46210 * configure.in: Remove --with-__thread option. Make tests for
46211 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46212 tls_model attribute fail if no support is available. Remove
46214 * Makeconfig: Adjust for dropped configure option. All features are
46216 * Makerules: Likewise.
46217 * Versions.def: Likewise.
46218 * argp/argp-fmtstream.c: Likewise.
46219 * argp/argp-fmtstream.h: Likewise.
46220 * argp/argp-help.c: Likewise.
46221 * assert/assert.c: Likewise.
46222 * config.h.in: Likewise.
46223 * config.make.in: Likewise.
46224 * configure: Likewise.
46225 * configure.in: Likewise.
46226 * csu/Versions: Likewise.
46227 * csu/init.c: Likewise.
46228 * elf/tst-audit2.c: Likewise.
46229 * elf/tst-tls10.c: Likewise.
46230 * elf/tst-tls10.h: Likewise.
46231 * elf/tst-tls11.c: Likewise.
46232 * elf/tst-tls12.c: Likewise.
46233 * elf/tst-tls14.c: Likewise.
46234 * elf/tst-tlsmod11.c: Likewise.
46235 * elf/tst-tlsmod12.c: Likewise.
46236 * elf/tst-tlsmod13.c: Likewise.
46237 * elf/tst-tlsmod13a.c: Likewise.
46238 * elf/tst-tlsmod14a.c: Likewise.
46239 * elf/tst-tlsmod15b.c: Likewise.
46240 * elf/tst-tlsmod16a.c: Likewise.
46241 * elf/tst-tlsmod16b.c: Likewise.
46242 * elf/tst-tlsmod7.c: Likewise.
46243 * elf/tst-tlsmod8.c: Likewise.
46244 * elf/tst-tlsmod9.c: Likewise.
46245 * gmon/gmon.c: Likewise.
46246 * grp/fgetgrent_r.c: Likewise.
46247 * grp/putgrent.c: Likewise.
46248 * hurd/fopenport.c: Likewise.
46249 * include/libc-symbols.h: Likewise.
46250 * include/tls.h: Likewise.
46251 * intl/gettextP.h: Likewise.
46252 * intl/loadinfo.h: Likewise.
46253 * locale/global-locale.c: Likewise.
46254 * locale/localeinfo.h: Likewise.
46255 * mach/devstream.c: Likewise.
46256 * malloc/arena.c: Likewise.
46257 * malloc/set-freeres.c: Likewise.
46258 * misc/err.c: Likewise.
46259 * misc/getttyent.c: Likewise.
46260 * misc/mntent_r.c: Likewise.
46261 * posix/getopt.c: Likewise.
46262 * posix/wordexp.c: Likewise.
46263 * pwd/fgetpwent_r.c: Likewise.
46264 * resolv/Versions: Likewise.
46265 * resolv/res_hconf.c: Likewise.
46266 * shadow/fgetspent_r.c: Likewise.
46267 * shadow/putspent.c: Likewise.
46268 * stdio-common/printf_fphex.c: Likewise.
46269 * stdio-common/tmpfile.c: Likewise.
46270 * stdlib/abort.c: Likewise.
46271 * stdlib/fmtmsg.c: Likewise.
46272 * sunrpc/auth_unix.c: Likewise.
46273 * sunrpc/clnt_perr.c: Likewise.
46274 * sunrpc/clnt_tcp.c: Likewise.
46275 * sunrpc/clnt_udp.c: Likewise.
46276 * sunrpc/clnt_unix.c: Likewise.
46277 * sunrpc/openchild.c: Likewise.
46278 * sunrpc/svc_simple.c: Likewise.
46279 * sunrpc/svc_tcp.c: Likewise.
46280 * sunrpc/svc_udp.c: Likewise.
46281 * sunrpc/svc_unix.c: Likewise.
46282 * sunrpc/xdr.c: Likewise.
46283 * sunrpc/xdr_array.c: Likewise.
46284 * sunrpc/xdr_rec.c: Likewise.
46285 * sunrpc/xdr_ref.c: Likewise.
46286 * sunrpc/xdr_stdio.c: Likewise.
46288 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46290 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46292 2011-07-03 Andreas Jaeger <aj@suse.de>
46294 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46295 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46296 regenerate with gen-libm-tests.pl.
46298 2010-05-12 Petr Baudis <pasky@suse.cz>
46301 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46302 around j0() zero points by switching to j1().
46303 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46304 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46305 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46306 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46308 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46310 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46312 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46314 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46315 Patch in part by Pavel Roskin <proski@gnu.org>.
46318 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46320 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
46321 Free memory block if necessary.
46324 * libio/genops.c (INTDEF): For string streams the _lock pointer can
46325 be NULL. Don't lock in this case.
46327 2011-09-09 Roland McGrath <roland@hack.frob.com>
46329 * elf/elf.h (ELFOSABI_GNU): New macro.
46330 (ELFOSABI_LINUX): Define to that.
46332 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
46334 * string/strncat.c (strncat): Undef the symbol in case it has been
46335 defined in bits/string.h.
46337 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46339 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46341 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46344 2011-08-17 Andreas Jaeger <aj@suse.de>
46346 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46348 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
46349 Ian Lance Taylor <iant@google.com>
46351 * math/libm-test.inc (lround_test): New testcase.
46352 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46354 2011-09-08 Ulrich Drepper <drepper@gmail.com>
46356 * Makefile: Remove support for automatic cvs check-ins.
46357 * Makerules: Likewise.
46358 * config.make.in: Likewise.
46359 * configure.in: Likewise.
46360 * intl/Makefile: Likewise.
46361 * locale/Makefile: Likewise.
46362 * po/Makefile: Likewise.
46363 * posix/Makefile: Likewise.
46364 * sysdeps/gnu/Makefile: Likewise.
46365 * sysdeps/mach/hurd/Makefile: Likewise.
46366 * sysdeps/sparc/sparc32/Makefile: Likewise.
46369 * posix/Makefile (bug-regex32-ENV): Define.
46370 Patch by John Stanley <jpsinthemix@verizon.net>.
46372 * misc/Makefile (headers): Add bits/select2.h.
46373 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46374 * misc/bits/select2.h: New file.
46375 * include/bits/select2.h: New file.
46376 * debug/Makefile (routines): Add fdelt_chk.
46377 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46378 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46380 * debug/fdelt_chk.c: New file.
46382 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
46383 * wcsmbs/test-wmemcmp.c: Likewise.
46384 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46385 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46387 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46389 * string/Makefile (strop-tests): Add memcmp.
46390 * string/test-wmemcmp.c: New file.
46391 * string/test-memcmp.c: Add wmemcmp support.
46393 2011-09-08 Roland McGrath <roland@hack.frob.com>
46396 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46399 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46400 garbage value in a __mach_port_mod_refs call in the cases of the
46401 task-self and thread-self ports.
46403 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46405 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46407 2011-09-08 Andreas Schwab <schwab@redhat.com>
46409 * elf/dl-load.c (lose): Check for non-null L.
46411 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46413 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46415 * elf/dl-libc.c (dlerror_run): Pass back error code from
46419 * elf/dl-load.c (lose): Free l_origin if it is valid.
46421 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46423 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46424 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46425 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46426 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46427 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46428 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46430 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46432 * sysdeps/powerpc/fpu/e_hypot.c: New file.
46433 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46434 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46435 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46436 * sysdeps/powerpc/fpu/k_cosf.c: New file.
46437 * sysdeps/powerpc/fpu/k_sinf.c: New file.
46438 * sysdeps/powerpc/fpu/s_cosf.c: New file.
46439 * sysdeps/powerpc/fpu/s_sinf.c: New file.
46440 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46441 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46443 2011-08-15 Alan Modra <amodra@gmail.com>
46446 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46447 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46448 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
46449 ppc_mcount to static-only-routines.
46450 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46452 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46453 __mcount_internal with usual JUMPTARGET. Remove useless nop.
46455 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
46457 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46458 for finite and infinity parameters.
46460 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46462 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46463 and add nop instructions for throughput optimization.
46464 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46466 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
46468 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46469 aligned copy for power7 with vector-scalar instructions.
46470 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46472 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
46474 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46477 2011-09-07 Andreas Schwab <schwab@redhat.com>
46480 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46483 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46485 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46486 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46487 syscall wrapper around clock_gettime in __vdso_clock_gettime.
46488 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46491 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46493 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46494 Forgot to demangle the pointer.
46496 * sysdeps/i386/sysdep.h: Define atom_text_section.
46497 * sysdeps/x86_64/sysdep.h: Likewise.
46498 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46499 section with atom_text_section.
46500 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46501 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46502 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46503 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46504 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46506 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46507 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46508 already be defined. Change to take two parameters and don't assign
46509 result to variable. Adjust all users.
46510 Define INTERNAL_GETTIME if not already defined.
46511 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46514 HAVE_CLOCK_GETTIME_VSYSCALL.
46515 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46517 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46518 gettimeofday vsyscall, just use time.
46520 2011-09-06 Andreas Schwab <schwab@redhat.com>
46522 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46525 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46527 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46529 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46531 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46532 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46533 syscall if possible.
46535 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46537 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46538 e_ident. Don't pass to find_mapsXX.
46539 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46541 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46543 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46544 strchr-sse2-no-bsf strrchr-sse2-no-bsf
46545 * sysdeps/x86_64/multiarch/strchr.S: Update.
46546 Check bit_slow_BSF bit.
46547 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46548 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46549 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46551 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46554 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46556 (tryshell): Define.
46557 (__spawni): Change last parameter to be flag. Test
46558 SPAWN_XFLAGS_USE_PATH flag to use path or not.
46559 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46560 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46561 * posix/spawni.c: Likewise.
46562 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46563 * posix/spawnp.c: Likewise. Change normal version to use
46564 SPAWN_XFLAGS_USE_PATH.
46565 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46566 SPAWN_XFLAGS_TRY_SHELL.
46569 * posix/glob.h: Remove gcc 1.x support.
46572 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46574 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46576 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46577 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46579 * sysdeps/i386/i686/multiarch/strchr.S: New file.
46580 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46581 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46582 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46583 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46584 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46586 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46588 * sysdeps/x86_64/wcscmp.S: New file.
46590 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46591 wcscmp-c wcscmp-sse2
46592 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46593 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46594 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46595 * wcsmbs/wcscmp.c: Allow renaming.
46597 2011-09-05 David S. Miller <davem@davemloft.net>
46599 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46600 stack slot, rather than the struct return pointer slot.
46601 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46602 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46604 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46606 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46608 * po/ja.po: Update from translation team.
46611 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46612 kernel in 64-bit binaries.
46614 2011-09-01 David S. Miller <davem@davemloft.net>
46616 * elf/elf.h (HWCAP_SPARC_*): Move to..
46617 * sysdeps/sparc/sysdep.h: this new file and add new values.
46618 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46619 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46620 _DL_HWCAP_COUNT to 24.
46621 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46623 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46624 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46625 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46626 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46627 instead of magic constants.
46628 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46630 2011-08-31 David S. Miller <davem@davemloft.net>
46632 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46633 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46634 Reimplement to do errno handling inline.
46635 (SYSCALL_ERROR_HANDLER): New macro.
46636 (__SYSCALL_STRING): Do not do errno handling in asm.
46637 (__CLONE_SYSCALL_STRING): Delete.
46638 (__INTERNAL_SYSCALL_STRING): Delete.
46639 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46640 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46641 (PSEUDO): Reimplement to do errno handling inline.
46642 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46643 (SYSCALL_ERROR_HANDLER): New macro.
46644 (__SYSCALL_STRING): Do not do errno handling in asm.
46645 (__CLONE_SYSCALL_STRING): Delete.
46646 (__INTERNAL_SYSCALL_STRING): Delete.
46647 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46648 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46650 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46651 (inline_syscall*): Add 'err' argument.
46652 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46653 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46654 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46655 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46657 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46658 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46660 2011-08-30 Andreas Schwab <schwab@redhat.com>
46662 * elf/rtld.c (dl_main): Relocate objects in dependency order.
46664 2011-08-29 Jiri Olsa <jolsa@redhat.com>
46666 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46669 2011-08-24 David S. Miller <davem@davemloft.net>
46671 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46673 2011-08-24 Andreas Schwab <schwab@redhat.com>
46675 * elf/Makefile: Add rules to build and run unload8 test.
46676 * elf/unload8.c: New file.
46677 * elf/unload8mod1.c: New file.
46678 * elf/unload8mod1x.c: New file.
46679 * elf/unload8mod2.c: New file.
46680 * elf/unload8mod3.c: New file.
46682 * elf/dl-close.c (_dl_close_worker): Reset private search list if
46685 2011-08-23 David S. Miller <davem@davemloft.net>
46687 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46688 subtract stack bias.
46689 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46690 %sp not %fp in calculations.
46691 (_JMPBUF_UNWINDS_ADJ): Likewise.
46693 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46694 (aio_suspend): Call it to force an exception region around the
46695 AIO_MISC_WAIT() invocation.
46697 2011-08-23 Andreas Schwab <schwab@redhat.com>
46699 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46702 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
46704 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46706 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46707 and <dl-machine.h>.
46708 (Elf64_FuncDesc): Remove.
46710 2011-08-22 David S. Miller <davem@davemloft.net>
46712 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46713 sigaltstack check, add missing cfi directives.
46714 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46715 missing cfi directives, and sigaltstack handling.
46717 2011-08-16 Andreas Schwab <schwab@redhat.com>
46720 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46721 object is seen twice.
46722 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46724 * elf/Makefile (distribute): Add tst-initorder2.c.
46725 (tests): Add tst-initorder2.
46726 (modules-names): Add tst-initorder2a tst-initorder2b
46727 tst-initorder2c tst-initorder2d. Add rules to build them.
46728 ($(objpfx)tst-initorder2.out): New rule.
46729 * elf/tst-initorder2.c: New file.
46730 * elf/tst-initorder2.exp: New file.
46732 2011-08-22 Andreas Schwab <schwab@redhat.com>
46734 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46736 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46737 dependencies back to end of function.
46739 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46740 $(elfobjdir)/ld.so.
46742 2011-08-21 Ulrich Drepper <drepper@gmail.com>
46744 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46745 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46746 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46747 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46748 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46749 of __vdso_gettimeofday.
46750 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46751 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
46753 (_libc_vdso_platform_setup): Remove initialization of
46754 __vdso_gettimeofday and __vdso_time.
46756 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46758 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46759 and fgetc_unlocked.
46760 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46763 * elf/dl-open.c (add_to_global): Report additions to the global scope
46764 for LD_DEBUG=scopes.
46765 (dl_open_worker): Also print scope of newly loaded dependencies.
46766 (_dl_show_scope): Indicate if there is no scope.
46769 * stdio-common/Makefile (tests): Add bug24.
46770 * stdio-common/bug24.c: New file.
46772 2011-08-19 Andreas Jaeger <aj@suse.de>
46775 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46776 non-existant file when using close-on-exec mode.
46778 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46780 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46781 the very first instruction.
46783 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46784 the CFI state in the end.
46785 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46786 inclusion of dl-trampoline.h.
46787 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46789 2011-08-19 Andreas Schwab <schwab@redhat.com>
46791 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46792 expectations for long double.
46794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46795 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46797 2011-08-14 David S. Miller <davem@davemloft.net>
46799 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46800 artificual limit depends upon the system page size.
46802 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46804 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46805 * resolv/Makefile: Define CFLAGS-libresolv.
46807 2011-08-17 Andreas Schwab <schwab@redhat.com>
46809 * nss/makedb.c (compute_tables): Make variables used in nested
46812 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46814 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46815 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46816 if buffer was too small.
46818 * elf/pldd.c (main): Attach to all threads in the process.
46819 Rewrite /proc handling to use *at functions.
46821 2011-08-16 Ulrich Drepper <drepper@gmail.com>
46823 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46824 specifies first scope to show.
46825 (dl_open_worker): Update callers. Move printing scope of new
46826 object to before the relocation.
46827 * elf/rtld.c (dl_main): Update _dl_show_scope call.
46828 * sysdeps/generic/ldsodefs.h: Update declaration.
46830 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46831 string for the scope number.
46833 2011-08-14 Ulrich Drepper <drepper@gmail.com>
46835 * nscd/servicescache.c (cache_addserv): Make sure written is always
46838 2011-08-14 Roland McGrath <roland@hack.frob.com>
46840 * sysdeps/i386/i486/bits/atomic.h
46841 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46842 statement expression, so as to suppress "set but not used" warning.
46843 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46845 * string/strncat.c (STRNCAT): Use prototype definition.
46847 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46848 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46850 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46851 (localedef-modules): Add localedef.
46852 (locale-modules): Add locale.
46854 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46855 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46856 to avoid a warning.
46858 2011-08-14 David S. Miller <davem@davemloft.net>
46860 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46861 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46863 2011-08-13 Ulrich Drepper <drepper@gmail.com>
46865 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46866 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46867 * elf/rtld.c (dl_main): Set l_name of vDSO.
46868 Call _dl_show_scope when DL_DEBUG_SCOPES.
46869 (process_dl_debug): Recognize scopes flag and also set it for all.
46870 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46871 Declare _dl_show_scope.
46873 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46874 (do_dlopen): Pass caller_dlopen to dl_open.
46875 (__libc_dlopen_mode): Initialize caller_dlopen.
46877 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46878 of libc. Make tolower call locale-independent. Optimize a bit by
46879 using isdigit instead of isalnum.
46880 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46882 2011-08-12 Ulrich Drepper <drepper@gmail.com>
46884 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46885 was a dependency or dynamically loaded.
46887 2011-08-11 Ulrich Drepper <drepper@gmail.com>
46889 * intl/l10nflist.c: Allow architecture-specific pop function.
46890 * sysdeps/x86_64/l10nflist.c: New file.
46892 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46895 2011-08-10 Andreas Schwab <schwab@redhat.com>
46897 * include/dirent.h: Add libc_hidden_proto for scandirat and
46898 scandirat64. Don't declare __scandirat64.
46899 * dirent/scandirat.c: Add libc_hidden_def.
46900 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46901 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46903 2011-08-10 David S. Miller <davem@davemloft.net>
46905 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46907 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46908 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46909 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46911 2011-08-09 Ulrich Drepper <drepper@gmail.com>
46913 * Versions.def [libc]: Add GLIBC_2.15.
46914 * dirent/Makefile (routines): Add scandirat and scandirat64.
46915 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46917 * dirent/dirent.h: Declare scandirat and scandirat64.
46918 * dirent/scandirat.c: New file.
46919 * dirent/scandirat64.c: New file.
46920 * sysdeps/wordsize-64/scandirat.c: New file.
46921 * sysdeps/wordsize-64/scandirat64.c: New file.
46922 * dirent/opendir.c: Define opendirat.
46923 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46925 * dirent/scandir64.c: Adjust for scandir.c change.
46926 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46927 __scandirat64, and __scandir_cancel_handler.
46928 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46929 additional parameter and use openat instead of open (outside of ld.so).
46930 Add new __opendir as wrapper around __opendirat.
46931 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46932 here without requiring old scandirat implementation.
46934 2011-08-08 Ulrich Drepper <drepper@gmail.com>
46936 * dirent/scandir.c (cancel_handler): Renamed to
46937 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46938 defined. Adjust users.
46939 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46940 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46942 2011-08-04 Ulrich Drepper <drepper@gmail.com>
46944 * string/test-string.h (IMPL): Use __STRING to expand name and then
46947 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46950 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46952 * string/Makefile: Update.
46953 (strop-tests): Append strncat.
46954 * string/test-wcscmp.c: New file.
46955 New comprehensive test for wcscmp.
46956 * string/test-strcmp.c: Update.
46957 (WIDE): New define.
46959 2011-07-22 Andreas Schwab <schwab@redhat.com>
46961 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46964 2011-07-26 Andreas Schwab <schwab@redhat.com>
46966 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46967 encoding to ACE if AI_IDN.
46969 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46971 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46972 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46974 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46976 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46977 Fix overflow bug in strncat.
46978 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46980 * string/test-strncat.c: Update.
46981 Add new tests for checking overflow bugs.
46983 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46986 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46987 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46988 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46989 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46990 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46991 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46992 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46993 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46995 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46996 (USE_AS_STRCAT): Define.
46997 Add strcat and strncat support.
46998 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47000 2011-07-25 Andreas Schwab <schwab@redhat.com>
47002 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47003 __n bigger than INT_MAX+1.
47004 (__strncmp_g): Likewise.
47006 2011-07-23 Ulrich Drepper <drepper@gmail.com>
47008 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47009 * libio/stido.h: Likewise.
47011 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47013 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47016 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47017 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47018 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47019 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47020 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47023 * scripts/test-installation.pl: Don't expect libnss_test1 to be
47026 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47028 (_dl_x86_64_save_sse): Likewise.
47030 2011-07-22 Ulrich Drepper <drepper@gmail.com>
47032 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47034 (_dl_x86_64_save_sse): Likewise.
47036 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47038 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47040 2011-07-21 Andreas Schwab <schwab@redhat.com>
47042 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47044 (_dl_x86_64_save_sse): Use correct AVX check.
47046 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47048 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47049 bug in strncpy/strncat.
47050 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47052 2011-07-21 Ulrich Drepper <drepper@gmail.com>
47054 * string/tester.c (test_strcat): Add tests for different alignments
47055 of source and destination.
47056 (test_strncat): Likewise.
47058 2011-07-20 Ulrich Drepper <drepper@gmail.com>
47061 * posix/glob.c (glob): Check passed in values before using them in
47062 expressions to avoid some overflows.
47063 (glob_in_dir): Likewise.
47066 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47067 check for AVX enablement so that we don't crash with old kernels and
47069 * elf/tst-audit4.c: Add same checks here.
47070 * elf/tst-audit6.c: Likewise.
47072 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
47074 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
47076 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47078 2011-07-20 Ulrich Drepper <drepper@gmail.com>
47080 * po/cs.po: Update from translation team.
47081 * po/bg.po: Likewise.
47083 2011-07-12 Marek Polacek <mpolacek@redhat.com>
47085 * misc/sys/cdefs.h: Add support for const attribute.
47086 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47087 to gnu_dev_{major,minor,makedev} functions.
47089 2011-07-20 Marek Polacek <mpolacek@redhat.com>
47091 * intl/dcigettext.c (get_output_charset): Add missing bracket.
47093 2011-07-20 Andreas Schwab <schwab@redhat.com>
47095 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47098 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47100 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47101 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47102 register in order to avoid conflicts with the soft frame pointer
47103 being held in r11 when necessary.
47104 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47105 (INTERNAL_VSYSCALL_NCS): Likewise.
47107 2011-07-14 Marek Polacek <mpolacek@redhat.com>
47109 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47110 * elf/dl-fini.c (_dl_fini): Adjust caller.
47111 * elf/dl-close.c (_dl_close_worker): Likewise.
47112 * sysdeps/generic/ldsodefs.h: Adjust declaration.
47114 2011-07-15 Marek Polacek <mpolacek@redhat.com>
47116 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47117 "aux_cache->nlibs < 0".
47119 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47120 in the reload-count case.
47122 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47124 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47125 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47126 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47127 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47128 * sysdeps/x86_64/multiarch/strcat.S: New file.
47129 * sysdeps/x86_64/multiarch/strncat.S: New file.
47130 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47131 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47132 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47133 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47134 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47135 (USE_AS_STRCAT): Define.
47136 Add strcat and strncat support.
47137 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47138 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47139 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47140 * string/strncat.c: Update.
47141 (USE_AS_STRNCAT): Define.
47142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47143 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47145 * sysdeps/x86_64/multiarch/init-arch.h
47146 (bit_Prefer_PMINUB_for_stringop): New.
47147 (index_Prefer_PMINUB_for_stringop): Likewise.
47148 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47149 bit_Prefer_PMINUB_for_stringop.
47151 2011-07-19 Ulrich Drepper <drepper@gmail.com>
47153 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47155 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47156 of casting of buffer.
47157 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47158 buffer32 and buffer64.
47159 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47160 writes instead of casting of buffer.
47161 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47163 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47166 2011-07-19 Andreas Schwab <schwab@redhat.com>
47168 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47170 2011-07-19 Ulrich Drepper <drepper@gmail.com>
47172 * nscd/nscd.c (termination_handler): Don't do anything for a database
47173 if it has not yet been initialized.
47175 2011-07-18 Ulrich Drepper <drepper@gmail.com>
47177 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47179 2011-07-15 Marek Polacek <mpolacek@redhat.com>
47181 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47183 2011-07-18 Ulrich Drepper <drepper@gmail.com>
47185 * po/nl.po: Update from translation team.
47186 * po/sv.po: Likewise.
47188 2011-07-16 Roland McGrath <roland@hack.frob.com>
47190 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47191 now disallowed by GCC.
47193 * configure.in (use-default-link): Default to yes if a test -shared
47194 link meets our qualifications.
47195 * configure: Regenerated.
47197 * config.make.in (output-format): New variable.
47198 * configure.in: Check for ld --print-output-format support.
47199 * configure: Regenerated.
47200 * Makerules ($(common-objpfx)format.lds)
47201 [$(output-format) != unknown]: Just use $(output-format),
47202 instead of the linker-script munging.
47204 2011-07-14 Roland McGrath <roland@hack.frob.com>
47206 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47207 of $(common-objpfx)shlib.lds.
47208 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47210 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47211 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47213 * configure.in (-z relro check): Adjust test code to add a large
47214 writable data section after it.
47215 * configure: Regenerated.
47217 2011-07-11 Roland McGrath <roland@hack.frob.com>
47219 * configure.in (-z relro check): Fix test code to make the variable
47221 * configure: Regenerated.
47223 2011-07-11 Ulrich Drepper <drepper@gmail.com>
47225 * nscd/nscd.h (struct traced_file): Define.
47226 (struct database_dyn): Remove inotify_descr, reset_res, and filename
47227 elements. Add traced_files.
47228 (inotify_fd): Declare.
47229 (register_traced_file): Declare.
47230 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47231 (inotify_fd): Export.
47232 (resolv_conf_descr): Remove.
47233 (nscd_init): Move inotify descriptor creation to main.
47234 Don't register files for notification here.
47235 (register_traced_file): New function.
47236 (invalidate_cache): Don't use reset_res to determine whether to call
47237 res_init, go through the list of registered files.
47238 (main_loop_poll): The inotify descriptors are now stored in the
47239 structures for the traced files.
47240 (main_loop_epoll): Likewise
47241 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
47242 to __nss_disable_nscd.
47243 * nscd/cache.c (prune_cache): There is no single inotify descriptor
47244 for a database anymore. Check the records for all the registered
47246 * nss/Makefile (libnss_files-routines): Add files-init.
47247 (libnss_db-routines): Add db-init.
47248 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47249 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47250 * nss/nss_db/db-init.c: New file.
47251 * nss/nss_files/files-init.c: New file.
47252 * nss/nsswitch.c (nss_load_library): New function. Broken out of
47253 __nss_lookup_function.
47254 (__nss_lookup_function): Call nss_load_library.
47255 (nss_load_all_libraries): New function.
47256 (__nss_disable_nscd): Take parameter with callback function for files
47257 to register. Set is_nscd. Load all the DSOs for the NSS modules
47258 used for the cached services.
47259 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47260 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47261 options for features to all the files in nscd.
47263 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47265 2011-07-10 Roland McGrath <roland@hack.frob.com>
47267 * csu/elf-init.c (__libc_csu_init): Comment typo.
47269 2011-07-09 Ulrich Drepper <drepper@gmail.com>
47271 * po/pl.po: Update from translation team.
47272 * po/ja.po: Likewise.
47273 * po/ru.po: Likewise.
47274 * po/ko.po: Likewise.
47275 * po/fr.po: Likewise.
47277 2011-07-09 Roland McGrath <roland@hack.frob.com>
47279 * configure.in (.ctors/.dtors header and trailer check):
47280 Use an empirical test on a built program.
47281 * configure: Regenerated.
47283 * configure.in (-z relro check): Use an empirical test on a built DSO.
47284 Detect, but do not require, on ia64.
47285 * configure: Regenerated.
47287 * configure.in (READELF): Find it with AC_CHECK_TOOL.
47288 Update tests that use readelf to use $READELF instead.
47289 * configure: Regenerated.
47291 2011-07-08 Ulrich Drepper <drepper@gmail.com>
47293 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47294 if the result is not used.
47296 2011-07-05 Andreas Jaeger <aj@suse.de>
47299 * stdlib/tst-strtod.c: Add testcase.
47301 2011-07-07 Ulrich Drepper <drepper@gmail.com>
47303 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47304 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47305 The latter has a higher limit. Take additional parameter to pass to
47307 (__pathconf): Pass file to __statfs_link_max.
47308 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47310 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47314 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47315 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47317 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47318 (__statfs_filesize_max): Likewise.
47319 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47321 2011-07-05 Andreas Jaeger <aj@suse.de>
47323 * resolv/res_comp.c (dn_skipname): Remove unused variable.
47325 2011-07-06 Marek Polacek <mpolacek@redhat.com>
47327 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47329 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47332 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
47334 * Makefile (strop-tests): Add strncat.
47335 * string/test-strncat.c: New file.
47337 2011-06-30 Marek Polacek <mpolacek@redhat.com>
47339 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47341 2011-06-21 Andreas Jaeger <aj@suse.de>
47343 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47344 Copy rule from iconvdata/Makefile.
47346 2011-07-06 Ulrich Drepper <drepper@gmail.com>
47349 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47350 but no long options are defined, just return 'W'.
47352 2011-06-22 Marek Polacek <mpolacek@redhat.com>
47355 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47357 2011-07-06 Ulrich Drepper <drepper@gmail.com>
47359 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47361 (innetgr): Likewise.
47363 2011-07-05 Roland McGrath <roland@hack.frob.com>
47365 * config.make.in (install_root): Default to $(DESTDIR).
47367 2011-07-05 Ulrich Drepper <drepper@gmail.com>
47369 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47371 2011-07-02 Roland McGrath <roland@hack.frob.com>
47373 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47375 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47376 containing directory rather than embedding absolute directory names.
47378 * scripts/check-local-headers.sh: Rewritten using awk.
47379 Match by word, not by line. Print error messages for matches.
47380 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47382 * Makerules [shlib-lds-flags empty]:
47383 ($(common-objpfx)libc_pic.opts): New target.
47384 ($(common-objpfx)libc_pic.os.clean): New target.
47385 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47387 * config.make.in (OBJCOPY): New variable.
47388 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47389 * configure: Regenerated.
47391 * config.make.in (use-default-link): New variable.
47392 * configure.in (use_default_link): Grok --with-default-link to set it.
47393 * configure: Regenerated.
47394 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47395 (shlib-lds, shlib-lds-flags): Define to empty.
47397 * Makerules (shlib-lds): New variable.
47398 (shlib-lds-flags): New variable.
47399 (build-shlib, build-moduile, build-module-asneeded): Use it.
47400 ($(common-objpfx)libc.so): Use $(shlib-lds).
47401 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47402 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47404 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47405 DT_FLAGS/DT_FLAGS_1 with zero flags.
47407 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47408 linker script munging.
47410 2011-07-02 Ulrich Drepper <drepper@gmail.com>
47412 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47414 * crypt/sha512.c (sha512_process_block): Perform total addition using
47415 128-bit if possible.
47416 (__sha512_finish_ctx): Likewise.
47417 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47419 * crypt/sha256.c (SWAP64): Define.
47420 (sha256_process_block): Perform total addition using 64-bit if
47422 (__sha256_finish_ctx): Likewise.
47424 2011-07-01 Ulrich Drepper <drepper@gmail.com>
47426 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
47427 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47428 * nscd/hstcache.c (cache_addhst): Likewise.
47429 * nscd/grpcache.c (cache_addgr): Likewise.
47430 * nscd/aicache.c (addhstaiX): Likewise
47431 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47433 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
47435 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47436 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47437 * nscd/hstcache.c (cache_addhst): Likewise.
47438 * nscd/grpcache.c (cache_addgr): Likewise.
47439 * nscd/aicache.c (addhstaiX): Likewise
47441 2011-07-01 Andreas Schwab <schwab@redhat.com>
47443 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47444 domain only when needed.
47446 2011-06-30 Andreas Schwab <schwab@redhat.com>
47448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47449 is always restored.
47451 2011-06-29 Ulrich Drepper <drepper@gmail.com>
47453 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47454 are re-adding the entry.
47455 * nscd/servicescache.c (cache_addserv): Likewise.
47457 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
47459 * sysdeps/generic/dl-irel.h: fix protection against multiple
47461 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47463 2011-06-28 Ulrich Drepper <drepper@gmail.com>
47466 * malloc/memusage.sh: Fix quoting in message.
47467 * debug/xtrace.sh: Likewise.
47469 * configure.in: Remove support for --experimental-malloc option, make
47471 * config.make.in: Likewise.
47472 * malloc/Makefile: Likewise.
47474 2011-06-27 Andreas Schwab <schwab@redhat.com>
47476 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47477 two-byte characters.
47479 2011-06-27 Roland McGrath <roland@hack.frob.com>
47481 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47482 AC_CACHE_CHECK invocation.
47483 * configure: Regenerated.
47485 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47487 2011-06-27 Ulrich Drepper <drepper@gmail.com>
47490 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
47491 bit from old_res_options.
47493 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47495 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47496 value type for setfct.
47498 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
47500 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47501 __gettimeofday instead of gettimeofday.
47503 2011-06-26 Ulrich Drepper <drepper@gmail.com>
47505 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47507 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
47509 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47511 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47514 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47517 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47518 strcpy-sse2-unaligned strncpy-sse2-unaligned
47519 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47520 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47521 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47522 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47523 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47524 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47525 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47526 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47527 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47528 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47529 (STRCPY): Support SSE2 and SSSE3 versions.
47531 2011-06-24 Ulrich Drepper <drepper@gmail.com>
47534 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47535 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47536 kernels which artificially limit size of requests.
47538 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47540 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47541 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47542 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47543 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47544 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47545 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47546 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47547 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47548 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47549 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47550 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47551 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47552 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47553 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47554 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47556 Enable unaligned load optimization for Intel Core i3, i5 and i7
47558 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47560 (index_Fast_Unaligned_Load): Define.
47561 (HAS_FAST_UNALIGNED_LOAD): Define.
47563 2011-06-23 Marek Polacek <mpolacek@redhat.com>
47565 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47567 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47570 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47571 until it is clear that the information is realy needed.
47572 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47574 2011-06-22 Andreas Schwab <schwab@redhat.com>
47576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47578 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47580 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47581 /sys/devices/system/cpu/online if it is usable.
47583 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47584 reading the information from the /proc filesystem to once a second.
47586 2011-06-21 Andreas Jaeger <aj@suse.de>
47588 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47589 NULL after inclusion of kernel headers.
47591 2011-06-21 Ulrich Drepper <drepper@gmail.com>
47593 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47594 calls to internal_setent.
47597 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47598 addresses using gethostbyname4_r ignore IPv4 addresses.
47600 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47601 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
47603 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47605 2011-06-20 David S. Miller <davem@davemloft.net>
47607 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47609 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47611 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47612 (elf_irel): Use it.
47613 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47614 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47615 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47616 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47617 * sysdeps/x86_64/dl-irel.h: Likewise.
47619 * elf/dl-runtime.c: Use elf_ifunc_invoke.
47620 * elf/dl-sym.c: Likewise.
47622 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47624 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
47625 need to dereference resplen2.
47627 2011-06-14 Andreas Schwab <schwab@redhat.com>
47629 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47631 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47633 * Makeconfig: Define vardbdir and inst_vardbdir.
47634 * nss/Makefile: Add rules to install db-Makefile.
47636 * nss/nss_db/db-XXX.c: Cleanup.
47638 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47639 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47641 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47642 * nss/makedb.c: Implement -g option to specify that value strings
47643 are generated and should not be added to table iterated over for
47645 * nss/nss_db/db-initgroups.c: New file.
47647 * nss/getent.c: Add support for initgroups lookups through getgrouplist
47650 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47651 (internal_getgrouplist): Adjust to name change.
47652 Update use_initgroups_entry if this is not the first call.
47653 * nss/databases.def: Add initgroups entry.
47655 * nss/makedb.c (compute_tables): Check result of multiple hash table
47656 sizes to minimize maximum chain length.
47658 2011-06-14 Ulrich Drepper <drepper@gmail.com>
47660 * Versions.def: Add entry for libnss_db.
47661 * shlib-versions: Likewise.
47662 * nss/Makefile: Add rules to build libnss_db.
47663 * nss/Versions: Add libnss_db information. Organize libnss_files
47665 * nss/db-Makefile: Add gshadow support. Change rules for the new
47666 makedb progra. Some minor improvements to generate smaller files.
47667 * nss/nss_db/nss_db.h: Move NSS database header data structures to
47669 * nss/makedb.c: ...here.
47670 Improve database format to be smaller and require less memory at
47672 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
47674 * nss/nss_db/db-netgrp.c: Likewise.
47675 * nss/nss_db/db-open.c: Likewise.
47676 * nss/nss_files/flies-XXX.x: Adjust comments.
47677 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47678 * nss/nss_files/files-grp.c: Likewise.
47679 * nss/nss_files/files-hosts.c: Likewise.
47680 * nss/nss_files/files-network.c: Likewise.
47681 * nss/nss_files/files-proto.c: Likewise.
47682 * nss/nss_files/files-pwd.c: Likewise.
47683 * nss/nss_files/files-rpc.c: Likewise.
47684 * nss/nss_files/files-service.c: Likewise.
47685 * nss/nss_files/files-sgrp.c: Likewise.
47686 * nss/nss_files/files-spwd.c: Likewise.
47687 * nss/nss_db/db-alias.c: Removed.
47688 * nss/nss_db/dummy-db.h: Removed.
47690 2011-06-02 Ulrich Drepper <drepper@gmail.com>
47692 * nss/makedb.c: Rewritten to not use database library.
47693 * nss/Makefile: Update to build new makedb program.
47695 2011-06-14 Andreas Jaeger <aj@suse.de>
47697 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47698 memset declaration.
47700 2011-06-10 Andreas Schwab <schwab@redhat.com>
47702 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47705 2011-06-10 Roland McGrath <roland@hack.frob.com>
47707 * Makerules (shlib.lds): Fail if the linker script comes out empty.
47708 * elf/Makefile ($(objpfx)ld.so): Likewise.
47710 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47711 Don't list ld.so twice in dependencies.
47713 * posix/bug-regex31.c: Include <stdlib.h>.
47715 * nscd/hstcache.c (cache_addhst): Remove unused variable.
47717 * nis/nss_compat/compat-spwd.c
47718 (getspent_next_nss_netgr): Remove unused variable.
47719 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47721 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47722 nonmembers" output to use the right array.
47724 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47726 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47728 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47729 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47730 * catgets/gencat.c (read_input_file): Likewise.
47731 * locale/programs/locarchive.c (enlarge_archive): Likewise.
47733 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47734 variable definition inside #if's controlling its use.
47736 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47738 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47740 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47742 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47745 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47747 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47748 * configure: Regenerated.
47750 * Makerules: Revert last change.
47751 * elf/Makefile: Likewise.
47753 2011-06-09 Roland McGrath <roland@hack.frob.com>
47755 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47756 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47757 (reloc-link): Likewise.
47759 2011-06-09 Ulrich Drepper <drepper@gmail.com>
47761 * elf/Makefile: Add rules to build pldd.
47762 * elf/pldd.c: New file.
47763 * elf/pldd-xx.c: New file.
47765 2011-06-07 Ulrich Drepper <drepper@gmail.com>
47767 * version.h: Update for 2.15 development version.
47769 2011-06-07 David S. Miller <davem@davemloft.net>
47771 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47773 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47774 elf_machine_lazy_rel): Likewise.
47775 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47776 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47777 elf_machine_lazy_rel): Likewise.
47778 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47779 dl_hwcap via passed in argument.
47780 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47783 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47785 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47787 2011-06-06 Roland McGrath <roland@hack.frob.com>
47790 * manual/fdl-1.1.texi: New file, verbatim from:
47791 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47792 * manual/lgpl-2.1.texi: New file, verbatim from:
47793 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47794 * manual/Makefile (licenses): New variable, list those new file names.
47796 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47798 * manual/fdl.texi: File removed.
47799 * manual/lesser.texi: File removed.
47800 * manual/libc.texinfo (Copying, Documentation License):
47801 Use new @include file names, put @appendix directive before @include.
47803 2011-06-04 Jakub Jelinek <jakub@redhat.com>
47806 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47807 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47808 (mq_open): Add __NTH.
47810 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47812 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47813 Assume Intel Core i3/i5/i7 processor if AVX is available.
47815 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47817 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47820 2011-05-31 Andreas Schwab <schwab@redhat.com>
47822 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47823 memory. Use alloca_account. Fix memory leak when retrying.
47825 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47827 * version.h (RELEASE): Bump for 2.14 release.
47828 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47830 * config.make.in (RANLIB): Remove entry.
47832 2011-05-30 Ulrich Drepper <drepper@gmail.com>
47834 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47835 (libc.pot): Work around missing support for .ksh extension in xgettext.
47838 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47839 if both request failed.
47840 (send_dg): In case of server errors clear resplen or *resplen2.
47843 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47844 when there are multiple maps.
47845 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47846 (_dl_fini): Remove test here.
47848 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47850 2011-05-29 Ulrich Drepper <drepper@gmail.com>
47853 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47854 bit from old_res_options.
47855 (gaih_inet): Likewise.
47858 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47861 * resolv/res_init.c (res_setoptions): Make the code more compact.
47864 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47868 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47870 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47873 * malloc/malloc.h: Declare malloc hook variables as volatile.
47875 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47879 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47880 raise in the comment.
47881 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47882 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47883 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47885 2011-05-28 Ulrich Drepper <drepper@gmail.com>
47888 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47889 grow the buffers more if it already has to be sufficient.
47890 (build_wcs_upper_buffer): Likewise.
47891 * posix/regexec.c (check_matching): Likewise.
47892 (clean_state_log_if_needed): Likewise.
47893 (extend_buffers): Don't enlarge buffers beyond size of the input
47895 Patches mostly by Emil Wojak <emil@wojak.eu>.
47896 * posix/bug-regex32.c: New file.
47897 * posix/Makefile (tests): Add bug-regex32.
47899 * locale/findlocale.c (_nl_find_locale): Return right away if
47900 _nl_explode_name failed.
47901 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47903 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47905 * debug/xtrace.sh: Unify messages.
47906 * malloc/memusage.sh: Likewise.
47909 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47910 time symbol from vDSO. Substitute with vsyscall if not available.
47911 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47914 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47915 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47916 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47917 Add sendmmsg and internal_sendmmsg.
47918 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47919 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47920 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47922 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47923 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47924 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47926 2011-05-27 Ulrich Drepper <drepper@gmail.com>
47929 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47930 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47932 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47936 * iconvdata/Makefile (tests): Add bug-iconv9.
47937 * iconvdata/bug-iconv9.c: New file.
47939 2011-05-27 Andreas Schwab <schwab@redhat.com>
47942 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47944 2011-05-25 Jakub Jelinek <jakub@redhat.com>
47946 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47947 (struct user_regs_struct): Change intcs field back to cs.
47949 2011-05-25 Ulrich Drepper <drepper@gmail.com>
47951 * po/ja.po: Update from translation team.
47953 2011-05-23 Ulrich Drepper <drepper@gmail.com>
47956 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47957 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47959 2011-05-20 Andreas Schwab <schwab@redhat.com>
47961 * stdlib/longlong.h: Update from GCC.
47963 2011-05-23 Andreas Schwab <schwab@redhat.com>
47965 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47967 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47968 Add parameter name.
47969 (__sysconf): Pass it down.
47971 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47974 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47976 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47977 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47978 add in in __libc_use_alloca calls. Adjust callers.
47979 (glob): Use malloc in some situations.
47981 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47982 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47985 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47987 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47988 and CLOCK_BOOTTIME_ALARM.
47991 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47994 * string/_strerror.c (__strerror_r): Print negative errors as signed
47998 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47999 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48000 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48002 * configure.in: Fix typo in redirection and correct removal of test
48003 files in two cases.
48006 * locale/setlocale.c (new_composite_name): Fix test to check for
48007 identical name of all categories.
48010 * libio/filedoalloc.c (local_isatty): New function.
48011 (_IO_file_doallocate): Use local_isatty.
48012 * stdio-common/perror.c (perror): In case a new stream is used
48013 forward the stream error.
48014 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48017 2011-05-20 Ulrich Drepper <drepper@gmail.com>
48020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48022 * include/alloca.h (extend_alloca_account): Define.
48025 * posix/regex.h: Fix comments with documentation of user-accessible
48026 fields after compilation and describe correct free'ing of pattern
48027 after re_compile_pattern.
48028 Patch by Reuben Thomas <rrt@sc3d.org>.
48030 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
48032 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48033 and -mno-altivec to prevent the compiler from using Altivec and/or
48034 VSX instructions when the corresponding registers are not available.
48036 2011-05-19 Andreas Schwab <schwab@redhat.com>
48038 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48040 2011-05-19 Ulrich Drepper <drepper@gmail.com>
48042 * libio/freopen.c (freopen): Use __dup2, not dup2.
48043 * libio/freopen64.c (freopen64): Likewise.
48045 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
48048 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48049 * math/Makefile (tests): Add test-powl.
48050 (CFLAGS-test-powl.c): Define.
48051 * math/test-powl.c: New file.
48053 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
48055 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48057 2011-05-17 Ulrich Drepper <drepper@gmail.com>
48060 * iconvdata/gb18030.c: Update to GB18020-2005.
48062 2011-05-16 Ulrich Drepper <drepper@gmail.com>
48064 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48065 RE_SYNTAX_POSIX_AWK): Update to match recent development.
48066 Patch by Aharon Robbins <arnold@skeeve.com>.
48069 * stdlib/putenv.c (putenv): Don't always create copy of the variable
48073 * misc/pselect.c (__pselect): Handle timeout value errors hidden
48074 through underflows.
48077 * misc/error.c (error_at_line): Ensure file_name and old_file_name
48078 point to strings before performing equality test for error_one_per_line
48082 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48085 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48086 (struct user_fpregs_struct): Avoid __uint*_t types.
48089 * malloc/mtrace.c (tr_where): Add additional parameter to point to
48090 symbol info. Use it instead of calling _dl_addr locally.
48091 (lock_and_info): New function.
48092 (tr_freehook): Call lock_and_info and pass symbol info as additional
48093 parameter to tr_where.
48094 (tr_mallochook): Likewise.
48095 (tr_reallochook): Likewise.
48096 (tr_memalignhook): Likewise.
48098 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
48099 used and couldn't be at all thread-safe.
48101 2011-05-15 Ulrich Drepper <drepper@gmail.com>
48103 * libio/freopen.c (freopen): Don't close old file descriptor
48104 before the new one is opened. Instead dup the new file descriptor
48105 to the old one after the new stream is created.
48106 * libio/freopen64.c (freopen64): Likewise.
48107 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48108 * libio/fileops.c (_IO_new_file_close_it): Handle new
48109 _IO_FLAGS2_NOCLOSE flag.
48110 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48111 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48112 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48113 _IO_FLAGS2_NOCLOSE flag.
48114 * include/unistd.h: Add hidden_proto for dup3.
48115 Define __have_dup3.
48116 * io/dup3.c: Define hidden symbol.
48117 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48120 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48121 when an incomplete long option is used.
48122 * posix/tst-getopt_long1.c: New file.
48123 * posix/Makefile (tests): Add tst-getopt_long1.
48126 * scripts/config.guess: Update from autoconf-2.68.
48127 * scripts/config.sub: Likewise.
48130 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48132 (has_cpuclock): ...this. New function.
48133 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48134 macro here based on has_cpuclock code.
48137 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48138 First byte (not low byte) is now always NUL.
48139 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48141 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48142 Use non-cancelable interfaces.
48145 * locale/iso-639.def: Add entry for Sorani.
48148 * include/stdlib.h: Move include protection to the right place.
48149 Define abort_msg_s. Declare __abort_msg with it.
48150 * stdlib/abort.c (__abort_msg): Adjust type.
48151 * assert/assert.c (__assert_fail_base): New function. Majority
48152 of code from __assert_fail. Allocate memory for __abort_msg with
48154 (__assert_fail): Now call __assert_fail_base.
48155 * assert/assert-perr.c: Remove bulk of implementation. Use
48156 __assert_fail_base.
48157 * include/assert.hL Declare __assert_fail_base.
48158 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48160 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48162 2011-05-14 Ulrich Drepper <drepper@gmail.com>
48166 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48167 until all modules are registered in the DTV.
48168 * elf/Makefile: Add rules to build and run tst-tls19.
48169 * elf/tst-tls19.c: New file.
48170 * elf/tst-tls19mod1.c: New file.
48171 * elf/tst-tls19mod2.c: New file.
48172 * elf/tst-tls19mod3.c: New file.
48173 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48176 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48180 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48181 two-byte sequence errors.
48182 * iconvdata/Makefile (tests): Add bug-iconv8.
48183 * iconvdata/bug-iconv8.c: New file.
48186 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48189 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48192 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48193 (dummy_getcfa): New function.
48194 (init): Get _Unwind_GetCFA address, use dummy if not found.
48195 (backtrace_helper): In recursion check, also check whether CFA changes.
48196 (__backtrace): Completely initialize arg.
48198 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48199 storing incomplete byte sequence in state object. Avoid testing for
48200 guaranteed too small input if we know there is enough data available.
48202 2011-05-11 Andreas Schwab <schwab@redhat.com>
48204 * Makeconfig (+link-pie): Indent.
48205 * Rules (binaries-pie): Define if $(have-fpie) and
48207 (binaries-shared): Also filter out $(binaries-pie).
48208 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48209 * nscd/Makefile (others-pie): Add nscd.
48210 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48211 ($(objpfx)nscd): Remove command override.
48212 * login/Makefile (others-pie): Add pt_chown.
48213 ($(objpfx)pt_chown): Remove command override.
48214 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48215 remove command overrides.
48217 2011-05-13 Ulrich Drepper <drepper@gmail.com>
48219 * libio/tst_putwc.c: Fix error messages.
48222 * libio/fileops.c (_IO_new_file_close_it): Always flush when
48223 currently writing and seek to current position when not.
48224 * libio/Makefile (tests): Add bug-fclose1.
48225 * libio/bug-fclose1.c: New file.
48227 2011-05-12 Ulrich Drepper <drepper@gmail.com>
48230 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48231 don't set DF_1_NODELETE here.
48232 (do_lookup_x): When entering new entry test for copy relocation
48233 and if necessary set DF_1_NODELETE flag.
48234 * elf/tst-unique4.cc: New file.
48235 * elf/tst-unique4.h: New file.
48236 * elf/tst-unique4lib.cc: New file.
48237 * elf/Makefile: Add rules to build and run tst-unique4.
48238 Patch by Piotr Bury <pbury@goahead.com>.
48240 2011-05-11 Ulrich Drepper <drepper@gmail.com>
48243 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48246 * misc/mntent_r.c (addmntent): Flush the stream after the output
48249 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48250 (is_trusted_path_normalize): Skip initial colon. Append slash
48251 to empty buffer. Duplicate is_trusted_path code but allow
48252 constructed patch to be prefix.
48253 (is_dst): Allow $ORIGIN followed by /.
48254 (_dl_dst_substitute): Correct clearing of check_for_trusted.
48255 Correct testing of result of is_trusted_path_normalize
48256 (decompose_rpath): Fix warning.
48258 2011-05-10 Ulrich Drepper <drepper@gmail.com>
48261 * grp/initgroups.c (internal_getgrouplist): When we found the service
48262 list through the initgroups entry in nsswitch.conf do not always
48263 continue on a successful lookup. Don't always use the
48264 __nss_group_database value if it is set.
48265 * nss/nsswitch.conf (initgroups): Change action for successful db
48266 lookup to continue for compatibility.
48268 2011-05-09 Ulrich Drepper <drepper@gmail.com>
48271 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48273 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48275 * iconvdata/tst-tables.sh: Likewise.
48276 * iconvdata/cp770.c: New file.
48277 * iconvdata/cp771.c: New file.
48278 * iconvdata/cp772.c: New file.
48279 * iconvdata/cp773.c: New file.
48280 * iconvdata/cp774.c: New file.
48281 * iconvdata/testdata/CP770: New file.
48282 * iconvdata/testdata/CP770..UTF8: New file.
48283 * iconvdata/testdata/CP771: New file.
48284 * iconvdata/testdata/CP771..UTF8: New file.
48285 * iconvdata/testdata/CP772: New file.
48286 * iconvdata/testdata/CP772..UTF8: New file.
48287 * iconvdata/testdata/CP773: New file.
48288 * iconvdata/testdata/CP773..UTF8: New file.
48289 * iconvdata/testdata/CP774: New file.
48290 * iconvdata/testdata/CP774..UTF8: New file.
48292 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48294 * iconvdata/gen-8bit-gap.sh: Likewise.
48295 * iconvdata/gen-8bit.sh: Likewise.
48297 * locale/iso-639.def: Add ary entry.
48300 * locale/C-translit.h.in: Add U20A1 transliteration.
48303 * locale/iso-639.def: Add wae entry.
48304 Patch by Kevin Bortis <bortis@translate-wae.ch>.
48307 * locale/programs/localedef.c (construct_output_path): Use ssize_t
48311 * locale/C-translit.h.in: Add entry for U20B9.
48312 Patch by pravin.d.s@gmail.com.
48314 2011-05-08 Ulrich Drepper <drepper@gmail.com>
48317 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48318 ENAMETOOLONG use generic getcwd.
48319 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
48320 in rtld. Use *stat64.
48321 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48322 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48323 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48324 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48325 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48326 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48327 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48328 __fstatat64 macros.
48329 * include/dirent.h: Add libc_hidden_proto for rewinddir.
48330 * dirent/rewinddir.c: Add libc_hidden_def.
48331 * sysdeps/mach/hurd/rewinddir.c: Likewise.
48332 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
48334 * include/dirent.h (__alloc_dir): Add flags parameter.
48335 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48336 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48338 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
48339 from fdopendir if O_CLOEXEC is already set.
48341 2011-03-15 Alan Modra <amodra@gmail.com>
48343 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48344 l_tls_firstbyte_offset non-zero. Save padding offset in
48345 l_tls_firstbyte_offset for later use.
48346 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48347 freeing static tls block.
48349 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
48351 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48352 where #ifdef was intended. The intent is to prevent ARG_MAX from
48353 being defined by the kernel headers.
48355 2011-05-07 Ulrich Drepper <drepper@gmail.com>
48358 * resolv/resolv.h: Define RES_NOTLDQUERY.
48359 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48360 no-tld-query and set RES_NOTLDQUERY.
48361 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48362 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48363 modern BIND to search name as TLD unless forbidden.
48365 2011-05-07 Petr Baudis <pasky@suse.cz>
48366 Ulrich Drepper <drepper@gmail.com>
48369 * elf/dl-load.c (fillin_rpath): Move trusted path check...
48370 (is_trusted_path): ...to here.
48371 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48372 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48373 using is_trusted_path_normalize() in setuid scripts.
48375 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48377 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48378 __BEGIN/__END_DECLS.
48380 2011-05-06 Ulrich Drepper <drepper@gmail.com>
48382 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48383 NSS_STATUS_NOTFOUND if no record was found.
48385 2011-05-05 Andreas Schwab <schwab@redhat.com>
48387 * sunrpc/Makefile (headers): Add rpc/netdb.h.
48388 (headers-not-in-tirpc): Remove rpc/netdb.h
48389 * resolv/netdb.h: Revert last change.
48391 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48393 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48394 circular dependency between libgcc.a and libc.a.
48396 2011-05-05 Andreas Schwab <schwab@redhat.com>
48398 * resolv/netdb.h: Don't include <rpc/netdb.h>.
48399 * nis/Makefile: Don't install rpcsvc/*.
48400 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48401 instead of <rpc/types.h>.
48402 (MAXHOSTNAMELEN): Define.
48404 2011-05-03 Andreas Schwab <schwab@redhat.com>
48406 * elf/ldconfig.c (add_dir): Don't crash on empty path.
48408 2011-04-28 Maciej Babinski <mbabinski@google.com>
48411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48412 gethostbyname4_r when IPv6 results are possible.
48414 2011-05-02 Ulrich Drepper <drepper@gmail.com>
48417 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48418 _PC_PIPE_BUF handling.
48420 2011-04-30 Bruno Haible <bruno@clisp.org>
48423 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48424 * resolv/netdb.h (getnameinfo): Change type of flags parameter
48426 * inet/getnameinfo.c (getnameinfo): Likewise.
48428 2011-04-29 Ulrich Drepper <drepper@gmail.com>
48430 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48431 to groups setting in database lookup.
48432 * nss/nsswitch.conf: Add initgroups entry.
48434 2011-04-22 Ulrich Drepper <drepper@gmail.com>
48437 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48439 Patch by Eric Blake <eblake@redhat.com>.
48441 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
48443 * sunrpc/Makefile (need-export-routines): Add svc_run.
48444 (routines): Remove svc_run.
48445 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48446 * sunrpc/clnt_perr.c (clnt_perrno): Export.
48447 * sunrpc/svc_run.c (svc_run): Likewise.
48448 * sunrpc/svc_udp.c (svcudp_create): Likewise.
48450 2011-04-21 Ulrich Drepper <drepper@gmail.com>
48452 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48453 problem in reallocation in last patch.
48455 2011-04-20 Ulrich Drepper <drepper@gmail.com>
48457 * sunrpc/Makefile: Move inclusion of Rules.
48459 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48461 * nss/nss_files/files-initgroups.c: New file.
48462 * nss/Makefile (libnss_files-routines): Add files-initgroups.
48463 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48464 _nss_files_initgroups_dyn.
48466 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
48468 * elf/elf.h (R_ARM_IRELATIVE): Define.
48470 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48472 * po/ru.po: Update from translation team.
48474 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48476 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48479 2011-02-06 Mike Frysinger <vapier@gentoo.org>
48482 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48483 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48484 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48485 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48486 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48488 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
48490 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48492 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48493 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48494 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48496 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48499 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48501 * stdlib/bug-getcontext.c: New file.
48502 * stdlib/Makefile: Add rules to build and run bug-getcontext.
48504 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48506 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48507 instructions into .machine "z9-109".
48508 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48509 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48511 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48513 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48514 between environment variables and auxiliary vector.
48516 2011-04-16 Ulrich Drepper <drepper@gmail.com>
48518 * Makefile: Add rules to build linkobj/libc.so.
48519 * include/libc-symbols.h: Define libc_hidden_nolink.
48520 * include/rpc/auth.h: Mark functions which are to be hidden.
48521 * include/rpc/auth_des.h: Likewise.
48522 * include/rpc/auth_unix.h: Likewise.
48523 * include/rpc/clnt.h: Likewise.
48524 * include/rpc/des_crypt.h: Likewise.
48525 * include/rpc/key_prot.h: Likewise.
48526 * include/rpc/pmap_clnt.h: Likewise.
48527 * include/rpc/pmap_prot.h: Likewise.
48528 * include/rpc/pmap_rmt.h: Likewise.
48529 * include/rpc/rpc_msg.h: Likewise.
48530 * include/rpc/svc.h: Likewise.
48531 * include/rpc/svc_auth.h: Likewise.
48532 * include/rpc/xdr.h: Likewise.
48533 * nis/Makefile: Link all DSOs against linkobj/libc.so.
48534 * nss/Makefile: Likewise.
48535 * sunrpc/Makefile: Don't install headers. Build library with normal
48536 entry points. Don't build rpcinfo. Link RPC tests appropriately.
48537 * sunrpc/auth_des.c: Hide exported symbols by default, export some
48538 for the compat linking library. Remove use of INTDEF/INTUSE.
48539 * sunrpc/auth_none.c: Likewise.
48540 * sunrpc/auth_unix.c: Likewise.
48541 * sunrpc/authdes_prot.c: Likewise.
48542 * sunrpc/authuxprot.c: Likewise.
48543 * sunrpc/clnt_gen.c: Likewise.
48544 * sunrpc/clnt_perr.c: Likewise.
48545 * sunrpc/clnt_raw.c: Likewise.
48546 * sunrpc/clnt_simp.c: Likewise.
48547 * sunrpc/clnt_tcp.c: Likewise.
48548 * sunrpc/clnt_udp.c: Likewise.
48549 * sunrpc/clnt_unix.c: Likewise.
48550 * sunrpc/des_crypt.c: Likewise.
48551 * sunrpc/des_soft.c: Likewise.
48552 * sunrpc/get_myaddr.c: Likewise.
48553 * sunrpc/key_call.c: Likewise.
48554 * sunrpc/key_prot.c: Likewise.
48555 * sunrpc/netname.c: Likewise.
48556 * sunrpc/pm_getmaps.c: Likewise.
48557 * sunrpc/pm_getport.c: Likewise.
48558 * sunrpc/pmap_clnt.c: Likewise.
48559 * sunrpc/pmap_prot.c: Likewise.
48560 * sunrpc/pmap_prot2.c: Likewise.
48561 * sunrpc/pmap_rmt.c: Likewise.
48562 * sunrpc/publickey.c: Likewise.
48563 * sunrpc/rpc_cmsg.c: Likewise.
48564 * sunrpc/rpc_common.c: Likewise.
48565 * sunrpc/rpc_dtable.c: Likewise.
48566 * sunrpc/rpc_prot.c: Likewise.
48567 * sunrpc/rpc_thread.c: Likewise.
48568 * sunrpc/rtime.c: Likewise.
48569 * sunrpc/svc.c: Likewise.
48570 * sunrpc/svc_auth.c: Likewise.
48571 * sunrpc/svc_authux.c: Likewise.
48572 * sunrpc/svc_raw.c: Likewise.
48573 * sunrpc/svc_run.c: Likewise.
48574 * sunrpc/svc_simple.c: Likewise.
48575 * sunrpc/svc_tcp.c: Likewise.
48576 * sunrpc/svc_udp.c: Likewise.
48577 * sunrpc/svc_unix.c: Likewise.
48578 * sunrpc/svcauth_des.c: Likewise.
48579 * sunrpc/xcrypt.c: Likewise.
48580 * sunrpc/xdr.c: Likewise.
48581 * sunrpc/xdr_array.c: Likewise.
48582 * sunrpc/xdr_float.c: Likewise.
48583 * sunrpc/xdr_intXX_t.c: Likewise.
48584 * sunrpc/xdr_mem.c: Likewise.
48585 * sunrpc/xdr_rec.c: Likewise.
48586 * sunrpc/xdr_ref.c: Likewise.
48587 * sunrpc/xdr_sizeof.c: Likewise.
48588 * sunrpc/xdr_stdio.c: Likewise.
48590 2011-04-10 Ulrich Drepper <drepper@gmail.com>
48593 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48594 * sysdeps/ia64/dl-tls.h: Likewise.
48595 * sysdeps/powerpc/dl-tls.h: Likewise.
48596 * sysdeps/s390/dl-tls.h: Likewise.
48597 * sysdeps/sh/dl-tls.h: Likewise.
48598 * sysdeps/sparc/dl-tls.h: Likewise.
48599 * sysdeps/x86_64/dl-tls.h: Likewise.
48600 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48602 2011-03-14 Andreas Schwab <schwab@redhat.com>
48604 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48605 rpath element also skip the following colon.
48606 (expand_dynamic_string_token): Add is_path parameter and pass
48607 down to DL_DST_REQUIRED and _dl_dst_substitute.
48608 (decompose_rpath): Call expand_dynamic_string_token with
48609 non-zero is_path. Ignore empty rpaths.
48610 (_dl_map_object_from_fd): Call expand_dynamic_string_token
48613 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
48615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48618 2011-04-09 Ulrich Drepper <drepper@gmail.com>
48621 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48622 Patch by Filipe David Manana <fdmanana@apache.org>.
48624 2011-04-07 Andreas Schwab <schwab@redhat.com>
48626 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48627 Maintain aligned stack.
48628 (CHECK_RSP): Remove unused macro.
48630 2011-04-03 Ulrich Drepper <drepper@gmail.com>
48632 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48633 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48635 2011-04-02 Ulrich Drepper <drepper@gmail.com>
48637 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48639 * include/features.h: Mention __USE_XOPEN2K8 in comment.
48641 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
48644 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48645 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48646 * sysdeps/x86_64/memmove.c: New file.
48647 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48648 (memcpy): Renamed to ...
48649 (__new_memcpy): This.
48650 (memcpy): Provide GLIBC_2_14 memcpy.
48651 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48652 (memcpy): Provide GLIBC_2_2_5 memcpy.
48654 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48657 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48659 2011-03-30 Andreas Schwab <schwab@redhat.com>
48661 * misc/syncfs.c: New file.
48662 * misc/Makefile (routines): Add syncfs.
48663 * posix/unistd.h: Declare syncfs.
48664 * sysdeps/unix/syscalls.list: Add syncfs.
48666 2011-04-01 Andreas Schwab <schwab@redhat.com>
48668 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48670 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48671 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48672 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48673 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48674 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48675 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48676 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48678 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48680 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48681 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48682 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48683 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48684 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48686 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48688 * io/Makefile: Compile fallocate.c, fallocate64.c, and
48689 sync_file_range.c with -fexceptions.
48690 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48691 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48692 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48693 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48694 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48695 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48696 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48697 sync_file_range as cancellation point
48698 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
48699 now a wrapper around __call_sync_file_range with cancellation handling.
48700 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48701 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
48702 function name to __call_sync_file_range.
48703 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48704 Add call_sync_file_range.
48706 2011-04-01 Andreas Schwab <schwab@redhat.com>
48708 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48711 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48713 * iconv/iconv.h: Fix typo in comment.
48714 * io/fcntl.h: Likewise.
48715 * libio/stdio.h: Likewise.
48716 * posix/spawn.h: Likewise.
48717 * posix/unistd.h: Likewise.
48718 * stdlib/stdlib.h: Likewise.
48719 * time/time.h: Likewise.
48720 * wcsmbs/wchar.h: Likewise.
48722 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48723 open_by_handle): Add.
48724 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48725 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
48726 Augment a few comments.
48727 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48728 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48729 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48730 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48731 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48732 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48735 * io/fcntl.h (AT_EMPTY_PATH): Define.
48737 2011-03-30 Ulrich Drepper <drepper@gmail.com>
48739 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48740 * sysdeps/unix/sysv/linux/bits/time.h: New file.
48741 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48743 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
48744 * Versions.def: Add GLIBC_2.14.
48745 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48748 2011-03-22 Ulrich Drepper <drepper@gmail.com>
48750 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48752 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48754 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48757 * string/test-strncmp.c (do_page_test): New function.
48758 (check2): Likewise.
48759 (test_main): Call check2.
48760 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48762 2011-03-20 Ulrich Drepper <drepper@gmail.com>
48765 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48766 Handle cache information in CPU leaf 4.
48767 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48769 2011-03-18 Ulrich Drepper <drepper@gmail.com>
48772 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48773 character representation.
48774 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48776 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48778 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48779 END(__isnan) to END(__isnanf) to match function entry point/label
48780 EALIGN(__isnanf,...).
48782 2011-03-10 Jakub Jelinek <jakub@redhat.com>
48784 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48786 2011-03-10 Ulrich Drepper <drepper@gmail.com>
48789 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48790 copy from the symbol referenced in the relocation to initialize the
48792 Patch by Piotr Bury <pbury@goahead.com>.
48793 * elf/Makefile: Add rules to build and tst-unique3.
48794 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48795 * elf/tst-unique3.cc: New file.
48796 * elf/tst-unique3.h: New file.
48797 * elf/tst-unique3lib.cc: New file.
48798 * elf/tst-unique3lib2.cc: New file.
48800 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48802 2011-03-10 Mike Frysinger <vapier@gentoo.org>
48804 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48805 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48808 2011-03-06 Ulrich Drepper <drepper@gmail.com>
48810 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48811 to-be-loaded object along a path to loader is ld.so.
48813 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48814 Ulrich Drepper <drepper@gmail.com>
48816 * sysdeps/x86_64/memset.S: After aligning destination, code
48817 branches to different locations depending on the value of
48818 misalignment, when multiarch is enabled. Fix this.
48820 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48822 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48823 Set _x86_64_preferred_memory_instruction for AMD processsors.
48824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48825 Set bit_Prefer_SSE_for_memop for AMD processors.
48827 2011-03-04 Ulrich Drepper <drepper@gmail.com>
48829 * libio/fmemopen.c (fmemopen): Optimize a bit.
48831 2011-03-03 Andreas Schwab <schwab@redhat.com>
48833 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48835 2011-03-03 Roland McGrath <roland@redhat.com>
48837 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48839 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48841 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48842 __bzero_ultra1 instead of __memset_ultra1.
48844 2011-02-23 Andreas Schwab <schwab@redhat.com>
48845 Ulrich Drepper <drepper@gmail.com>
48848 * include/link.h (struct link_map): Add l_orig_initfini.
48849 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48850 returning unsuccessfully.
48851 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48852 close of a file loaded at startup, restore the original l_initfini
48854 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48855 list, store the pointer.
48856 * elf/Makefile ($(objpfx)noload-mem): New rule.
48857 (noload-ENV): Define.
48858 (tests): Add $(objpfx)noload-mem.
48859 * elf/noload.c: Include <memcheck.h>.
48860 (main): Call mtrace. Close all opened handles.
48862 2011-02-17 Andreas Schwab <schwab@redhat.com>
48865 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48866 dependencies are missing.
48868 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48870 Fix __if_freereq crash: Unlike the generic version which uses free,
48872 * sysdeps/mach/hurd/ifreq.h: New file.
48874 2011-01-27 Petr Baudis <pasky@suse.cz>
48875 Ulrich Drepper <drepper@gmail.com>
48878 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48879 to extend_alloca().
48880 * stdio-common/bug23.c: New file.
48881 * stdio-common/Makefile (tests): Add bug23.
48883 2010-09-28 Andreas Schwab <schwab@redhat.com>
48884 Ulrich Drepper <drepper@gmail.com>
48887 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48888 before performing relro protection. At old place add assertion
48889 to make sure nothing changed.
48891 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48892 Glauber de Oliveira Costa <glommer@gmail.com>
48894 * elf/elf.h: Add new ARM TLS relocs.
48896 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48899 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48901 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48903 * sysdeps/wordsize-64/tst-writev.c: New file.
48905 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48907 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48908 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48909 insns in _dl_start to prevent a TOC reference before relocs are
48912 2011-02-15 Ulrich Drepper <drepper@gmail.com>
48915 * Makeconfig: Remove RANLIB definition.
48916 * Makerules: Don't use RANLIB.
48917 * aclocal.m4: Remove ranlib test.
48918 * configure.in: No need to check for ranlib.
48919 * elf/rtld-Rules: Don't use RANLIB.
48921 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48923 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48925 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48926 inclusion protection macro.
48928 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48929 SIGRTMIN and SIGRTMAX and print information in that case only when
48930 SIGRTMIN is defined.
48932 2011-02-11 Jakub Jelinek <jakub@redhat.com>
48934 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48935 arginfo fn returning -1.
48937 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48938 and thousands string is zero terminated.
48940 2011-02-03 Andreas Schwab <schwab@redhat.com>
48942 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48943 sysdeps/unix/sysv/linux/bits/socket.h.
48945 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48947 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48948 (__CPU_COUNT): Remove old macros.
48949 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48950 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48951 (__CPU_ALLOC, __CPU_FREE): Add macros.
48952 (__sched_cpualloc, __sched_cpufree): Add declarations.
48954 2011-02-05 Ulrich Drepper <drepper@gmail.com>
48956 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48957 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48958 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48959 (readdhstai): Return value of addhstaiX call.
48960 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48961 (addgrbyX): Return value returned by cache_addgr.
48962 (readdgrbyname): Return value returned by addgrbyX.
48963 (readdgrbygid): Likewise.
48964 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48965 (addpwbyX): Return value returned by cache_addpw.
48966 (readdpwbyname): Return value returned by addhstbyX.
48967 (readdpwbyuid): Likewise.
48968 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48969 (addservbyX): Return value returned by cache_addserv.
48970 (readdservbyname): Return value returned by addservbyX:
48971 (readdservbyport): Likewise.
48972 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48973 (addhstbyX): Return value returned by cache_addhst.
48974 (readdhstbyname): Return value returned by addhstbyX.
48975 (readdhstbyaddr): Likewise.
48976 (readdhstbynamev6): Likewise.
48977 (readdhstbyaddrv6): Likewise.
48978 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48979 (readdinitgroups): Return value returned by addinitgroupsX.
48980 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48981 (prune_cache): Keep track of timeout value of re-added entries.
48982 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48983 * nscd/nscd.h: Adjust prototypes of readd* functions.
48985 2011-02-04 Roland McGrath <roland@redhat.com>
48987 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48988 (nis_stats): Likewise.
48989 * nis/nis_modify.c (nis_modify): Likewise.
48990 * nis/nis_remove.c (nis_remove): Likewise.
48991 * nis/nis_add.c (nis_add): Likewise.
48993 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48995 * posix/fnmatch_loop.c: Add some consts.
48997 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48999 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
49002 * config.make.in (config-cflags-novzeroupper): Define.
49003 * configure.in: Substitute libc_cv_cc_novzeroupper.
49004 * elf/Makefile (AVX-CFLAGS): Define.
49005 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49006 (CFLAGS-tst-auditmod4a.c): Likewise.
49007 (CFLAGS-tst-auditmod4b.c): Likewise.
49008 (CFLAGS-tst-auditmod6b.c): Likewise.
49009 (CFLAGS-tst-auditmod6c.c): Likewise.
49010 (CFLAGS-tst-auditmod7b.c): Likewise.
49011 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49013 2011-02-02 Ulrich Drepper <drepper@gmail.com>
49015 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49016 function to the callback.
49017 Patch partly by Jiri Olsa <jolsa@redhat.com>.
49019 2011-02-02 Andreas Schwab <schwab@redhat.com>
49021 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49024 2011-01-19 Ulrich Drepper <drepper@gmail.com>
49027 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49029 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49031 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49034 * elf/Makefile: Add rules to build and run new test.
49035 * elf/tst-initorder.c: New file.
49036 * elf/tst-initorder.exp: New file.
49037 * elf/tst-initordera1.c: New file.
49038 * elf/tst-initordera2.c: New file.
49039 * elf/tst-initordera3.c: New file.
49040 * elf/tst-initordera4.c: New file.
49041 * elf/tst-initorderb1.c: New file.
49042 * elf/tst-initorderb2.c: New file.
49043 * elf/tst-order-a1.c: New file.
49044 * elf/tst-order-a2.c: New file.
49045 * elf/tst-order-a3.c: New file.
49046 * elf/tst-order-a4.c: New file.
49047 * elf/tst-order-b1.c: New file.
49048 * elf/tst-order-b2.c: New file.
49049 * elf/tst-order-main.c: New file.
49050 New test case by George Gensure <werkt0@gmail.com>.
49052 2010-10-01 Andreas Schwab <schwab@redhat.com>
49054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49055 decoding ACE if AI_CANONIDN.
49057 2011-01-18 Ulrich Drepper <drepper@gmail.com>
49059 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49061 2011-01-17 Ulrich Drepper <drepper@gmail.com>
49063 * version.h (RELEASE): Bump for 2.13 release.
49064 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49066 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49068 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49070 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49071 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49072 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49073 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49074 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49075 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49077 * posix/getconf.c: Update copyright year.
49078 * catgets/gencat.c: Likewise.
49079 * csu/version.c: Likewise.
49080 * debug/catchsegv.sh: Likewise.
49081 * debug/xtrace.sh: Likewise.
49082 * elf/ldconfig.c: Likewise.
49083 * elf/ldd.bash.in: Likewise.
49084 * elf/sprof.c (print_version): Likewise.
49085 * iconv/iconv_prog.c: Likewise.
49086 * iconv/iconvconfig.c: Likewise.
49087 * locale/programs/locale.c: Likewise.
49088 * locale/programs/localedef.c: Likewise.
49089 * malloc/memusage.sh: Likewise.
49090 * malloc/mtrace.pl: Likewise.
49091 * nscd/nscd.c (print_version): Likewise.
49092 * nss/getent.c: Likewise.
49094 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49095 PF_CAIF, and PF_ALG.
49096 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49098 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
49100 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49101 (modules-names): Use them.
49102 (ifunc-test-modules, ifunc-pie-tests): Define.
49103 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49104 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49105 (test-extras): Likewise.
49106 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49107 $(compile-command.c).
49108 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49109 (all-built-dso): Define.
49110 (check-textrel.out, check-execstack.out): Depend on it.
49112 * configure.in: Don't override --enable-multi-arch.
49114 2011-01-15 Ulrich Drepper <drepper@gmail.com>
49117 * nscd/hstcache.c (tryagain): Define.
49118 (cache_addhst): Return tryagain not notfound for temporary errors.
49119 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49122 2011-01-14 Ulrich Drepper <drepper@gmail.com>
49125 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49126 to make the syscall.
49127 * sysdeps/unix/sysv/linux/setgroups.c: New file.
49130 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49131 and fall back to matching as normal character if the string ends before
49132 the matching ']' is found. This is what POSIX requires.
49133 * posix/testfnm.c: Adjust test result.
49134 * posix/globtest.sh: Adjust test result. Add new test.
49135 * posix/tst-fnmatch.input: Likewise.
49136 * posix/tst-fnmatch2.c: Add new test.
49138 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
49140 * elf/Makefile (check-execstack): Revert last change. Depend on
49142 (check-execstack.h): New target.
49143 (generated): Add check-execstack.h.
49144 * elf/check-execstack.c: Include "check-execstack.h".
49145 (main): Revert last change.
49146 (handle_file): Return zero if GNU_STACK is absent and
49147 DEFAULT_STACK_PERMS doesn't include PF_X.
49149 2011-01-13 Ulrich Drepper <drepper@gmail.com>
49151 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49152 in child fails because the descriptor is already closed.
49153 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49154 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49155 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49158 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49162 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49163 temporary buffer used to handle multi lookups locally.
49164 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49166 2011-01-12 Ulrich Drepper <drepper@gmail.com>
49168 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49171 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
49173 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49174 alignment for SSE2.
49176 2011-01-12 Ulrich Drepper <drepper@gmail.com>
49179 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49180 characters. When rounding increased number of integer digits recompute
49182 * stdio-common/tst-grouping.c: New file.
49183 * stdio-common/Makefile: Add rules to build and run tst-grouping.
49185 2011-01-09 Ulrich Drepper <drepper@gmail.com>
49187 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49188 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
49190 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49192 * bits/select.h: Likewise.
49194 2011-01-08 Ulrich Drepper <drepper@gmail.com>
49196 * po/ja.po: Update from translation team.
49198 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
49201 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49202 implementation just like for lxstat, fxstatat, et al.
49204 2010-12-27 Jim Meyering <meyering@redhat.com>
49207 * posix/regexec.c (build_trtable): Return failure indication upon
49208 calloc failure. Otherwise, re_search_internal could infloop on OOM.
49210 2010-12-25 Ulrich Drepper <drepper@gmail.com>
49213 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49214 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49215 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49216 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49219 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49222 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49223 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49225 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
49227 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49228 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49229 script has SORT_BY_INIT_PRIORITY.
49230 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49231 NO_CTORS_DTORS_SECTIONS is defined.
49232 * elf/soinit.c: Likewise.
49233 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49234 NO_CTORS_DTORS_SECTIONS is defined.
49235 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49236 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49237 * sysdeps/sh/init-first.c: Likewise.
49238 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49240 2010-12-24 Ulrich Drepper <drepper@gmail.com>
49242 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49243 always use the slow path.
49245 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
49247 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49248 similar rule which adds the sysdep directories to the header search in
49249 order to pick up the correct platform stackinfo.h.
49250 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49251 perform test if it is, otherwise return successfully without testing.
49252 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49253 DEFAULT_STACK_PERMS define in stackinfo.h.
49254 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49255 defined in stackinfo.h.
49256 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49257 DEFAULT_STACK_PERMS defined in stackinfo.h.
49258 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49259 * sysdeps/ia64/stackinfo.h: Likewise.
49260 * sysdeps/s390/stackinfo.h: Likewise.
49261 * sysdeps/sh/stackinfo.h: Likewise.
49262 * sysdeps/sparc/stackinfo.h: Likewise.
49263 * sysdeps/x86_64/stackinfo.h: Likewise.
49264 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49265 PF_X for powerpc64. Retain PF_X for powerpc32.
49267 2010-12-19 Ulrich Drepper <drepper@gmail.com>
49269 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49271 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49272 GETDENTS_64BIT_ALIGNED.
49274 2010-12-14 Ulrich Drepper <dreper@gmail.com>
49276 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49278 2010-12-10 Andreas Schwab <schwab@redhat.com>
49280 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49283 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49284 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49286 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49287 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49289 2010-12-09 Ulrich Drepper <drepper@gmail.com>
49292 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49295 2010-12-09 Jakub Jelinek <jakub@redhat.com>
49297 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49299 2010-12-03 Ulrich Drepper <drepper@gmail.com>
49301 * po/it.po: Update from translation team.
49303 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
49305 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49308 2010-11-30 Ulrich Drepper <drepper@gmail.com>
49310 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49312 2010-11-24 Andreas Schwab <schwab@redhat.com>
49314 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49316 (gaih_getanswer_slice): Likewise.
49318 2010-10-20 Jakub Jelinek <jakub@redhat.com>
49320 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49322 2010-05-31 Petr Baudis <pasky@suse.cz>
49325 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49326 silently even in the chroot mode.
49328 2010-11-22 Ulrich Drepper <drepper@gmail.com>
49330 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49331 last patch a bit. Pretty printing
49333 2010-05-31 Petr Baudis <pasky@suse.cz>
49336 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49337 initialization of skip_initgroups_dyn.
49339 2010-11-19 Ulrich Drepper <drepper@gmail.com>
49341 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49342 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49344 2010-11-16 Ulrich Drepper <drepper@gmail.com>
49346 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49348 2010-11-11 Andreas Schwab <schwab@redhat.com>
49350 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49351 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49352 (tst-fnmatch-ENV): Set MALLOC_TRACE.
49353 ($(objpfx)tst-fnmatch-mem): New rule.
49354 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49355 * posix/tst-fnmatch.c (main): Call mtrace.
49357 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
49359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49360 Support Intel processor model 6 and model 0x2c.
49362 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
49364 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49367 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
49370 * string/test-strncasecmp.c (check_result): New function.
49371 (do_one_test): Use it.
49372 (check1): New function.
49373 (test_main): Use it.
49374 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49375 Support strcasecmp and strncasecmp.
49377 2010-11-08 Ulrich Drepper <drepper@gmail.com>
49380 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49381 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49383 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
49385 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49389 * sysdeps/x86_64/multiarch/bzero.S: New file.
49390 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49391 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49392 * sysdeps/x86_64/multiarch/memset.S: New file.
49393 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49395 Set bit_Prefer_SSE_for_memop for Intel processors.
49396 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49398 (index_Prefer_SSE_for_memop): Define.
49399 (HAS_PREFER_SSE_FOR_MEMOP): Define.
49401 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
49403 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49404 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49406 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
49409 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49410 (__x86_64_raw_data_cache_size_half): Likewise.
49411 (__x86_64_raw_shared_cache_size): Likewise.
49412 (__x86_64_raw_shared_cache_size_half): Likewise.
49414 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49415 (__x86_64_raw_data_cache_size_half): Likewise.
49416 (__x86_64_raw_shared_cache_size): Likewise.
49417 (__x86_64_raw_shared_cache_size_half): Likewise.
49418 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49419 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49420 and __x86_64_raw_shared_cache_size_half. Round
49421 __x86_64_data_cache_size_half, __x86_64_data_cache_size
49422 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49423 to multiple of 256 bytes.
49425 2010-11-03 Ulrich Drepper <drepper@gmail.com>
49428 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49429 of inacessible symlinks. Verify result of symlink before returning it.
49430 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49431 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49433 2010-10-28 Erich Ritz <erichritz@gmail.com>
49435 * math/math.h (isinf): Fix typo in comment.
49437 2010-11-01 Ulrich Drepper <drepper@gmail.com>
49439 * po/da.po: Update from translation team.
49441 2010-10-26 Ulrich Drepper <drepper@gmail.com>
49443 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49444 is added to the list.
49446 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49447 Ulrich Drepper <drepper@gmail.com>
49449 * elf/dl-object.c (_dl_new_object): Don't append the new object to
49450 the global list here. Move code to...
49451 (_dl_add_to_namespace_list): ...here. New function.
49452 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49453 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49454 * elf/dl-load.c (lose): Don't remove the element from the list.
49455 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49456 (_dl_map_object): Likewise.
49458 2010-10-25 Ulrich Drepper <drepper@gmail.com>
49461 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49462 into all bytes of SSE register.
49463 Patch by Richard Li <richardpku@gmail.com>.
49465 2010-10-24 Ulrich Drepper <drepper@gmail.com>
49468 * malloc/malloc.c (_int_free): Fill correct number of bytes when
49471 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
49473 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49474 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49475 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49476 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49481 2010-10-22 Andreas Schwab <schwab@redhat.com>
49483 * include/dlfcn.h (__RTLD_SECURE): Define.
49484 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
49485 mode & __RTLD_SECURE instead.
49486 (open_path): Rename preloaded parameter to secure.
49487 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49488 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49489 * elf/dl-deps.c (openaux): Likewise.
49490 * elf/rtld.c (struct map_args): Remove is_preloaded.
49491 (map_doit): Don't use it.
49492 (dl_main): Likewise.
49493 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49494 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49496 2010-09-09 Andreas Schwab <schwab@redhat.com>
49498 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49499 (sysd-rules-targets): Remove duplicates.
49500 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49501 rtld-%.$o dependency.
49503 2010-10-18 Andreas Schwab <schwab@redhat.com>
49505 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49506 _dl_map_object do it.
49508 2010-10-19 Ulrich Drepper <drepper@gmail.com>
49510 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49511 fast fma builtins, define the macros in the C99 standard.
49512 (FP_FAST_FMAF): Likewise.
49513 (FP_FAST_FMAL): Likewise.
49514 * sysdeps/x86_64/bits/mathdef.h: Likewise.
49516 * bits/mathdef.h: Update copyright year.
49517 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49519 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
49521 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49522 builtins, define the macros in the C99 standard.
49523 (FP_FAST_FMAF): Likewise.
49524 (FP_FAST_FMAL): Likewise.
49525 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49527 (FP_FAST_FMAF): Likewise.
49529 2010-10-15 Jakub Jelinek <jakub@redhat.com>
49532 * math/libm-test.inc (fma_test): Some new testcases.
49533 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49534 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49535 y and infinite z. Do multiplication by C already in long double.
49536 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49537 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49538 y and infinite z. Do bitwise or of inexact bit into u.d.
49539 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49540 * sysdeps/i386/fpu/s_fmaf.S: Removed.
49541 * sysdeps/i386/fpu/s_fma.S: Removed.
49542 * sysdeps/i386/fpu/s_fmal.S: Removed.
49544 2010-10-16 Jakub Jelinek <jakub@redhat.com>
49547 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49548 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49549 computation is not scheduled after fetestexcept. Fix value
49550 of minimum denormal long double.
49552 2010-10-14 Jakub Jelinek <jakub@redhat.com>
49555 * math/libm-test.inc (fma_test): Add some more tests.
49556 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49559 2010-10-15 Andreas Schwab <schwab@redhat.com>
49561 * scripts/data/localplt-s390-linux-gnu.data: New file.
49562 * scripts/data/localplt-s390x-linux-gnu.data: New file.
49564 2010-10-13 Jakub Jelinek <jakub@redhat.com>
49567 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49568 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49570 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49572 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49573 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49574 if one of x and y is very large and the other is subnormal.
49575 * sysdeps/s390/fpu/s_fmaf.c: New file.
49576 * sysdeps/s390/fpu/s_fma.c: New file.
49577 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49578 * sysdeps/powerpc/fpu/s_fma.S: New file.
49579 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49580 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49581 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49583 2010-10-12 Jakub Jelinek <jakub@redhat.com>
49586 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49588 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49589 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49590 * sysdeps/i386/i686/multiarch/s_fma.c: Include
49591 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49592 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49593 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49594 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49596 2010-10-12 Ulrich Drepper <drepper@redhat.com>
49599 * posix/regcomp.c (parse_branch): One more memory leak plugged.
49600 * posix/bug-regex31.input: Add test case.
49602 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49604 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49605 * posix/bug-regex31.input: New file.
49608 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49609 (parse_sub_exp): Fix last change, use postorder.
49611 * posix/bug-regex31.c: New file.
49612 * posix/Makefile: Add rules to build and run bug-regex31.
49614 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49617 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49620 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49621 to have entries in sys_siglist.
49624 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49627 2010-10-07 Jakub Jelinek <jakub@redhat.com>
49630 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49631 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49632 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49633 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49634 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49635 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49636 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49637 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49638 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49639 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49640 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49641 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49642 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49643 * math/ftestexcept.c (fetestexcept): Likewise.
49644 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49645 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49646 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49647 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49648 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49649 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49650 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49652 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49655 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49658 2010-10-06 Ulrich Drepper <drepper@gmail.com>
49660 * string/bug-strstr1.c: New file.
49661 * string/Makefile: Add rules to build and run bug-strstr1.
49663 2010-10-05 Eric Blake <eblake@redhat.com>
49666 * string/str-two-way.h (two_way_long_needle): Always clear memory
49667 when skipping input due to the shift table.
49669 2010-10-03 Ulrich Drepper <drepper@gmail.com>
49672 * malloc/mcheck.c: Handle large requests.
49675 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49676 for strncmp and strncasecmp.
49677 * string/stratcliff.c: Add tests for strcmp and strncmp.
49678 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49680 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49682 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49685 2010-09-30 Andreas Jaeger <aj@suse.de>
49687 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49688 (CGROUP_SUPER_MAGIC): Define.
49689 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49690 Handle btrfs and cgroup file systems.
49691 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49694 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
49696 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49697 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49699 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49702 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49703 trying to locate the ELF header.
49705 2010-09-27 Andreas Schwab <schwab@redhat.com>
49708 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49709 Mask out sign-bit copies when constructing f_fsid.
49711 2010-09-24 Petr Baudis <pasky@suse.cz>
49713 * debug/stack_chk_fail_local.c: Add missing licence exception.
49714 * debug/warning-nop.c: Likewise.
49716 2010-09-15 Joseph Myers <joseph@codesourcery.com>
49718 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49719 implementing getdents64 using getdents syscall, set d_type if
49720 __ASSUME_GETDENTS32_D_TYPE.
49722 2010-09-16 Andreas Schwab <schwab@redhat.com>
49724 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49725 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49727 2010-09-21 Ulrich Drepper <drepper@redhat.com>
49730 * posix/unistd.h: Undo change of feature selection for ftruncate from
49733 2010-09-20 Ulrich Drepper <drepper@redhat.com>
49735 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49738 2010-09-20 Andreas Schwab <schwab@redhat.com>
49740 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49742 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49744 2010-09-14 Andreas Schwab <schwab@redhat.com>
49746 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49747 variables after CHECK_SP call.
49748 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49750 2010-09-13 Andreas Schwab <schwab@redhat.com>
49751 Ulrich Drepper <drepper@redhat.com>
49753 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49754 re-relocationg ld.so.
49755 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49756 _dl_init_paths call.
49757 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49760 2010-09-14 Ulrich Drepper <drepper@redhat.com>
49762 * resolv/res_init.c (__res_vinit): Count the default server we added.
49764 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49765 Ulrich Drepper <drepper@redhat.com>
49768 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49769 (____longjmp_chk): Use %ebx for saving value across system call.
49772 2010-09-06 Andreas Schwab <schwab@redhat.com>
49774 * manual/Makefile: Don't mix pattern rules with normal rules.
49776 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49778 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49780 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49781 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49782 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49783 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49784 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49787 2010-09-04 Ulrich Drepper <drepper@redhat.com>
49790 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49791 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49793 2010-09-02 Ulrich Drepper <drepper@redhat.com>
49795 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49796 * sysdeps/x86_64/addmul_1.S: Likewise.
49797 * sysdeps/x86_64/lshift.S: Likewise.
49798 * sysdeps/x86_64/mul_1.S: Likewise.
49799 * sysdeps/x86_64/rshift.S: Likewise.
49800 * sysdeps/x86_64/sub_n.S: Likewise.
49801 * sysdeps/x86_64/submul_1.S: Likewise.
49803 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49805 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49806 Define __sched_param instead of SCHED_* and sched_param when
49807 <bits/sched.h> is included with __need_schedparam defined.
49808 * bits/sched.h [__need_schedparam]
49809 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49810 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49811 (__defined_schedparam): Define to 1.
49812 (__sched_param): New structure, identical to sched_param.
49813 (__need_schedparam): Undefine.
49815 2010-08-31 Mike Frysinger <vapier@gentoo.org>
49817 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49818 (epoll_create1): Declare.
49820 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49822 2010-08-31 Andreas Schwab <schwab@redhat.com>
49825 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49826 shifting retval into place.
49828 2010-09-01 Ulrich Drepper <drepper@redhat.com>
49830 * nis/rpcsvc/nis.h: Update copyright notice.
49831 * nis/rpcsvc/nis.x: Likewise.
49832 * nis/rpcsvc/nis_callback.h: Likewise.
49833 * nis/rpcsvc/nis_callback.x: Likewise.
49834 * nis/rpcsvc/nis_object.x: Likewise.
49835 * nis/rpcsvc/nis_tags.h: Likewise.
49836 * nis/rpcsvc/yp.h: Likewise.
49837 * nis/rpcsvc/yp.x: Likewise.
49838 * nis/rpcsvc/ypupd.h: Likewise.
49839 * nis/yp_xdr.c: Likewise.
49840 * nis/ypupdate_xdr.c: Likewise.
49842 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49843 mainly the body of pmap_getport. Add parameters to specify timeouts.
49844 (pmap_getport): Use __libc_rpc_getport.
49845 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49846 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49847 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49849 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49854 2010-08-27 Roland McGrath <roland@redhat.com>
49856 * sysdeps/i386/i686/multiarch/Makefile
49857 (CFLAGS-varshift.c): New variable.
49859 2010-08-27 Ulrich Drepper <drepper@redhat.com>
49861 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49862 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49864 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49866 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49868 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49870 * sysdeps/x86_64/strlen.S: Unroll the loop.
49871 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49872 strlen-sse2 strlen-sse2-bsf.
49873 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49874 __strlen_no_bsf if bit_Slow_BSF is set.
49875 (__strlen_sse42): Removed.
49876 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49877 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49879 2010-08-25 Roland McGrath <roland@redhat.com>
49881 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49882 * sysdeps/x86_64/multiarch/varshift.c: New file.
49883 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49884 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49885 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49886 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49888 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49891 strlen-sse2 strlen-sse2-bsf.
49892 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49893 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49894 (__strlen_sse2): Removed.
49895 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49896 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49898 bit_Slow_BSF for Atom.
49899 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49900 (index_Slow_BSF): Define.
49901 (HAS_SLOW_BSF): Define.
49903 2010-08-25 Ulrich Drepper <drepper@redhat.com>
49906 * resolv/res_init.c (__res_vinit): When no server address at all
49907 is given default to loopback.
49909 2010-08-24 Roland McGrath <roland@redhat.com>
49911 * configure.in: Remove config-name.h generation.
49912 * configure: Regenerated.
49913 * config-name.in: File removed.
49914 * scripts/config-uname.sh: New file.
49915 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49916 ($(objdir)config-name.h): New target.
49918 * sunrpc/rpc_parse.h: Avoid nested comment.
49920 2010-08-24 Richard Henderson <rth@redhat.com>
49921 Ulrich Drepper <drepper@redhat.com>
49922 H.J. Lu <hongjiu.lu@intel.com>
49924 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49926 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49927 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49928 _mm_alignr_epi8 with _mm_loadu_si128.
49929 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49930 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49931 (__m128i_shift_right): Removed.
49932 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49933 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49934 * sysdeps/x86_64/multiarch/varshift.h: New file.
49935 * sysdeps/x86_64/multiarch/varshift.S: New file.
49937 2010-08-21 Mike Frysinger <vapier@gentoo.org>
49939 * configure.in: Move assembler checks to before sysdep dir checking.
49941 2010-08-20 Petr Baudis <pasky@suse.cz>
49943 * LICENSES: Sync the sunrpc license.
49945 2010-08-19 Ulrich Drepper <drepper@redhat.com>
49947 * sunrpc/auth_des.c: Update copyright notice once again.
49948 * sunrpc/auth_none.c: Likewise.
49949 * sunrpc/auth_unix.c: Likewise.
49950 * sunrpc/authdes_prot.c: Likewise.
49951 * sunrpc/authuxprot.c: Likewise.
49952 * sunrpc/bindrsvprt.c: Likewise.
49953 * sunrpc/clnt_gen.c: Likewise.
49954 * sunrpc/clnt_perr.c: Likewise.
49955 * sunrpc/clnt_raw.c: Likewise.
49956 * sunrpc/clnt_simp.c: Likewise.
49957 * sunrpc/clnt_tcp.c: Likewise.
49958 * sunrpc/clnt_udp.c: Likewise.
49959 * sunrpc/clnt_unix.c: Likewise.
49960 * sunrpc/des_crypt.c: Likewise.
49961 * sunrpc/des_soft.c: Likewise.
49962 * sunrpc/get_myaddr.c: Likewise.
49963 * sunrpc/getrpcport.c: Likewise.
49964 * sunrpc/key_call.c: Likewise.
49965 * sunrpc/key_prot.c: Likewise.
49966 * sunrpc/openchild.c: Likewise.
49967 * sunrpc/pm_getmaps.c: Likewise.
49968 * sunrpc/pm_getport.c: Likewise.
49969 * sunrpc/pmap_clnt.c: Likewise.
49970 * sunrpc/pmap_prot.c: Likewise.
49971 * sunrpc/pmap_prot2.c: Likewise.
49972 * sunrpc/pmap_rmt.c: Likewise.
49973 * sunrpc/rpc/auth.h: Likewise.
49974 * sunrpc/rpc/auth_unix.h: Likewise.
49975 * sunrpc/rpc/clnt.h: Likewise.
49976 * sunrpc/rpc/des_crypt.h: Likewise.
49977 * sunrpc/rpc/key_prot.h: Likewise.
49978 * sunrpc/rpc/netdb.h: Likewise.
49979 * sunrpc/rpc/pmap_clnt.h: Likewise.
49980 * sunrpc/rpc/pmap_prot.h: Likewise.
49981 * sunrpc/rpc/pmap_rmt.h: Likewise.
49982 * sunrpc/rpc/rpc.h: Likewise.
49983 * sunrpc/rpc/rpc_des.h: Likewise.
49984 * sunrpc/rpc/rpc_msg.h: Likewise.
49985 * sunrpc/rpc/svc.h: Likewise.
49986 * sunrpc/rpc/svc_auth.h: Likewise.
49987 * sunrpc/rpc/types.h: Likewise.
49988 * sunrpc/rpc/xdr.h: Likewise.
49989 * sunrpc/rpc_clntout.c: Likewise.
49990 * sunrpc/rpc_cmsg.c: Likewise.
49991 * sunrpc/rpc_common.c: Likewise.
49992 * sunrpc/rpc_cout.c: Likewise.
49993 * sunrpc/rpc_dtable.c: Likewise.
49994 * sunrpc/rpc_hout.c: Likewise.
49995 * sunrpc/rpc_main.c: Likewise.
49996 * sunrpc/rpc_parse.c: Likewise.
49997 * sunrpc/rpc_parse.h: Likewise.
49998 * sunrpc/rpc_prot.c: Likewise.
49999 * sunrpc/rpc_sample.c: Likewise.
50000 * sunrpc/rpc_scan.c: Likewise.
50001 * sunrpc/rpc_scan.h: Likewise.
50002 * sunrpc/rpc_svcout.c: Likewise.
50003 * sunrpc/rpc_tblout.c: Likewise.
50004 * sunrpc/rpc_util.c: Likewise.
50005 * sunrpc/rpc_util.h: Likewise.
50006 * sunrpc/rpcinfo.c: Likewise.
50007 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50008 * sunrpc/rpcsvc/key_prot.x: Likewise.
50009 * sunrpc/rpcsvc/klm_prot.x: Likewise.
50010 * sunrpc/rpcsvc/mount.x: Likewise.
50011 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50012 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50013 * sunrpc/rpcsvc/rex.x: Likewise.
50014 * sunrpc/rpcsvc/rstat.x: Likewise.
50015 * sunrpc/rpcsvc/rusers.x: Likewise.
50016 * sunrpc/rpcsvc/sm_inter.x: Likewise.
50017 * sunrpc/rpcsvc/spray.x: Likewise.
50018 * sunrpc/rpcsvc/yppasswd.x: Likewise.
50019 * sunrpc/rtime.c: Likewise.
50020 * sunrpc/svc.c: Likewise.
50021 * sunrpc/svc_auth.c: Likewise.
50022 * sunrpc/svc_authux.c: Likewise.
50023 * sunrpc/svc_raw.c: Likewise.
50024 * sunrpc/svc_run.c: Likewise.
50025 * sunrpc/svc_simple.c: Likewise.
50026 * sunrpc/svc_tcp.c: Likewise.
50027 * sunrpc/svc_udp.c: Likewise.
50028 * sunrpc/svc_unix.c: Likewise.
50029 * sunrpc/svcauth_des.c: Likewise.
50030 * sunrpc/xcrypt.c: Likewise.
50031 * sunrpc/xdr.c: Likewise.
50032 * sunrpc/xdr_array.c: Likewise.
50033 * sunrpc/xdr_float.c: Likewise.
50034 * sunrpc/xdr_mem.c: Likewise.
50035 * sunrpc/xdr_rec.c: Likewise.
50036 * sunrpc/xdr_ref.c: Likewise.
50037 * sunrpc/xdr_sizeof.c: Likewise.
50038 * sunrpc/xdr_stdio.c: Likewise.
50040 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50043 2010-08-19 Andreas Schwab <schwab@redhat.com>
50045 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50047 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
50049 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50050 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50051 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50052 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50053 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50054 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50055 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50056 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50057 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50058 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50059 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50060 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50061 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50062 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50064 2010-07-26 Anton Blanchard <anton@samba.org>
50066 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50067 * malloc/arena.c (heap_trim): Likewise.
50069 2010-08-16 Ulrich Drepper <drepper@redhat.com>
50071 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50073 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50074 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50076 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
50078 * sysdeps/i386/elf/Makefile: New file.
50080 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50082 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50083 from fanotify_init.
50084 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50085 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50087 2010-08-15 Ulrich Drepper <drepper@redhat.com>
50089 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50091 * sysdeps/multiarch/strcmp.S: Likewise.
50093 2010-08-14 Ulrich Drepper <drepper@redhat.com>
50095 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50096 strncase_l-nonascii.
50097 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50098 Add strncase_l-ssse3.
50099 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50100 * sysdeps/x86_64/strcmp.S: Likewise.
50101 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50102 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50103 * sysdeps/x86_64/strncase.S: New file.
50104 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50105 * sysdeps/x86_64/strncase_l.S: New file.
50106 * string/Makefile (strop-tests): Add strncasecmp.
50107 * string/test-strncasecmp.c: New file.
50109 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50112 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50113 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50115 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50117 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50119 2010-08-12 Ulrich Drepper <drepper@redhat.com>
50121 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50122 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50123 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50125 2010-05-01 Alan Modra <amodra@gmail.com>
50127 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50128 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50129 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50130 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50131 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50132 tidying. Don't tail-call __sigjmp_save for static lib.
50133 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50135 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50136 (CALL_MCOUNT): Add eh info, and nop after bl.
50137 (TAIL_CALL_SYSCALL_ERROR): New macro.
50138 (PSEUDO_RET): Use it.
50139 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50140 Correct save location of integer regs and cr.
50141 (_dl_profile_resolve): Correct cr save location. Delete nops
50142 after bl when SHARED. Reduce cfi size a little by better
50143 placement of cfi directives.
50144 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50145 make a stack frame. Instead use parm save area as a temp.
50146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50147 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
50148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50149 Don't make a stack frame for parent, use parm save area.
50150 Increase child stack frame to 112 bytes. Don't save unused reg,
50151 and adjust reg usage. Set up cfi on error recovery and
50152 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50154 (__makecontext): Add dummy nop after jump to exit.
50155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50156 Use correct parm save area and cr save, reduce stack frame.
50157 Correct cfi for possible PSEUDO_RET frame setup.
50158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50159 Branch to local label emitted by PSEUDO_RET rather than
50162 2010-08-12 Andreas Schwab <schwab@redhat.com>
50165 * locale/programs/locale.c (print_assignment): New function.
50166 (show_locale_vars): Use it.
50168 2010-08-11 Ulrich Drepper <drepper@redhat.com>
50170 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50172 (struct statfs64): Likewise.
50173 (_STATFS_F_FLAGS): Define.
50174 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50175 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50176 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50177 (ST_VALID): Define locally.
50178 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50179 __statvfs_getflags, use the provided value.
50180 * sysdeps/unix/sysv/linux/kernel-features.h: Define
50181 __ASSUME_STATFS_F_FLAGS.
50183 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50185 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50186 Add sys/fanotify.h.
50187 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50188 fanotify_mask for GLIBC_2.13.
50189 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50190 fanotify_init and fanotify_mark.
50191 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50192 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50194 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50196 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50197 prlimit64 for GLIBC_2.13.
50198 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50200 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50203 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50204 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50205 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50206 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
50208 * sysdeps/unix/sysv/linux/prlimit.c: New file.
50211 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50212 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50214 * nss/Makefile: Add rules to build and run tst-nss-test1.
50215 * shlib-versions: Add entry for libnss_test1.
50216 * nss/nss_test1.c: New file.
50217 * nss/tst-nss-test1.c: New file.
50219 * nss/nsswitch.c (__nss_database_custom): Define new variable.
50220 (__nss_configure_lookup): Set appropriate entry in
50221 __nss_configure_lookup to true.
50222 * nss/nsswitch.h: Define enum with indeces of databases in
50223 databases and __nss_database_custom arrays. Declare
50224 __nss_database_custom.
50225 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50226 to avoid using nscd when custom rules are installed.
50227 * nss/getXXbyYY_r.c: Likewise.
50228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50230 * nss/nss_files/files-parse.c: Whitespace fixes.
50232 2010-08-09 Ulrich Drepper <drepper@redhat.com>
50235 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50236 * posix/fnmatch_loop.c: Likewise.
50238 2010-07-17 Andi Kleen <ak@linux.intel.com>
50240 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50241 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50242 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50243 * Versions.def [GLIBC_2.13]: Add.
50245 2010-08-06 Ulrich Drepper <drepper@redhat.com>
50247 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50248 Also fail if tpwd after pwuid call is NULL.
50250 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
50252 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50253 when converting to ms.
50255 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50257 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50258 EOPNOTSUPP errors with ENOTTY.
50259 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50260 EOPNOTSUPP errors with ENOTTY.
50262 2010-07-31 Ulrich Drepper <drepper@redhat.com>
50264 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50265 Add strcasecmp_l-ssse3.
50266 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50268 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50269 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50270 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50272 2010-07-30 Ulrich Drepper <drepper@redhat.com>
50274 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50276 * string/Makefile (strop-tests): Add strcasecmp.
50277 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50278 strcasecmp_l-nonascii.
50279 (gen-as-const-headers): Add locale-defines.sym.
50280 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50281 * sysdeps/x86_64/strcasecmp.S: New file.
50282 * sysdeps/x86_64/strcasecmp_l.S: New file.
50283 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50284 * sysdeps/x86_64/locale-defines.sym: New file.
50285 * string/test-strcasecmp.c: New file.
50287 * string/test-strcasestr.c: Test both ends of the range of characters.
50288 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50290 2010-07-29 Roland McGrath <roland@redhat.com>
50293 * manual/locale.texi (Yes-or-No Questions): Fix example code.
50295 2010-07-27 Ulrich Drepper <drepper@redhat.com>
50297 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50300 2010-07-27 Andreas Schwab <schwab@redhat.com>
50302 * manual/memory.texi (Malloc Tunable Parameters): Document
50305 2010-07-26 Roland McGrath <roland@redhat.com>
50308 * configure.in (-fgnu89-inline check): Set and substitute
50309 gnu89_inline, not libc_cv_gnu89_inline.
50310 * configure: Regenerated.
50311 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50313 2010-07-26 Ulrich Drepper <drepper@redhat.com>
50315 * string/test-strnlen.c: New file.
50316 * string/Makefile (strop-tests): Add strnlen.
50317 * string/tester.c (test_strnlen): Add a few more test cases.
50318 * string/tst-strlen.c: Better error reporting.
50320 * sysdeps/x86_64/strnlen.S: New file.
50322 2010-07-24 Ulrich Drepper <drepper@redhat.com>
50324 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50325 lower-latency instructions.
50327 2010-07-23 Ulrich Drepper <drepper@redhat.com>
50329 * string/test-strcasestr.c: New file.
50330 * string/test-strstr.c: New file.
50331 * string/Makefile (strop-tests): Add strstr and strcasestr.
50332 * string/str-two-way.h: Don't undefine MAX.
50333 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50335 2010-07-21 Andreas Schwab <schwab@redhat.com>
50337 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50338 strcasestr-nonascii.
50339 (CFLAGS-strcasestr-nonascii.c): Define.
50340 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50341 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50342 Remove unused attribute.
50344 2010-07-20 Roland McGrath <roland@redhat.com>
50346 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50347 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
50348 ld.so.cache was broken. With it, there is no way to disable dsocaps
50349 like LD_HWCAP_MASK can disable hwcaps.
50351 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50353 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50355 2010-07-16 Ulrich Drepper <drepper@redhat.com>
50357 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50358 call in strcasestr.
50359 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50360 __strcasestr_sse42_nonascii.
50361 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50362 strcasestr-nonascii.c.
50363 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50365 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
50367 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50368 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50369 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50370 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50372 2010-07-09 Ulrich Drepper <drepper@redhat.com>
50374 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50377 2010-07-06 Andreas Schwab <schwab@redhat.com>
50380 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50383 2010-07-06 Ulrich Drepper <drepper@redhat.com>
50385 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50386 _PC_PIPE_BUF using F_GETPIPE_SZ.
50388 2010-07-05 Roland McGrath <roland@redhat.com>
50390 * manual/arith.texi (Rounding Functions): Fix rint description
50391 implicit in round description.
50393 2010-07-02 Ulrich Drepper <drepper@redhat.com>
50395 * elf/Makefile: Fix linking for a few tests to make recent linker
50398 2010-06-30 Andreas Schwab <schwab@redhat.com>
50400 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50401 $(common-objpfx)libc_nonshared.a.
50403 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
50405 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50406 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50407 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50408 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50409 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50410 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50411 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50412 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50427 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50428 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50429 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50430 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50431 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50432 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50433 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50434 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50435 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50436 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50437 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50438 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50454 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
50456 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50457 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
50458 * string/memmove.c (memmove): Renamed to ...
50459 (MEMMOVE): ...this. Default to memmove.
50460 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50461 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50464 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50465 mempcpy-ssse3-back memmove-ssse3-back.
50466 * sysdeps/x86_64/multiarch/bcopy.S: New file .
50467 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50468 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50469 * sysdeps/x86_64/multiarch/memcpy.S: New file.
50470 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50471 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50472 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50473 * sysdeps/x86_64/multiarch/memmove.c: New file.
50474 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50475 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50476 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50477 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50478 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50479 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50481 (index_Fast_Copy_Backward): Define.
50482 (HAS_ARCH_FEATURE): Define.
50483 (HAS_FAST_REP_STRING): Define.
50484 (HAS_FAST_COPY_BACKWARD): Define.
50486 2010-06-21 Andreas Schwab <schwab@redhat.com>
50488 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50489 Restore proper fallback handling.
50491 2010-06-19 Ulrich Drepper <drepper@redhat.com>
50494 * posix/group_member.c (__group_member): Correct checking loop.
50496 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50497 OOM in getpwuid_r correctly. Return error number when the caller
50498 should return, otherwise -1.
50499 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50500 call returning > 0 value.
50501 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50503 2010-06-07 Andreas Schwab <schwab@redhat.com>
50505 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50506 libc_nonshared.a from targets in modules-names.
50508 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
50510 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50513 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
50515 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50516 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50517 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50518 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50520 2010-06-02 Andreas Schwab <schwab@redhat.com>
50522 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50524 2010-06-14 Ulrich Drepper <drepper@redhat.com>
50526 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50528 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50529 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50530 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50531 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50532 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50533 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50535 2010-06-14 Roland McGrath <roland@redhat.com>
50537 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50539 2010-06-07 Jakub Jelinek <jakub@redhat.com>
50541 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50542 __REDIRECT followed by __THROW.
50543 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50544 * posix/getopt.h (getopt): Likewise.
50546 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50548 * hurd/lookup-at.c (__file_name_lookup_at): Accept
50549 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
50550 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50552 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50553 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50555 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
50557 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50559 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
50562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50563 Properly check family and model.
50565 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
50567 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50569 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
50571 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50573 2010-05-21 Ulrich Drepper <drepper@redhat.com>
50575 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50578 2010-05-19 Andreas Schwab <schwab@redhat.com>
50580 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50583 2010-05-21 Andreas Schwab <schwab@redhat.com>
50585 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50586 and internal_recvmmsg.
50587 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50588 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50589 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50590 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50592 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50593 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50594 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50596 2010-05-20 Andreas Schwab <schwab@redhat.com>
50598 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50600 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
50602 POWER7 optimizations.
50603 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50604 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50606 2010-05-19 Ulrich Drepper <drepper@redhat.com>
50608 * version.h: Update for 2.13 development version.
50610 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
50612 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50613 exceptions. Return 0.
50615 2010-05-07 Roland McGrath <roland@redhat.com>
50617 * elf/ldconfig.c (main): Add a const.
50619 2010-05-06 Ulrich Drepper <drepper@redhat.com>
50621 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50622 (args_options): Add no-idn option.
50623 (ahosts_keys_int): Add idn_flags to ai_flags.
50624 (parse_option): Handle 'i' option to clear idn_flags.
50626 * malloc/malloc.c (_int_free): Possible race in the most recently
50627 added check. Only act on the data if no current modification
50630 See ChangeLog.17 for earlier changes.