1 2014-10-06 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4 compat_symbol calls on [SHARED].
5 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
8 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
10 (oldsetrlimit): Remove.
11 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13 (lchown): New syscall entry.
14 (oldsetrlimit): Remove.
15 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
17 (oldsetrlimit): Remove.
18 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
22 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
23 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
24 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
25 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
26 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
28 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
30 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
33 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
36 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
37 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
38 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
39 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
41 (__old_sem_post): Likewise.
43 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
45 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
46 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
47 HAVE_CLOCK_GETTIME_VSYSCALL macros.
48 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
49 Use INLINE_VSYSCALL macro.
50 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
52 * sysdeps/unix/sysv/linux/tile/init-first.c
53 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
54 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
57 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
58 to set up frame more cleanly.
60 * sysdeps/tile/memcmp.c: New file.
62 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
64 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
65 * sysdeps/tile/tilegx/strcasestr.c: New file.
66 * sysdeps/tile/tilegx/strnlen.c: New file.
67 * sysdeps/tile/tilegx/strstr.c: New file.
69 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
71 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
73 * nptl/tst-setuid3.c: Write errors to stdout.
75 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
78 (preload): New functions broken out of _dl_map_object_deps.
79 (_dl_map_object_deps): Remove a nested function. Update call sites.
81 2014-10-01 Joseph Myers <joseph@codesourcery.com>
84 * sysdeps/unix/sysv/linux/execve.c: Remove file.
85 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
87 2014-10-01 Steve Ellcey <sellcey@mips.com>
89 * sysdeps/mips/strcmp.S: New.
91 2014-09-30 Joseph Myers <joseph@codesourcery.com>
94 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
97 (readlinkat): Likewise.
99 (symlinkat): Likewise.
100 (unlinkat): Likewise.
101 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
102 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
103 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
104 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
105 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
106 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
107 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
109 2014-09-30 Will Newton <will.newton@linaro.org>
111 * math/math.h: Define long double math functions if
112 _LIBC_TEST is defined.
113 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
115 * localedata/Makefile: Move assignment to tests-special
116 into an ifdef testing run-built-tests.
117 * timezone/Makefile: Likewise.
119 2014-09-29 Joseph Myers <joseph@codesourcery.com>
121 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
122 with $(BASH) not $(SHELL).
124 2014-09-29 Carlos O'Donell <carlos@redhat.com>
125 Matthew LeGendre <legendre1@llnl.gov>
128 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
131 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
133 * stdio-common/printf_fp.c
134 (hack_digit): New function, broken out of ...
135 (__printf_fp): ... local function here. Update call sites.
136 hack_digit now takes an additional parameter that is a pointer
137 to a struct of the referenced locals. Those locals moved inside
138 the struct and references updated.
140 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
142 * aclocal.m4: Require autoconf 2.69.
143 * configure: Regenerated.
144 * sysdeps/aarch64/configure: Likewise.
145 * sysdeps/alpha/configure: Likewise.
146 * sysdeps/arm/armv7/configure: Likewise.
147 * sysdeps/arm/configure: Likewise.
148 * sysdeps/ia64/configure: Likewise.
149 * sysdeps/mach/configure: Likewise.
150 * sysdeps/mips/configure: Likewise.
151 * sysdeps/s390/configure: Likewise.
152 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
155 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
157 * sysdeps/ia64/configure.ac: Likewise.
159 2014-09-26 Joseph Myers <joseph@codesourcery.com>
161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
162 specify symbol version for ld.so. Do not include entry for
164 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
165 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
166 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
169 * Makeconfig [$(build-shared) = yes]
170 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
172 [$(build-shared) = yes && $(soversions.mk-done) = t]
173 ($(common-objpfx)gnu/lib-names.h): Remove rule.
174 [$(build-shared) = yes && $(soversions.mk-done) = t]
175 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
177 [$(build-shared) = yes && $(soversions.mk-done) = t]
178 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
180 [$(build-shared) = yes && $(soversions.mk-done) = t]
181 (common-generated): Don't append gnu/lib-names.h and
182 gnu/lib-names.stmp here.
183 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
184 (lib-names-h-abi): New variable.
185 [$(build-shared) = yes && $(soversions.mk-done) = t]
186 (lib-names-stmp-abi): Likewise.
187 [$(build-shared) = yes && $(soversions.mk-done) = t &&
188 abi-variants] (before-compile): Append
189 $(common-objpfx)$(lib-names-h-abi).
190 [$(build-shared) = yes && $(soversions.mk-done) = t &&
191 abi-variants] (common-generated): Append gnu/lib-names.h.
192 [$(build-shared) = yes && $(soversions.mk-done) = t &&
193 abi-variants] (install-others-nosubdir): Depend on
194 $(inst_includedir)/$(lib-names-h-abi).
195 [$(build-shared) = yes && $(soversions.mk-done) = t &&
196 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
197 [$(build-shared) = yes && $(soversions.mk-done) = t]
198 ($(common-objpfx)$(lib-names-h-abi)): New rule.
199 [$(build-shared) = yes && $(soversions.mk-done) = t]
200 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
201 [$(build-shared) = yes && $(soversions.mk-done) = t]
202 (common-generated): Append $(lib-names-h-abi) and
203 $(lib-names-stmp-abi).
204 * scripts/lib-names.awk: Do not handle multi being set.
205 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
207 (abi-lp64_be-ld-soname): Likewise.
208 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
210 (abi-hard-ld-soname): Likewise.
211 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
212 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
214 (abi-o32_hard-ld-soname): Likewise.
215 (abi-o32_soft_2008-ld-soname): Likewise.
216 (abi-o32_hard_2008-ld-soname): Likewise.
217 (abi-n32_soft-ld-soname): Likewise.
218 (abi-n32_hard-ld-soname): Likewise.
219 (abi-n32_soft_2008-ld-soname): Likewise.
220 (abi-n32_hard_2008-ld-soname): Likewise.
221 (abi-n64_soft-ld-soname): Likewise.
222 (abi-n64_hard-ld-soname): Likewise.
223 (abi-n64_soft_2008-ld-soname): Likewise.
224 (abi-n64_hard_2008-ld-soname): Likewise.
225 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
227 (abi-64-v2-ld-soname): Likewise.
228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
230 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
232 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
234 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
236 (abi-64-ld-soname): Likewise.
237 (abi-x32-ld-soname): Likewise.
238 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
240 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
242 2014-09-23 Joseph Myers <joseph@codesourcery.com>
245 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
246 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
247 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
248 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
249 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
250 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
251 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
252 syscall entry for GLIBC_2.2 symbol version.
253 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
256 (setrlimit): Likewise.
257 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
260 2014-09-23 Will Newton <will.newton@linaro.org>
262 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
263 _LINUX_ARM_SYSDEP_H include guard too.
264 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
267 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
269 * sysdeps/unix/sysv/linux/eventfd.c:
270 Make first argument unsigned.
271 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
272 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
274 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
276 * socket/recvmmsg.c (recvmmsg): Drop const argument.
277 * socket/sys/socket.h: Likewise
278 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
280 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
282 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
284 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
286 * time/tst-ftime.c: New test.
287 * time/Makefile (tests): Add tst-ftime.
289 2014-09-17 Joseph Myers <joseph@codesourcery.com>
291 * soft-fp/extended.h: Fix comment formatting.
292 * soft-fp/op-1.h: Likewise.
293 * soft-fp/op-2.h: Likewise.
294 * soft-fp/op-4.h: Likewise.
295 * soft-fp/op-8.h: Likewise.
296 * soft-fp/op-common.h: Likewise.
297 * soft-fp/soft-fp.h: Likewise.
299 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
301 2014-09-16 Joseph Myers <joseph@codesourcery.com>
304 * Makeconfig (soversions-default-setname): Remove variable.
305 ($(common-objpfx)soversions.i): Don't pass default_setname to
307 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
308 oldest_abi to abi-versions.awk.
309 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
310 * config.make.in (oldest-abi): Remove variable.
311 * configure.ac (--enable-oldest-abi): Remove configure option.
312 * configure: Regenerated.
313 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
315 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
316 * scripts/soversions.awk: Do not handle default_setname variable.
317 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
319 * sysdeps/mach/hurd/configure: Regenerated.
320 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
322 * sysdeps/unix/sysv/linux/configure: Regenerated.
324 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
326 * elf/Makefile (CFLAGS-interp.c): Remove.
327 ($(elf-objpfx)runtime-linker.h): Generate header with linker
329 * elf/interp.c: Include generated runtime-linker.h
331 * Makerules (lib%.so): Don't include $(+interp) in
333 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
334 * dlfcn/eval.c: Remove file.
336 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
340 * misc/sys/cdefs.h: Define __extern_always_inline for clang
344 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
346 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
347 Jakub Jelinek <jakub@redhat.com>
350 * libio/stdio.h: Check definition of __fortify_function
351 instead of __extern_always_inline to include bits/stdio2.h.
352 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
353 check if __extern_always_inline is defined.
354 [__USE_MISC || __USE_XOPEN]: Likewise.
355 [__USE_ISOC99] Likewise.
356 * misc/sys/cdefs.h (__fortify_function): Define only if
357 __extern_always_inline is defined.
358 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
359 __extern_always_inline and __extern_inline only for g++-4.3
360 and newer or a compatible gcc.
362 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
365 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
366 last change to handle zero prefix length.
368 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
370 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
373 * posix/getconf.c (vars): Add _POSIX_IPV6 and
376 2014-09-13 Allan McRae <allan@archlinux.org>
378 * po/ru.po: Update Russian translation from translation project.
380 2014-09-12 Roland McGrath <roland@hack.frob.com>
382 * locale/programs/locale.c (show_locale_vars): Inline local function
383 into its sole call site. Clean up some style nits.
384 (print_item): New function, broken out of ...
385 (show_info): ... local function here. Clean up style nits.
387 * locale/programs/ld-ctype.c (set_one_default): New function, broken
389 (set_class_defaults): ... local function set_default here.
390 Define set_default as a macro locally to pass constant parameters.
391 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
392 rather than a shared local.
394 * stdlib/rpmatch.c (try): New function, broken out of ...
395 (rpmatch): ... local function here. Also, prototypify definition.
397 2014-09-12 Joseph Myers <joseph@codesourcery.com>
399 * scripts/soversions.awk: Do not handle configuration names.
400 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
401 vendor and os variables to soversions.awk.
402 * configure.ac: Do not modify gnu-* host_os.
403 * configure: Regenerated
404 * shlib-versions: Remove first column with configuration names.
405 * nptl/shlib-versions: Likewise.
406 * nptl_db/shlib-versions: Likewise.
407 * sysdeps/hppa/shlib-versions: Likewise.
408 * sysdeps/m68k/shlib-versions: Likewise.
409 * sysdeps/mach/hurd/shlib-versions: Likewise.
410 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
411 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
412 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
413 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
414 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
415 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
416 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
417 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
420 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
421 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
422 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
423 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
424 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
425 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
426 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
427 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
430 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
433 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
435 Condition symbol version definitions on [HAVE_ELFV2_ABI].
437 * shlib-versions: Remove OS-specific entries. Moved to files in
439 * sysdeps/mach/hurd/shlib-versions: New file.
440 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
442 * nptl/shlib-versions: Remove architecture-specific entries.
443 Moved to files in sysdeps.
444 * shlib-versions: Likewise.
445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
447 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
448 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
449 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
450 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
452 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
453 (UDP_NO_CHECK6_RX): Likewise.
455 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
457 * sysdeps/posix/sysconf.c (__sysconf): Spell
458 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
460 2014-08-12 Florian Weimer <fweimer@redhat.com>
462 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
464 * iconv/Versions (__gconv_transliterate): Export for use from
466 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
467 (struct __gconv_trans_data, __gconv_trans_fct,
468 __gconv_trans_context_fct, __gconv_trans_query_fct,
469 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
471 (struct __gconv_step_data): Remove __trans member.
472 (__gconv_transliterate): Declaration moved from gconv_int.h. No
473 longer hidden. Remove unused trans_data argument.
474 * iconv/gconv_int.h (struct trans_struct): Remove definition.
475 (__gconv_translit_find): Remove declaration.
476 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
478 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
479 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
480 trans_data argument. Add hidden definition.
481 (__gconv_translit_find): Remove.
482 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
483 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
484 * iconv/skeleton.c: Remove transliteration initialization.
485 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
486 __gconv_step_data initialization.
487 * libio/iofwide.c (__libio_translit_): Remove.
488 (_IO_fwide): Adjust struct __gconv_step_data initialization.
489 * wcsmbs/btowc.c (__btowc): Likewise.
490 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
491 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
492 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
493 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
494 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
495 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
496 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
497 * wcsmbs/wctob.c (wctob): Likewise.
499 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
502 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
503 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
505 * sysdeps/x86/Makefile: Adjust.
507 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
508 Roland McGrath <roland@hack.frob.com>
510 * locale/weight.h: Add include guard.
511 (findidx): Make static rather than auto; take new parameters
512 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
513 * locale/weightwc.h: Likewise.
514 * posix/fnmatch_loop.c
515 (FCT): Change type of EXTRA from int32_t to wint_t.
516 Don't include either header inside the function.
517 Call FINDIDX rather than findidx, and pass new arguments.
518 #undef FINDIDX at the end of the file.
519 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
520 FINDIDX before including fnmatch_loop.c for the non-wide version.
521 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
522 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
523 for the wide version.
524 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
525 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
526 Pass new arguments to findidx.
527 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
528 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
529 Don't #include it inside the function. Pass new arguments to findidx.
530 * posix/regex_internal.h
531 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
532 (re_string_elem_size_at): Don't #include it inside the function.
533 Pass new arguments to findidx.
534 * string/strcoll_l.c: #include WEIGHT_H at top level.
535 (get_next_seq): Don't #include it inside the function.
536 Pass new arguments to findidx.
537 (get_next_seq_nocache): Likewise.
538 * string/strxfrm_l.c: #include WEIGHT_H at top level.
539 (STRXFRM): Don't #include it inside the function.
540 Pass new arguments to findidx.
542 2014-09-11 Florian Weimer <fweimer@redhat.com>
545 * malloc/malloc.c (unlink): Turn asserts into a call to
548 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
551 * libio/wfileops (do_ftell_wide): Free OUT.
553 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
555 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
557 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
560 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
561 group if the current group is empty.
563 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
565 * benchtests/bench-memset.c (test_main): Add more test from size
566 from 32 to 512 bytes.
567 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
568 Add POWER8 memset object.
569 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
570 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
571 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
573 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
575 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
576 multiarch POWER8 memset optimization.
577 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
578 POWER8 memset optimization.
580 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
581 Remove bzero multiarch objects.
582 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
583 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
584 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
585 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
587 [__bzero]: Redefine to specific name.
588 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
589 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
590 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
592 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
593 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
595 2014-09-10 Florian Weimer <fweimer@redhat.com>
597 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
598 warnings into errors.
600 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
601 __cxa_thread_atexit_impl prototype.
603 2014-09-09 Steve Ellcey <sellcey@mips.com>
605 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
606 Fix capitalization of error message.
608 2014-09-09 Steve Ellcey <sellcey@mips.com>
610 * sysdeps/mips/preconfigure: Modify ABI tests.
612 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
614 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
616 2014-09-07 Roland McGrath <roland@hack.frob.com>
617 Carlos O'Donell <carlos@systemhalted.org>
619 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
620 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
621 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
622 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
623 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
624 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
625 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
626 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
627 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
628 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
629 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
630 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
631 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
632 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
633 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
634 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
635 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
636 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
637 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
638 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
639 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
640 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
641 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
642 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
643 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
644 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
645 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
646 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
647 Deconditionalize the code that was previously under [RESET_PID].
648 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
649 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
650 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
651 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
654 2014-09-08 Allan McRae <allan@archlinux.org>
656 * version.h (RELEASE): Set to "development".
657 (VERSION): Set to "2.20.90"
659 2014-09-07 Allan McRae <allan@archlinux.org
661 * version.h (RELEASE): Set to "stable".
662 (VERSION): Set to "2.20"
663 * include/features.h (__GLIBC_MINOR__): Set to 20.
665 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
668 * po/ko.po: Update Korean translation from translation project.
670 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
673 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
674 macro for handling signed relocations.
676 2014-09-03 Florian Weimer <fweimer@redhat.com>
679 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
680 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
682 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
683 * iconvdata/ibm935.c (BODY): Likewise.
684 * iconvdata/ibm937.c (BODY): Likewise.
685 * iconvdata/ibm939.c (BODY): Likewise.
686 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
688 * iconvdata/Makefile (iconv-test.out): Pass module list to test
690 * iconvdata/run-iconv-test.sh: New test loop for checking for
693 2014-09-02 Khem Raj <raj.khem@gmail.com>
695 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
698 2014-09-01 Allan McRae <allan@archlinux.org>
700 * po/eo.po: Update Esperanto translation from translation project.
702 * po/ca.po: Update Catalan translation from translation project.
704 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
706 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
709 2014-08-27 Mark Wielaard <mjw@redhat.com>
712 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
713 to call set_thread_area instead of hand written asm.
714 (__NR_set_thread_area): Removed define.
715 (TLS_FLAG_WRITABLE): Likewise.
716 (__ASSUME_SET_THREAD_AREA): Remove check.
717 (TLS_EBX_ARG): Remove define.
718 (TLS_LOAD_EBX): Likewise.
720 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
722 Simplify atomicity of socket creation in bind.
724 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
725 looking up the name after linking the file.
727 2014-08-27 Allan McRae <allan@archlinux.org>
729 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
731 2014-08-26 Florian Weimer <fweimer@redhat.com>
734 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
735 trans_compare, open_translit, __gconv_translit_find):
736 Remove module loading code.
738 2014-08-26 Allan McRae <allan@archlinux.org>
740 * po/vi.po: Update Vietnamese translation from translation project.
742 * po/uk.po: Update Ukrainian translation from translation project.
744 * po/fr.po: Update French translation from translation project.
746 * po/ru.po: Update Russian translation from translation project.
748 * po/pl.po: Update Polish translation from translation project.
750 * po/cs.po: Update Czech translation from translation project.
752 * po/de.po: Update German translation from translation project.
754 * po/bg.po: Update Bulgarian translation from translation project.
756 * po/sv.po: Update Sweedish translation from translation project.
758 * po/nl.po: Update Dutch translation from translation project.
760 * po/es.po: Update Spanish translation from translation project.
762 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
764 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
766 * catgets/Makefile (CPPFLAGS-gencat): Remove.
767 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
768 (CPPFLAGS-iconvconfig): Likewise.
769 * timezone/Makefile (CPPFLAGS-zic): Likewise.
771 * include/libc-symbols.h: Remove unnecessary check for
773 * nptl/pthreadP.h: Likewise.
774 * sysdeps/aarch64/setjmp.S: Likewise.
775 * sysdeps/alpha/setjmp.S: Likewise.
776 * sysdeps/arm/sysdep.h: Likewise.
777 * sysdeps/i386/setjmp.S: Likewise.
778 * sysdeps/m68k/setjmp.c: Likewise.
779 * sysdeps/posix/getcwd.c: Likewise.
780 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
781 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
782 * sysdeps/s390/s390-32/setjmp.S: Likewise.
783 * sysdeps/s390/s390-64/setjmp.S: Likewise.
784 * sysdeps/sh/sh3/setjmp.S: Likewise.
785 * sysdeps/sh/sh4/setjmp.S: Likewise.
786 * sysdeps/unix/alpha/sysdep.h: Likewise.
787 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
788 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
789 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
790 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
793 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
794 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
795 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
796 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
797 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
798 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
799 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
800 * sysdeps/x86_64/setjmp.S: Likewise.
802 2014-08-13 Joseph Myers <joseph@codesourcery.com>
805 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
807 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
808 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
810 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
812 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
815 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
816 and __x86_64__ when disabling x87 inline functions.
818 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
821 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
822 asm statement with __cpuid_count.
824 2014-08-12 Mike Frysinger <vapier@gentoo.org>
826 * configure.ac: Change __ehdr_start code to dereference the struct.
827 Run readelf on the output to look for relocations.
828 * configure: Regenerated.
830 2014-08-12 Joseph Myers <joseph@codesourcery.com>
833 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
835 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
837 2014-08-12 Roland McGrath <roland@hack.frob.com>
839 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
841 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
844 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
845 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
847 2014-08-12 Sean Anderson <seanga2@gmail.com>
849 * malloc/malloc.c: Fix typo in comment.
851 2014-08-09 Allan McRae <allan@archlinux.org>
853 * Regenerate libc.po.
855 2014-08-08 Mike Frysinger <vapier@gentoo.org>
857 * intl/tst-gettext2.sh: Check every lang file for creation.
859 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
861 * sysdeps/aarch64/fpu/math_private.h
862 (libc_feholdsetround_noex_aarch64_ctx): New function.
864 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
866 * sysdeps/arm/armv6/strcpy.S (strcpy):
867 Fix performance issue in misaligned cases.
869 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
871 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
872 Move definition from termios.h.
873 (struct termio): Likewise.
874 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
875 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
876 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
877 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
879 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
880 Move definition to ioctl-types.h
881 (struct termio): Likewise.
882 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
883 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
884 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
885 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
888 2014-08-05 Richard Henderson <rth@redhat.com>
890 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
892 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
894 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
896 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
897 Protect libm symbols with IS_IN_libm.
899 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
901 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
903 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
905 2014-08-04 Will Newton <will.newton@linaro.org>
907 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
910 2014-08-04 Mike Frysinger <vapier@gentoo.org>
912 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
913 variants for each function.
915 2014-08-04 Roland McGrath <roland@hack.frob.com>
917 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
919 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
920 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
922 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
923 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
924 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
925 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
926 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
927 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
928 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
929 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
930 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
931 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
932 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
933 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
934 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
935 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
936 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
937 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
938 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
939 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
940 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
941 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
942 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
943 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
944 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
945 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
946 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
947 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
948 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
949 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
950 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
951 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
952 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
953 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
954 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
955 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
956 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
957 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
958 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
959 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
960 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
961 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
962 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
963 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
964 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
965 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
966 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
967 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
968 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
969 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
970 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
971 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
972 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
973 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
974 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
976 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
977 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
979 2014-08-04 Roland McGrath <roland@hack.frob.com>
981 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
982 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
983 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
984 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
985 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
986 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
988 2014-08-04 Roland McGrath <roland@hack.frob.com>
990 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
991 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
992 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
993 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
995 2014-08-04 Roland McGrath <roland@hack.frob.com>
997 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
998 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
999 (__libc_vfork): Define function under this name.
1000 (__vfork): Define as an alias.
1001 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1002 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1004 2014-08-04 Roland McGrath <roland@hack.frob.com>
1006 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1007 that was previously under [RESET_PID].
1008 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1010 2014-08-04 Andreas Schwab <schwab@suse.de>
1012 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1014 2014-08-03 Mike Frysinger <vapier@gentoo.org>
1016 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1019 2014-08-01 Roland McGrath <roland@hack.frob.com>
1021 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1023 2014-08-01 Richard Henderon <rth@redhat.com>
1025 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1026 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1027 typo in exact zero test.
1028 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1029 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1030 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1032 2014-08-01 Roland McGrath <roland@hack.frob.com>
1034 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1035 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1036 * sysdeps/arm/sysdep.h: ... here.
1037 [!__ASSEMBLER__]: Include <stdint.h>.
1039 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1041 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1042 (HAVE_WCTYPE_H): Likewise.
1043 (HAVE_ISWCTYPE): Likewise.
1044 (ENABLE_NLS): Likewise.
1045 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1046 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1048 * posix/regex_internal.c: Check if DEBUG is defined and is
1051 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1052 (HAVE_MBSRTOWCS): Likewise.
1053 * posix/fnmatch.c: Include string.h unconditionally.
1055 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1057 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1060 2014-07-31 Roland McGrath <roland@hack.frob.com>
1062 * sysdeps/generic/safe-fatal.h: New file.
1063 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1064 * nptl/forward.c: Include it.
1065 (__pthread_unwind): Use __safe_fatal as default action, rather
1066 than a bogus use of INTERNAL_SYSCALL that could never work.
1068 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1069 * configure.ac (libc_cv_builtin_trap): New test.
1070 * configure: Regenerated.
1071 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1072 (ABORT_INSTRUCTION): Define using __builtin_trap.
1074 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1075 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1076 * sysdeps/nptl/nptl-signals.h: New file.
1077 * nptl/pthreadP.h: Include <nptl-signals.h>.
1079 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1081 * sysdeps/s390/s390-64/utf16-utf32-z9.c
1082 (ONE_DIRECTION): Define.
1083 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1084 (ONE_DIRECTION): Define.
1085 * sysdeps/s390/s390-64/utf8-utf32-z9.c
1086 (ONE_DIRECTION): Define.
1088 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1090 * sysdeps/s390/Makefile: Delete file.
1091 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1092 * sysdeps/s390/__longjmp.c: Delete file.
1093 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1094 Remove fields __flags and __reserved.
1095 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1097 * sysdeps/s390/rtld-__longjmp.c: Delete file.
1098 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1099 * sysdeps/s390/rtld-setjmp.S: Likewise.
1100 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1101 * sysdeps/s390/s390-32/__longjmp.c: ... here.
1102 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1103 * sysdeps/s390/s390-32/setjmp.S: ... here.
1105 (__sigsetjmp): Remove setting __flags field.
1106 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1107 * sysdeps/s390/s390-64/__longjmp.c: ... here.
1108 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1109 * sysdeps/s390/s390-64/setjmp.S: ... here.
1111 (__sigsetjmp): Remove setting __flags field.
1112 * sysdeps/s390/setjmp.S: Delete file.
1113 * sysdeps/s390/sigjmp.c: Likewise.
1114 * sysdeps/s390/v1-longjmp.c: Likewise.
1115 * sysdeps/s390/v1-setjmp.h: Likewise.
1116 * sysdeps/s390/v1-sigjmp.c: Likewise.
1117 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1118 Remove v1-longjmp_chk.
1119 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1120 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1121 Include debug/longjmp_chk.c and add versioning.
1122 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1123 Include nptl/pt-longjmp.c and add versioning.
1124 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1125 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1126 Include __longjmp.c.
1127 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1129 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1130 (__getcontext): Remove setting __flags field.
1132 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1133 Don't restore upper high grps.
1134 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1136 (__swapcontext): Remove setting uc_flags field.
1137 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1139 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1140 Include __longjmp.c.
1141 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1143 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1144 (__getcontext): Remove setting __flags field.
1146 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1147 (__swapcontext): Remove setting uc_flags field.
1148 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1149 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1150 Remove fields uc_high_gprs and __reserved.
1151 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1152 New file with reverted content.
1153 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1154 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1156 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1159 2014-07-31 Andreas Schwab <schwab@suse.de>
1161 * config.h.in (HAVE_IFUNC): Define to 0.
1162 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1165 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
1167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1168 memmove-avx-unaligned, memcpy-avx-unaligned and
1169 mempcpy-avx-unaligned.
1170 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1171 Add tests for AVX memcpy functions.
1172 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1173 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1175 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1176 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1178 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1179 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1181 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1182 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1183 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1185 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1188 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1191 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
1194 * manual/llio.texi: Add section about open file description locks.
1195 * manual/examples/ofdlocks.c: Example of open file description
1197 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1198 F_OFD_SETLK, and F_OFD_SETLKW.
1200 2014-07-23 Allan McRae <allan@archlinux.org>
1202 * po/es.po: Update Spanish translation from translation project.
1204 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
1206 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1208 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
1211 * sysdeps/arm/dl-machine.h (elf_machine_rela)
1212 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1213 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1215 2014-07-17 Joseph Myers <joseph@codesourcery.com>
1218 * math/fesetenv.c (__fesetenv)
1219 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1220 * math/feupdateenv.c (__feupdateenv)
1221 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1223 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1224 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1225 (__ASSUME_SOCKETCALL): Do not define.
1227 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1228 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1229 (__ASSUME_SOCKETCALL): Do not define.
1230 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1231 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1232 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1233 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1234 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1235 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1236 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1237 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1239 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1240 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1241 (__ASSUME_SOCKETCALL): Do not define.
1242 (__ASSUME_IPC64): Define unconditionally.
1243 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1244 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1245 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1246 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1247 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1248 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1249 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1252 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1253 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1254 (__ASSUME_SOCKETCALL): Do not define.
1255 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1256 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1257 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1258 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1259 (__ASSUME_REQUEUE_PI): Define unconditionally.
1260 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1261 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1262 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1263 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1264 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1265 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1267 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1268 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1269 (__ASSUME_SOCKETCALL): Do not define.
1270 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1271 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1272 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1273 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1274 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1275 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1277 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1278 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1279 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1280 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1281 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1282 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1283 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1284 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1285 (__ASSUME_GETCPU_SYSCALL): Likewise.
1287 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1288 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
1289 cases for individual architectures.
1290 * sysdeps/gnu/configure: Regenerated.
1291 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1292 LIBC_SLIBDIR_RTLDDIR.
1293 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1294 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1295 LIBC_SLIBDIR_RTLDDIR.
1296 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1298 LIBC_SLIBDIR_RTLDDIR.
1299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1301 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1302 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1304 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1305 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1307 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1308 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1309 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1310 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1312 * sysdeps/aarch64/shlib-versions: Move to ...
1313 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1314 * sysdeps/alpha/shlib-versions: Move to ...
1315 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1316 * sysdeps/arm/shlib-versions: Move to ...
1317 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1318 * sysdeps/hppa/shlib-versions: Move all contents except for
1319 libgcc_s entry to ...
1320 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
1322 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
1323 * sysdeps/ia64/shlib-versions: Move to ...
1324 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
1326 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
1327 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1328 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1329 * sysdeps/microblaze/shlib-versions: Move to ...
1330 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1331 * sysdeps/mips/shlib-versions: Move to ...
1332 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
1334 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
1335 * sysdeps/tile/shlib-versions: Move to ...
1336 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1337 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1339 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
1340 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1342 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
1344 2014-07-17 Will Newton <will.newton@linaro.org>
1346 * sysdeps/arm/bits/atomic.h
1347 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1348 (__arch_compare_and_exchange_bool_16_int): Likewise.
1349 (__arch_compare_and_exchange_bool_64_int): Likewise.
1351 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1352 into an #else block.
1354 2014-07-16 Roland McGrath <roland@hack.frob.com>
1356 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1357 just Linux configurations. Test empirically that the compiler sets
1358 __ARM_EABI__, rather than using the tuple to decide.
1359 * sysdeps/arm/preconfigure: Regenerated.
1360 * sysdeps/unix/sysv/linux/arm/configure: File removed.
1361 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1362 contents appended ...
1363 * sysdeps/arm/configure.ac: ... here.
1364 * sysdeps/arm/configure: Regenerated.
1366 2014-07-15 Roland McGrath <roland@hack.frob.com>
1368 * nptl/pthread_kill.c: New file.
1369 * nptl/pthread_sigmask.c: New file.
1370 * nptl/pthread_sigqueue.c: New file.
1372 * sysdeps/nptl/lowlevellock.h: New file.
1373 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1374 * sysdeps/nptl/lowlevellock-futex.h: New file.
1376 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1377 Remove dead declarations.
1379 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
1381 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1382 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1384 * sysdeps/x86_64/configure.ac: Likewise.
1385 * sysdeps/i386/configure: Regenerated.
1386 * sysdeps/x86_64/configure: Likewise.
1387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1388 memset-avx2 only if config-cflags-avx2 is yes.
1389 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1390 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1392 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1393 only if HAVE_AVX2_SUPPORT is defined.
1394 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1396 2014-07-14 Alan Modra <amodra@gmail.com>
1399 * elf/elf.h (DT_PPC64_NUM): Correct value.
1400 * NEWS: Add to fixed bug list.
1402 2014-07-13 Jim Meyering <meyering@fb.com>
1405 regex: don't deref NULL upon heap allocation failure
1406 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1407 failure in one more place.
1408 To trigger the segfault, configure grep -with-included-regex,
1409 build it, and run these commands:
1410 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1412 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
1414 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1416 2014-07-11 Richard Henderson <rth@redhat.com>
1418 * sysdeps/aarch64/libm-test-ulps: Update.
1420 2014-07-10 Florian Weimer <fweimer@redhat.com>
1423 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1424 * nptl/allocatestack.c (__nptl_setxid_error): New function.
1425 (__nptl_setxid): Initialize error member. Call
1426 __nptl_setxid_error.
1427 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1428 * nptl/descr.h (struct xid_command): Add error member.
1429 * nptl/tst-setuid3.c: New file.
1430 * nptl/Makefile (tests): Add it.
1432 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1434 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1436 (__lll_trylock): Use __lll_base_trylock.
1437 (__lll_cond_trylock): Likewise.
1439 2014-07-10 Roland McGrath <roland@hack.frob.com>
1441 * nptl/pthread_create.c (start_thread): Use atomic_or and
1442 lll_futex_wake directly rather than lll_robust_dead.
1443 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1444 (lll_robust_dead): Macro removed.
1445 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1446 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1447 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1448 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1449 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1450 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1451 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1452 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1453 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1454 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1455 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1456 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1457 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1458 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1459 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1461 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1462 Use atomic_compare_and_exchange_val_acq directly rather than
1464 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1465 (__lll_robust_trylock, lll_robust_trylock): Removed.
1466 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1467 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1468 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1469 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1470 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1471 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1472 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1473 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1474 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1475 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1476 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1477 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1478 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1479 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1481 2014-07-02 Florian Weimer <fweimer@redhat.com>
1483 * manual/locale.texi (Locale Names): New section documenting
1484 locale name syntax. Adjust menu and node chaining accordingly.
1485 (Choosing Locale): Reference Locale Names, Locale Categories.
1486 Mention setting LC_ALL=C. Reflect that name syntax is now
1488 (Locale Categories): New section title. Reference Locale Names.
1489 LC_ALL is an environment variable, but not a category.
1490 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1491 description, now in Locale Name. Reference that section. Locale
1492 name syntax is now documented.
1494 2014-07-02 Florian Weimer <fweimer@redhat.com>
1497 * locale/findlocale.c (name_present, valid_locale_name): New
1499 (_nl_find_locale): Use the loc_name variable to store name
1500 candidates. Call name_present and valid_locale_name to check and
1501 validate locale names. Return an error if the locale is invalid.
1503 2014-07-02 Florian Weimer <fweimer@redhat.com>
1505 * locale/setlocale.c (setlocale): Use strdup for allocating
1506 composite name copy.
1508 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1510 Sync up with gnulib.
1511 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1512 [!_LIBC && ENABLE_NLS]: Include gettext.h.
1513 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1514 and _GL_ARG_NONNULL.
1515 [USE_UNLOCKED_IO]: Include unlocked-io.h.
1516 [!_LIBC]: Include code for Windows and Cygwin.
1517 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1518 Include prototype for int strerror_r.
1519 [!_LIBC] (is_open): New function.
1520 (flush_stdout): New function.
1521 (print_errno_message): Use it.
1523 (error_at_line): Likewise.
1524 (error_tail) Add function attribute macros. Use
1527 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1529 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1531 * io/ftw.c: Include sys/param.h unconditionally.
1533 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1536 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1538 (freecache): New function to free CACHE on exit.
1540 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1543 2014-07-09 David S. Miller <davem@davemloft.net>
1545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1547 * sysdeps/sparc/nptl/internaltypes.h: Delete.
1548 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1549 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1550 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1551 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1552 * sysdeps/sparc/nptl/sem_init.c: Likewise.
1553 * sysdeps/sparc/nptl/sem_post.c: Likewise.
1554 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1555 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1556 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1557 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1558 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1559 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1561 2014-07-09 Andreas Schwab <schwab@suse.de>
1563 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1565 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1566 (do_test): Likewise.
1568 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1570 2014-07-09 Will Newton <will.newton@linaro.org>
1572 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1573 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1574 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1575 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1576 * sysdeps/hppa/start.S (_start): Likewise.
1578 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1580 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1582 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1585 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1587 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1588 after checking that it is non-NULL.
1590 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1592 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1594 * sysdeps/powerpc/memmove.c: Remove file.
1595 * sysdeps/powerpc/powerpc32/power4/memcopy.h
1596 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1597 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1598 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1599 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1600 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1601 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1602 string memmove instead of removed powerpc one.
1604 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1605 [weak_alias]: Fix compiler warning due trailing data.
1606 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1607 [weak_alias]: Likewise.
1608 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1609 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1611 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1612 (__libc_ifunc_impl_list): Add memmove functions.
1614 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1616 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1618 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1620 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1622 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1624 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1626 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1628 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1630 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1632 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1634 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1636 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1638 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1640 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1642 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1644 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1646 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1648 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1651 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1653 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1654 to avoid alignment traps in non-cacheable memory.
1655 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1657 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1659 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1660 file: multiarch power7 memmove.
1661 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1662 multiarch default memmove.
1663 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1664 multiarch memove for powerpc32/power4.
1666 * string/bcopy.c: Use full path to include memmove.c.
1667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1669 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1670 bcopy for powerpc64.
1671 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1672 bcopy for powerpc64.
1673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1674 and memmove implementations.
1675 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1676 optimized multiarch memmove for POWER7/powerpc64.
1677 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1678 default multiarch memmove for powerpc64.
1679 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1680 multiarch for powerpc64.
1681 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1682 for POWER7/powerpc64.
1683 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1684 memmove for POWER7/powerpc64.
1686 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1689 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1690 __ELF_NATIVE_CLASS equal to 64.
1692 2014-07-07 Roland McGrath <roland@hack.frob.com>
1694 * sysdeps/nptl/lowlevellock.h: File removed.
1696 * NEWS: NPTL is no longer an add-on!
1697 * nptl/internaltypes.h: Moved ...
1698 * sysdeps/nptl/internaltypes.h: ... here.
1699 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1700 * sysdeps/nptl/fork.c: Likewise.
1701 * sysdeps/nptl/gai_misc.h: Likewise.
1702 * sysdeps/nptl/librt-cancellation.c: Likewise.
1703 * sysdeps/nptl/jmp-unwind.c: Likewise.
1704 * sysdeps/nptl/setxid.h: Likewise.
1705 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1706 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1707 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1708 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1709 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1710 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1711 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1712 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1713 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1714 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1715 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1716 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1717 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1718 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1719 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1720 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1721 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1722 * nptl/Makeconfig: Moved ...
1723 * sysdeps/nptl/Makeconfig: ... here.
1724 * nptl/configure: File removed.
1725 * nptl/ANNOUNCE: File removed.
1726 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1727 * sysdeps/unix/sysv/linux/configure: Regenerated.
1729 * nptl/Makefile (routines): Add libc_pthread_init,
1730 libc_multiple_threads, register-atfork and unregister-atfork.
1731 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1732 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1733 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1734 pthread-pi-defines.sym, structsem.sym.
1735 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1736 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1737 [$(subdir) = nptl] (tests): Add tst-setgetname.
1738 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1739 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1740 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1741 [!LIBC_SIGACTION]: Remove aliases.
1742 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1743 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1744 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1745 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1746 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1747 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1748 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1749 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1750 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1751 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1752 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1753 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1754 __libc_allocate_rtsig_private.
1755 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1756 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1757 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1758 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1759 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1760 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1761 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1762 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1763 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1764 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1765 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1766 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1767 * nptl/internaltypes.h: ... here.
1768 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1769 * sysdeps/nptl/jmp-unwind.c: ... here.
1770 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1771 * nptl/libc-lowlevellock.c: ... here.
1772 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1773 * nptl/libc_multiple_threads.c: ... here.
1774 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1775 * nptl/libc_pthread_init.c: ... here.
1776 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1777 * nptl/lowlevelbarrier.sym: ... here.
1778 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1779 * nptl/lowlevelcond.sym: ... here.
1780 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1781 * nptl/lowlevellock.c: ... here.
1782 * nptl/lowlevellock.h: Moved ...
1783 * sysdeps/nptl/lowlevellock.h: ... here.
1784 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1785 * nptl/lowlevelrobustlock.c: ... here.
1786 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1787 * nptl/lowlevelrobustlock.sym: ... here.
1788 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1789 * nptl/lowlevelrwlock.sym: ... here.
1790 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1791 * nptl/pt-fork.c: ... here.
1792 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1793 * nptl/pthread-pi-defines.sym: ... here.
1794 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1795 * nptl/pthread_attr_getaffinity.c: ... here.
1796 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1797 * nptl/pthread_attr_setaffinity.c: ... here.
1798 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1799 * nptl/pthread_mutex_cond_lock.c: ... here.
1800 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1802 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1803 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1804 * nptl/pthread_once.c: ... here, replacing old file.
1805 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1806 * nptl/pthread_yield.c: ... here.
1807 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1808 * nptl/register-atfork.c: ... here.
1809 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1810 * nptl/sem_post.c: ... here.
1811 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1812 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1813 * nptl/sem_timedwait.c: ... here.
1814 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1815 * nptl/sem_trywait.c: ... here.
1816 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1817 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1818 * nptl/sem_wait.c: ... here.
1819 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1820 * nptl/structsem.sym: ... here.
1821 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1822 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1823 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1824 * nptl/unregister-atfork.c: ... here.
1825 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1826 * nptl/unwindbuf.sym: ... here.
1827 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1828 * sysdeps/nptl/fork.c: ... here.
1829 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1830 * sysdeps/nptl/fork.h: ... here.
1831 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1832 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1833 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1834 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1835 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1836 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1837 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1838 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1839 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1840 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1841 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1842 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1843 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1844 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1845 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1846 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1847 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1848 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1849 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1850 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1851 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1852 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1853 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1854 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1855 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1856 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1857 * sysdeps/unix/sysv/linux/raise.c: ... here.
1858 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1859 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1860 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1861 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1862 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1863 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1864 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1865 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1866 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1867 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1868 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1869 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1870 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1871 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1872 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1874 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1876 * sysdeps/generic/memcopy.h: Add comment for
1877 MEMCPY_OK_FOR_FWD_MEMMOVE.
1879 2014-07-04 Will Newton <will.newton@linaro.org>
1881 * string/memchr.c: Merge from gnulib.
1882 [_LIBC]: Remove conditionals.
1883 (__ptr_t): Remove define.
1884 (LONG_MAX_32_BITS): Likewise.
1885 (LONG_MAX): Likewise.
1886 (MEMCHR): Use ANSI prototype and optimize algorithm.
1888 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1890 2014-07-03 Roland McGrath <roland@hack.frob.com>
1892 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1893 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1895 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1896 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1897 in a bare environment with no <stdlib.h> installed.
1898 * sysdeps/nptl/configure: Regenerated.
1900 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1902 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1903 AC_EGREP_CPP for kernel header checks, so they only succeed if
1904 including <linux/version.h> actually works right.
1905 * sysdeps/unix/sysv/linux/configure: Regenerated.
1907 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1908 value so it's not diagnosed as unused.
1910 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1911 thing) with "ifeq ($(subdir),rt)".
1913 2014-07-03 Richard Henderson <rth@redhat.com>
1915 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1916 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1917 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1919 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1920 (math_force_eval): New.
1922 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1923 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1925 * sysdeps/alpha/fpu/s_round.c: Remove file.
1926 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1928 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1929 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1930 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1931 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1932 (_dl_start, print_statistics): Likewise.
1933 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1934 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1936 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1937 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1938 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1939 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1940 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1941 (HP_SMALL_TIMING_AVAIL): Define.
1942 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1943 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1944 (HP_SMALL_TIMING_AVAIL): Define.
1945 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1946 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1948 * sysdeps/aarch64/hp-timing.h: New file.
1950 * sysdeps/generic/hp-timing.h: Remove dead comment.
1951 * sysdeps/generic/hp-timing-common.h: New file.
1952 * sysdeps/alpha/hp-timing.h: Include it.
1953 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1954 * sysdeps/i386/i686/hp-timing.h: Likewise.
1955 * sysdeps/ia64/hp-timing.h: Likewise.
1956 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1957 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1958 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1959 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1960 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1961 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1964 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1965 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1966 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1967 * elf/rtld.c (_dl_start_final): Likewise.
1968 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1969 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1970 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1971 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1972 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1973 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1974 (HP_TIMING_DIFF_INIT): Remove.
1975 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1976 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1977 (HP_TIMING_DIFF_INIT): Remove.
1978 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1979 * sysdeps/i386/i686/hp-timing.c: Remove file.
1980 * sysdeps/x86_64/hp-timing.c: Remove file.
1981 * sysdeps/ia64/hp-timing.c: Remove file.
1982 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1983 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1984 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1985 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1987 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1988 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1989 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1990 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1991 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1992 (HP_TIMING_ACCUM): Remove.
1993 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1994 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1995 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1997 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1998 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1999 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2000 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2001 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2002 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2003 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2004 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2006 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2008 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
2010 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2012 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2014 Sync up with gettext.
2015 * intl/loadmsgcat.c: Define O_BINARY if not defined.
2016 [_MSC_VER]: Include malloc.h
2017 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2018 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2019 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
2020 TEMP_FAILURE_RETRY. Cast return of alloca.
2021 [!_LIBC] Call gl_rwlock_init.
2022 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2024 2014-07-02 Roland McGrath <roland@hack.frob.com>
2026 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2027 before checking its value.
2029 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2031 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2033 * debug/memcpy_chk.c: Don't include pagecopy.h.
2034 * debug/mempcpy_chk.c: Likewise.
2035 * string/memcpy.c: Likewise.
2036 * string/memmove.c: Likewise.
2037 * sysdeps/powerpc/memmove.c: Likewise.
2038 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
2039 definition of PAGE_COPY_FWD_MAYBE here...
2040 * sysdeps/generic/pagecopy.h: ... from here.
2041 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2043 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2044 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2046 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2047 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2049 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2050 (__libc_ifunc_impl_list): Likewise.
2051 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2052 multiarch strcat for PPC64.
2053 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2054 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2056 2014-07-02 Roland McGrath <roland@hack.frob.com>
2058 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2060 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2062 * intl/loadmsgcat.c: Remove declaration of
2063 get_sysdep_segment_value.
2064 (get_sysdep_segment_value): Use ISO C style.
2065 (_nl_load_domain): Use ISO C style. Get rid of redundant
2066 semicolon. Fix typo and formatting in comment.
2067 (_nl_unload_domain): Use ISO C style.
2069 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2071 2014-07-02 Will Newton <will.newton@linaro.org>
2073 * malloc/obstack.c: Merge from gnulib master.
2074 [HAVE_CONFIG_H]: Remove conditional code.
2075 [!_LIBC]: Include config.h.
2076 [!ELIDE_CODE]: Don't include inttypes.h, include
2077 stdint.h unconditionally.
2078 (print_and_abort): Mark as _Noreturn.
2079 (_obstack_allocated_p): Mark as __attribute_pure__.
2080 (obstack_free): Rename to __obstack_free.
2081 [!__attribute__]: Remove conditional code.
2082 * malloc/obstack.h: Merge from gnulib master.
2083 [__cplusplus]: Move conditional down.
2084 [!__attribute_pure__]: Define __attribute_pure__ here
2085 if it is not already defined.
2086 (_obstack_memory_used): Mark as __attribute_pure__.
2087 [!__obstack_free]: Define as obstack_free.
2088 [__GNUC__]: Remove check for ancient NeXT gcc.
2090 2014-07-02 Will Newton <will.newton@linaro.org>
2091 Paul Eggert <eggert@cs.ucla.edu>
2093 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2095 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2097 * resolv/gethnamaddr.c: Add comment warning that the file is
2100 2014-07-01 Carlos O'Donell <carlos@redhat.com>
2102 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2105 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2106 entry for aio_cancel and aio_cancel64.
2107 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2108 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2109 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2110 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2111 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2112 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2113 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2114 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2115 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2116 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2117 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2118 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2119 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2121 2014-07-01 Roland McGrath <roland@hack.frob.com>
2123 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2124 * nptl/pthread_mutex_lock.c: Likewise.
2125 * nptl/pthread_mutex_timedlock.c: Likewise.
2126 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2128 2014-07-01 Richard henderson <rth@redhat.com>
2130 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2131 (__isnan, __isnanl): Remove.
2132 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2134 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2136 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2138 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2140 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2142 * resolv/nss_dns/dns-host.c (getanswer_r)
2143 [MULTI_PTRS_ARE_ALIASES]: Remove code.
2145 2014-07-01 Joseph Myers <joseph@codesourcery.com>
2147 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2148 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2150 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2151 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2153 2014-07-01 Roland McGrath <roland@hack.frob.com>
2155 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2156 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2158 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2159 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2161 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2162 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2164 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2165 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2167 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2168 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2169 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2170 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2172 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2173 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2174 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2175 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2176 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2178 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2180 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2181 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2182 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2183 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2184 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2185 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2186 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2187 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2188 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2189 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2190 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2191 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2192 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2193 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2194 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2195 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2196 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2197 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2198 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2199 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2201 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2202 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2203 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2204 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2205 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2206 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2207 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2208 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2210 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
2212 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2213 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2214 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2217 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2221 2014-06-30 Joseph Myers <joseph@codesourcery.com>
2223 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2224 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2226 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2228 * sysdeps/arm/libm-test-ulps: Regenerated.
2230 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2231 Roland McGrath <roland@hack.frob.com>
2233 * test-skeleton.c (signal_handler): Kill the whole process group
2234 before killing the child individually.
2235 (main): Report any failure on `setpgid'.
2237 2014-06-30 Roland McGrath <roland@hack.frob.com>
2239 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2240 from _TLS_H to _ARM_NPTL_TLS_H.
2241 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2242 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2244 2014-06-30 Joseph Myers <joseph@codesourcery.com>
2247 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2248 (__expm1l): Return argument unchanged when small but not
2251 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2253 (_FP_UNPACK_RAW_1_P): Likewise.
2254 (_FP_PACK_RAW_1): Likewise.
2255 (_FP_PACK_RAW_1_P): Likewise.
2256 (_FP_MUL_MEAT_1_wide): Likewise.
2257 (_FP_MUL_MEAT_DW_1_hard): Likewise.
2258 (_FP_MUL_MEAT_1_hard): Likewise.
2259 (_FP_DIV_MEAT_1_imm): Likewise.
2260 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2261 (_FP_DIV_MEAT_1_udiv): Likewise.
2262 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2263 (_FP_UNPACK_RAW_2): Likewise.
2264 (_FP_UNPACK_RAW_2_P): Likewise.
2265 (_FP_PACK_RAW_2): Likewise.
2266 (_FP_PACK_RAW_2_P): Likewise.
2267 (_FP_MUL_MEAT_DW_2_wide): Likewise.
2268 (_FP_MUL_MEAT_2_wide): Likewise.
2269 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2270 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2271 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2272 (_FP_MUL_MEAT_2_gmp): Likewise.
2273 (_FP_DIV_MEAT_2_udiv): Likewise.
2274 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2275 (_FP_FRAC_SRL_4): Likewise.
2276 (_FP_FRAC_SRST_4): Likewise.
2277 (_FP_FRAC_SRS_4): Likewise.
2278 (_FP_UNPACK_RAW_4): Likewise.
2279 (_FP_UNPACK_RAW_4_P): Likewise.
2280 (_FP_PACK_RAW_4): Likewise.
2281 (_FP_PACK_RAW_4_P): Likewise.
2282 (_FP_MUL_MEAT_DW_4_wide): Likewise.
2283 (_FP_MUL_MEAT_4_wide): Likewise.
2284 (_FP_MUL_MEAT_4_gmp): Likewise.
2285 (umul_ppppmnnn): Likewise.
2286 (_FP_DIV_MEAT_4_udiv): Likewise.
2287 (__FP_FRAC_ADD_4): Likewise.
2288 (__FP_FRAC_SUB_3): Likewise.
2289 (__FP_FRAC_SUB_4): Likewise.
2290 (__FP_FRAC_DEC_3): Likewise.
2291 (__FP_FRAC_DEC_4): Likewise.
2292 (__FP_FRAC_ADDI_4): Likewise.
2293 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2294 (_FP_FRAC_SRL_8): Likewise.
2295 (_FP_FRAC_SRS_8): Likewise.
2297 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2299 (FP_UNPACK_RAW_EP): Likewise.
2300 (FP_PACK_RAW_E): Likewise.
2301 (FP_PACK_RAW_EP): Likewise.
2302 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2303 (_FP_ISSIGNAN): Likewise.
2304 (_FP_ADD_INTERNAL): Likewise.
2305 (_FP_FMA): Likewise.
2306 (_FP_CMP): Likewise.
2307 (_FP_SQRT): Likewise.
2308 (_FP_TO_INT): Likewise.
2309 (_FP_FROM_INT): Likewise.
2310 (FP_EXTEND): Likewise.
2311 (_FP_DIV_MEAT_N_loop): Likewise.
2313 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2315 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2318 2014-06-29 Joseph Myers <joseph@codesourcery.com>
2321 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2322 result with correct sign in case of exponents that produce
2323 overflow except for X very close to 1.
2325 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
2327 mktime: merge #if/#ifdef usage from glibc
2328 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2329 as that works with both Glibc's and Gnulib's style.
2330 See thread starting at Siddhesh Poyarekar's bug report at:
2331 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2333 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2335 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2336 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2337 * sysdeps/tile/tilegx/memmove.c: Remove file.
2339 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2341 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2342 abi-name definition.
2343 * scripts/soversions.awk: Do not handle or generate ABI lines.
2344 * shlib-versions: Remove ABI entries.
2345 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2346 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2348 2014-06-27 Roland McGrath <roland@hack.frob.com>
2350 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2351 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2352 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2353 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2354 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2355 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2356 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2358 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2360 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2361 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2362 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2363 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2364 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2365 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2366 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2367 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2368 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2369 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2370 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2371 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2372 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2374 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2375 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2376 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2377 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2378 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2379 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2381 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2382 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2384 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2385 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2386 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2387 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2389 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2390 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2391 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2392 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2393 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2394 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2395 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2396 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2398 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2399 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2400 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2401 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2403 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2404 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2406 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2407 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2408 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2409 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2411 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2413 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2414 Identical file removed.
2415 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2417 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2418 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2419 Identical file removed.
2420 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2421 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2422 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2424 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2425 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2426 Identical file removed.
2427 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2428 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2429 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2430 Identical file removed.
2431 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2432 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2433 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2434 Identical file removed.
2435 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2436 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2437 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2438 Identical file removed.
2439 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2441 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2442 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2443 Identical file removed.
2444 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2446 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2447 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2448 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2449 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2450 Identical file removed.
2451 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2453 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2455 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2456 Identical file removed.
2457 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2459 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2460 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2461 Identical file removed.
2462 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2464 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2465 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2466 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2467 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2468 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2469 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2471 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2472 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2473 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2475 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2476 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2477 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2478 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2479 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2481 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
2484 * nscd/nscd.c (monitor_child): Return exit status of child
2485 instead of return value from wait syscall.
2487 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2489 * configure.ac (libc_commonpagesize): Remove variable.
2490 (libc_relro_required): Likewise.
2491 (libc_cv_z_relro): Remove configure test.
2492 * configure: Regenerated.
2493 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2495 (libc_relro_required): Likewise.
2496 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2497 (libc_relro_required): Likewise.
2498 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2499 (libc_relro_required): Likewise.
2500 * sysdeps/arm/preconfigure: Regenerated.
2501 * sysdeps/ia64/preconfigure: Remove file.
2502 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2504 (libc_relro_required): Likewise.
2508 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2509 (__ieee754_yn): Set FE_TONEAREST mode internally and then
2510 recompute overflowing results in original rounding mode.
2511 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2512 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2513 recompute overflowing results in original rounding mode.
2514 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2515 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2516 recompute overflowing results in original rounding mode.
2517 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2518 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2519 recompute overflowing results in original rounding mode.
2520 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2521 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2522 recompute overflowing results in original rounding mode.
2523 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2524 (libc_feholdsetround_ctx): New macro.
2525 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2526 * sysdeps/i386/fpu/libm-test-ulps: Update.
2527 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2529 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2531 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2532 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2533 corresponding .cpsetup call.
2535 2014-06-26 Roland McGrath <roland@hack.frob.com>
2537 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2538 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2539 * sysdeps/arm/Makefile [$(subdir) = csu]
2540 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2541 (static-only-routines): Add aeabi_read_tp here.
2542 (shared-only-routines): Add libc-aeabi_read_tp here.
2543 (CFLAGS-libc-start.c): Add -fexceptions here.
2544 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2545 (sysdep_routines, static-only-routines, shared-only-routines):
2546 Don't add to these here.
2547 (CFLAGS-libc-start.c): Likewise.
2549 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2550 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2551 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2552 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2553 * sysdeps/arm/Makefile [$(subdir) = rt]
2554 (librt-sysdep_routines, librt-shared-only-routines):
2555 Append rt-aeabi_unwind_cpp_pr1 here.
2556 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2557 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2558 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2559 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2560 Append nptl-aeabi_unwind_cpp_pr1 here.
2561 (tests): Filter out tst-cleanupx4 here.
2562 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2563 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2564 Don't do those here.
2566 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2568 * scripts/list-sources.sh: Do not handle ports specially.
2570 2014-06-26 Roland McGrath <roland@hack.frob.com>
2572 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2573 * sysdeps/arm/feupdateenv.c: Likewise.
2575 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2577 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2579 * manual/texinfo.tex: Update to version 2014-05-05.10 with
2580 trailing whitespace removed.
2581 * scripts/config.guess: Update to version 2014-03-23.
2582 * scripts/config.sub: Update to version 2014-05-01
2583 * scripts/install-sh: Update to version 2013-12-25.23.
2584 * scripts/move-if-change: Update from gnulib.
2586 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2588 * debug/memmove_chk.c: Remove pagecopy.h include.
2590 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
2592 * time/mktime.c (leapyear): Remove inline keyword. The code is now
2593 identical to gnulib mktime.
2595 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2597 * configure.ac: Do not test for machine being rs6000. Do not test
2599 * configure: Regenerated.
2601 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2603 * configure: Regenerated.
2604 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2605 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2606 Remove configure test.
2607 * sysdeps/arm/configure: Regenerated.
2608 * sysdeps/nptl/configure.ac: Do not check
2609 libc_cv_asm_cfi_directives.
2610 * sysdeps/nptl/configure: Regenerated.
2611 * sysdeps/x86_64/nptl/configure.ac: Remove file.
2612 * sysdeps/x86_64/nptl/configure: Remove generated file.
2613 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2615 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2617 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2619 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2620 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2621 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2624 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2625 instead of whether it is defined.
2626 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2627 * sysdeps/hppa/dl-machine.h: Likewise.
2628 * sysdeps/ia64/dl-machine.h: Likewise.
2629 * sysdeps/m68k/dl-machine.h: Likewise.
2630 * sysdeps/microblaze/dl-machine.h: Likewise.
2631 * sysdeps/mips/dl-machine.: Likewise.
2632 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2633 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2634 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2635 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2636 * sysdeps/sh/dl-machine.h: Likewise.
2637 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2638 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2639 * sysdeps/tile/dl-machine.h: Likewise.
2640 * sysdeps/x86_64/dl-machine.h: Likewise.
2642 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2644 (verify_persistent_db): Likewise.
2646 2014-06-26 Roland McGrath <roland@hack.frob.com>
2648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2649 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2651 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2654 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2657 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2659 Identical file removed.
2660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2661 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2663 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2665 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2667 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2669 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2672 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2674 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2676 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2679 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2681 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2683 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2685 Identical file removed.
2686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2687 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2689 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2692 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2695 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2697 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2699 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2701 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2703 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2706 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2709 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2711 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2714 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2716 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2718 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2720 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2721 * sysdeps/unix/sysv/linux/s390/Versions
2722 (libpthread: GLIBC_2.19): New version set.
2723 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2724 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2725 (librt: GLIBC_2.3.3): New version set.
2726 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2727 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2728 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2729 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2730 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2731 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2732 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2733 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2734 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2735 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2736 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2737 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2738 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2739 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2740 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2741 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2742 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2743 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2744 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2745 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2746 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2747 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2748 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2749 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2750 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2751 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2752 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2753 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2754 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2755 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2756 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2757 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2758 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2759 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2760 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2761 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2762 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2763 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2764 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2765 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2766 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2767 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2768 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2769 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2770 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2772 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2773 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2774 (__libc_vfork): Define the function under this name.
2775 [!NOT_IN_libc] (__vfork): Make this an alias.
2776 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2777 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2778 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2779 (__libc_vfork): Define the function under this name.
2780 [!NOT_IN_libc] (__vfork): Make this an alias.
2781 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2782 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2783 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2784 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2785 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2786 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2788 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2789 code that was previously under [RESET_PID].
2790 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2791 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2792 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2794 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2795 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2796 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2797 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2798 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2799 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2800 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2801 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2802 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2803 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2804 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2806 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2807 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2808 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2809 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2810 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2811 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2812 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2813 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2814 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2815 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2816 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2817 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2818 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2819 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2820 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2821 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2822 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2823 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2824 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2825 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2826 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2827 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2828 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2829 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2830 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2831 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2832 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2833 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2834 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2836 2014-06-25 Roland McGrath <roland@hack.frob.com>
2838 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2839 that was previously under [RESET_PID].
2840 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2842 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2844 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2845 not undefine and redefine.
2846 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2847 [O_CLOEXEC]: Make code unconditional.
2848 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2849 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2850 <kernel-features.h>.
2851 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2852 conditional variable definition.
2853 (shm_open) [O_CLOEXEC]: Make code unconditional.
2854 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2857 * configure.ac (USE_REGPARMS): Don't define here.
2858 * configure: Regenerated.
2859 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2860 * sysdeps/i386/configure: Regenerated.
2862 * nptl/createthread.c: Don't include kernel-features.h.
2863 * nptl/pthread_cancel.c: Likewise.
2864 * nptl/pthread_condattr_setclock.c: Likewise.
2865 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2866 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2867 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2868 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2869 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2870 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2871 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2872 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2873 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2874 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2875 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2876 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2877 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2878 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2879 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2880 * nscd/gai.c: Likewise.
2881 * nss/nss_db/db-open.c: Likewise.
2882 * sysdeps/generic/ldsodefs.h: Likewise.
2883 * sysdeps/sh/nptl/tls.h: Likewise.
2884 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2885 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2886 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2887 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2888 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2889 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2890 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2891 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2892 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2893 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2894 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2895 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2896 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2897 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2898 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2899 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2900 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2901 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2902 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2903 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2904 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2905 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2906 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2907 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2908 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2909 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2910 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2911 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2912 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2913 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2914 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2915 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2916 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2917 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2918 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2919 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2920 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2921 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2922 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2923 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2924 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2925 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2926 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2927 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2928 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2929 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2930 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2931 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2932 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2933 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2934 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2935 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2936 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2937 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2938 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2939 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2940 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2941 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2964 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2965 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2966 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2967 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2968 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2969 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2970 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2971 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2972 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2973 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2974 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2975 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2976 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2977 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2978 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2979 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2980 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2981 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2982 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2983 * sysdeps/unix/sysv/linux/system.c: Likewise.
2984 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2985 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2986 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2987 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2988 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2989 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2990 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2992 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2993 * configure: Regenerated.
2994 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2996 * configure.ac (base_machine): Do not set specially for particular
2998 * configure: Regenerated.
2999 * sysdeps/powerpc/preconfigure: Move machine and base_machine
3000 settings from configure.ac.
3001 * sysdeps/i386/preconfigure: New file.
3002 * sysdeps/s390/preconfigure: Likewise.
3003 * sysdeps/sh/preconfigure: Likewise.
3004 * sysdeps/sparc/preconfigure: Likewise.
3006 2014-06-25 Roland McGrath <roland@hack.frob.com>
3008 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3009 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3010 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3011 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3012 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3013 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3014 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3015 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3016 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3017 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3018 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3019 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3020 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3021 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3022 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3023 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3024 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3025 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3026 * sysdeps/sparc/sparc64/Makefile: ... appended here.
3028 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3029 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3030 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3031 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3032 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3033 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3034 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3035 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3036 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3037 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3038 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3039 * sysdeps/sparc/sparc32/sem_post.c: ... here.
3040 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3041 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3042 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3043 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3044 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3045 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3046 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3047 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3048 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3049 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3050 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3051 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3052 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3053 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3054 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3055 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3056 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3057 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3058 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3059 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3060 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3061 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3062 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3063 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3064 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3065 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3068 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3070 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3073 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3076 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3078 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3081 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3083 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3085 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3087 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3090 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3093 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3095 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3098 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3100 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3102 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3104 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3106 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3109 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3112 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3114 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3117 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3119 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3121 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3123 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3126 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3129 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3131 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3134 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3136 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3138 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3140 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3142 * timezone/checktab.awk: Update from tzcode 2014e.
3143 * timezone/private.h: Likewise.
3144 * timezone/tzfile.h: Likewise.
3145 * timezone/zdump.c: Likewise.
3146 * timezone/zic.c: Likewise.
3148 * sysdeps/unix/sysv/linux/kernel-features.h
3149 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3150 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3151 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3152 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3153 Remove conditional code.
3155 2014-06-25 Will Newton <will.newton@linaro.org>
3157 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3158 (_dl_arm_cap_flags): Add HWCAP2 values.
3159 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3160 (_DL_HWCAP_COUNT): Increase to 37.
3161 (_DL_HWCAP_LAST): New define.
3162 (_DL_HWCAP2_LAST): New define.
3163 (_dl_procinfo): Add support for printing
3165 (_dl_string_hwcap): Use _dl_hwcap_string.
3167 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3171 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3173 * README: Do not mention ports directory.
3175 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3177 * sysdeps/unix/sysv/linux/futimes.c: Do not include
3178 <kernel-features.h>.
3179 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3180 conditional variable definition.
3181 (__futimes): Update comment.
3182 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3183 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3186 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3187 arguments close to 0.
3188 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3190 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3192 * math/auto-libm-test-in: Add more tests of exp10.
3193 * math/auto-libm-test-out: Regenerated.
3194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3196 * sysdeps/unix/sysv/linux/kernel-features.h
3197 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3198 * sysdeps/unix/sysv/linux/readv.c: Do not include
3199 <kernel-features.h>.
3200 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3201 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3202 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3204 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3206 * sysdeps/unix/sysv/linux/writev.c: Do not include
3207 <kernel-features.h>.
3208 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3209 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3210 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3212 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3215 2014-06-25 Will Newton <will.newton@linaro.org>
3217 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3218 comment changes throughout the file. Remove checks
3219 for HAVE_*_H definitions that are not required.
3220 (__gen_tempname): Call abort if an unknown kind value is
3223 2014-06-25 Andreas Schwab <schwab@suse.de>
3226 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3227 scalbln, scalblnf, scalblnl in libc.
3229 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3232 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3233 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3234 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3236 2014-06-24 Roland McGrath <roland@hack.frob.com>
3238 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3239 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3240 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3241 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3243 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3244 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3246 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3247 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3248 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3249 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3250 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3251 * sysdeps/x86/bits/pthreadtypes.h: ... here.
3252 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3253 * sysdeps/x86/bits/semaphore.h: ... here.
3254 * sysdeps/x86/nptl/elide.h: Moved ...
3255 * sysdeps/x86/elide.h: ... here.
3256 * sysdeps/x86_64/nptl/Implies: File removed.
3257 * sysdeps/i386/nptl/Implies: File removed.
3259 2014-06-24 Joseph Myers <joseph@codesourcery.com>
3262 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3263 return the argument for normal arguments with exponent below -64.
3264 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3266 * math/auto-libm-test-in: Add another test of expm1.
3267 * math/auto-libm-test-out: Regenerated.
3270 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3271 calling __erfcl for arguments at least 16.
3272 * math/auto-libm-test-in: Add more tests of erf.
3273 * math/auto-libm-test-out: Regenerated.
3275 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3276 individual architectures.
3277 * sysdeps/unix/sysv/linux/configure: Regenerated.
3278 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3279 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3280 * sysdeps/unix/sysv/linux/powerpc/configure.ac
3281 (ldd_rewrite_script): Define variable.
3282 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3287 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3288 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3289 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3290 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3291 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3292 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3293 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3294 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3296 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3299 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3300 Rename member __data.d to __data.__elision_data.
3302 2014-06-24 Wilco <wdijkstr@arm.com>
3304 * NEWS: Add 16918 to fixed bug list.
3306 2014-06-24 Wilco <wdijkstr@arm.com>
3308 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3310 2014-06-24 Wilco <wdijkstr@arm.com>
3312 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3313 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3314 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3315 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3316 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3317 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3318 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3321 2014-06-24 Wilco <wdijkstr@arm.com>
3323 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3325 2014-06-24 Wilco <wdijkstr@arm.com>
3327 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3328 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3329 * sysdeps/arm/fesetround.c (fesetround): Remove space.
3330 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3332 2014-06-24 Wilco <wdijkstr@arm.com>
3335 * sysdeps/arm/feupdateenv.c (feupdateenv):
3336 Rewrite to reduce FPSCR accesses and fix return value.
3338 2014-06-24 Wilco <wdijkstr@arm.com>
3340 * sysdeps/arm/fclrexcpt.c (feclearexcept):
3341 Optimize to avoid unnecessary FPSCR writes.
3342 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3343 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3344 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3345 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3347 2014-06-24 Wilco <wdijkstr@arm.com>
3349 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3350 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3351 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3352 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3353 Call libc_fetestexcept_vfp.
3354 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3355 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3356 __SOFTFP__ ifdef so that they can be built for softfp.
3358 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3360 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3361 argument type signed char.
3363 * Makerules (check-abi): Dump diff of symlist if the test
3366 2014-06-23 Roland McGrath <roland@hack.frob.com>
3368 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3371 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3372 Remove unused variable ST.
3374 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3378 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3379 small arguments before calling __expm1.
3380 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3381 small arguments before calling __expm1f.
3382 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3383 small arguments before calling __expm1l.
3384 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3386 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3387 * math/auto-libm-test-in: Add more cosh tests. Do not allow
3388 spurious underflow for some cosh tests.
3389 * math/auto-libm-test-out: Regenerated.
3390 * sysdeps/i386/fpu/libm-test-ulps: Update.
3393 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3394 (__ieee754_y1): Set errno if return value overflows.
3395 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3396 (__ieee754_y1f): Set errno if return value overflows.
3397 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3398 (__ieee754_y1l): Set errno if return value overflows.
3399 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3400 (__ieee754_y1l): Set errno if return value overflows.
3401 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3402 * math/auto-libm-test-out: Regenerated.
3404 * math/gen-auto-libm-tests.c: Document use of
3405 ignore-zero-inf-sign.
3406 (input_flag_type): Add value flag_ignore_zero_inf_sign.
3407 (input_flags): Add ignore-zero-inf-sign.
3408 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3409 * math/gen-libm-test.pl (generate_testfile): Handle
3410 ignore-zero-inf-sign.
3411 * math/auto-libm-test-in: Mark some cpow tests with
3412 ignore-zero-inf-sign and some with xfail-rounding.
3413 * math/auto-libm-test-out: Regenerated.
3414 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3415 * sysdeps/i386/fpu/libm-test-ulps: Update.
3416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3419 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3420 overflowing or underflowing operations take place with sign of
3422 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3423 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3424 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3425 (__ieee754_pow): Recompute overflowing and underflowing results in
3426 original rounding mode.
3427 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3428 (__powl_helper): Allow negative argument X and scale negated value
3429 as needed. Avoid passing value outside [-1, 1] to f2xm1.
3430 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3431 overflowing or underflowing operations take place with sign of
3433 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3435 * math/auto-libm-test-in: Add more tests of pow.
3436 * math/auto-libm-test-out: Regenerated.
3437 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3438 (pow_tonearest_test_data): Remove.
3439 (pow_test_tonearest): Likewise.
3440 (pow_towardzero_test_data): Likewise.
3441 (pow_test_towardzero): Likewise.
3442 (pow_downward_test_data): Likewise.
3443 (pow_test_downward): Likewise.
3444 (pow_upward_test_data): Likewise.
3445 (pow_test_upward): Likewise.
3446 (main): Don't call removed functions.
3447 * sysdeps/i386/fpu/libm-test-ulps: Update.
3448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3450 2014-06-23 Roland McGrath <roland@hack.frob.com>
3452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3626 2014-06-23 Will Newton <will.newton@linaro.org>
3627 Wilco <wdijkstr@arm.com>
3629 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3630 implementation. Include get-rounding-mode.h.
3631 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3632 [!libc_feholdsetround_noex_ctx]: Define
3633 libc_feholdsetround_noex_ctx.
3634 [!libc_feholdsetround_noexf_ctx]: Define
3635 libc_feholdsetround_noexf_ctx.
3636 [!libc_feholdsetround_noexl_ctx]: Define
3637 libc_feholdsetround_noexl_ctx.
3638 (libc_feholdsetround_ctx): New function.
3639 (libc_feresetround_ctx): New function.
3640 (libc_feholdsetround_noex_ctx): New function.
3641 (libc_feresetround_noex_ctx): New function.
3643 2014-06-23 Roland McGrath <roland@hack.frob.com>
3645 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3646 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3647 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3648 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3649 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3650 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3652 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3653 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3654 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3655 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3656 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3657 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3658 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3659 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3660 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3661 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3662 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3664 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3666 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3667 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3668 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3669 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3670 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3672 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3673 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3674 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3675 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3676 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3677 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3678 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3679 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3681 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3682 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3684 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3685 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3686 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3687 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3689 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3690 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3691 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3692 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3693 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3694 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3695 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3696 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3697 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3698 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3700 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3702 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3703 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3704 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3705 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3706 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3707 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3708 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3709 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3710 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3711 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3712 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3713 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3714 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3716 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3717 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3718 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3719 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3720 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3721 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3723 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3724 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3725 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3726 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3727 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3729 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3730 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3731 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3732 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3733 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3734 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3735 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3736 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3737 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3738 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3739 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3740 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3741 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3742 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3743 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3744 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3745 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3746 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3747 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3748 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3749 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3750 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3751 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3752 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3753 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3754 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3755 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3756 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3758 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3760 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3761 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3762 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3763 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3764 (IPV6_PMTUDISC_INTERFACE): Likewise.
3765 (IPV6_PMTUDISC_OMIT): Likewise.
3767 2014-06-23 Andreas Schwab <schwab@suse.de>
3769 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3770 Remove unused errout label.
3772 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3774 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3775 macro: hardware supports Vector Crypto instructions.
3777 2014-06-23 Will Newton <will.newton@linaro.org>
3779 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3780 rather than __builtin_expect.
3782 * elf/dl-lookup.c (undefined_msg): Remove variable.
3783 (_dl_lookup_symbol_x): Replace undefined_msg with string
3786 * elf/dl-lookup.c (do_lookup_unique): New function.
3787 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3788 to a separate function.
3790 2014-06-23 Andreas Schwab <schwab@suse.de>
3793 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3794 before reading the next line.
3796 2014-06-23 Will Newton <will.newton@linaro.org>
3798 * test-skeleton.c (signal_handler): Use printf and %m
3799 rather than perror. Use printf rather than fprintf to
3800 stderr. Use puts rather than fputs to stderr.
3803 2014-06-22 Ludovic Courtès <ludo@gnu.org>
3805 * nscd/nscd.c (thread_info_t): Remove typedef.
3806 (thread_info): Remove variable.
3808 2014-06-21 Allan McRae <allan@archlinux.org>
3810 * NEWS: Mention CVE-2014-4043.
3812 2014-06-20 Roland McGrath <roland@hack.frob.com>
3814 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3815 * nptl/smp.h: ... here.
3817 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3819 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3820 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3821 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3822 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3824 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3825 * nptl/stack-aliasing.h: New file.
3826 * sysdeps/i386/i686/stack-aliasing.h: New file.
3827 * sysdeps/i386/i686/nptl/Makefile: File removed.
3828 * sysdeps/x86_64/stack-aliasing.h: New file.
3829 * sysdeps/x86_64/nptl/Makefile
3830 (CFLAGS-pthread_create.c): Variable removed.
3832 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3833 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3835 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3836 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3839 2014-06-21 Joseph Myers <joseph@codesourcery.com>
3841 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3842 (__ASSUME_SIGFRAME_V2): Remove macro.
3843 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3844 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3845 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3846 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3847 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3848 Declare as function. Remove conditional macro definitions.
3849 (__default_rt_sa_restorer): Likewise.
3850 (__default_sa_restorer_v1): Remove declaration.
3851 (__default_sa_restorer_v2): Likewise.
3852 (__default_rt_sa_restorer_v1): Likewise.
3853 (__default_rt_sa_restorer_v2): Likewise.
3854 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3855 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3856 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3858 2014-06-20 Roland McGrath <roland@hack.frob.com>
3860 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3861 (libpthread-routines): Add sysdep.
3862 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3863 * sysdeps/unix/sysv/linux/sparc/Versions
3864 (libpthread: GLIBC_2.3.3): New version set.
3865 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3866 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3867 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3868 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3869 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3870 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3872 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3873 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3874 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3875 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3876 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3877 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3878 * sysdeps/sparc/nptl/sem_init.c: ... here.
3879 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3880 * sysdeps/sparc/nptl/sem_post.c: ... here.
3881 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3882 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3883 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3884 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3885 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3886 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3887 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3888 (libpthread-routines): Add cpu_relax.
3889 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3891 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3892 (librt: GLIBC_2.3.3): New version set.
3893 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3894 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3895 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3896 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3897 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3898 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3899 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3902 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3903 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3904 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3905 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3906 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3907 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3908 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3909 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3910 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3911 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3913 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3915 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3917 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3919 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3921 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3923 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3925 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3927 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3929 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3931 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3933 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3935 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3936 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3937 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3938 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3939 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3940 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3941 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3942 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3943 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3944 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3945 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3947 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3948 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3949 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3950 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3951 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3953 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3955 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3956 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3957 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3958 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3959 * nscd/nscd.c: Likewise.
3960 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3961 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3962 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3963 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3965 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3966 <kernel-features.h>.
3967 (init_mq_netlink): Remove conditional have_sock_cloexec
3968 definitions. Remove code conditional on have_sock_cloexec < 0.
3969 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3970 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3971 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3972 <kernel-features.h>.
3973 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3974 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3976 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3978 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3979 Add tests for memset_chk and memset.
3981 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3984 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3987 * elf/tst-dl-iter-static.c: New file.
3988 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3990 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3993 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3995 * sysdeps/unix/sysv/linux/kernel-features.h
3996 (__ASSUME_F_GETOWN_EX): Remove macro.
3997 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3998 <kernel-features.h>.
3999 (miss_F_GETOWN_EX): Remove variable or macro.
4000 (do_fcntl): Do not check miss_F_GETOWN_EX.
4001 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4003 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4005 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4006 [!__ASSUME_AT_RANDOM]: Remove conditional code.
4007 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4009 * sysdeps/unix/sysv/linux/kernel-features.h
4010 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4011 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4012 [ADJ_OFFSET_SS_READ]: Make code unconditional.
4013 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4015 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4018 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4019 Fix calculation of the symbol's value.
4020 * sysdeps/arm/tst-armtlsdescloc.c: New file.
4021 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4022 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4023 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4024 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4025 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4026 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4027 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4028 (modules-names): Add `tst-armtlsdescmod',
4029 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4030 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4031 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4032 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4033 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4034 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4035 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4036 ($(objpfx)tst-armtlsdescloc): New dependency.
4037 ($(objpfx)tst-armtlsdescextnow): Likewise.
4038 ($(objpfx)tst-armtlsdescextlazy): Likewise.
4039 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4041 * sysdeps/arm/configure: Regenerate.
4043 2014-06-20 Joseph Myers <joseph@codesourcery.com>
4045 * include/fcntl.h (__atfct_seterrno): Remove prototype.
4046 (__atfct_seterrno_2): Likewise.
4047 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4048 <kernel-features.h>.
4049 (__ASSUME_ATFCTS): Do not undefine and redefine.
4050 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4051 (__have_atfcts): Remove conditional definition.
4052 (__fxstatat([__NR_fstatat64]: Make code unconditional.
4053 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4054 unreachable if [__ASSUME_ATFCTS].
4055 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4056 not undefine and redefine.
4057 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4058 <kernel-features.h>.
4059 (faccessat) [__NR_faccessat]: Make code unconditional.
4060 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4061 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4062 <kernel-features.h>.
4063 (fchmodat) [__NR_fchmodat]: Make code unconditional.
4064 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4065 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4066 <kernel-features.h>.
4067 (fchownat) [__NR_fchownat]: Make code unconditional.
4068 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4069 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4070 <kernel-features.h>.
4071 (futimesat) [__NR_futimesat]: Make code unconditional.
4072 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4073 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4074 <kernel-features.h>.
4075 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4076 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4077 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4078 <kernel-features.h>.
4079 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4080 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4081 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4082 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4083 <kernel-features.h>.
4084 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4085 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4086 * sysdeps/unix/sysv/linux/linkat.c: Do not include
4087 <kernel-features.h>.
4088 (linkat) [__NR_linkat]: Make code unconditional.
4089 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4090 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4091 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4092 <kernel-features.h>.
4093 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4094 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4095 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4096 <kernel-features.h>.
4097 (mkdirat) [__NR_mkdirat]: Make code unconditional.
4098 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4099 * sysdeps/unix/sysv/linux/openat.c: Do not include
4100 <kernel-features.h>.
4101 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4102 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4103 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4104 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4105 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4106 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4107 <kernel-features.h>.
4108 (readlinkat) [__NR_readlinkat]: Make code unconditional.
4109 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
4110 result of INLINE_SYSCALL directly, not via int variable.
4111 * sysdeps/unix/sysv/linux/renameat.c: Do not include
4112 <kernel-features.h>.
4113 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4114 (renameat) [__NR_renameat]: Make code unconditional.
4115 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4116 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4117 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4118 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4119 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4120 (__ASSUME_ATFCTS): Do not undefine and redefine.
4121 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4122 <kernel-features.h>.
4123 (symlinkat) [__NR_symlinkat]: Make code unconditional.
4124 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4125 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4126 <kernel-features.h>.
4127 (unlinkat) [__NR_unlinkat]: Make code unconditional.
4128 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4129 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4130 (__ASSUME_ATFCTS): Do not undefine and redefine.
4131 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4132 <kernel-features.h>.
4133 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4134 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4135 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4136 <kernel-features.h>.
4137 (__xmknodat) [__NR_mknodat]: Make code unconditional.
4138 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4140 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4142 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4144 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
4147 * posix/regcomp.c (parse_reg_exp): Deallocate partially
4148 constructed tree before returning error.
4149 * posix/bug-regexp36.c: Expand test case.
4151 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4154 * math/libm-test.inc (scalbln_test_date):
4155 Add errno expectations.
4156 * math/w_scalblnf.c: New File.
4157 Add wrapper which checks for setting errno to ERANGE.
4158 Add weak_alias for corresponding scalbln function.
4159 * math/w_scalbln.c: Likewise.
4160 * math/w_scalblnl.c: Likewise.
4161 * math/Makefile (libm-calls): Add w_scalbln.
4162 * sysdeps/ieee754/flt-32/s_scalblnf.c:
4163 Remove weak_alias for corresponding scalbln function.
4164 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4165 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4166 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4167 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4168 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4169 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4170 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4171 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4172 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4173 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4174 Remove long_double_symbol for scalblnl function in libm, libc.
4175 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4176 Add wrapper which checks for setting errno to ERANGE.
4177 Add long_double_symbol for scalblnl function in libm, libc.
4178 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4179 Remove long_double_symbol for scalblnl in libm.
4180 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4181 Add wrapper which checks for setting errno to ERANGE.
4182 Add long_double_symbol for scalblnl function in libm.
4183 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4184 Do not use wrapper because of own implementation.
4186 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
4188 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4189 3 bytes for __pad1 for x32.
4190 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4192 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
4193 H.J. Lu <hongjiu.lu@intel.com>
4195 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4196 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4197 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4198 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4199 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4201 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
4204 * posix/regcomp.c (parse_expression): Deallocate partially
4205 constructed tree before returning error.
4206 * posix/Makefile.c (tests): Add bug-regex36.
4207 (generated): Add bug-regex36.mtrace.
4208 (tests-special): Add $(objpfx)bug-regex36-mem.out
4209 (bug-regex36-ENV): New variable.
4210 ($(objpfx)bug-regex36-mem.out): New rule.
4211 * posix/bug-regex36.c: New file.
4213 2014-06-19 Will Newton <will.newton@linaro.org>
4215 * malloc/malloc.c (systrim): If extra is zero then return
4218 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4220 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4222 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
4224 * sysdeps/aarch64/strchr.S: New file.
4226 2014-06-18 Joseph Myers <joseph@codesourcery.com>
4229 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4230 from arguments -2 or below.
4231 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4232 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4234 2014-06-18 Andreas Schwab <schwab@suse.de>
4237 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4238 of a bracket expr not to run off the end of the string.
4239 * posix/Makefile (tests): Add tst-fnmatch3.
4240 * posix/tst-fnmatch3.c: New file.
4242 2014-06-18 Joseph Myers <joseph@codesourcery.com>
4244 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4245 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4246 [$(cross-compiling) = no]: Likewise.
4247 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4248 [$(cross-compiling) = no]: Likewise.
4250 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4253 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4254 double, adjusted for any remainder from the high double.
4255 * math/libm-test.inc (nearbyint): Add tests.
4258 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4260 * nptl/sysdeps/powerpc/Makefile: Moved ...
4261 * sysdeps/powerpc/nptl/Makefile: ... here.
4262 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4263 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4264 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4265 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4266 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4267 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4268 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4269 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4270 * nptl/sysdeps/powerpc/tls.h: Moved ...
4271 * sysdeps/powerpc/nptl/tls.h: ... here.
4273 2014-06-16 Joseph Myers <joseph@codesourcery.com>
4276 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4277 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4278 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4279 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4280 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4281 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4282 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4283 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4284 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4286 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
4288 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4290 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
4292 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4295 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4298 2014-06-16 Florian Weimer <fweimer@redhat.com>
4301 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4302 non-executed part of the test.
4304 2014-06-16 Andreas Schwab <schwab@suse.de>
4306 * string/bits/string2.h (strdup, strndup): Update feature guard.
4308 2014-06-14 David S. Miller <davem@davemloft.net>
4310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4312 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
4314 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4315 that was previously under [RESET_PID].
4316 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4318 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4319 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4320 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4321 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4322 (__libc_vfork): New strong alias.
4323 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4325 2014-06-14 Andi Kleen <ak@linux.intel.com>
4327 * sysdeps/generic/elide.h: New file.
4329 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4331 * Makefile (installed-headers): Adjust path of pthread.h header.
4333 2014-06-13 Roland McGrath <roland@hack.frob.com>
4335 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4336 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4337 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4338 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4340 * nptl/sysdeps/s390/Makefile: Moved ...
4341 * sysdeps/s390/nptl/Makefile: ... here.
4342 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4343 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4344 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4345 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4346 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4347 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4348 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4349 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4350 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4351 * sysdeps/s390/nptl/pthreaddef.h: ... here.
4352 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4353 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4354 * nptl/sysdeps/s390/tls.h: Moved ...
4355 * sysdeps/s390/nptl/tls.h: ... here.
4357 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4358 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4360 2014-06-13 David S. Miller <davem@davemloft.net>
4362 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4363 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4364 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4365 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4366 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4367 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4368 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4369 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4370 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4371 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4372 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4373 Remove RESET_PID cpp guards.
4374 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4375 Remove RESET_PID cpp guards.
4376 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4378 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
4380 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4383 2014-06-13 Andi Kleen <ak@linux.intel.com>
4385 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4386 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4387 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4388 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4389 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4390 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4391 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4392 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4393 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4394 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4395 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4396 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4397 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4398 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4399 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4400 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4401 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4402 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4403 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4404 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4406 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4407 (pthread_rwlock_rdlock): Add elision.
4408 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4409 (pthread_rwlock_wrlock): Add elision.
4410 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4411 (pthread_rwlock_trywrlock): Add elision.
4412 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4413 (pthread_rwlock_tryrdlock): Add elision.
4414 * nptl/pthread_rwlock_unlock.c: Include elide.h.
4415 (pthread_rwlock_tryrdlock): Add elision unlock.
4416 * nptl/sysdeps/pthread/pthread.h:
4417 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4418 (PTHREAD_RWLOCK_INITIALIZER,
4419 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4420 Handle new elision field.
4421 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4422 * sysdeps/arm/nptl/bits/pthreadtypes.h
4423 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4424 * sysdeps/sh/nptl/bits/pthreadtypes.h
4425 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4426 * sysdeps/tile/nptl/bits/pthreadtypes.h
4427 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4428 * sysdeps/a/nptl/bits/pthreadtypes.h
4429 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4430 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4431 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4432 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4433 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4434 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4435 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4436 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4437 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4438 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4439 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4440 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4441 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4442 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4443 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4444 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4445 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4446 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4447 (elision_init): Set try_xbegin to zero when no RTM.
4448 * sysdeps/x86/nptl/bits/pthreadtypes.h
4449 (pthread_rwlock_t): Change __pad1 to __rwelision.
4450 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4452 2014-06-13 Andi Kleen <ak@linux.intel.com>
4454 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4455 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4456 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4457 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4459 2014-06-13 Meador Inge <meadori@codesourcery.com>
4462 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4463 that the cached result has been set before returning it.
4465 2014-06-12 Roland McGrath <roland@hack.frob.com>
4467 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4468 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4469 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4470 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4471 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4472 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4474 * nptl/sysdeps/sparc/Makefile: Moved ...
4475 * sysdeps/sparc/nptl/Makefile: ... here.
4476 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4477 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4478 * nptl/sysdeps/sparc/tls.h: Moved ...
4479 * sysdeps/sparc/nptl/tls.h: ... here.
4480 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4481 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4482 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4483 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4484 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4485 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4486 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4487 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4488 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4489 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4490 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4491 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4492 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4493 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4494 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4495 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4496 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4497 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4499 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4500 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4502 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4503 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4505 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4506 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4509 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4511 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4512 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4514 * sysdeps/pthread/posix-timer.h: Include <list.h>.
4515 (struct list_links): Type removed.
4516 (struct thread_node, struct timer_node): Replace struct list_links
4517 with struct list_head.
4518 (list_unlink_ip): Likewise.
4519 * sysdeps/pthread/timer_routines.c
4520 (timer_free_list, thread_free_list, thread_active_list): Likewise.
4521 (list_append, list_insbefore): Likewise.
4522 (list_init): Function removed.
4523 (thread_init, init_module): Use INIT_LIST_HEAD instead.
4524 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4525 * sysdeps/pthread/Makefile: ... here, new file.
4527 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4528 * sysdeps/nptl/Implies: ... here.
4529 * sysdeps/unix/sysv/linux/Implies: Add nptl.
4530 * nptl/sysdeps/pthread/list.h: Moved ...
4531 * include/list.h: ... here.
4532 * nptl/sysdeps/pthread/createthread.c: Moved ...
4533 * nptl/createthread.c: ... here.
4534 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4535 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4536 * nptl/pt-longjmp.c: ... here.
4537 * nptl/sysdeps/pthread/Makefile: Moved ...
4538 * sysdeps/nptl/Makefile: ... here.
4539 * nptl/sysdeps/pthread/Subdirs: Moved ...
4540 * sysdeps/nptl/Subdirs: ... here.
4541 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4542 * sysdeps/nptl/aio_misc.h: ... here.
4543 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4544 * sysdeps/nptl/bits/libc-lock.h: ... here.
4545 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4546 * sysdeps/nptl/bits/libc-lockP.h: ... here.
4547 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4548 * sysdeps/nptl/bits/stdio-lock.h: ... here.
4549 * nptl/sysdeps/pthread/configure: Moved ...
4550 * sysdeps/nptl/configure: ... here.
4551 * nptl/sysdeps/pthread/configure.ac: Moved ...
4552 * sysdeps/nptl/configure.ac: ... here.
4553 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4554 * sysdeps/nptl/gai_misc.h: ... here.
4555 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4556 * sysdeps/nptl/librt-cancellation.c: ... here.
4557 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4558 * sysdeps/nptl/malloc-machine.h: ... here.
4559 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4560 * sysdeps/nptl/pthread-functions.h: ... here.
4561 * nptl/sysdeps/pthread/pthread.h: Moved ...
4562 * sysdeps/nptl/pthread.h: ... here.
4563 * nptl/sysdeps/pthread/setxid.h: Moved ...
4564 * sysdeps/nptl/setxid.h: ... here.
4565 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4566 * sysdeps/nptl/sigfillset.c: ... here.
4567 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4568 * sysdeps/nptl/tcb-offsets.h: ... here.
4569 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4570 * sysdeps/nptl/tst-mqueue8x.c: ... here.
4571 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4572 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4573 * nptl/sysdeps/pthread/allocalim.h: Moved ...
4574 * sysdeps/pthread/allocalim.h: ... here.
4575 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4576 * sysdeps/pthread/bits/sigthread.h: ... here.
4577 * nptl/sysdeps/pthread/flockfile.c: Moved ...
4578 * sysdeps/pthread/flockfile.c: ... here.
4579 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4580 * sysdeps/pthread/ftrylockfile.c: ... here.
4581 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4582 * sysdeps/pthread/funlockfile.c: ... here.
4583 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4584 * sysdeps/pthread/posix-timer.h: ... here.
4585 * nptl/sysdeps/pthread/timer_create.c: Moved ...
4586 * sysdeps/pthread/timer_create.c: ... here.
4587 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4588 * sysdeps/pthread/timer_delete.c: ... here.
4589 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4590 * sysdeps/pthread/timer_getoverr.c: ... here.
4591 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4592 * sysdeps/pthread/timer_gettime.c: ... here.
4593 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4594 * sysdeps/pthread/timer_routines.c: ... here.
4595 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4596 * sysdeps/pthread/timer_settime.c: ... here.
4597 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4598 * sysdeps/pthread/tst-timer.c: ... here.
4599 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4600 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4602 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4603 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4605 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4606 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4607 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4608 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4609 Update #include target.
4610 * nptl/sysdeps/i386/i686/Makefile: Moved ...
4611 * sysdeps/i386/i686/nptl/Makefile: ... here.
4612 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4613 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4614 Update #include target.
4615 * nptl/sysdeps/i386/i686/tls.h: Moved ...
4616 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
4617 * nptl/sysdeps/i386/Makefile: Moved ...
4618 * sysdeps/i386/nptl/Makefile: ... here.
4619 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4620 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4621 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4622 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4623 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4624 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4625 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4626 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4627 * sysdeps/i386/nptl/pthreaddef.h: ... here.
4628 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4629 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4630 * nptl/sysdeps/i386/tls.h: Moved ...
4631 * sysdeps/i386/nptl/tls.h: ... here.
4633 * sysdeps/sh/Makefile [$(subdir) = csu]
4634 (gen-as-const-headers): Add tcb-offsets.sym.
4635 * nptl/sysdeps/sh/Makefile: File removed.
4636 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4637 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4638 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4639 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4640 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4641 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4642 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4643 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4644 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4645 * sysdeps/sh/nptl/pthreaddef.h: ... here.
4646 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4647 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4648 * nptl/sysdeps/sh/tls.h: Moved ...
4649 * sysdeps/sh/nptl/tls.h: ... here.
4650 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4651 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4652 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4653 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4654 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4655 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4656 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4657 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4658 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4659 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4660 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4661 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4662 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4663 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4664 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4665 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4666 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4667 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4668 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4669 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4670 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4671 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4672 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4673 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4674 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4676 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4677 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4679 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4680 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4681 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4682 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4683 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4684 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4685 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4686 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4687 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4688 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4689 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4690 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4691 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4692 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4693 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4694 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4695 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4696 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4697 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4699 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4701 * posix/spawn_faction_addopen.c: Include string.h.
4703 2014-06-11 Roland McGrath <roland@hack.frob.com>
4705 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4706 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4707 * nptl/sysdeps/x86_64/Makefile: Moved ...
4708 * sysdeps/x86_64/nptl/Makefile: ... here.
4709 * nptl/sysdeps/x86_64/configure: Moved ...
4710 * sysdeps/x86_64/nptl/configure: ... here.
4711 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4712 * sysdeps/x86_64/nptl/configure.ac: ... here.
4713 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4714 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4715 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4716 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4717 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4718 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4719 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4720 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4721 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4722 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4723 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4724 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4725 * nptl/sysdeps/x86_64/tls.h: Moved ...
4726 * sysdeps/x86_64/nptl/tls.h: ... here.
4727 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4728 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4729 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4730 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4732 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4734 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4738 2014-06-11 Joseph Myers <joseph@codesourcery.com>
4740 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4742 [POSIX] (off_t): Likewise.
4743 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4744 [POSIX] (S_ISBLK): Require macro.
4745 [POSIX] (S_ISCHR): Likewise.
4746 [POSIX] (S_ISDIR): Likewise.
4747 [POSIX] (S_ISFIFO): Likewise.
4748 [POSIX] (S_ISREG): Likewise.
4749 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4751 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4753 [POSIX] (time_t): Likewise.
4754 [POSIX] (timer_t): Likewise.
4756 2014-06-11 Florian Weimer <fweimer@redhat.com>
4759 * posix/spawn_int.h (struct __spawn_action): Make the path string
4760 non-const to support deallocation.
4761 * posix/spawn_faction_addopen.c
4762 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4763 * posix/spawn_faction_destroy.c
4764 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4765 path in all spawn_do_open actions.
4766 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4767 posix_spawn_file_actions_addopen.
4769 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4771 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4772 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4773 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4774 conditional code always true.
4775 (__libc_vfork): New alias.
4777 2014-06-11 Roland McGrath <roland@hack.frob.com>
4779 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4780 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4782 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4784 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4785 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4787 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4788 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4790 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4791 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4793 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4795 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4796 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4797 multiarch strcmp for PPC64.
4798 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4799 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4800 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4801 multiarch optimizations.
4802 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4803 (__libc_ifunc_impl_list): Likewise.
4805 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4807 * benchtests/scripts/validate_benchout.py: New script.
4808 * benchtests/Makefile (bench-func): Call it.
4809 * benchtests/scripts/benchout.schema.json: New file.
4811 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4813 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4814 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4815 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4816 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4817 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4818 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4819 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4820 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4821 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4822 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4823 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4824 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4825 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4826 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4827 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4828 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4932 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4933 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4934 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4935 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4936 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4938 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4940 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4941 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4942 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4943 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4944 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4945 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4946 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4947 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4948 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4949 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4950 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4951 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4952 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4954 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4955 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4957 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4958 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4959 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4960 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4962 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4963 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4964 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4965 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4966 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4967 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4968 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4970 2014-06-10 Wilco <wdijkstr@arm.com>
4972 * math/test-fenv-return.c: New file.
4973 * math/Makefile: Add new test test-fenv-return.
4975 2014-06-10 Joseph Myers <joseph@codesourcery.com>
4978 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4980 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4981 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4982 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4983 0.0L for an argument of 1.0L.
4984 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4986 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4987 value when x - 1 is zero.
4988 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4989 * sysdeps/i386/fpu/libm-test-ulps: Update.
4990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4992 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4995 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4997 2014-06-09 Roland McGrath <roland@hack.frob.com>
4999 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5000 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5002 2014-06-09 Roland McGrath <roland@hack.frob.com>
5004 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5005 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5007 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5008 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5010 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5011 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5013 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5014 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5016 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5017 if not already defined.
5018 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5019 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5020 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5021 (TLS_INIT_TP): Use it.
5022 (TLS_DEFINE_INIT_TP): New macro.
5023 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5025 2014-06-09 Joseph Myers <joseph@codesourcery.com>
5027 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5029 [POSIX] (IXANY): Likewise.
5030 [POSIX] (OLCUC): Likewise.
5031 [POSIX || POSIX2008] (CBAUD): Do not allow.
5032 [POSIX || POSIX2008] (DEFECHO): Likewise.
5033 [POSIX || POSIX2008] (ECHOCTL): Likewise.
5034 [POSIX || POSIX2008] (ECHOKE): Likewise.
5035 [POSIX || POSIX2008] (ECHOPRT): Likewise.
5036 [POSIX || POSIX2008] (EXTA): Likewise.
5037 [POSIX || POSIX2008] (EXTB): Likewise.
5038 [POSIX || POSIX2008] (FLUSHO): Likewise.
5039 [POSIX || POSIX2008] (LOBLK): Likewise.
5040 [POSIX || POSIX2008] (PENDIN): Likewise.
5041 [POSIX || POSIX2008] (SWTCH): Likewise.
5042 [POSIX || POSIX2008] (VDISCARD): Likewise.
5043 [POSIX || POSIX2008] (VDSUSP): Likewise.
5044 [POSIX || POSIX2008] (VLNEXT): Likewise.
5045 [POSIX || POSIX2008] (VREPRINT): Likewise.
5046 [POSIX || POSIX2008] (VSTATUS): Likewise.
5047 [POSIX || POSIX2008] (VWERASE): Likewise.
5048 (B*): Change to B[0123456789]*.
5049 * conform/data/time.h-data [POSIX || UNIX98]
5050 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5051 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5052 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5053 [POSIX] (tm_*): Do not allow.
5055 2014-06-07 Joseph Myers <joseph@codesourcery.com>
5057 * Makefile (install): Don't set LANGUAGE.
5058 * Makefile.in (install): Likewise.
5059 * assert/Makefile (test-assert-ENV): Remove variable.
5060 (test-assert-perr-ENV): Likewise.
5061 * elf/Makefile (neededtest4-ENV): Likewise.
5062 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5063 [$(cross-compiling) = no]: Don't set LANGUAGE.
5064 * io/ftwtest-sh (LANG): Remove variable.
5065 * libio/Makefile (tst-widetext-ENV): Likewise.
5066 * manual/install.texi (Running make install): Don't refer to
5067 environment settings for make install.
5068 * INSTALL: Regenerated.
5069 * nptl/tst-tls6.sh: Don't set LANG.
5070 * posix/globtest.sh (LANG): Remove variable.
5071 * string/Makefile (tester-ENV): Likewise.
5072 (inl-tester-ENV): Likewise.
5073 (noinl-tester-ENV): Likewise.
5074 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5075 [$(cross-compiling) = no]: Don't set LANGUAGE.
5076 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5077 without explicit environment settings.
5079 2014-06-06 Roland McGrath <roland@hack.frob.com>
5081 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5082 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5083 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5084 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5086 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
5088 * crypt/crypt-private.h [DOS]: Add some includes taken from the
5089 other files in the crypt directory.
5090 * crypt/crypt.c: Remove duplicate includes.
5091 * crypt/crypt-entry.c: Likewise.
5092 * crypt/crypt_util.c: Likewise.
5094 2014-06-06 Joseph Myers <joseph@codesourcery.com>
5096 * Makeconfig (run-program-env): New variable.
5097 (run-program-prefix-before-env): Likewise.
5098 (run-program-prefix-after-env): Likewise.
5099 (run-program-prefix): Define in terms of new variables.
5100 (built-program-cmd-before-env): New variable.
5101 (built-program-cmd-after-env): Likewise.
5102 (built-program-cmd): Define in terms of new variables.
5103 (test-program-prefix-before-env): New variable.
5104 (test-program-prefix-after-env): Likewise.
5105 (test-program-prefix): Define in terms of new variables.
5106 (test-program-cmd-before-env): New variable.
5107 (test-program-cmd-after-env): Likewise.
5108 (test-program-cmd): Define in terms of new variables.
5109 * Rules (make-test-out): Use $(run-program-env).
5110 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5111 (help): Do not mention environment variables. Mention
5112 --timeoutfactor option.
5113 (timeoutfactor): New variable.
5114 (blacklist_exports): Remove function.
5115 (exports): Remove variable.
5116 (command): Do not include ${exports}.
5117 * manual/install.texi (Configuring and compiling): Do not mention
5118 test wrappers preserving environment variables. Mention that last
5119 assignment to a variable must take precedence.
5120 * INSTALL: Regenerated.
5121 * benchtests/Makefile (run-bench): Use $(run-program-env).
5122 * catgets/Makefile ($(objpfx)test1.cat): Use
5123 $(built-program-cmd-before-env), $(run-program-env) and
5124 $(built-program-cmd-after-env).
5125 ($(objpfx)test2.cat): Do not specify environment variables
5127 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5128 $(run-program-env) and $(built-program-cmd-after-env).
5129 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5130 $(run-program-env) and $(test-program-cmd-after-env).
5131 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5133 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5134 run_program_env and test_program_cmd_after_env arguments.
5135 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5136 * elf/tst-pathopt.sh: Use run_program_env argument.
5137 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5138 $(test-wrapper-env) and $(run-program-env).
5139 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5140 run_program_env arguments.
5141 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5142 * intl/Makefile ($(objpfx)tst-gettext.out): Use
5143 $(test-program-prefix-before-env), $(run-program-env) and
5144 $(test-program-prefix-after-env).
5145 ($(objpfx)tst-gettext2.out): Likewise.
5146 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5147 run_program_env and test_program_prefix_after_env arguments.
5148 * intl/tst-gettext2.sh: Likewise.
5149 * intl/tst-gettext4.sh: Do not set environment variables
5151 * intl/tst-gettext6.sh: Likewise.
5152 * intl/tst-translit.sh: Likewise.
5153 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5154 $(test-program-prefix-before-env), $(run-program-env) and
5155 $(test-program-prefix-after-env).
5156 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5157 run_program_env and test_program_prefix_after_env arguments.
5158 * math/Makefile (run-regen-ulps): Use $(run-program-env).
5159 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5160 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
5161 explicitly with each use of ${test_wrapper_env}.
5162 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5163 $(test-program-prefix-before-env), $(run-program-env) and
5164 $(test-program-prefix-after-env).
5165 * posix/tst-getconf.sh: Do not set environment variables
5167 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5168 run_program_env and test_program_prefix_after_env arguments.
5169 * stdio-common/tst-printf.sh: Do not set environment variables
5171 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5172 $(test-program-prefix-before-env), $(run-program-env) and
5173 $(test-program-prefix-after-env).
5174 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5175 run_program_env and test_program_prefix_after_env arguments.
5176 Split $test calls into $test_pre and $test.
5177 * timezone/Makefile (build-testdata): Use
5178 $(built-program-cmd-before-env), $(run-program-env) and
5179 $(built-program-cmd-after-env).
5181 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5183 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5184 strlen for non SHARED builds.
5186 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5188 * nptl/allocatestack.c (check_list): Inlined function...
5189 (__reclaim_stacks): ... here.
5191 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
5194 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5197 2014-06-05 Joseph Myers <joseph@codesourcery.com>
5199 * Rules (make-test-out): Include
5200 LOCPATH=$(common-objpfx)localedata in default environment.
5201 * debug/Makefile (tst-chk1-ENV): Remove variable.
5202 (tst-chk2-ENV): Likewise.
5203 (tst-chk3-ENV): Likewise.
5204 (tst-chk4-ENV): Likewise.
5205 (tst-chk5-ENV): Likewise.
5206 (tst-chk6-ENV): Likewise.
5207 (tst-lfschk1-ENV): Likewise.
5208 (tst-lfschk2-ENV): Likewise.
5209 (tst-lfschk3-ENV): Likewise.
5210 (tst-lfschk4-ENV): Likewise.
5211 (tst-lfschk5-ENV): Likewise.
5212 (tst-lfschk6-ENV): Likewise.
5213 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5214 (tst-iconv7-ENV): Likewise.
5215 * intl/Makefile (LOCPATH-ENV): Likewise.
5216 (tst-codeset-ENV): Likewise.
5217 (tst-gettext3-ENV): Likewise.
5218 (tst-gettext5-ENV): Likewise.
5219 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5220 (tst-fopenloc-ENV): Likewise.
5221 (tst-fgetws-ENV): Remove variable.
5222 (tst-ungetwc1-ENV): Likewise.
5223 (tst-ungetwc2-ENV): Likewise.
5224 (bug-ungetwc2-ENV): Likewise.
5225 (tst-swscanf-ENV): Likewise.
5226 (bug-ftell-ENV): Likewise.
5227 (tst-fgetwc-ENV): Likewise.
5228 (tst-fseek-ENV): Likewise.
5229 (tst-ftell-partial-wide-ENV): Likewise.
5230 (tst-ftell-active-handler-ENV): Likewise.
5231 (tst-ftell-append-ENV): Likewise.
5232 * posix/Makefile (tst-fnmatch-ENV): Likewise.
5233 (tst-regexloc-ENV): Likewise.
5234 (bug-regex1-ENV): Likewise.
5235 (tst-regex-ENV): Likewise.
5236 (tst-regex2-ENV): Likewise.
5237 (bug-regex5-ENV): Likewise.
5238 (bug-regex6-ENV): Likewise.
5239 (bug-regex17-ENV): Likewise.
5240 (bug-regex18-ENV): Likewise.
5241 (bug-regex19-ENV): Likewise.
5242 (bug-regex20-ENV): Likewise.
5243 (bug-regex22-ENV): Likewise.
5244 (bug-regex23-ENV): Likewise.
5245 (bug-regex25-ENV): Likewise.
5246 (bug-regex26-ENV): Likewise.
5247 (bug-regex30-ENV): Likewise.
5248 (bug-regex32-ENV): Likewise.
5249 (bug-regex33-ENV): Likewise.
5250 (bug-regex34-ENV): Likewise.
5251 (bug-regex35-ENV): Likewise.
5252 (tst-rxspencer-ENV): Likewise.
5253 (tst-rxspencer-no-utf8-ENV): Likewise.
5254 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5255 (tst-sscanf-ENV): Likewise.
5256 (tst-swprintf-ENV): Likewise.
5257 (tst-swscanf-ENV): Likewise.
5258 (test-vfprintf-ENV): Likewise.
5259 (scanf13-ENV): Likewise.
5260 (bug14-ENV): Likewise.
5261 (tst-grouping-ENV): Likewise.
5262 * stdlib/Makefile (tst-strtod-ENV): Likewise.
5263 (tst-strtod3-ENV): Likewise.
5264 (tst-strtod4-ENV): Likewise.
5265 (tst-strtod5-ENV): Likewise.
5266 (testmb2-ENV): Likewise./
5267 * string/Makefile (tst-strxfrm-ENV): Likewise.
5268 (tst-strxfrm2-ENV): Likewise.
5269 (bug-strcoll1-ENV): Likewise.
5270 (test-strcasecmp-ENV): Likewise.
5271 (test-strncasecmp-ENV): Likewise.
5272 * time/Makefile (tst-strptime-ENV): Likewise.
5273 (tst-ftime_l-ENV): Likewise.
5274 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5275 (tst-mbrtowc-ENV): Likewise.
5276 (tst-wcrtomb-ENV): Likewise.
5277 (tst-mbrtowc2-ENV): Likewise.
5278 (tst-c16c32-1-ENV): Likewise.
5279 (tst-mbsnrtowcs-ENV): Likewise.
5281 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
5283 * manual/resource.texi (How to get information about the memory
5284 subsystem?): Fix typo.
5285 Reported by Peon de la Parra Ivan <peon@keba.com>
5287 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
5290 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5291 (pthread_spin_lock): Branch out of spin loop to proper location.
5292 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5293 (pthread_spin_lock): Likewise.
5295 * nptl/tst-spin4.c: New test.
5296 * nptl/Makefile (tests): Add tst-spin4.
5298 2014-06-03 Andreas Schwab <schwab@suse.de>
5301 * resolv/res_send.c (send_dg): Reload file descriptor after
5304 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
5306 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5308 2014-06-03 Richard Henderson <rth@redhat.com>
5310 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5311 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5312 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5313 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
5314 in the SAVE_PID block.
5315 (__libc_vfork): New alias.
5316 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5318 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5319 child in registers, not on the stack. Remove RESET_PID conditionals.
5320 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5322 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
5324 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5326 2014-06-03 Wilco <wdijkstr@arm.com>
5328 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5329 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5330 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5331 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5332 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5335 2014-06-03 Wilco <wdijkstr@arm.com>
5337 * sysdeps/aarch64/fpu/math_private.h
5338 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5339 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5340 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5341 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5344 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5346 * crypt/crypt-private.h: Include ufc-crypt.h.
5347 (__b64_from_24bit): Declare extern.
5348 * crypt/crypt_util.c(__b64_from_24bit): New function.
5349 (b64t): New static const variable.
5350 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5351 (b64t): Remove variable.
5352 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5353 * crypt/sha256-crypt.c: Include crypt-private.h.
5354 (b64t): Remove variable.
5355 (__sha256_crypt_r): Remove b64_from_24bit and replace
5356 with __b64_from_24bit.
5357 * crypt/sha512-crypt.c: Likewise.
5359 2014-06-02 Roland McGrath <roland@hack.frob.com>
5361 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5362 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5363 Label the code __libc_vfork rather than __vfork.
5364 [!NOT_IN_libc] (vfork): Define as weak alias.
5365 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5366 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5367 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5369 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5371 * malloc/malloc.c (malloc_info): Fix format specifier for
5374 2014-06-02 Wilco <wdijkstr@arm.com>
5376 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5379 2014-06-02 Wilco <wdijkstr@arm.com>
5382 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5383 Rewrite to reduce FPCR/FPSR accesses.
5385 2014-06-01 David S. Miller <davem@davemloft.net>
5387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5389 2014-05-31 David S. Miller <davem@davemloft.net>
5391 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5392 to occur in round to nearest mode when |x| >= 2.0
5394 2014-05-30 Richard Henderson <rth@twiddle.net>
5396 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5397 (PSEUDO_RET_NOERRNO): Remove.
5398 (ret): Don't redefine.
5399 (ret_NOERRNO): Define in terms of ret.
5400 (ret_ERRVAL): Likewise.
5402 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5403 use of PSEUDO_RET; perform the error check directly.
5405 2014-05-30 Marko Myllynen <myllynen@redhat.com>
5407 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5410 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5412 * malloc/malloc (malloc_info): Fix formatting.
5414 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5415 Roland McGrath <roland@hack.frob.com>
5417 * malloc/malloc (malloc_info): Also print mmapped statistics.
5419 2014-05-30 Roland McGrath <roland@hack.frob.com>
5421 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5422 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5424 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
5426 * malloc/malloc.c (malloc_info): Inline mi_arena.
5428 2014-05-29 Richard Henderson <rth@twiddle.net>
5430 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5431 Remove comma before expanding ASM_ARGS_##nr.
5432 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5433 Make _x0 a strict output; make _x8 a strict input; adjust expansion
5435 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5436 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5437 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5438 (ASM_ARGS_1): Add leading comma.
5440 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5441 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5442 to __errno_location.
5443 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5444 Remove the expected plt for __errno_location.
5446 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5447 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5450 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5451 Always allocate 64 bytes of stack frame. Use ldp/stp to create
5452 it and break it down.
5453 (DOCARGS_0, DOCARGS_1): Do nothing.
5454 (DOCARGS_2): Update to store into the new stack frame.
5455 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5456 (UNDOCARGS_1): Update to restore from the new stack frame.
5457 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5458 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5460 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5461 (SINGLE_THREAD_P): New parameter for result regno.
5462 (PSEUDO): Update to match; use cbz instead of beq.
5464 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5465 Use ENTRY to define the _nocancel entry point. Share the syscall
5466 and syscall error check paths with the cancel path.
5469 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5470 whitespace; tabs before and after asm mnemonics.
5472 2014-05-29 Eric Wong <normalperson@yhbt.net>
5475 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5476 Call fstat64 or stat64 internally, depending on arguments passed.
5477 Replace stat buffer argument with file descriptor argument.
5478 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5479 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5480 Pass fd to __internal_statvfs instead of calling fstat64.
5481 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5482 Pass fd to __internal_statvfs64 instead of calling fstat64.
5483 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5484 Pass -1 to __internal_statvfs instead of calling stat64.
5485 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5486 Pass -1 to __internal_statvfs64 instead of calling stat64.
5488 2014-05-28 Roland McGrath <roland@hack.frob.com>
5490 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5491 that was previously under [RESET_PID].
5492 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5494 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5495 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5497 2014-05-27 Roland McGrath <roland@hack.frob.com>
5499 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5501 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5502 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5504 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
5506 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5508 2014-05-27 Andreas Schwab <schwab@suse.de>
5510 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5512 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5513 * elf/rtld.c (init_tls, dl_main): Likewise.
5514 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5515 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5516 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5517 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5518 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5519 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5520 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5521 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5522 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5523 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5524 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5525 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5526 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5527 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5528 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5529 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5530 * sysdeps/generic/tls.h: Update description.
5532 2014-05-27 Will Newton <will.newton@linaro.org>
5535 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5536 and restore r2 rather than just restoring.
5538 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5541 * libio/tst-ftell-append.c: New test case.
5542 * libio/Makefile (tests): Add test case.
5543 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5545 * libio/wfileops.c (do_ftell_wide): Likewise.
5547 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5551 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5555 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5556 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5557 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5558 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5559 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5560 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5561 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5564 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5567 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5568 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5569 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5570 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5571 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5573 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5574 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5576 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5578 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5580 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5581 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5582 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5584 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5585 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5586 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5587 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5589 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5592 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5595 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5598 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5602 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5605 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5610 conditional [RESET_PID].
5611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5612 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5614 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5619 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5620 (__libc_vfork): New strong alias.
5621 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5623 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5628 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5629 (__libc_vfork): New strong alias.
5630 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5632 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5635 2014-05-26 Carlos O'Donell <carlos@redhat.com>
5637 * malloc/malloc.c (mi_arena): New function.
5638 (malloc_info): Remove nested function mi_arena. Call non-nosted
5641 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5643 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5645 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5646 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5647 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5648 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5649 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5650 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5651 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5653 2014-05-26 Andreas Schwab <schwab@suse.de>
5656 * locale/programs/repertoire.c (repertoire_read): Add slash
5657 between I18NPATH element and file name.
5658 * locale/programs/locfile.c (locfile_read): Likewise.
5660 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5662 * nptl/pthread_mutexattr_settype.c
5663 (__pthread_mutexattr_settype):
5664 Disable lock elision for PTHREAD_MUTEX_NORMAL.
5666 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5668 * nptl/tst-mutex5 (do_test):
5669 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5671 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5673 * benchtests/README: Document 'init' directive.
5674 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5676 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5677 (parse_file): Recognize 'init' directive.
5679 2014-05-26 Kyle McMartin <kyle@redhat.com>
5682 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5683 alignment of struct pthread.
5685 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5688 * nscd/netgroupcache.c (addgetnetgrentX): Look for
5689 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5690 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5691 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5693 2014-05-25 Richard Henderson <rth@twiddle.net>
5695 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5696 (SINGLE_THREAD_P_PIC): Remove.
5697 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5698 (SINGLE_THREAD_P_PIC): Remove.
5700 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5701 branch to syscall error ...
5703 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5704 from __local_syscall_error to .Lsyscall_error.
5705 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5706 (SYSCALL_ERROR): Update label name.
5708 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5709 Do not use DOARGS/UNDOARGS.
5710 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5711 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5712 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5713 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5714 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5716 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5719 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5720 define if !NOT_IN_libc.
5721 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5722 define with non-default symbol versions.
5724 2014-05-23 Richard Henderson <rth@twiddle.net>
5726 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5727 (vfork, __vfork): Define via compat_symbol.
5729 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5730 [!HAVE_IFUNC] (vfork_compat): Remove.
5731 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5733 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5736 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5737 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5740 2014-05-23 Richard Henderson <rth@twiddle.net>
5742 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5743 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5744 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5745 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5747 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5748 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5749 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5750 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5751 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5752 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5753 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5754 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5755 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5756 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5757 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5758 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5759 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5760 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5761 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5762 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5763 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5764 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5765 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5766 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5767 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5768 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5769 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5770 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5771 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5772 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5773 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5774 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5775 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5776 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5777 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5778 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5779 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5780 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5781 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5782 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5783 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5784 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5785 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5786 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5787 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5788 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5789 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5790 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5791 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5792 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5793 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5794 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5795 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5796 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5797 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5798 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5799 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5800 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5801 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5802 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5804 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5805 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5806 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5807 before exiting on error.
5808 (__libc_vfork): New strong alias.
5809 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5810 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5812 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5813 that was previously under [RESET_PID].
5814 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5816 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5818 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5821 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5822 value when x - 1 is zero.
5823 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5824 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5825 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5826 0.0L for an argument of 1.0L.
5827 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5829 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5830 value when x - 1 is zero.
5831 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5832 * sysdeps/i386/fpu/libm-test-ulps: Update.
5833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5835 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5837 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5838 alphasort and versionsort.
5840 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5842 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5844 [copysignf]: Likewise.
5846 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5848 * crypt/md5-crypt.c: Fix formatting.
5850 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5852 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5853 (b64_from_24bit): New function.
5855 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5857 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5858 libc_hidden_builtin_def to ifunc.
5859 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5860 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5862 2014-05-21 Roland McGrath <roland@hack.frob.com>
5864 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5865 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5867 2014-05-21 Joseph Myers <joseph@codesourcery.com>
5869 * nscd/Depend (linuxthreads): Remove.
5871 * resolv/Depend (linuxthreads): Remove.
5872 * rt/Depend (linuxthreads): Remove.
5874 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5875 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5876 $(common-objpfx)elf/.
5877 (link-libc-before-gnulib): Likewise.
5878 (elfobjdir): Remove variable.
5879 * Makefile (install): Use $(elf-objpfx) instead of
5880 $(common-objpfx)elf/.
5881 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5883 (link-libc-deps): Likewise.
5884 ($(common-objpfx)libc.so): Likewise.
5885 ($(common-objpfx)linkobj/libc.so): Likewise.
5886 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5887 instead of $(common-objpfx)elf/.
5888 (symbolic-link-list): Likewise.
5889 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5890 [$(cross-compiling) = no]: Likewise.
5891 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5893 (static-gnulib-arch): Likewise.
5894 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5895 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5896 $(common-objpfx)elf/.
5898 2014-05-21 Richard Henderson <rth@redhat.com>
5900 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5901 (SINGLE_THREAD_P): Use the correct width load. Fold
5902 into the ldr offset.
5904 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5905 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5907 2014-05-20 Joseph Myers <joseph@codesourcery.com>
5909 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5910 (libgcc_s_resume): Use __attribute_used__.
5911 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5914 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5916 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5917 optimization when used with float constants.
5919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5921 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5924 * locale/nl_langinfo_l.c: Make direct reference to every
5925 _nl_current_CATEGORY symbol.
5926 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5927 (tests-static): Add tst-langinfo-static.
5928 (tests-special): Add tst-langinfo-static.out.
5929 ($(objpfx)tst-langinfo.out): Redirect output.
5930 ($(objpfx)tst-langinfo-static.out): New.
5931 * localedata/tst-langinfo.sh: Send output to stdout.
5932 * localedata/tst-langinfo-static.c: New file.
5935 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5936 when the shift amount is modulo the limb size.
5938 2014-05-20 Richard Henderson <rth@redhat.com>
5941 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5942 Change type of sa_flags from unsigned int to int.
5945 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5947 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5949 2014-05-20 Will Newton <will.newton@linaro.org>
5951 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5952 Test the return value of the system call in the nocancel case.
5954 2014-05-20 Will Newton <will.newton@linaro.org>
5955 Yvan Roux <yvan.roux@linaro.org>
5957 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5958 #include of asm/ptrace.h.
5959 (PTRACE_GET_THREAD_AREA): Remove #undef.
5960 (PTRACE_GETHBPREGS): Likewise.
5961 (PTRACE_SETHBPREGS): Likewise.
5962 (struct user_regs_struct): New structure.
5963 (struct user_fpsimd_struct): New structure.
5964 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5965 #include of asm/ptrace.h and second #include of sys/user.h.
5966 (PTRACE_GET_THREAD_AREA): Remove #undef.
5967 (PTRACE_GETHBPREGS): Likewise.
5968 (PTRACE_SETHBPREGS): Likewise.
5969 (ELF_NGREG): Use new struct user_regs_struct.
5970 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5972 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5974 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5975 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5977 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5980 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5981 membar to avoid block loads/stores to overlap previous stores.
5983 2014-05-17 Richard Henderson <rth@redhat.com>
5985 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5986 Create the __##syscall_name##_nocancel entry point.
5987 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5988 Remove; let the sysdep-cancel.h code create it.
5990 2014-05-17 David S. Miller <davem@davemloft.net>
5992 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5993 Protect with __USE_GNU.
5994 (TIOCSET_TEMPT): Likewise.
5995 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5996 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5997 these are already provided in bits/ioctl-types.h
5999 2014-05-16 Roland McGrath <roland@hack.frob.com>
6001 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6002 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6004 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6005 Use wait4 regardless of [__NR_waitpid].
6007 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6010 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6011 (_FP_NANSIGN_Q): Set the quiet bit.
6013 2014-05-16 Joseph Myers <joseph@codesourcery.com>
6015 * benchtests/Makefile
6016 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6017 not $(common-objpfx)math/libm.so.
6018 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6019 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6020 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6021 $(common-objpfx)dlfcn/libdl.so.
6022 ($(objpfx)tst-audit8): Depend on $(libm), not
6023 $(common-objpfx)math/libm.so.
6024 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6025 not $(common-objpfx)dlfcn/libdl.so.
6027 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6028 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
6029 [$(build-shared) = yes].
6030 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6031 $(common-objpfx)nptl/libpthread.so.
6032 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6033 $(common-objpfx)math/libm.so$(libm.so-version) or
6034 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6035 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6036 $(common-objpfx)dlfcn/libdl.so.
6037 * setjmp/Makefile (link-libm): Remove variable.
6038 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6039 * stdio-common/Makefile (link-libm): Remove variable.
6040 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6041 * stdlib/Makefile (link-libm): Remove variable.
6042 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6043 ($(objpfx)tst-strtod-round): Likewise.
6044 ($(objpfx)tst-tininess): Likewise.
6045 ($(objpfx)tst-strtod-underflow): Likewise.
6046 ($(objpfx)tst-strtod6): Likewise.
6047 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6048 $(libdl), not $(common-objpfx)nptl/libpthread.so and
6049 $(common-objpfx)dlfcn/libdl.so.
6051 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6053 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6054 BSD terminal modes definitions.
6056 2014-05-16 Roland McGrath <roland@hack.frob.com>
6058 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6059 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6061 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
6062 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6063 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6064 Don't do #include_next.
6065 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6066 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6067 Don't do #include_next.
6068 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6069 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6070 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6071 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6073 2014-05-16 Allan McRae <allan@archlinux.org>
6075 * po/sv.po: Update Swedish translation from translation project.
6077 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6080 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
6083 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6084 errno if the TIOCGPTN ioctl fails with an error different than
6086 * login/tst-ptsname.c: New file.
6087 * login/Makefile (tests): Add tst-ptsname.
6090 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6093 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6096 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6097 herrno to return EAI_AGAIN.
6099 2014-05-14 Roland McGrath <roland@hack.frob.com>
6101 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6102 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6103 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6104 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6105 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6106 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6107 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6108 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6109 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6110 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6111 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6112 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6113 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6114 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6115 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6116 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6117 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6118 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6119 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6120 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6121 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6122 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6123 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6124 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6125 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6126 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6127 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6128 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6129 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6130 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6132 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6134 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6137 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6139 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6141 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6143 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6145 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6147 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6149 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6151 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6153 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6155 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6157 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6159 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6161 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6163 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6166 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6168 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6170 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6172 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6174 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6176 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6178 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6180 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6182 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6184 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6187 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6189 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6191 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6192 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6193 (libpthread-sysdep_routines): Add elision-related stuff here instead.
6194 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6195 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6196 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6197 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6198 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6199 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6200 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6201 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6202 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6203 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6204 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6205 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6206 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6207 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6208 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6209 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6210 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6211 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6212 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6213 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6214 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6215 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6216 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6217 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6218 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6219 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6220 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6221 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6223 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6224 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6226 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6227 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6228 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6229 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6230 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6231 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6233 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6234 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6236 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6237 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6239 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6240 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6242 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6243 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6244 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6245 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6247 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6248 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6249 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6250 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6251 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6252 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6253 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6254 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6256 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6257 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6259 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6261 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6262 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6263 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6264 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6265 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6267 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6269 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6271 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6272 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6273 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6274 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6275 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6276 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6278 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6279 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6281 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6282 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6284 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6285 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6287 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6288 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6289 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6290 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6292 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6293 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6294 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6295 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6296 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6297 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6298 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6299 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6301 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6302 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6304 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6306 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6307 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6308 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6309 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6310 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6312 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6314 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6316 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6317 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6318 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6319 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6320 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6321 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6322 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6323 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6324 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6325 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6327 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6328 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6330 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6331 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6333 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6334 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6336 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6337 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6338 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6339 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6340 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6341 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6343 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6344 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6345 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6346 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6347 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6348 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6349 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6350 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6352 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6353 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6355 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6357 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6358 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6359 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6360 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6361 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6363 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6365 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6367 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6368 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6369 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6370 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6371 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6372 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6373 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6374 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6375 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6376 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6377 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6379 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6380 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6382 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6383 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6385 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6386 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6387 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6388 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6389 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6390 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6391 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6392 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6393 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6394 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6395 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6396 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6397 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6398 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6399 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6400 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6401 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6402 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6404 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6405 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6406 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6407 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6409 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6410 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6411 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6412 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6413 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6414 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6415 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6416 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6418 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6419 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6421 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6422 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6423 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6424 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6425 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6426 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6427 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6428 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6429 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6430 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6431 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6432 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6433 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6434 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6435 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6436 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6437 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6439 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6440 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6441 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6442 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6443 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6445 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6446 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6447 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6448 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6449 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6450 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6451 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6452 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6453 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6454 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6456 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6457 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6459 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6460 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6461 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6462 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6463 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6464 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6465 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6466 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6467 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6468 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6469 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6470 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6471 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6472 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6473 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6475 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6477 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6479 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6481 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6483 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6487 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6489 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6491 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6493 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6494 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6495 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6496 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6497 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6498 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6499 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6500 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6501 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6502 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6503 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6504 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6505 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6506 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
6507 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
6509 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6510 that was previously under [RESET_PID].
6511 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6512 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6513 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6515 * sysdeps/i386/nptl/Implies: New file.
6516 * sysdeps/x86_64/nptl/Implies: New file.
6517 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6518 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6519 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6520 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6522 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6523 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6524 (__libc_vfork): New strong alias.
6525 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6526 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6528 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6529 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6530 (__libc_vfork): New strong alias.
6531 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6532 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6534 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6535 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6536 (__libc_vfork): New strong alias.
6537 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6538 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6539 * nptl/pt-vfork.c: New file.
6540 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6541 (libpthread: GLIBC_2.20): New version set (empty).
6543 2014-05-14 Will Newton <will.newton@linaro.org>
6545 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6548 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6551 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6552 arguments with exponent 65 or above.
6553 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6554 arguments 0x1p113L or above.
6555 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6556 to arguments 0x1p107L or above.
6557 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6558 positive arguments with exponent 65 or above.
6559 * math/auto-libm-test-in: Add more tests of log1p.
6560 * math/auto-libm-test-out: Regenerated.
6563 * math/s_cacos.c (__cacos): Ensure zero real part of result from
6564 non-finite arguments is +0.
6565 * math/s_cacosf.c (__cacosf): Likewise.
6566 * math/s_cacosl.c (__cacosl): Likewise.
6567 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6568 * sysdeps/i386/fpu/libm-test-ulps: Update.
6569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6572 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6574 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6575 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6576 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6577 for explicit high bit of mantissa when testing for argument equal
6579 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6580 * sysdeps/i386/fpu/libm-test-ulps: Update.
6581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6584 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6585 (__erf): Scale by 16 instead of 8 in potentially underflowing
6586 case. Ensure exception if result actually underflows.
6587 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6588 (__erff): Scale by 16 instead of 8 in potentially underflowing
6589 case. Ensure exception if result actually underflows.
6590 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6591 (efx8): Remove variable.
6592 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6593 case. Ensure exception if result actually underflows.
6594 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6595 (efx8): Remove variable.
6596 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6597 case. Ensure exception if result actually underflows.
6598 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6599 (efx8): Remove variable.
6600 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6601 case. Ensure exception if result actually underflows.
6602 * math/auto-libm-test-in: Add more tests of erf.
6603 * math/auto-libm-test-out: Regenerated.
6605 2014-05-14 Andreas Schwab <schwab@suse.de>
6607 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6608 Remove code conditionalized on USE___THREAD.
6610 * config.h.in (HAVE_PT_CHOWN): Define as 0.
6611 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6614 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6616 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6617 Define unconditionally.
6618 (__ASSUME_O_CLOEXEC): Likewise.
6619 (__ASSUME_SOCK_CLOEXEC): Likewise.
6620 (__ASSUME_IN_NONBLOCK): Likewise.
6621 (__ASSUME_PIPE2): Likewise.
6622 (__ASSUME_EVENTFD2): Likewise.
6623 (__ASSUME_SIGNALFD4): Likewise.
6624 (__ASSUME_DUP3): Likewise.
6625 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6626 (__ASSUME_DUP3): Do not define.
6627 (__ASSUME_EVENTFD2): Likewise.
6628 (__ASSUME_IN_NONBLOCK): Likewise.
6629 (__ASSUME_O_CLOEXEC): Likewise.
6630 (__ASSUME_PIPE2): Likewise.
6631 (__ASSUME_SIGNALFD4): Likewise.
6632 (__ASSUME_SOCK_CLOEXEC): Likewise.
6633 (__ASSUME_UTIMES): Undefine.
6634 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6635 (__ASSUME_UTIMES): Do not define.
6636 (__ASSUME_O_CLOEXEC): Likewise.
6637 (__ASSUME_SOCK_CLOEXEC): Likewise.
6638 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6639 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6641 (__ASSUME_PIPE2): Likewise.
6642 (__ASSUME_EVENTFD2): Likewise.
6643 (__ASSUME_SIGNALFD4): Likewise.
6644 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6645 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6647 (__ASSUME_EVENTFD2): Likewise.
6648 (__ASSUME_SIGNALFD4): Likewise.
6649 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6650 (__ASSUME_32BITUIDS): Likewise.
6651 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6652 (__ASSUME_IPC64): Likewise.
6653 (__ASSUME_ST_INO_64_BIT): Likewise.
6654 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6655 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6656 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6657 (__ASSUME_UTIMES): Do not define.
6658 (__ASSUME_PSELECT): Likewise.
6659 (__ASSUME_PPOLL): Likewise.
6660 (__ASSUME_O_CLOEXEC): Likewise.
6661 (__ASSUME_SOCK_CLOEXEC): Likewise.
6662 (__ASSUME_IN_NONBLOCK): Likewise.
6663 (__ASSUME_PIPE2): Likewise.
6664 (__ASSUME_EVENTFD2): Likewise.
6665 (__ASSUME_SIGNALFD4): Likewise.
6666 (__ASSUME_DUP3): Likewise.
6667 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6668 (__ASSUME_UTIMES): Likewise.
6669 (__ASSUME_O_CLOEXEC): Likewise.
6670 (__ASSUME_SOCK_CLOEXEC): Likewise.
6671 (__ASSUME_IN_NONBLOCK): Likewise.
6672 (__ASSUME_PIPE2): Likewise.
6673 (__ASSUME_EVENTFD2): Likewise.
6674 (__ASSUME_SIGNALFD4): Likewise.
6675 (__ASSUME_DUP3): Likewise.
6676 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6677 (__ASSUME_UTIMES): Likewise.
6678 (__ASSUME_O_CLOEXEC): Likewise.
6679 (__ASSUME_SOCK_CLOEXEC): Likewise.
6680 (__ASSUME_IN_NONBLOCK): Likewise.
6681 (__ASSUME_PIPE2): Likewise.
6682 (__ASSUME_EVENTFD2): Likewise.
6683 (__ASSUME_SIGNALFD4): Likewise.
6684 (__ASSUME_DUP3): Likewise.
6685 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6687 (__ASSUME_UTIMES): Likewise.
6688 (__ASSUME_EVENTFD2): Likewise.
6689 (__ASSUME_SIGNALFD4): Likewise.
6690 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6691 (__ASSUME_O_CLOEXEC): Likewise.
6692 (__ASSUME_SOCK_CLOEXEC): Likewise.
6693 (__ASSUME_IN_NONBLOCK): Likewise.
6694 (__ASSUME_PIPE2): Likewise.
6695 (__ASSUME_EVENTFD2): Likewise.
6696 (__ASSUME_SIGNALFD4): Likewise.
6697 (__ASSUME_DUP3): Likewise.
6698 (__ASSUME_UTIMES): Undefine.
6700 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6701 feclearexcept. Remove symbol versioning code.
6702 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
6703 symbol versioning code.
6704 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
6705 symbol versioning code.
6706 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6707 feupdateenv. Remove symbol versioning code.
6708 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6709 fegetexceptflag. Remove symbol versioning code.
6710 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6711 fesetexceptflag. Remove symbol versioning code.
6712 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6713 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6714 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6715 (__posix_fadvise64_l32): Remove prototype.
6716 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6719 2014-05-13 Roland McGrath <roland@hack.frob.com>
6721 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6722 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6723 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6724 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6726 2014-05-13 Sami Kerola <kerolasa@iki.fi>
6728 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6729 current working directory
6731 2014-05-13 Roland McGrath <roland@hack.frob.com>
6733 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6734 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6735 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6736 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6737 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6738 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6739 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6740 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6741 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6742 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6743 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6744 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6745 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6746 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6747 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6748 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6749 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6750 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6751 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6752 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6753 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6754 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6755 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6756 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6757 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6758 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6759 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6760 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6761 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6762 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6763 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6764 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6765 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6766 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6767 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6768 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6769 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6770 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6771 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6772 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6773 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6774 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6776 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6777 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6779 * sysdeps/unix/sysv/linux/arm/Makefile
6780 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6781 Add rt-aeabi_unwind_cpp_pr1.
6782 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6783 Add nptl-aeabi_unwind_cpp_pr1.
6784 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6785 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6786 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6787 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6788 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6789 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6791 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6792 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6793 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6794 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6796 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6797 Deconditionalize the code that was previously under [RESET_PID].
6798 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6800 * sysdeps/generic/exit-thread.h: New file.
6801 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6802 * include/unistd.h (__exit_thread): Remove declaration.
6803 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6804 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6805 * csu/libc-start.c: Include <exit-thread.h>.
6806 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6807 * nptl/pthread_create.c: Include <exit-thread.h>.
6808 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6809 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6810 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6811 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6812 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6813 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6814 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6815 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6816 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6817 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6818 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6819 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6820 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6821 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6822 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6823 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6824 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6826 2014-05-13 Andreas Schwab <schwab@suse.de>
6828 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6830 2014-05-12 Joseph Myers <joseph@codesourcery.com>
6832 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6833 (__ASSUME_UTIMES): Do not condition on kernel version.
6834 (__ASSUME_PSELECT): Define unconditionally.
6835 (__ASSUME_PPOLL): Likewise.
6836 (__ASSUME_ATFCTS): Likewise.
6837 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6838 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6839 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6840 (__ASSUME_UTIMENSAT): Define unconditionally.
6841 (__ASSUME_PRIVATE_FUTEX): Likewise.
6842 (__ASSUME_FALLOCATE): Likewise.
6843 (__ASSUME_O_CLOEXEC): Likewise.
6844 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6845 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6846 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6847 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6848 (__ASSUME_IN_NONBLOCK): Likewise.
6849 (__ASSUME_PIPE2): Likewise.
6850 (__ASSUME_EVENTFD2): Likewise.
6851 (__ASSUME_SIGNALFD4): Likewise.
6852 (__ASSUME_DUP3): Likewise.
6853 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6854 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6855 (__ASSUME_AT_RANDOM): Likewise.
6856 (__ASSUME_PREADV): Likewise.
6857 (__ASSUME_PWRITEV): Likewise.
6858 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6859 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6860 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6861 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6862 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6863 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6864 (__ASSUME_O_CLOEXEC): Define unconditionally.
6865 (__ASSUME_PSELECT): Do not undefine conditionally.
6866 (__ASSUME_PPOLL): Likewise.
6867 (__ASSUME_ATFCTS): Likewise.
6868 (__ASSUME_SET_ROBUST_LIST): Likewise.
6869 (__ASSUME_UTIMENSAT): Likewise.
6870 (__ASSUME_FDATASYNC): Define unconditionally.
6871 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6872 (__ASSUME_SIGFRAME_V2): Likewise.
6873 )__ASSUME_EVENTFD2): Likewise.
6874 (__ASSUME_SIGNALFD4): Likewise.
6875 (__ASSUME_PSELECT): Do not undefine conditionally.
6876 (__ASSUME_PPOLL): Likewise.
6877 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6878 (__ASSUME_PSELECT): Define unconditionally.
6879 (__ASSUME_PPOLL): Likewise.
6880 (__ASSUME_O_CLOEXEC): Likewise.
6881 (__ASSUME_SOCK_CLOEXEC): Likewise.
6882 (__ASSUME_IN_NONBLOCK): Likewise.
6883 (__ASSUME_PIPE2): Likewise.
6884 (__ASSUME_EVENTFD2): Likewise.
6885 (__ASSUME_SIGNALFD4): Likewise.
6886 (__ASSUME_DUP3): Likewise.
6887 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6888 (__ASSUME_O_CLOEXEC): Likewise.
6889 (__ASSUME_SOCK_CLOEXEC): Likewise.
6890 (__ASSUME_IN_NONBLOCK): Likewise.
6891 (__ASSUME_PIPE2): Likewise.
6892 (__ASSUME_EVENTFD2): Likewise.
6893 (__ASSUME_SIGNALFD4): Likewise.
6894 (__ASSUME_DUP3): Likewise.
6895 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6896 (__ASSUME_EVENTFD2): Likewise.
6897 (__ASSUME_SIGNALFD4): Likewise.
6898 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6900 2014-05-12 Andreas Schwab <schwab@suse.de>
6903 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6904 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6905 than maximum RPC packet size.
6906 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6907 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6908 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6909 (_nss_nis_getservbyport_r): Likewise.
6911 2014-05-12 Will Newton <will.newton@linaro.org>
6913 * malloc/Makefile (tests): Add tst-mallopt.
6914 * malloc/tst-mallopt.c: New file.
6916 2014-05-09 Roland McGrath <roland@hack.frob.com>
6918 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6919 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6921 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6923 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6924 (tst-tlsmod6.so): Likewise.
6926 2014-05-09 Roland McGrath <roland@hack.frob.com>
6928 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6930 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6933 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6934 and <dl-procinfo.h>.
6935 (__fegetenv): Save SSE state in envp->__eip if supported.
6936 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6937 envp->__eip if supported.
6938 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6939 and <dl-procinfo.h>.
6940 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6941 __data_offset and __data_selector in environment to 0. Set SSE
6943 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6945 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6947 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6949 2014-05-09 Will Newton <will.newton@linaro.org>
6951 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6952 and libc_relro_required for ARM.
6953 * sysdeps/arm/preconfigure: Regenerate.
6955 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6956 Stefan Liebler <stli@linux.vnet.ibm.com>
6958 * config.make.in (enable-lock-elision): New Makefile variable.
6959 * configure.ac: Likewise.
6960 * configure: Regenerate.
6961 * sysdeps/s390/configure.ac:
6962 Add check for gcc transactions support.
6963 * sysdeps/s390/configure: Regenerate.
6964 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6965 Build elision files if enabled.
6966 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6967 Add lock elision support for s390.
6968 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6969 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6970 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6971 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6972 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6973 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6974 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6976 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6978 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6980 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6982 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6983 (__lll_timedlock_elision, __lll_lock_elision)
6984 (__lll_unlock_elision, __lll_trylock_elision)
6985 (lll_timedlock_elision, lll_lock_elision)
6986 (lll_unlock_elision, lll_trylock_elision): Add.
6987 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6988 (pthread_mutex_t): Add lock elision support for s390.
6990 2014-05-14 Wilco <wdijkstr@arm.com>
6992 * sysdeps/arm/fclrexcpt.c: Cleanup.
6993 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6994 * sysdeps/arm/feenablxcpt.c: Cleanup.
6995 * sysdeps/arm/fegetenv.c: Cleanup.
6996 * sysdeps/arm/fegetexcept.c: Cleanup.
6997 * sysdeps/arm/fegetround.c: Cleanup.
6998 * sysdeps/arm/feholdexcpt.c: Cleanup.
6999 * sysdeps/arm/fesetenv.c: Cleanup.
7000 * sysdeps/arm/fesetround.c: Cleanup.
7001 * sysdeps/arm/feupdateenv.c: Cleanup.
7002 * sysdeps/arm/fgetexcptflg.c: Cleanup.
7003 * sysdeps/arm/fraiseexcpt.c: Cleanup.
7004 * sysdeps/arm/fsetexcptflg.c: Cleanup.
7005 * sysdeps/arm/ftestexcept.c: Cleanup.
7006 * sysdeps/arm/get-rounding-mode.h: Cleanup.
7007 * sysdeps/arm/setfpucw.c: Cleanup.
7009 2014-05-09 Will Newton <will.newton@linaro.org>
7011 * sysdeps/arm/armv7/strcmp.S: New file.
7012 * NEWS: Mention addition of ARMv7 optimized strcmp.
7014 2014-05-08 Roland McGrath <roland@hack.frob.com>
7016 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7017 look for %.ac rather than %.in.
7019 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7020 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7021 * sysdeps/mach/hurd/configure: Regenerated.
7022 * sysdeps/unix/sysv/linux/configure: Regenerated.
7024 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7026 2014-05-07 Steve Ellcey <sellcey@mips.com>
7029 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7033 2014-05-07 Andreas Schwab <schwab@suse.de>
7035 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7036 when skipping over non-matching result from nscd.
7038 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
7041 * nptl/sockperf.c (client): Check socket return value.
7044 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7045 nscd security class.
7047 2014-05-06 Roland McGrath <roland@hack.frob.com>
7049 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7050 * sysdeps/arm/unwind.h: ... here.
7052 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
7055 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7058 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7060 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7061 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7062 multiarch strncpy for PPC64.
7063 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7064 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7065 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7066 multiarch optimizations.
7067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7068 (__libc_ifunc_impl_list): Likewise.
7069 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7070 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7071 multiarch stpncpy for PPC64.
7072 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7073 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7075 2014-05-06 Andreas Schwab <schwab@suse.de>
7078 * gmon/mcount.c (_MCOUNT_DECL): Use
7079 atomic_compare_and_exchange_bool_acq instead of
7080 catomic_compare_and_exchange_bool_acq.
7082 2014-05-05 Roland McGrath <roland@hack.frob.com>
7084 * elf/Makefile (others, install-bin): Remove pldd.
7085 (pldd-modules): Variable removed.
7086 ($(objpfx)pldd): Target removed.
7087 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7088 (others, install-bin): Append pldd here.
7089 ($(objpfx)pldd): New target.
7091 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7092 to 0, so the first #if test emitted later doesn't see it undefined.
7093 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7094 * sysdeps/gnu/errlist.c: Regenerated.
7096 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7098 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7099 [libc_hidden_builtin_def]: Define to empty value.
7100 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7101 [libc_hidden_builtin_def]: Likewise.
7102 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7103 [libc_hidden_builtin_def]: Likewise.
7104 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7105 [libc_hidden_builtin_def]: Likewise.
7106 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7107 __redirect_memcpy and define ifunc as default hidden symbol.
7108 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7109 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7111 2014-05-04 Adam Conrad <adconrad@0c3.net>
7113 * locale/iso-4217.def: Reintroduce XDR currency.
7115 2014-05-04 Allan McRae <allan@archlinux.org>
7117 * po/eo.po: Update Esperanto translation from translation project.
7119 2014-05-02 Carlos O'Donell <carlos@redhat.com>
7121 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7122 and FEATURE_INDEX_MAX to 1.
7123 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7125 2014-05-01 Steve Ellcey <sellcey@mips.com>
7127 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7128 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7129 * iconvdata/big5.c (ONE_DIRECTION): Define.
7130 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7131 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7132 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7133 * iconvdata/cp932.c (ONE_DIRECTION): Define.
7134 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7135 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7136 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7137 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7138 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7139 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7140 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7141 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7142 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7143 * iconvdata/gbk.c (ONE_DIRECTION): Define.
7144 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7145 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7146 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7147 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7148 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7149 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7150 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7151 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7152 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7153 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7154 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7155 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7156 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7157 * iconvdata/iso646.c (ONE_DIRECTION): Define.
7158 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7159 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7160 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7161 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7162 * iconvdata/johab.c (ONE_DIRECTION): Define.
7163 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7164 * iconvdata/sjis.c (ONE_DIRECTION): Define.
7165 * iconvdata/t.61.c (ONE_DIRECTION): Define.
7166 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7167 * iconvdata/tscii.c (ONE_DIRECTION): Define.
7168 * iconvdata/uhc.c (ONE_DIRECTION): Define.
7169 * iconvdata/unicode.c (ONE_DIRECTION): Define.
7170 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7171 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7172 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7174 2014-05-01 Roland McGrath <roland@hack.frob.com>
7176 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7177 (_IO_JUMPS_OFFSET): Define to 0.
7179 * nptl/sysdeps/pthread/bits/libc-lock.h
7180 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7181 (__libc_lock_define_initialized_recursive): Always define using
7182 initializer. Modern compilers treat uninitialized (implicit zero) and
7183 explicit zero initializers the same (i.e. put the datum in bss).
7185 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7187 * nscd/nscd-client.h: Include <string.h>.
7189 2014-05-01 David S. Miller <davem@davemloft.net>
7192 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7193 multiple zero bytes exist at the end of a string.
7194 Reported by Aurelien Jarno <aurelien@aurel32.net>
7196 * string/test-strcmp.c (check): Add explicit test for situations where
7197 there are multiple zero bytes after the first.
7199 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7202 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7203 when compiling wprintf.
7204 * stdio-common/tstdiomisc.c (t3): New function.
7207 2014-05-01 Steve Ellcey <sellcey@mips.com>
7209 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7210 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7211 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7212 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7214 2014-05-01 Steve Ellcey <sellcey@mips.com>
7216 * stdlib/longlong.h: Updated from GCC.
7218 2014-05-01 Will Newton <will.newton@linaro.org>
7219 Bernard Ogden <bernie.ogden@linaro.org>
7221 * NEWS: Update fixed bug list.
7224 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7226 2014-04-30 David S. Miller <davem@davemloft.net>
7228 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7229 (libc_feholdexcept_setround_sparc_ctx): New function.
7230 (libc_fesetenv_sparc_ctx): Likewise.
7231 (libc_feupdateenv_sparc_ctx): Likewise.
7232 (libc_feholdsetround_sparc_ctx): Likewise.
7233 (libc_feholdexcept_setround_ctx): Define.
7234 (libc_feholdexcept_setroundf_ctx): Likewise.
7235 (libc_feholdexcept_setroundl_ctx): Likewise.
7236 (libc_fesetenv_ctx): Likewise.
7237 (libc_fesetenvf_ctx): Likewise.
7238 (libc_fesetenvl_ctx): Likewise.
7239 (libc_feupdateenv_ctx): Likewise.
7240 (libc_feupdateenvf_ctx): Likewise.
7241 (libc_feupdateenvl_ctx): Likewise.
7242 (libc_feresetround_ctx): Likewise.
7243 (libc_feresetroundf_ctx): Likewise.
7244 (libc_feresetroundl_ctx): Likewise.
7245 (libc_feholdsetround_ctx): Likewise.
7246 (libc_feholdsetroundf_ctx): Likewise.
7247 (libc_feholdsetroundl_ctx): Likewise.
7249 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7250 with __USE_GNU instead of XOPEN cpp guards.
7252 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7255 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7256 with XOPEN cpp guards.
7258 2014-04-30 Julian Brown <julian@codesourcery.com>
7261 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7264 2014-04-30 Joseph Myers <joseph@codesourcery.com>
7267 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7269 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7270 * sysdeps/unix/sysv/linux/configure: Regenerated.
7271 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7272 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7273 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7274 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7275 * README: Update reference to required Linux kernel version.
7276 * manual/install.texi (Linux): Update reference to required Linux
7277 kernel headers version.
7278 * INSTALL: Regenerated.
7280 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7282 [POSIX] (limits.h): Likewise.
7283 [POSIX] (math.h): Likewise.
7284 [POSIX] (sys/wait.h): Likewise.
7285 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7287 [POSIX] (stddef.h): Do not allow header inclusion.
7289 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7291 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7293 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
7295 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7296 Return immediately after lll_futex_wake.
7298 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7301 * nscd/nscd-client.h (datahead_init_common): Initialize entire
7303 (datahead_init_pos): Call datahead_init_common early.
7304 (datahead_init_neg): Likewise.
7306 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7307 datahead_init_neg): New functions.
7308 * nscd/aicache.c (addhstaiX): Use them.
7309 * nscd/grpcache.c (cache_addgr): Likewise.
7310 * nscd/hstcache.c (cache_addhst): Likewise.
7311 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7312 * nscd/netgroupcache.c (do_notfound): Likewise.
7313 (addgetnetgrentX): Likewise.
7314 (addinnetgrX): Likewise.
7315 * nscd/pwdcache.c (cache_addpw): Likewise.
7316 * nscd/servicescache.c (cache_addserv): Likewise.
7318 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7319 Atsushi Onoe <atsushi@onoe.org>
7324 * resolv/res_query.c (__libc_res_nsearch): Return if at least
7325 one response is valid.
7326 * resolv/res_send.c (send_dg): Check for validity of other
7327 response if the current response is a referral.
7329 2014-04-29 Steve Ellcey <sellcey@mips.com>
7331 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7333 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
7336 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7337 Always divide by positive zero when computing -Inf result.
7338 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7339 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7341 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7343 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7344 FPSCR if value do not change.
7345 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7346 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7347 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7348 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7349 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7350 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7353 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
7355 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7356 * sysdeps/unix/sysv/linux/hppa: Move directory from
7357 ports/systeps/unix/sysv/linux/hppa.
7358 * README: Update listing for hppa-*-linux-gnu.
7360 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
7363 * manual/stdio.texi (Hook functions): Fix types of stream hook
7366 * socket/sys/socket.h: Fix typo in comment.
7368 2014-04-28 Wilco <wdijkstr@arm.com>
7370 * sysdeps/arm/fenv_private.h: New file.
7371 * sysdeps/arm/math_private.h: New file.
7372 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7374 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
7376 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7378 (La_x86_64_retval): Likewise.
7380 2014-04-24 Ian Bolton <ian.bolton@arm.com>
7382 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7383 fpsr if value didn't change.
7384 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7385 to fpcr if value didn't change.
7386 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7387 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7388 fpsr or fpcr if value didn't change.
7389 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7390 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7391 fpcr if value didn't change.
7392 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7393 to fpsr if value didn't change.
7395 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7397 * nptl/tst-sem3.c: Use test-skeleton.c
7398 (main): Rename to do_test. Use return instead of
7400 * nptl/tst-sem4.c: Use test-skeleton.c
7401 (main): Rename to do_test.
7403 2014-04-22 David S. Miller <davem@davemloft.net>
7405 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7406 (struct sigaction): New struct member __glibc_reserved0, change
7407 type of sa_flags to int.
7409 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
7411 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7412 (COUNT_LEADING_ZEROS_0): Define for AArch64.
7414 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7416 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7417 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7419 2014-04-22 Will Newton <will.newton@linaro.org>
7420 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
7422 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7423 (__longjmp): Add longjmp and longjmp_target SystemTap
7425 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7426 (__sigsetjmp): Add setjmp SystemTap probe.
7428 2014-04-17 Carlos O'Donell <carlos@redhat.com>
7430 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7433 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7435 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7437 * sysdeps/powerpc/fpu/fenv_private.h
7438 (libc_feholdexcept_setroundl_ctx): Define to
7439 libc_feholdexcept_setround_ppc_ctx.
7440 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7441 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7442 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7443 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7445 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7447 * sysdeps/aarch64/math-tests.h: New file.
7449 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
7451 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7454 Check and set bit_AVX2_Usable.
7455 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7457 (bit_AVX2): Likewise.
7458 (index_AVX2_Usable): Likewise.
7459 (CPUID_AVX2): Likewise.
7460 (HAS_AVX2): Likewise.
7462 2014-04-17 Will Newton <will.newton@linaro.org>
7464 * manual/setjmp.texi (System V contexts): Add note that
7465 calling setcontext on a context created by a call to a
7466 signal handler is undefined. Update text to note that
7467 setcontext from a signal handler is possible but not
7471 * stdlib/tst-setcontext.c: Include signal.h.
7472 (main): Check that the signal stack before and
7473 after swapcontext is the same.
7475 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7476 Re-implement to restore registers in user code and avoid
7477 rt_sigreturn system call.
7479 2014-04-17 Wilco <wdijkstr@arm.com>
7481 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7482 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7483 * math/test-fenv.c: Skip exception trap tests on targets which only
7484 support non-stop mode.
7486 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7487 Wilco Dijkstra <wilco.dijkstra@arm.com>
7489 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7490 (libc_feholdsetround_aarch64_ctx)
7491 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7492 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7493 (libc_feresetround_ctx, libc_feresetroundf_ctx)
7494 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7495 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7496 (libc_feresetround_noexl_ctx): Define.
7498 2014-04-16 Richard Henderson <rth@redhat.com>
7500 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7502 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7505 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7506 const from the non-libc, non-ldso copy.
7508 * sysdeps/alpha/libm-test-ulps: Regenerate.
7510 2014-04-16 Ian Bolton <ian.bolton@arm.com>
7511 Wilco Dijkstra <wilco.dijkstra@arm.com>
7513 * sysdeps/aarch64/fpu/math_private.h: New file.
7515 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
7517 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7519 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
7522 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7523 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7524 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7525 Intel MPX bound registers before _dl_profile_fixup.
7526 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7527 registers after _dl_profile_fixup. Save and restore bound
7528 registers bnd0/bnd1 when calling _dl_call_pltexit.
7529 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7530 (LR_BND_OFFSET): Likewise.
7531 (LRV_BND0_OFFSET): Likewise.
7532 (LRV_BND1_OFFSET): Likewise.
7534 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7536 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7538 * sysdeps/mach/hurd/i386/tls.h: ... here.
7539 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7540 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7543 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7545 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7547 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7549 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7551 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7554 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7555 * sysdeps/s390/configure: Regenerate.
7558 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7559 Set round-to-nearest internally to reduce error accumulation.
7561 2014-04-16 Alan Modra <amodra@gmail.com>
7565 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7566 * math/libm-test.inc (frexp_test_data): Add tests.
7567 * NEWS: Update fixed bug list.
7569 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7571 * benchtests/Makefile: Depend on libraries in build directory.
7572 (bench-math): Separate out math tests.
7573 (bench-pthread): Separate out pthread tests.
7574 (bench): Include math and pthread tests.
7576 2014-04-14 Carlos O'Donell <carlos@redhat.com>
7579 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7580 _dl_debug_initialize.
7582 * configure.ac: Remove SELinux header check.
7583 * configure: Regenerate.
7584 * nscd/selinux.c (perms): Array of const char* to permission names.
7585 (nscd_request_avc_has_perm): Call security_deny_unknown to find
7586 default policy. Call string_to_security_class and string_to_av_perm to
7587 translate strings. Enforce default policy and call avs_has_perm with
7588 results of translated strings.
7590 2014-04-13 David S. Miller <davem@davemloft.net>
7592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7594 2014-04-12 Allan McRae <allan@archlinux.org>
7597 * manual/string.texi (Collation Functions): Fix qsort argument
7599 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7601 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
7603 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7604 Make the test a no-op if there are no exceptions defined.
7606 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7608 * elf/Makefile (tests): make tst-dlopen-aout conditional on
7609 enable-hardcoded-path-in-tests
7611 2014-04-11 Will Newton <will.newton@linaro.org>
7613 * benchtests/Makefile (extra-objs): Add json-lib.o.
7614 (bench-func): Tidy up JSON output.
7615 * benchtests/bench-skeleton.c: Include json-lib.h.
7616 (main): Use JSON library functions to do output of
7618 * benchtests/bench-timing-type.c (main): Output the
7619 timing type simply, leaving formatting to the user.
7620 * benchtests/json-lib.c: New file.
7621 * benchtests/json-lib.h: Likewise.
7623 2014-04-11 Torvald Riegel <triegel@redhat.com>
7626 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7627 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
7628 memory barriers. Add comments.
7629 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7630 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7631 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7632 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7633 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7634 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7636 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7638 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7639 * sysdeps/s390/s390-64/configure.ac: ... this ...
7640 * sysdeps/s390/configure.ac: ... to here.
7641 * sysdeps/s390/s390-32/configure: Delete file.
7642 * sysdeps/s390/s390-64/configure: Delete file.
7643 * sysdeps/s390/configure: Regenerate.
7645 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
7647 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7649 2014-04-11 Will Newton <will.newton@linaro.org>
7651 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7652 to zero if it is not defined elsewhere. (mtrim): Test
7653 the value of MALLOC_DEBUG with #if rather than #ifdef.
7655 2014-04-10 Torvald Riegel <triegel@redhat.com>
7657 * benchtests/pthread_once-inputs: New file.
7658 * benchtests/pthread_once-source.c: New file.
7659 * benchtests/README: Update documentation.
7661 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
7662 H.J. Lu <hongjiu.lu@intel.com>
7665 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7666 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7667 * sysdeps/x86_64/configure: Regenerated.
7668 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7670 (REGISTER_SAVE_RAX): Likewise.
7671 (REGISTER_SAVE_RCX): Likewise.
7672 (REGISTER_SAVE_RDX): Likewise.
7673 (REGISTER_SAVE_RSI): Likewise.
7674 (REGISTER_SAVE_RDI): Likewise.
7675 (REGISTER_SAVE_R8): Likewise.
7676 (REGISTER_SAVE_R9): Likewise.
7677 (REGISTER_SAVE_BND0): Likewise.
7678 (REGISTER_SAVE_BND1): Likewise.
7679 (REGISTER_SAVE_BND2): Likewise.
7680 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
7681 bound registers when calling _dl_fixup.
7683 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7685 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7686 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7688 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7689 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7690 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7691 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7692 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7693 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7694 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7696 2014-04-09 Peter Brett <peter@peter-b.co.uk>
7699 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7700 pathconf(_PC_NAME_MAX).
7702 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7704 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7706 (__PTHREAD_SPINS): Move definition to ...
7707 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7708 (__PTHREAD_SPINS): ... here.
7709 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7710 (__PTHREAD_SPIN): Likewise.
7711 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7712 (__PTHREAD_SPIN): Likewise.
7713 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7714 (__PTHREAD_SPIN): Likewise.
7715 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7716 (__PTHREAD_SPIN): Likewise.
7717 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7718 (__PTHREAD_SPIN): Likewise.
7719 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7720 (__PTHREAD_SPIN): Likewise.
7721 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7722 (__PTHREAD_SPIN): Likewise.
7723 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7724 (__PTHREAD_SPIN): Likewise.
7725 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7726 (__PTHREAD_SPIN): Likewise.
7727 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7728 (__PTHREAD_SPIN): Likewise.
7729 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7730 (__PTHREAD_SPIN): Likewise.
7731 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7732 (__PTHREAD_SPIN): Likewise.
7734 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7735 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7736 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7737 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7739 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7740 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7741 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7742 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7744 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7745 strlen symbol for non multi-arch builds.
7746 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7747 missing hidden_def and weak_alias.
7749 2014-04-08 Carlos O'Donell <carlos@redhat.com>
7751 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7753 2014-04-07 Will Newton <will.newton@linaro.org>
7755 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7756 and contents. [!_LIBC] Remove #ifndef and contents.
7757 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7758 * string/memccpy.c (__memccpy): Use ANSI prototype.
7759 * string/memfrob.c (memfrob): Likewise.
7760 * string/strcoll.c (STRCOLL): Likewise.
7761 * string/strlen.c (strlen): Likewise.
7762 * string/strtok.c (STRTOK): Likewise.
7763 * string/strcat.c: Remove unused #include of memcopy.h.
7764 (strcat): Use ANSI prototype.
7765 * string/strchr.c: Remove unused #include of memcopy.h.
7766 (strchr): Use ANSI prototype.
7767 * string/strcmp.c: Remove unused #include of memcopy.h.
7768 (strcmp): Use ANSI prototype.
7769 * string/strcpy.c: Remove unused #include of memcopy.h.
7770 (strcpy): Use ANSI prototype.
7772 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7774 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7775 * config.make.in (config-extra-cppflags): Set it from
7776 libc_extra_cppflags.
7777 * configure.ac (libc_extra_cflags): Make it accumulate over
7778 configure fragments.
7779 (libc_extra_cppflags): New flag.
7780 * configure. Regenerate.
7781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7782 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7783 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7787 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7788 result for FE_DOWNWARD rounding mode.
7789 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7793 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7795 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7796 in function argument name.
7798 2014-04-03 David Svoboda <svoboda@cert.org>
7801 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7804 2014-04-03 Roland McGrath <roland@hack.frob.com>
7806 * elf/dl-unmap-segments.h: New file.
7807 * sysdeps/generic/ldsodefs.h
7808 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7809 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7810 * elf/dl-fptr.c: Likewise.
7811 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7812 * sysdeps/aarch64/tlsdesc.c: Likewise.
7813 * sysdeps/arm/tlsdesc.c: Likewise.
7814 * sysdeps/i386/tlsdesc.c: Likewise.
7815 * sysdeps/tile/dl-runtime.c: Likewise.
7816 * sysdeps/x86_64/tlsdesc.c: Likewise.
7817 * elf/dl-load.h: New file.
7818 * elf/dl-load.c: Include it.
7819 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7820 Macros moved to dl-load.h.
7821 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7822 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7823 Use _dl_unmap_segments in place of __munmap.
7824 Break out segment-mapping loop into ...
7825 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7827 2014-04-03 Will Newton <will.newton@linaro.org>
7829 * elf/dl-lookup.c (do_lookup_x): Remove comment
7830 referring to nested function and move variable
7831 declarations down to before first use.
7833 2014-04-02 Joseph Myers <joseph@codesourcery.com>
7837 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7839 * math/s_catanf.c (__catanf): Likewise.
7840 * math/s_catanh.c (__catanh): Likewise.
7841 * math/s_catanhf.c (__catanhf): Likewise.
7842 * math/s_catanhl.c (__catanhl): Likewise.
7843 * math/s_catanl.c (__catanl): Likewise.
7844 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7845 by positive zero when computing -Inf result.
7846 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7847 (catanh_test): Likewise.
7848 * sysdeps/i386/fpu/libm-test-ulps: Update.
7849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7852 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7853 instead of using underflowing value in computing result.
7854 * math/s_clog10.c (__clog10): Likewise.
7855 * math/s_clog10f.c (__clog10f): Likewise.
7856 * math/s_clog10l.c (__clog10l): Likewise.
7857 * math/s_clogf.c (__clogf): Likewise.
7858 * math/s_clogl.c (__clogl): Likewise.
7859 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7860 (clog10_test): Likewise.
7861 * sysdeps/i386/fpu/libm-test-ulps: Update.
7862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7864 2014-04-02 Alan Modra <amodra@gmail.com>
7867 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7868 output when value is near a power of two. Use int64_t for lx and
7869 remove casts. Use decimal rather than hex exponent constants.
7870 Don't use long double multiplication when double will suffice.
7871 * math/libm-test.inc (nextafter_test_data): Add tests.
7872 * NEWS: Add 16739 and 16786 to bug list.
7874 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7876 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7878 2014-04-01 Will Newton <will.newton@linaro.org>
7880 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7881 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7883 2014-04-01 Florian Weimer <fweimer@redhat.com>
7886 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7887 * nptl/tst-setuid2.c: New file.
7888 * nptl/Makefile (xtests): Add tst-setuid2.
7890 2014-04-01 Alan Modra <amodra@gmail.com>
7893 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7895 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7899 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7900 set errno as appropriate.
7901 * math/w_scalbf.c (__scalbf): Likewise.
7902 * math/w_scalbl.c (__scalbl): Likewise.
7903 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7904 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7905 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7909 * math/w_atan2.c: Include <errno.h>.
7910 (__atan2): Set errno for result underflowing to zero.
7911 * math/w_atan2f.c: Include <errno.h>.
7912 (__atan2f): Set errno for result underflowing to zero.
7913 * math/w_atan2l.c: Include <errno.h>.
7914 (__atan2l): Set errno for result underflowing to zero.
7915 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7917 * math/auto-libm-test-out: Regenerated.
7919 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7921 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7922 Encode instruction correctly in little endian.
7923 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7925 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7927 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7929 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7932 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7935 * sysdeps/unix/sysv/linux/kernel-features.h
7936 [__sparc__ && !__arch64__ && !__sparc_v9__]
7937 (__ASSUME_SET_ROBUST_LIST): Do not define.
7938 [__sparc__ && !__arch64__ && !__sparc_v9__]
7939 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7940 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7942 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7943 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7944 (__ASSUME_REQUEUE_PI): Likewise.
7945 (__ASSUME_SET_ROBUST_LIST): Likewise.
7946 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7947 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7949 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7950 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7952 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7954 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7956 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7957 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7959 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7960 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7964 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7965 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7966 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7968 2014-03-31 Will Newton <will.newton@linaro.org>
7970 * benchtests/Makefile (bench): Add ffs and ffsll to list
7972 * benchtests/ffs-inputs: New file.
7973 * benchtests/ffsll-inputs: Likewise.
7975 2014-03-29 Joseph Myers <joseph@codesourcery.com>
7978 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7979 too large before casting to int.
7980 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7981 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7982 * math/libm-test.inc (scalb_test_data): Add more tests.
7984 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7986 * benchtests/Makefile (DETAILED_OPT): New make option.
7987 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7989 * benchtests/bench-skeleton.c: Include stdbool.h.
7990 (main): Store and print timings per input.
7991 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7992 member to each argument value.
7993 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7994 (_print_arg_data): Initialize per-input timing to 0.
7996 * benchtests/Makefile (timing-type): New binary.
7997 (bench-clean): Also remove bench-timing-type.
7998 (bench): New target for timing-type.
7999 (bench-func): Print output in JSON format.
8000 * benchtests/bench-skeleton.c (main): Print output in JSON
8002 * benchtests/bench-timing-type.c: New file.
8003 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8004 (TIMING_PRINT_STATS): Remove.
8005 * benchtests/scripts/bench.py (_print_arg_data): Store variant
8008 * benchtests/bench-modf.c: Remove.
8009 * benchtests/modf-inputs: New inputs file.
8011 2014-03-28 Joseph Myers <joseph@codesourcery.com>
8014 * math/s_clog10.c (M_PI_LOG10E): New macro.
8015 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8016 imaginary parts are 0.
8017 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8018 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8019 imaginary parts are 0.
8020 * math/s_clog10l.c (M_PI_LOG10El): New macro.
8021 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8022 imaginary parts are 0.
8023 * math/libm-test.inc (clog10_test_data): Update expected results
8024 for when real and imaginary parts are 0.
8026 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
8028 * elf/dl-load.c: Finish conversion of __builtin_expect into
8031 2014-03-27 Joseph Myers <joseph@codesourcery.com>
8034 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8035 1+x for argument with exponent below -67.
8036 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8038 * math/auto-libm-test-in: Add more tests of exp.
8039 * math/auto-libm-test-out: Regenerated.
8041 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8044 * inet/getnetgrent_r.c (get_nonempty_val): New function.
8045 (nscd_getnetgrent): Use it.
8048 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8051 2014-03-27 Andi Kleen <ak@linux.intel.com>
8053 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8054 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8055 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8056 (lll_robust_unlock): Remove out of line section. Use cfi
8058 (LLL_STUB_UNWIND_INFO*): Remove.
8059 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8060 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8061 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8062 (lll_robust_unlock): Remove out of line section. Use cfi
8064 (LLL_STUB_UNWIND_INFO*): Remove.
8066 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8069 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8072 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
8074 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8076 2014-03-26 Joseph Myers <joseph@codesourcery.com>
8079 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8081 * math/test-fenv-preserve.c: New file.
8082 * math/Makefile (tests): Add test-fenv-preserve.
8084 2014-03-26 Will Newton <will.newton@linaro.org>
8086 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8088 2014-03-25 Roland McGrath <roland@hack.frob.com>
8090 * scripts/versionlist.awk: Partition the version sets and emit all
8091 GLIBC_* (sorted) before all others (sorted).
8093 2014-03-25 Joseph Myers <joseph@codesourcery.com>
8095 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8096 GLIBC_2.2.5 version.
8098 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8100 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8103 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8108 2014-03-25 Andreas Schwab <schwab@suse.de>
8110 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8111 label to be used after in6ailist is initialized.
8113 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8115 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8116 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8118 2014-03-25 Joseph Myers <joseph@codesourcery.com>
8122 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8124 (fp_formats): Update initializers.
8125 (init_fp_formats): Initialize new field.
8126 (output_for_one_input_case): Allow underflow for results up to
8128 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8129 * math/auto-libm-test-in: Don't mark some underflows from asin and
8131 * math/auto-libm-test-out: Regenerated.
8132 * sysdeps/i386/fpu/libm-test-ulps: Update.
8133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8135 2014-03-25 Andreas Schwab <schwab@suse.de>
8137 * libio/Makefile (tst-ftell-partial-wide-ENV)
8138 (tst-ftell-active-handler-ENV): Define.
8140 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8142 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8144 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8146 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8148 2014-03-24 Joseph Myers <joseph@codesourcery.com>
8150 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8151 * sysdeps/x86_64/fpu/multiarch/e_exp.c
8152 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8154 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8157 * elf/dl-load.c (open_verify): Add mode parameter.
8158 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8159 (open_path): Change from boolean 'secure' to complete flag 'mode'
8160 (_dl_map_object): Adjust.
8161 * elf/Makefile (tests): Add tst-dlopen-aout.
8162 * elf/tst-dlopen-aout.c: New test.
8164 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8167 * sysdeps/unix/sysv/linux/s390/bits/stat.h
8168 (struct stat): Rename member pad0 to __glibc_reserved0.
8171 * sysdeps/s390/s390-32/bits/wordsize.h
8172 (__WORDSIZE32_SIZE_ULONG): New define.
8173 * sysdeps/s390/s390-64/bits/wordsize.h
8174 (__WORDSIZE32_SIZE_ULONG): Likewise.
8175 * sysdeps/generic/stdint.h (SIZE_MAX):
8176 Define as UL if __WORDSIZE32_SIZE_ULONG.
8179 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8180 (__glibc_reserved0): New variable.
8181 (sa_flags): Change type to int.
8183 * posix/Makefile (before-compile): Use += before-compile instead
8186 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8187 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8189 2014-03-20 Andreas Schwab <schwab@suse.de>
8192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8193 non-matching result from nscd.
8195 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8197 * scripts/bench.py: Moved to ...
8198 * benchtests/scripts/bench.py: ... here.
8199 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8201 2014-03-24 Andreas Schwab <schwab@suse.de>
8204 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8205 alloca_account and account alloca use for struct in6ailist.
8207 2014-03-24 Joseph Myers <joseph@codesourcery.com>
8210 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8211 rounding mode to recompute results that overflow to infinity or
8213 * math/auto-libm-test-in: Don't mark tests as expected to fail for
8215 * math/auto-libm-test-out: Regenerated.
8216 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8217 (ccosh_test): Likewise.
8218 (csin_test_data): Use plus_oflow.
8219 (csin_test): Use ALL_RM_TEST.
8220 (csinh_test_data): Use plus_oflow.
8221 (csinh_test): Use ALL_RM_TEST.
8222 * sysdeps/i386/fpu/libm-test-ulps: Update.
8223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8225 2014-03-21 Joseph Myers <joseph@codesourcery.com>
8227 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8228 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8229 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8232 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8234 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8235 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8236 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8237 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8239 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8240 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8242 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8243 * sysdeps/i386/fpu/libm-test-ulps: Update.
8244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8246 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8248 * scripts/bench.pl: Remove file.
8249 * scripts/bench.py: New benchmark script.
8250 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8251 * benchtests/README: Mention python dependency.
8252 * scripts/pylintrc: New file.
8253 * scripts/pylint: New file.
8255 * bits/mathdef.h: Use #ifdef instead of #if.
8256 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8257 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8258 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8259 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8260 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8261 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8263 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8264 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8266 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8267 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8268 and strpbrk-ppc64 objects.
8269 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8270 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8271 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8272 multiarch strpbrk for POWER7.
8273 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8274 multiarch strpbrk for PPC64.
8275 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8277 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8280 2014-03-20 Joseph Myers <joseph@codesourcery.com>
8282 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8283 (atan_test): Likewise.
8284 (atanh_test_data): Use NO_TEST_INLINE for two tests.
8285 (atanh_test): Use ALL_RM_TEST.
8286 (atan2_test_data): Likewise.
8287 (cabs_test): Likewise.
8288 (cacosh_test): Likewise.
8289 (carg_test): Likewise.
8290 (casin_test): Likewise.
8291 (casinh_test): Likewise.
8292 (cbrt_test): Likewise.
8293 (csqrt_test): Likewise.
8294 (erf_test): Likewise.
8295 (erfc_test): Likewise.
8296 (pow10_test): Likewise.
8297 (exp2_test): Likewise.
8298 (hypot_test): Likewise.
8299 (j0_test): Likewise.
8300 (j1_test): Likewise.
8301 (lgamma_test): Likewise.
8302 (gamma_test): Likewise.
8303 (sincos_test): Likewise.
8304 (tanh_test): Likewise.
8305 (y0_test): Likewise.
8306 (y1_test): Likewise.
8307 * sysdeps/i386/fpu/libm-test-ulps: Update.
8308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8310 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8312 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8313 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8314 and strcspn-ppc64 objects.
8315 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8316 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8317 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8318 multiarch strcspn for POWER7.
8319 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8320 multiarch strcspn for PPC64.
8321 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8323 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8326 2014-03-20 Joseph Myers <joseph@codesourcery.com>
8328 * math/gen-libm-test.pl (generate_testfile): Expect only function
8329 name as argument to AUTO_TESTS_* and pass results for all rounding
8330 modes to parse_args.
8331 (parse_auto_input): Separate inputs of automatic tests from
8332 outputs before storing in %auto_tests.
8333 * math/libm-test.inc (acos_test_data): Update call to
8335 (acos_test): Use ALL_RM_TEST.
8336 (acos_tonearest_test_data): Remove.
8337 (acos_test_tonearest): Likewise.
8338 (acos_towardzero_test_data): Likewise.
8339 (acos_test_towardzero): Likewise.
8340 (acos_downward_test_data): Likewise.
8341 (acos_test_downward): Likewise.
8342 (acos_upward_test_data): Likewise.
8343 (acos_test_upward): Likewise.
8344 (acosh_test_data): Update call to AUTO_TESTS_f_f.
8345 (asin_test_data): Likewise.
8346 (asin_test): Use ALL_RM_TEST.
8347 (asin_tonearest_test_data): Remove.
8348 (asin_test_tonearest): Likewise.
8349 (asin_towardzero_test_data): Likewise.
8350 (asin_test_towardzero): Likewise.
8351 (asin_downward_test_data): Likewise.
8352 (asin_test_downward): Likewise.
8353 (asin_upward_test_data): Likewise.
8354 (asin_test_upward): Likewise.
8355 (asinh_test_data): Update call to AUTO_TESTS_f_f.
8356 (atan_test_data): Likewise.
8357 (atanh_test_data): Likewise.
8358 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8359 (cabs_test_data): Update call to AUTO_TESTS_c_f.
8360 (carg_test_data): Likewise.
8361 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8362 (ccos_test_data): Update call to AUTO_TESTS_c_c.
8363 (ccosh_test_data): Likewise.
8364 (cexp_test_data): Likewise.
8365 (clog_test_data): Likewise.
8366 (clog10_test_data): Likewise.
8367 (cos_test_data): Update call to AUTO_TESTS_f_f.
8368 (cos_test): Use ALL_RM_TEST.
8369 (cos_tonearest_test_data): Remove.
8370 (cos_test_tonearest): Likewise.
8371 (cos_towardzero_test_data): Likewise.
8372 (cos_test_towardzero): Likewise.
8373 (cos_downward_test_data): Likewise.
8374 (cos_test_downward): Likewise.
8375 (cos_upward_test_data): Likewise.
8376 (cos_test_upward): Likewise.
8377 (cosh_test_data): Update call to AUTO_TESTS_f_f.
8378 (cosh_test): Use ALL_RM_TEST.
8379 (cosh_tonearest_test_data): Remove.
8380 (cosh_test_tonearest): Likewise.
8381 (cosh_towardzero_test_data): Likewise.
8382 (cosh_test_towardzero): Likewise.
8383 (cosh_downward_test_data): Likewise.
8384 (cosh_test_downward): Likewise.
8385 (cosh_upward_test_data): Likewise.
8386 (cosh_test_upward): Likewise.
8387 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8388 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8389 (ctan_test_data): Likewise.
8390 (ctan_test): Use ALL_RM_TEST.
8391 (ctan_tonearest_test_data): Remove.
8392 (ctan_test_tonearest): Likewise.
8393 (ctan_towardzero_test_data): Likewise.
8394 (ctan_test_towardzero): Likewise.
8395 (ctan_downward_test_data): Likewise.
8396 (ctan_test_downward): Likewise.
8397 (ctan_upward_test_data): Likewise.
8398 (ctan_test_upward): Likewise.
8399 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8400 (ctanh_test): Use ALL_RM_TEST.
8401 (ctanh_tonearest_test_data): Remove.
8402 (ctanh_test_tonearest): Likewise.
8403 (ctanh_towardzero_test_data): Likewise.
8404 (ctanh_test_towardzero): Likewise.
8405 (ctanh_downward_test_data): Likewise.
8406 (ctanh_test_downward): Likewise.
8407 (ctanh_upward_test_data): Likewise.
8408 (ctanh_test_upward): Likewise.
8409 (erf_test_data): Update call to AUTO_TESTS_f_f.
8410 (erfc_test_data): Likewise.
8411 (exp_test_data): Likewise.
8412 (exp_test): Use ALL_RM_TEST.
8413 (exp_tonearest_test_data): Remove.
8414 (exp_test_tonearest): Likewise.
8415 (exp_towardzero_test_data): Likewise.
8416 (exp_test_towardzero): Likewise.
8417 (exp_downward_test_data): Likewise.
8418 (exp_test_downward): Likewise.
8419 (exp_upward_test_data): Likewise.
8420 (exp_test_upward): Likewise.
8421 (exp10_test_data): Update call to AUTO_TESTS_f_f.
8422 (exp10_test): Use ALL_RM_TEST.
8423 (exp10_tonearest_test_data): Remove.
8424 (exp10_test_tonearest): Likewise.
8425 (exp10_towardzero_test_data): Likewise.
8426 (exp10_test_towardzero): Likewise.
8427 (exp10_downward_test_data): Likewise.
8428 (exp10_test_downward): Likewise.
8429 (exp10_upward_test_data): Likewise.
8430 (exp10_test_upward): Likewise.
8431 (exp2_test_data): Update call to AUTO_TESTS_f_f.
8432 (expm1_test_data): Likewise.
8433 (expm1_test): Use ALL_RM_TEST.
8434 (expm1_tonearest_test_data): Remove.
8435 (expm1_test_tonearest): Likewise.
8436 (expm1_towardzero_test_data): Likewise.
8437 (expm1_test_towardzero): Likewise.
8438 (expm1_downward_test_data): Likewise.
8439 (expm1_test_downward): Likewise.
8440 (expm1_upward_test_data): Likewise.
8441 (expm1_test_upward): Likewise.
8442 (fma_test_data): Update call to AUTO_TESTS_fff_f.
8443 (fma_test): Use ALL_RM_TEST.
8444 (fma_towardzero_test_data): Remove.
8445 (fma_test_towardzero): Likewise.
8446 (fma_downward_test_data): Likewise.
8447 (fma_test_downward): Likewise.
8448 (fma_upward_test_data): Likewise.
8449 (fma_test_upward): Likewise.
8450 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8451 (j0_test_data): Update call to AUTO_TESTS_f_f.
8452 (j1_test_data): Likewise.
8453 (jn_test_data): Update call to AUTO_TESTS_if_f.
8454 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8455 (log_test_data): Update call to AUTO_TESTS_f_f.
8456 (log10_test_data): Likewise.
8457 (log1p_test_data): Likewise.
8458 (log2_test_data): Likewise.
8459 (pow_test_data): Update call to AUTO_TESTS_ff_f.
8460 (pow_tonearest_test_data): Likewise.
8461 (sin_test_data): Update call to AUTO_TESTS_f_f.
8462 (sin_test): Use ALL_RM_TEST.
8463 (sin_tonearest_test_data): Remove.
8464 (sin_test_tonearest): Likewise.
8465 (sin_towardzero_test_data): Likewise.
8466 (sin_test_towardzero): Likewise.
8467 (sin_downward_test_data): Likewise.
8468 (sin_test_downward): Likewise.
8469 (sin_upward_test_data): Likewise.
8470 (sin_test_upward): Likewise.
8471 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8472 (sinh_test_data): Update call to AUTO_TESTS_f_f.
8473 (sinh_test): Use ALL_RM_TEST.
8474 (sinh_tonearest_test_data): Remove.
8475 (sinh_test_tonearest): Likewise.
8476 (sinh_towardzero_test_data): Likewise.
8477 (sinh_test_towardzero): Likewise.
8478 (sinh_downward_test_data): Likewise.
8479 (sinh_test_downward): Likewise.
8480 (sinh_upward_test_data): Likewise.
8481 (sinh_test_upward): Likewise.
8482 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8483 (sqrt_test): Use ALL_RM_TEST.
8484 (sqrt_tonearest_test_data): Remove.
8485 (sqrt_test_tonearest): Likewise.
8486 (sqrt_towardzero_test_data): Likewise.
8487 (sqrt_test_towardzero): Likewise.
8488 (sqrt_downward_test_data): Likewise.
8489 (sqrt_test_downward): Likewise.
8490 (sqrt_upward_test_data): Likewise.
8491 (sqrt_test_upward): Likewise.
8492 (tan_test_data): Update call to AUTO_TESTS_f_f.
8493 (tan_test): Use ALL_RM_TEST.
8494 (tan_tonearest_test_data): Remove.
8495 (tan_test_tonearest): Likewise.
8496 (tan_towardzero_test_data): Likewise.
8497 (tan_test_towardzero): Likewise.
8498 (tan_downward_test_data): Likewise.
8499 (tan_test_downward): Likewise.
8500 (tan_upward_test_data): Likewise.
8501 (tan_test_upward): Likewise.
8502 (tanh_test_data): Update call to AUTO_TESTS_f_f.
8503 (tgamma_test_data): Likewise.
8504 (y0_test_data): Likewise.
8505 (y1_test_data): Likewise.
8506 (yn_test_data): Update call to AUTO_TESTS_if_f.
8507 (main): Do not call removed functions.
8509 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8511 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8512 (ldexp_test_data): Remove.
8513 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
8515 (scalb_test): Use ALL_RM_TEST.
8517 2014-03-19 Andreas Schwab <schwab@suse.de>
8519 * nscd/nscd.service: Also invalidate netgroup cache on reload.
8521 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8524 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8525 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8526 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8527 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8528 (__ASSUME_PREADV): Undefine.
8529 (__ASSUME_PWRITEV): Likewise.
8531 2014-03-18 Roland McGrath <roland@hack.frob.com>
8533 * bits/mman-linux.h: Add comment about non-Linux use.
8534 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8535 bits/mman-linux.h resting place.
8537 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8538 * bits/mman-linux.h: ... here.
8540 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8542 * conform/conformtest.pl: Add standard definition when calling C
8543 preprocessor on data files.
8544 (checknamespace): Remove unused variable.
8546 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8548 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8549 minus_oflow, plus_uflow and minus_uflow in expected results.
8550 * math/libm-test.inc (scalbn_test_data): Add more tests of
8551 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
8553 (scalbn_test): Use ALL_RM_TEST.
8554 (scalbln_test_data): Add more tests of negative arguments. Use
8555 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8556 (scalbln_test): Use ALL_RM_TEST.
8558 2014-03-18 Roland McGrath <roland@hack.frob.com>
8560 * scripts/abilist.awk: Ignore symbols marked with .hidden.
8562 2014-03-18 Will Newton <will.newton@linaro.org>
8564 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8567 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8569 * Makerules [!subdir] (check-abi): Exit with error status if a
8572 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8574 * math/libm-test.inc (nearbyint_test_data): Include all tests used
8575 for rint. Include results for all rounding modes.
8576 (nearbyint_test): Use ALL_RM_TEST.
8577 (rint_test_data): Include all tests used for nearbyint.
8579 2014-03-17 Will Newton <will.newton@linaro.org>
8581 * nptl/sysdeps/pthread/pthread.h: Revert previous
8584 * sysdeps/generic/ldsodefs.h: Revert previous
8587 * libio/genops.c: Revert previous change.
8588 * libio/libioP.h: Likewise.
8589 * stdio-common/vfprintf.c: Likewise.
8591 * sysdeps/generic/math_private.h: Revert previous
8594 * sysdeps/generic/math_private.h: Check whether
8595 HAVE_RM_CTX is defined with #ifdef rather
8598 * argp/argp-fmtstream.h: Check whether
8599 __STRICT_ANSI__ is defined with #ifdef rather
8601 * argp/argp.h: Likewise.
8603 * libio/genops.c: Check whether
8604 _IO_JUMPS_OFFSET is defined with #ifdef rather
8606 * libio/libioP.h: Likewise.
8607 * stdio-common/vfprintf.c: Likewise.
8609 * sysdeps/generic/ldsodefs.h: Check whether
8610 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8613 * nptl/sysdeps/pthread/pthread.h: Check
8614 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8617 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8619 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8621 * libio/tst-ftell-active-handler.c (do_append_test): Add a
8625 * libio/fileops.c (_IO_file_open): Seek to end of file but
8626 don't cache the offset.
8627 (get_file_offset): Remove function.
8628 (do_ftell): Use cached offset when available.
8629 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8630 don't cache the offset.
8631 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8633 (do_one_test): Call it.
8634 (do_ftell_test): Fix up expected old offset for a+ mode.
8635 * libio/wfileops.c (do_ftell_wide): Used cached offset when
8638 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8639 up test status with function return status.
8640 (do_write_test): Likewise.
8641 (do_append_test): Likewise.
8643 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8644 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8647 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8649 * math/gen-libm-test.pl (parse_args): Handle results specified for
8650 each rounding mode separately.
8651 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8652 tests and results from lrint_tonearest_test_data,
8653 lrint_towardzero_test_data, lrint_downward_test_data and
8654 lrint_upward_test_data.
8655 (lrint_test): Use ALL_RM_TEST.
8656 (lrint_tonearest_test_data): Remove.
8657 (lrint_test_tonearest): Likewise.
8658 (lrint_towardzero_test_data): Likewise.
8659 (lrint_test_towardzero): Likewise.
8660 (lrint_downward_test_data): Likewise.
8661 (lrint_test_downward): Likewise.
8662 (lrint_upward_test_data): Likewise.
8663 (lrint_test_upward): Likewise.
8664 (llrint_test_data): Merge in per-rounding-mode tests and results
8665 from llrint_tonearest_test_data, llrint_towardzero_test_data,
8666 llrint_downward_test_data and llrint_upward_test_data.
8667 (llrint_test): Use ALL_RM_TEST.
8668 (llrint_tonearest_test_data): Remove.
8669 (llrint_test_tonearest): Likewise.
8670 (llrint_towardzero_test_data): Likewise.
8671 (llrint_test_towardzero): Likewise.
8672 (llrint_downward_test_data): Likewise.
8673 (llrint_test_downward): Likewise.
8674 (llrint_upward_test_data): Likewise.
8675 (llrint_test_upward): Likewise.
8676 (rint_test_data): Merge in per-rounding-mode tests and results
8677 from rint_tonearest_test_data, rint_towardzero_test_data,
8678 rint_downward_test_data and rint_upward_test_data. Add
8679 per-rounding-mode results for tests not in those arrays.
8680 (rint_test): Use ALL_RM_TEST.
8681 (rint_tonearest_test_data): Remove.
8682 (rint_test_tonearest): Likewise.
8683 (rint_towardzero_test_data): Likewise.
8684 (rint_test_towardzero): Likewise.
8685 (rint_downward_test_data): Likewise.
8686 (rint_test_downward): Likewise.
8687 (rint_upward_test_data): Likewise.
8688 (rint_test_upward): Likewise.
8689 (main): Don't call removed functions.
8691 2014-03-14 Roland McGrath <roland@hack.frob.com>
8693 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8694 "Compiled on ..." crapola. It is anti-useful.
8696 2014-03-14 Joseph Myers <joseph@codesourcery.com>
8698 * scripts/evaluate-test.sh: Handle fourth argument to determine
8699 whether test run should stop on failure.
8700 * Makeconfig (stop-on-test-failure): New variable.
8701 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8702 $(stop-on-test-failure).
8703 * Makefile (tests): Give a summary of results from testing and
8704 exit with failure status if they include an ERROR or FAIL.
8706 * manual/install.texi (Configuring and compiling): Mention
8707 stop-on-test-failure=y.
8708 * INSTALL: Regenerated.
8710 2014-03-14 Roland McGrath <roland@hack.frob.com>
8712 * scripts/versionlist.awk: New file.
8713 * Makerules [$(build-shared) = yes]
8714 (postclean-generated): Add Versions.def, not Versions.def.v and
8716 ($(common-objpfx)Versions.def.v.i): Target removed.
8717 ($(common-objpfx)Versions.def): New target.
8718 ($(common-objpfx)Versions.all): Depend on that rather that
8719 $(common-objpfx)Versions.def.v.
8720 * Versions.def: File removed.
8722 * Makeconfig (+gccwarn): Add -Wundef.
8723 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8724 a dl-sysdep.h breaking its contract.
8725 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8726 * include/stackinfo.h: New file.
8727 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8728 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8729 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8730 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8731 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8732 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8733 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8734 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8735 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8736 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8737 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8738 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8739 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8740 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8741 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8743 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8746 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8748 * math/libm-test.inc (round_test_data): Add more tests.
8751 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8753 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8756 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8758 * math/libm-test.inc (ceil_test_data): Add more tests.
8760 * math/libm-test.inc (trunc_test_data): Add more tests related to
8763 2014-03-14 Roland McGrath <roland@hack.frob.com>
8765 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8766 with #if rather than #ifdef.
8767 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8769 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8771 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8772 first. Disable AVX-512 GCC support if assembler doesn't support
8774 * sysdeps/x86_64/configure: Regenerated.
8776 2014-03-13 Carlos O'Donell <carlos@redhat.com>
8778 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8779 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8780 (__old_pthread_attr_setstack): Likewise.
8781 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8782 [!_STACK_GROWS_DOWN]: Likewise.
8784 2014-03-13 Mike Frysinger <vapier@gentoo.org>
8786 * config.make.in (have-bash2): Delete.
8787 * configure.ac (libc_cv_have_bash2): Delete.
8788 * configure: Regenerate.
8789 * elf/Makefile (common-ldd-rewrite): Rename to ...
8790 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8791 (sh-ldd-rewrite): Delete.
8792 (bash-ldd-rewrite): Delete.
8793 (have-bash2): Delete checks.
8794 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8797 * config.make.in (have-ksh): Delete.
8799 * configure.ac (libc_cv_have_ksh): Delete.
8800 * configure: Regenerate.
8802 * elf/Makefile: Delete $(have-ksh) check.
8803 ($(objpfx)sotruss): Change KSH to BASH.
8804 * elf/sotruss.ksh: Rename to ...
8805 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8806 function style to match POSIX. Drop ksh vim mode setting.
8808 * manual/time.texi (Specifying the Time Zone with TZ): Change
8809 Tuesday to Thursday.
8811 * debug/tst-longjmp_chk2.c: Update header comment.
8812 (stackoverflow_handler): Add comment. Call assert on pass value.
8814 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8817 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8818 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8819 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8820 (La_x86_64_vector): Add zmm.
8821 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8822 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8823 ($(objpfx)tst-audit10): New target.
8824 ($(objpfx)tst-audit10.out): Likewise.
8825 (tst-audit10-ENV): New.
8826 (AVX512-CFLAGS): Likewise.
8827 (CFLAGS-tst-audit10.c): Likewise.
8828 (CFLAGS-tst-auditmod10a.c): Likewise.
8829 (CFLAGS-tst-auditmod10b.c): Likewise.
8830 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8831 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8832 * sysdeps/x86_64/configure: Regenerated.
8833 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8834 AVX-512 zmm register support.
8835 (_dl_x86_64_save_sse): Likewise.
8836 (_dl_x86_64_restore_sse): Likewise.
8837 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8838 size vector registers.
8839 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8840 (ZMM_SIZE): Likewise.
8841 * sysdeps/x86_64/tst-audit10.c: New file.
8842 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8843 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8845 2014-03-13 Roland McGrath <roland@hack.frob.com>
8847 * configure.ac (HAVE_EHDR_START): New check.
8848 * configure: Regenerated.
8849 * config.h.in (HAVE_EHDR_START): New #undef.
8850 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8851 assuming the lowest-addressed segment maps the start of the file.
8853 2014-03-13 Joseph Myers <joseph@codesourcery.com>
8855 * INSTALL: Regenerated.
8857 2014-03-13 Will Newton <will.newton@linaro.org>
8859 * manual/setjmp.texi (System V contexts): Improve
8860 clarity and grammar of documentation.
8862 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8865 * elf/Makefile (tests): Add tst-pie2.
8866 (tests-pie): Add tst-pie2.
8867 * elf/tst-pie2.c: New file.
8868 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8870 * elf/rtld.c (map_doit): Load executable as lt_executable.
8871 (dl_main): Likewise.
8873 2014-03-12 Joseph Myers <joseph@codesourcery.com>
8876 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8877 (__ASSUME_PSELECT): Undefine.
8879 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8882 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8883 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8885 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8886 selector for static builds.
8888 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8891 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8894 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8896 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8897 IFUNC selector for static builds.
8899 2014-03-11 Joseph Myers <joseph@codesourcery.com>
8901 * sysdeps/mips/math_private.h [__mips_hard_float]
8902 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8903 libc_feresetround_mips_ctx.
8904 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8905 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8906 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8909 * math/s_nextafter.c (__nextafter): Do not return value from
8910 overflowing computation.
8911 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8912 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8913 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8915 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8917 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8918 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8920 2014-03-11 Roland McGrath <roland@hack.frob.com>
8922 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8923 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8924 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8925 the new mov targetting sp.
8927 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8930 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8931 Define it for static builds as well.
8932 (NO_BZERO_IMPL): Likewise.
8934 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8936 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8937 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8938 multiarch strspn for PPC64.
8939 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8940 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8941 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8942 (__libc_ifunc_impl_list): Likewise.
8943 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8944 multiarch optimizations
8945 * string/strspn.c (strspn): Using macro to redefine symbol name.
8947 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8948 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8950 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8951 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8952 multiarch strncat for PPC64.
8953 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8954 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8956 (__libc_ifunc_impl_list): Likewise.
8957 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8958 multiarch optimizations
8960 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8963 * nscd/nscd.service: Make service type forking.
8965 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8967 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8968 sign in non default rounding modes.
8969 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8971 2014-03-08 Joseph Myers <joseph@codesourcery.com>
8973 * math/libm-test.inc (ALL_RM_TEST): New macro.
8974 (ceil_test): Use ALL_RM_TEST.
8975 (cimag_test): Likewise.
8976 (conj_test): Likewise.
8977 (copysign_test): Likewise.
8978 (cproj_test): Likewise.
8979 (creal_test): Likewise.
8980 (fabs_test): Likewise.
8981 (floor_test): Likewise.
8982 (fmax_test): Likewise.
8983 (fmin_test): Likewise.
8984 (fmod_test): Likewise.
8985 (fpclassify_test): Likewise.
8986 (frexp_test): Likewise.
8987 (ilogb_test): Likewise.
8988 (isfinite_test): Likewise.
8989 (finite_test): Likewise.
8990 (isgreater_test): Likewise.
8991 (isgreaterequal_test): Likewise.
8992 (isinf_test): Likewise.
8993 (isless_test): Likewise.
8994 (islessequal_test): Likewise.
8995 (islessgreater_test): Likewise.
8996 (isnan_test): Likewise.
8997 (isnormal_test): Likewise.
8998 (issignaling_test): Likewise.
8999 (isunordered_test): Likewise.
9000 (logb_test): Likewise.
9001 (logb_downward_test_data): Remove.
9002 (logb_test_downward): Likewise.
9003 (lround_test): Use ALL_RM_TEST.
9004 (llround_test): Likewise.
9005 (modf_test): Likewise.
9006 (nexttoward_test): Likewise.
9007 (remainder_test): Likewise.
9008 (drem_test): Likewise.
9009 (remainder_tonearest_test_data): Likewise.
9010 (remainder_test_tonearest): Likewise.
9011 (drem_test_tonearest): Likewise.
9012 (remainder_towardzero_test_data): Likewise.
9013 (remainder_test_towardzero): Likewise.
9014 (drem_test_towardzero): Likewise.
9015 (remainder_downward_test_data): Likewise.
9016 (remainder_test_downward): Likewise.
9017 (drem_test_downward): Likewise.
9018 (remainder_upward_test_data): Likewise.
9019 (remainder_test_upward): Likewise.
9020 (drem_test_upward): Likewise.
9021 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
9022 (round_test): Use ALL_RM_TEST.
9023 (signbit_test): Likewise.
9024 (trunc_test): Likewise.
9025 (significand_test): Likewise.
9026 (main): Don't call removed functions.
9028 2014-03-07 Joseph Myers <joseph@codesourcery.com>
9031 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9033 (ILL_ILLOPN): Likewise.
9034 (ILL_ILLADR): Likewise.
9035 (ILL_ILLTRP): Likewise.
9036 (ILL_PRVOPC): Likewise.
9037 (ILL_PRVREG): Likewise.
9038 (ILL_COPROC): Likewise.
9039 (ILL_BADSTK): Likewise.
9040 (FPE_INTDIV): Likewise.
9041 (FPE_INTOVF): Likewise.
9042 (FPE_FLTDIV): Likewise.
9043 (FPE_FLTOVF): Likewise.
9044 (FPE_FLTUND): Likewise.
9045 (FPE_FLTRES): Likewise.
9046 (FPE_FLTINV): Likewise.
9047 (FPE_FLTSUB): Likewise.
9048 (SEGV_MAPERR): Likewise.
9049 (SEGV_ACCERR): Likewise.
9050 (BUS_ADRALN): Likewise.
9051 (BUS_ADRERR): Likewise.
9052 (BUS_OBJERR): Likewise.
9053 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9054 (TRAP_TRACE): Likewise.
9055 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9057 (CLD_KILLED): Likewise.
9058 (CLD_DUMPED): Likewise.
9059 (CLD_TRAPPED): Likewise.
9060 (CLD_STOPPED): Likewise.
9061 (CLD_CONTINUED): Likewise.
9062 (POLL_IN): Likewise.
9063 (POLL_OUT): Likewise.
9064 (POLL_MSG): Likewise.
9065 (POLL_ERR): Likewise.
9066 (POLL_PRI): Likewise.
9067 (POLL_HUP): Likewise.
9068 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9070 (ILL_ILLOPN): Likewise.
9071 (ILL_ILLADR): Likewise.
9072 (ILL_ILLTRP): Likewise.
9073 (ILL_PRVOPC): Likewise.
9074 (ILL_PRVREG): Likewise.
9075 (ILL_COPROC): Likewise.
9076 (ILL_BADSTK): Likewise.
9077 (FPE_INTDIV): Likewise.
9078 (FPE_INTOVF): Likewise.
9079 (FPE_FLTDIV): Likewise.
9080 (FPE_FLTOVF): Likewise.
9081 (FPE_FLTUND): Likewise.
9082 (FPE_FLTRES): Likewise.
9083 (FPE_FLTINV): Likewise.
9084 (FPE_FLTSUB): Likewise.
9085 (SEGV_MAPERR): Likewise.
9086 (SEGV_ACCERR): Likewise.
9087 (BUS_ADRALN): Likewise.
9088 (BUS_ADRERR): Likewise.
9089 (BUS_OBJERR): Likewise.
9090 (BUS_MCEERR_AR): Likewise.
9091 (BUS_MCEERR_AO): Likewise.
9092 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9093 (TRAP_TRACE): Likewise.
9094 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9096 (CLD_KILLED): Likewise.
9097 (CLD_DUMPED): Likewise.
9098 (CLD_TRAPPED): Likewise.
9099 (CLD_STOPPED): Likewise.
9100 (CLD_CONTINUED): Likewise.
9101 (POLL_IN): Likewise.
9102 (POLL_OUT): Likewise.
9103 (POLL_MSG): Likewise.
9104 (POLL_ERR): Likewise.
9105 (POLL_PRI): Likewise.
9106 (POLL_HUP): Likewise.
9107 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9108 (ILL_ILLOPN): Likewise.
9109 (ILL_ILLADR): Likewise.
9110 (ILL_ILLTRP): Likewise.
9111 (ILL_PRVOPC): Likewise.
9112 (ILL_PRVREG): Likewise.
9113 (ILL_COPROC): Likewise.
9114 (ILL_BADSTK): Likewise.
9115 (FPE_INTDIV): Likewise.
9116 (FPE_INTOVF): Likewise.
9117 (FPE_FLTDIV): Likewise.
9118 (FPE_FLTOVF): Likewise.
9119 (FPE_FLTUND): Likewise.
9120 (FPE_FLTRES): Likewise.
9121 (FPE_FLTINV): Likewise.
9122 (FPE_FLTSUB): Likewise.
9123 (SEGV_MAPERR): Likewise.
9124 (SEGV_ACCERR): Likewise.
9125 (BUS_ADRALN): Likewise.
9126 (BUS_ADRERR): Likewise.
9127 (BUS_OBJERR): Likewise.
9128 (BUS_MCEERR_AR): Likewise.
9129 (BUS_MCEERR_AO): Likewise.
9130 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9131 (TRAP_TRACE): Likewise.
9132 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9134 (CLD_KILLED): Likewise.
9135 (CLD_DUMPED): Likewise.
9136 (CLD_TRAPPED): Likewise.
9137 (CLD_STOPPED): Likewise.
9138 (CLD_CONTINUED): Likewise.
9139 (POLL_IN): Likewise.
9140 (POLL_OUT): Likewise.
9141 (POLL_MSG): Likewise.
9142 (POLL_ERR): Likewise.
9143 (POLL_PRI): Likewise.
9144 (POLL_HUP): Likewise.
9145 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9147 (ILL_ILLOPN): Likewise.
9148 (ILL_ILLADR): Likewise.
9149 (ILL_ILLTRP): Likewise.
9150 (ILL_PRVOPC): Likewise.
9151 (ILL_PRVREG): Likewise.
9152 (ILL_COPROC): Likewise.
9153 (ILL_BADSTK): Likewise.
9154 (ILL_BADIADDR): Likewise.
9155 (ILL_BREAK): Likewise.
9156 (FPE_INTDIV): Likewise.
9157 (FPE_INTOVF): Likewise.
9158 (FPE_FLTDIV): Likewise.
9159 (FPE_FLTOVF): Likewise.
9160 (FPE_FLTUND): Likewise.
9161 (FPE_FLTRES): Likewise.
9162 (FPE_FLTINV): Likewise.
9163 (FPE_FLTSUB): Likewise.
9164 (FPE_DECOVF): Likewise.
9165 (FPE_DECDIV): Likewise.
9166 (FPE_DECERR): Likewise.
9167 (FPE_INVASC): Likewise.
9168 (FPE_INVDEC): Likewise.
9169 (SEGV_MAPERR): Likewise.
9170 (SEGV_ACCERR): Likewise.
9171 (SEGV_PSTKOVF): Likewise.
9172 (BUS_ADRALN): Likewise.
9173 (BUS_ADRERR): Likewise.
9174 (BUS_OBJERR): Likewise.
9175 (BUS_MCEERR_AR): Likewise.
9176 (BUS_MCEERR_AO): Likewise.
9177 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9178 (TRAP_TRACE): Likewise.
9179 (TRAP_BRANCH): Likewise.
9180 (TRAP_HWBKPT): 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/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9195 (ILL_ILLOPN): Likewise.
9196 (ILL_ILLADR): Likewise.
9197 (ILL_ILLTRP): Likewise.
9198 (ILL_PRVOPC): Likewise.
9199 (ILL_PRVREG): Likewise.
9200 (ILL_COPROC): Likewise.
9201 (ILL_BADSTK): Likewise.
9202 (FPE_INTDIV): Likewise.
9203 (FPE_INTOVF): Likewise.
9204 (FPE_FLTDIV): Likewise.
9205 (FPE_FLTOVF): Likewise.
9206 (FPE_FLTUND): Likewise.
9207 (FPE_FLTRES): Likewise.
9208 (FPE_FLTINV): Likewise.
9209 (FPE_FLTSUB): Likewise.
9210 (SEGV_MAPERR): Likewise.
9211 (SEGV_ACCERR): Likewise.
9212 (BUS_ADRALN): Likewise.
9213 (BUS_ADRERR): Likewise.
9214 (BUS_OBJERR): Likewise.
9215 (BUS_MCEERR_AR): Likewise.
9216 (BUS_MCEERR_AO): Likewise.
9217 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9218 (TRAP_TRACE): Likewise.
9219 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9221 (CLD_KILLED): Likewise.
9222 (CLD_DUMPED): Likewise.
9223 (CLD_TRAPPED): Likewise.
9224 (CLD_STOPPED): Likewise.
9225 (CLD_CONTINUED): Likewise.
9226 (POLL_IN): Likewise.
9227 (POLL_OUT): Likewise.
9228 (POLL_MSG): Likewise.
9229 (POLL_ERR): Likewise.
9230 (POLL_PRI): Likewise.
9231 (POLL_HUP): Likewise.
9232 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9233 (ILL_ILLOPN): Likewise.
9234 (ILL_ILLADR): Likewise.
9235 (ILL_ILLTRP): Likewise.
9236 (ILL_PRVOPC): Likewise.
9237 (ILL_PRVREG): Likewise.
9238 (ILL_COPROC): Likewise.
9239 (ILL_BADSTK): Likewise.
9240 (FPE_INTDIV): Likewise.
9241 (FPE_INTOVF): Likewise.
9242 (FPE_FLTDIV): Likewise.
9243 (FPE_FLTOVF): Likewise.
9244 (FPE_FLTUND): Likewise.
9245 (FPE_FLTRES): Likewise.
9246 (FPE_FLTINV): Likewise.
9247 (FPE_FLTSUB): Likewise.
9248 (SEGV_MAPERR): Likewise.
9249 (SEGV_ACCERR): Likewise.
9250 (BUS_ADRALN): Likewise.
9251 (BUS_ADRERR): Likewise.
9252 (BUS_OBJERR): Likewise.
9253 (BUS_MCEERR_AR): Likewise.
9254 (BUS_MCEERR_AO): Likewise.
9255 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9256 (TRAP_TRACE): Likewise.
9257 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9259 (CLD_KILLED): Likewise.
9260 (CLD_DUMPED): Likewise.
9261 (CLD_TRAPPED): Likewise.
9262 (CLD_STOPPED): Likewise.
9263 (CLD_CONTINUED): Likewise.
9264 (POLL_IN): Likewise.
9265 (POLL_OUT): Likewise.
9266 (POLL_MSG): Likewise.
9267 (POLL_ERR): Likewise.
9268 (POLL_PRI): Likewise.
9269 (POLL_HUP): Likewise.
9270 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9271 (ILL_ILLOPN): Likewise.
9272 (ILL_ILLADR): Likewise.
9273 (ILL_ILLTRP): Likewise.
9274 (ILL_PRVOPC): Likewise.
9275 (ILL_PRVREG): Likewise.
9276 (ILL_COPROC): Likewise.
9277 (ILL_BADSTK): Likewise.
9278 (FPE_INTDIV): Likewise.
9279 (FPE_INTOVF): Likewise.
9280 (FPE_FLTDIV): Likewise.
9281 (FPE_FLTOVF): Likewise.
9282 (FPE_FLTUND): Likewise.
9283 (FPE_FLTRES): Likewise.
9284 (FPE_FLTINV): Likewise.
9285 (FPE_FLTSUB): Likewise.
9286 (SEGV_MAPERR): Likewise.
9287 (SEGV_ACCERR): Likewise.
9288 (BUS_ADRALN): Likewise.
9289 (BUS_ADRERR): Likewise.
9290 (BUS_OBJERR): Likewise.
9291 (BUS_MCEERR_AR): Likewise.
9292 (BUS_MCEERR_AO): Likewise.
9293 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9294 (TRAP_TRACE): Likewise.
9295 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9297 (CLD_KILLED): Likewise.
9298 (CLD_DUMPED): Likewise.
9299 (CLD_TRAPPED): Likewise.
9300 (CLD_STOPPED): Likewise.
9301 (CLD_CONTINUED): Likewise.
9302 (POLL_IN): Likewise.
9303 (POLL_OUT): Likewise.
9304 (POLL_MSG): Likewise.
9305 (POLL_ERR): Likewise.
9306 (POLL_PRI): Likewise.
9307 (POLL_HUP): Likewise.
9308 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9309 (ILL_ILLOPN): Likewise.
9310 (ILL_ILLADR): Likewise.
9311 (ILL_ILLTRP): Likewise.
9312 (ILL_PRVOPC): Likewise.
9313 (ILL_PRVREG): Likewise.
9314 (ILL_COPROC): Likewise.
9315 (ILL_BADSTK): Likewise.
9316 (ILL_DBLFLT): Likewise.
9317 (ILL_HARDWALL): Likewise.
9318 (FPE_INTDIV): Likewise.
9319 (FPE_INTOVF): Likewise.
9320 (FPE_FLTDIV): Likewise.
9321 (FPE_FLTOVF): Likewise.
9322 (FPE_FLTUND): Likewise.
9323 (FPE_FLTRES): Likewise.
9324 (FPE_FLTINV): Likewise.
9325 (FPE_FLTSUB): Likewise.
9326 (SEGV_MAPERR): Likewise.
9327 (SEGV_ACCERR): Likewise.
9328 (BUS_ADRALN): Likewise.
9329 (BUS_ADRERR): Likewise.
9330 (BUS_OBJERR): Likewise.
9331 (BUS_MCEERR_AR): Likewise.
9332 (BUS_MCEERR_AO): Likewise.
9333 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9334 (TRAP_TRACE): Likewise.
9335 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9337 (CLD_KILLED): Likewise.
9338 (CLD_DUMPED): Likewise.
9339 (CLD_TRAPPED): Likewise.
9340 (CLD_STOPPED): Likewise.
9341 (CLD_CONTINUED): Likewise.
9342 (POLL_IN): Likewise.
9343 (POLL_OUT): Likewise.
9344 (POLL_MSG): Likewise.
9345 (POLL_ERR): Likewise.
9346 (POLL_PRI): Likewise.
9347 (POLL_HUP): Likewise.
9348 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9349 (ILL_ILLOPN): Likewise.
9350 (ILL_ILLADR): Likewise.
9351 (ILL_ILLTRP): Likewise.
9352 (ILL_PRVOPC): Likewise.
9353 (ILL_PRVREG): Likewise.
9354 (ILL_COPROC): Likewise.
9355 (ILL_BADSTK): Likewise.
9356 (FPE_INTDIV): Likewise.
9357 (FPE_INTOVF): Likewise.
9358 (FPE_FLTDIV): Likewise.
9359 (FPE_FLTOVF): Likewise.
9360 (FPE_FLTUND): Likewise.
9361 (FPE_FLTRES): Likewise.
9362 (FPE_FLTINV): Likewise.
9363 (FPE_FLTSUB): Likewise.
9364 (SEGV_MAPERR): Likewise.
9365 (SEGV_ACCERR): Likewise.
9366 (BUS_ADRALN): Likewise.
9367 (BUS_ADRERR): Likewise.
9368 (BUS_OBJERR): Likewise.
9369 (BUS_MCEERR_AR): Likewise.
9370 (BUS_MCEERR_AO): Likewise.
9371 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9372 (TRAP_TRACE): Likewise.
9373 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9375 (CLD_KILLED): Likewise.
9376 (CLD_DUMPED): Likewise.
9377 (CLD_TRAPPED): Likewise.
9378 (CLD_STOPPED): Likewise.
9379 (CLD_CONTINUED): Likewise.
9380 (POLL_IN): Likewise.
9381 (POLL_OUT): Likewise.
9382 (POLL_MSG): Likewise.
9383 (POLL_ERR): Likewise.
9384 (POLL_PRI): Likewise.
9385 (POLL_HUP): Likewise.
9386 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9387 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9390 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9391 before #include of <time.h>.
9392 [!__USE_XOPEN2K] (__need_timespec): Likewise.
9393 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9394 (test-xfail-UNIX98/sched.h/conform): Likewise.
9396 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
9398 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9399 error absence of trapping exception support.
9400 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9402 2014-03-07 Joseph Myers <joseph@codesourcery.com>
9404 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9405 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9406 * timezone/Makefile (testdata): Move definition above include of
9408 (test-zones): New variable.
9409 (tests-special): Add zone files.
9410 (build-testdata): Use $(evaluate-test).
9412 * elf/Makefile (tests-special): Rename tests to end with .out.
9413 ($(objpfx)noload-mem): Likewise.
9414 ($(objpfx)tst-leaks1-mem): Likewise.
9415 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9416 * iconv/Makefile (xtests-special): Change test-iconvconfig to
9417 $(objpfx)test-iconvconfig.out.
9418 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
9419 set -e inside subshell and redirect output to file.
9420 * iconvdata/Makefile (generated): Rename tests to end with .out.
9422 (tests-special): Rename tests to end with .out.
9423 ($(objpfx)mtrace-tst-loading): Likewise.
9424 * intl/Makefile (generated): Likewise.
9425 (tests-special): Likewise.
9426 ($(objpfx)mtrace-tst-gettext): Likewise.
9427 * misc/Makefile (generated): Likewise.
9428 (tests-special): Likewise.
9429 ($(objpfx)tst-error1-mem): Likewise.
9430 * nptl/Makefile (tests-special): Likewise.
9431 ($(objpfx)tst-stack3-mem): Likewise.
9432 (generated): Likewise.
9433 * posix/Makefile (generated): Likewise.
9434 (tests-special): Likewise.
9435 (xtests-special): Likewise.
9436 ($(objpfx)tst-fnmatch-mem): Likewise.
9437 ($(objpfx)bug-regex2-mem): Likewise.
9438 ($(objpfx)bug-regex14-mem): Likewise.
9439 ($(objpfx)bug-regex21-mem): Likewise.
9440 ($(objpfx)bug-regex31-mem): Likewise.
9441 ($(objpfx)tst-vfork3-mem): Likewise.
9442 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9443 ($(objpfx)tst-pcre-mem): Likewise.
9444 ($(objpfx)tst-boost-mem): Likewise.
9445 ($(objpfx)bug-ga2-mem): Likewise.
9446 ($(objpfx)bug-glob2-mem): Likewise.
9447 * resolv/Makefile (generate): Likewise.
9448 (tests-special): Likewise.
9449 (xtests-special): Likewise.
9450 (generated): Likewise.
9451 ($(objpfx)mtrace-tst-leaks): Likewise.
9452 ($(objpfx)mtrace-tst-leaks2): Likewise.
9454 * scripts/merge-test-results.sh: New file.
9455 * Makefile (tests-special-notdir): New variable.
9456 (tests): Run merge-test-results.sh.
9458 * Rules (tests-special-notdir): New variable.
9459 (xtests-special-notdir): Likewise.
9460 (tests): Run merge-test-results.sh
9463 * Makeconfig (test-xfail-name): New variable.
9464 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9465 compute variable name for expected failures.
9466 * conform/Makefile (conformtest-headers-data): New variable.
9467 (conformtest-standards): Likewise.
9468 (conformtest-headers-ISO): Likewise.
9469 (conformtest-headers-ISO99): Likewise.
9470 (conformtest-headers-ISO11): Likewise.
9471 (conformtest-headers-POSIX): Likewise.
9472 (conformtest-headers-XPG3): Likewise.
9473 (conformtest-headers-XPG4): Likewise.
9474 (conformtest-headers-UNIX98): Likewise.
9475 (conformtest-headers-XOPEN2K): Likewise.
9476 (conformtest-headers-POSIX2008): Likewise.
9477 (conformtest-headers-XOPEN2K8): Likewise.
9478 (conformtest-header-list-base): Likewise.
9479 (conformtest-header-list-tests): Likewise.
9480 (conformtest-header-base): Likewise.
9481 (conformtest-header-tests): Likewise.
9482 (tests-special): Add $(conformtest-header-list-tests). If
9483 [$(fast-check) && !$(cross-compiling)], add
9484 $(conformtest-header-tests) instead of
9485 $(objpfx)run-conformtest.out.
9486 (generated): Add $(conformtest-header-list-base). If
9487 [$(fast-check) && !$(cross-compiling)], add
9488 $(conformtest-header-base). Remove previous setting.
9489 ($(conformtest-header-list-tests)): New target.
9490 (test-xfail-run-conformtest): Remove variable.
9491 ($(objpfx)run-conformtest.out): Remove target.
9492 (test-xfail-ISO11/complex.h/conform): New variable.
9493 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9494 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9495 (test-xfail-XPG3/varargs.h/conform): Likewise.
9496 (test-xfail-XPG4/varargs.h/conform): Likewise.
9497 (test-xfail-UNIX98/varargs.h/conform): Likewise.
9498 (test-xfail-XPG4/ndbm.h/conform): Likewise.
9499 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9500 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9501 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9502 (test-xfail-XPG3/fcntl.h/conform): Likewise.
9503 (test-xfail-XPG3/ftw.h/conform): Likewise.
9504 (test-xfail-XPG3/grp.h/conform): Likewise.
9505 (test-xfail-XPG3/langinfo.h/conform): Likewise.
9506 (test-xfail-XPG3/limits.h/conform): Likewise.
9507 (test-xfail-XPG3/pwd.h/conform): Likewise.
9508 (test-xfail-XPG3/search.h/conform): Likewise.
9509 (test-xfail-XPG3/signal.h/conform): Likewise.
9510 (test-xfail-XPG3/stdio.h/conform): Likewise.
9511 (test-xfail-XPG3/stdlib.h/conform): Likewise.
9512 (test-xfail-XPG3/string.h/conform): Likewise.
9513 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9514 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9515 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9516 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9517 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9518 (test-xfail-XPG3/sys/types.h/conform): Likewise.
9519 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9520 (test-xfail-XPG3/termios.h/conform): Likewise.
9521 (test-xfail-XPG3/time.h/conform): Likewise.
9522 (test-xfail-XPG3/unistd.h/conform): Likewise.
9523 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9524 (test-xfail-XPG4/fcntl.h/conform): Likewise.
9525 (test-xfail-XPG4/langinfo.h/conform): Likewise.
9526 (test-xfail-XPG4/netdb.h/conform): Likewise.
9527 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9528 (test-xfail-XPG4/signal.h/conform): Likewise.
9529 (test-xfail-XPG4/stdio.h/conform): Likewise.
9530 (test-xfail-XPG4/stdlib.h/conform): Likewise.
9531 (test-xfail-XPG4/stropts.h/conform): Likewise.
9532 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9533 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9534 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9535 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9536 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9537 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9538 (test-xfail-XPG4/sys/time.h/conform): Likewise.
9539 (test-xfail-XPG4/sys/types.h/conform): Likewise.
9540 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9541 (test-xfail-XPG4/termios.h/conform): Likewise.
9542 (test-xfail-XPG4/ucontext.h/conform): Likewise.
9543 (test-xfail-XPG4/unistd.h/conform): Likewise.
9544 (test-xfail-XPG4/utmpx.h/conform): Likewise.
9545 (test-xfail-POSIX/sched.h/conform): Likewise.
9546 (test-xfail-POSIX/signal.h/conform): Likewise.
9547 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9548 (test-xfail-POSIX/tar.h/conform): Likewise.
9549 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9550 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9551 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9552 (test-xfail-UNIX98/netdb.h/conform): Likewise.
9553 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9554 (test-xfail-UNIX98/sched.h/conform): Likewise.
9555 (test-xfail-UNIX98/signal.h/conform): Likewise.
9556 (test-xfail-UNIX98/stdio.h/conform): Likewise.
9557 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9558 (test-xfail-UNIX98/stropts.h/conform): Likewise.
9559 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9560 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9561 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9562 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9563 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9564 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9565 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9566 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9567 (test-xfail-UNIX98/unistd.h/conform): Likewise.
9568 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9569 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9570 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9571 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9572 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9573 (test-xfail-XOPEN2K/math.h/conform): Likewise.
9574 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9575 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9576 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9577 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9578 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9579 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9580 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9581 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9582 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9583 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9584 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9585 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9586 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9587 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9588 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9589 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9590 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9591 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9592 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9593 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9594 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9595 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9596 (test-xfail-POSIX2008/signal.h/conform): Likewise.
9597 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9598 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9599 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9600 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9601 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9602 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9603 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9604 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9605 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9606 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9607 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9608 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9609 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9610 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9611 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9612 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9613 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9614 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9615 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9616 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9617 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9618 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9619 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9620 (conformtest-cc-flags): Likewise.
9621 ($(conformtest-header-tests): New target.
9622 * conform/check-header-lists.sh: New file.
9623 * conform/run-conformtest.sh: Remove.
9625 * conform/conformtest.pl: Allow ' and \ in values given for
9627 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9629 [POSIX] (sys/types.h): Likewise.
9630 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9632 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9634 * conform/data/signal.h-data (SIGIO): Remove expectation.
9635 [XPG3] (SIGBUS): Do not expect.
9636 [POSIX || XPG3] (SIGPOLL): Likewise.
9637 [POSIX || XPG3] (SIGPROF): Likewise.
9638 [POSIX || XPG3] (SIGSYS): Likewise.
9639 [XPG3] (SIGTRAP): Likewise.
9640 [POSIX || XPG3] (SIGURG): Likewise.
9641 [POSIX || XPG3] (SIGVTALRM): Likewise.
9642 [POSIX || XPG3] (SIGXCPU): Likewise.
9643 [POSIX || XPG3] (SIGXFSZ): Likewise.
9644 [POSIX] (SA_SIGINFO): Expect.
9645 [XPG3] (siginfo_t): Do not expect type or contents.
9646 [POSIX] (si_pid): Do not expect element.
9647 [POSIX] (si_uid): Likewise.
9648 [POSIX] (si_addr): Likewise.
9649 [POSIX] (si_status): Likewise.
9650 [POSIX] (si_band): Likewise.
9651 [XPG4] (si_value): Likewise.
9652 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9653 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9654 [POSIX || XPG3] (ILL_ILLADR): Likewise.
9655 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9656 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9657 [POSIX || XPG3] (ILL_PRVREG): Likewise.
9658 [POSIX || XPG3] (ILL_COPROC): Likewise.
9659 [POSIX || XPG3] (ILL_BADSTK): Likewise.
9660 [POSIX || XPG3] (FPE_INTDIV): Likewise.
9661 [POSIX || XPG3] (FPE_INTOVF): Likewise.
9662 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9663 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9664 [POSIX || XPG3] (FPE_FLTUND): Likewise.
9665 [POSIX || XPG3] (FPE_FLTRES): Likewise.
9666 [POSIX || XPG3] (FPE_FLTINV): Likewise.
9667 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9668 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9669 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9670 [POSIX || XPG3] (BUS_ADRALN): Likewise.
9671 [POSIX || XPG3] (BUS_ADRERR): Likewise.
9672 [POSIX || XPG3] (BUS_OBJERR): Likewise.
9673 [POSIX || XPG3] (CLD_EXITED): Likewise.
9674 [POSIX || XPG3] (CLD_KILLED): Likewise.
9675 [POSIX || XPG3] (CLD_DUMPED): Likewise.
9676 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9677 [POSIX || XPG3] (CLD_STOPPED): Likewise.
9678 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9679 [POSIX || XPG3] (POLL_IN): Likewise.
9680 [POSIX || XPG3] (POLL_OUT): Likewise.
9681 [POSIX || XPG3] (POLL_MSG): Likewise.
9682 [POSIX || XPG3] (POLL_ERR): Likewise.
9683 [POSIX || XPG3] (POLL_PRI): Likewise.
9684 [POSIX || XPG3] (POLL_HUP): Likewise.
9685 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9686 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9687 (SIG*): Do not allow.
9688 [XPG3] (si_*): Likewise.
9689 [XPG3] (SI_*): Likewise.
9690 [XPG3 || XPG4] (sigev_*): Likewise.
9691 [XPG3 || XPG4] (SIGEV_*): Likewise.
9692 [XPG3 || XPG4] (sival_*): Likewise.
9693 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9694 [POSIX || XPG3] (BUS_*): Likewise.
9695 [POSIX || XPG3] (CLD_*): Likewise.
9696 [POSIX || XPG3] (FPE_*): Likewise.
9697 [POSIX || XPG3] (ILL_*): Likewise.
9698 [POSIX || XPG3] (POLL_*): Likewise.
9699 [POSIX || XPG3] (SEGV_*): Likewise.
9700 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9701 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9702 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9703 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9704 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9705 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9706 Specify type and value.
9707 (TVERSLEN): Likewise.
9708 (REGTYPE): Likewise.
9709 (AREGTYPE): Likewise.
9710 (LNKTYPE): Likewise.
9711 (SYMTYPE): Likewise.
9712 (CHRTYPE): Likewise.
9713 (BLKTYPE): Likewise.
9714 (DIRTYPE): Likewise.
9715 (FIFOTYPE): Likewise.
9716 (CONTTYPE): Likewise.
9721 (TUWRITE): Likewise.
9724 (TGWRITE): Likewise.
9727 (TOWRITE): Likewise.
9729 [POSIX] (TSVTX): Expect constant.
9731 2014-03-06 Joseph Myers <joseph@codesourcery.com>
9733 * Makefile (tests): Change dependencies to ....
9734 (tests-special): ... additions to this variable.
9735 (tests): Depend on $(tests-special).
9736 * Makerules (check-abi-list): New variable.
9737 (check-abi): Depend on $(check-abi-list).
9738 [$(subdir) = elf] (tests-special): Add
9739 $(objpfx)check-abi-libc.out.
9740 [$(build-shared) = yes && subdir] (tests-special): Add
9742 [$(build-shared) = yes && subdir] (tests): Do not depend on
9744 * Rules (tests): Depend on $(tests-special).
9745 (xtests): Depend on $(xtests-special).
9746 * catgets/Makefile (tests): Change dependencies to ....
9747 (tests-special): ... additions to this variable.
9748 * conform/Makefile (tests): Change dependencies to ....
9749 (tests-special): ... additions to this variable.
9750 * elf/Makefile (tests): Change dependencies to ....
9751 (tests-special): ... additions to this variable.
9752 * grp/Makefile (tests): Change dependencies to ....
9753 (tests-special): ... additions to this variable.
9754 * iconv/Makefile (xtests): Change dependencies to ....
9755 (xtests-special): ... additions to this variable.
9756 * iconvdata/Makefile (tests): Change dependencies to ....
9757 (tests-special): ... additions to this variable.
9758 * intl/Makefile (tests): Change dependencies to ....
9759 (tests-special): ... additions to this variable. Also add
9760 $(objpfx)tst-gettext.out.
9761 * io/Makefile (tests): Change dependencies to ....
9762 (tests-special): ... additions to this variable.
9763 * libio/Makefile (tests): Change dependencies to ....
9764 (tests-special): ... additions to this variable.
9765 * malloc/Makefile (tests): Change dependencies to ....
9766 (tests-special): ... additions to this variable.
9767 * misc/Makefile (tests): Change dependencies to ....
9768 (tests-special): ... additions to this variable.
9769 * nptl/Makefile (tests): Change dependencies to ....
9770 (tests-special): ... additions to this variable.
9771 * nptl_db/Makefile (tests): Change dependencies to ....
9772 (tests-special): ... additions to this variable.
9773 * posix/Makefile (tests): Change dependencies to ....
9774 (tests-special): ... additions to this variable.
9775 (xtests): Change dependencies to ....
9776 (xtests-special): ... additions to this variable.
9777 * resolv/Makefile (tests): Change dependencies to ....
9778 (tests-special): ... additions to this variable.
9779 (xtests): Change dependencies to ....
9780 (xtests-special): ... additions to this variable.
9781 * stdio-common/Makefile (tests): Change dependencies to ....
9782 (tests-special): ... additions to this variable.
9783 (do-tst-unbputc): Remove target.
9784 (do-tst-printf): Likewise.
9785 * stdlib/Makefile (tests): Change dependencies to ....
9786 (tests-special): ... additions to this variable.
9787 * string/Makefile (tests): Change dependencies to ....
9788 (tests-special): ... additions to this variable.
9789 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9790 (tests-special): ... additions to this variable.
9792 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9794 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9796 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9797 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9799 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9800 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9801 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9802 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9803 * conform/data/libgen.h-data [XPG3]: Likewise.
9804 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9805 * conform/data/ndbm.h-data [XPG3]: Likewise.
9806 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9807 * conform/data/netdb.h-data [XPG3]: Likewise.
9808 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9809 * conform/data/poll.h-data [XPG3]: Likewise.
9810 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9811 * conform/data/strings.h-data [XPG3]: Likewise.
9812 * conform/data/stropts.h-data [XPG3]: Likewise.
9813 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9814 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9815 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9817 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9818 * conform/data/sys/time.h-data [XPG3]: Likewise.
9819 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9820 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9821 * conform/data/sys/un.h-data [XPG3]: Likewise.
9822 * conform/data/syslog.h-data [XPG3]: Likewise.
9823 * conform/data/ucontext.h-data [XPG3]: Likewise.
9824 * conform/data/utmpx.h-data [XPG3]: Likewise.
9825 * conform/data/varargs.h-data [UNIX98]: Enable file.
9827 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9829 * math/libm-test.inc (struct test_f_f_data): Move expected results
9830 into structure for each rounding mode.
9831 (struct test_ff_f_data): Likewise.
9832 (struct test_ff_f_data_nexttoward): Likewise.
9833 (struct test_fi_f_data): Likewise.
9834 (struct test_fl_f_data): Likewise.
9835 (struct test_if_f_data): Likewise.
9836 (struct test_fff_f_data): Likewise.
9837 (struct test_c_f_data): Likewise.
9838 (struct test_f_f1_data): Likewise.
9839 (struct test_fF_f1_data): Likewise.
9840 (struct test_ffI_f1_data): Likewise.
9841 (struct test_c_c_data): Likewise.
9842 (struct test_cc_c_data): Likewise.
9843 (struct test_f_i_data): Likewise.
9844 (struct test_ff_i_data): Likewise.
9845 (struct test_f_l_data): Likewise.
9846 (struct test_f_L_data): Likewise.
9847 (struct test_fFF_11_data): Likewise.
9849 (RM_FE_DOWNWARD): Likewise.
9850 (RM_FE_TONEAREST): Likewise.
9851 (RM_FE_TOWARDZERO): Likewise.
9852 (RM_FE_UPWARD): Likewise.
9853 (RUN_TEST_LOOP_f_f): Update references to expected results.
9854 (RUN_TEST_LOOP_2_f): Likewise.
9855 (RUN_TEST_LOOP_fff_f): Likewise.
9856 (RUN_TEST_LOOP_c_f): Likewise.
9857 (RUN_TEST_LOOP_f_f1): Likewise.
9858 (RUN_TEST_LOOP_fF_f1): Likewise.
9859 (RUN_TEST_LOOP_fI_f1): Likewise.
9860 (RUN_TEST_LOOP_ffI_f1): Likewise.
9861 (RUN_TEST_LOOP_c_c): Likewise.
9862 (RUN_TEST_LOOP_cc_c): Likewise.
9863 (RUN_TEST_LOOP_f_i): Likewise.
9864 (RUN_TEST_LOOP_f_i_tg): Likewise.
9865 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9866 (RUN_TEST_LOOP_f_b): Likewise.
9867 (RUN_TEST_LOOP_f_b_tg): Likewise.
9868 (RUN_TEST_LOOP_f_l): Likewise.
9869 (RUN_TEST_LOOP_f_L): Likewise.
9870 (RUN_TEST_LOOP_fFF_11): Likewise.
9871 * math/gen-libm-test.pl (parse_args): Output four copies of
9872 expected results for each test.
9874 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9875 (__ASSUME_UTIMES): Remove.
9876 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9877 (__ASSUME_UTIMES): Likewise.
9879 * math/gen-auto-libm-tests.c: Update comment on output format.
9880 (output_for_one_input_case): Generate before-rounding and
9881 after-rounding information as conditions on output flags not
9882 floating-point format.
9883 * math/auto-libm-test-out: Regenerated.
9884 * math/gen-libm-test.pl (cond_value): New function.
9885 (or_cond_value): Use cond_value.
9886 (generate_testfile): Handle conditional exceptions.
9888 2014-03-05 Joseph Myers <joseph@codesourcery.com>
9890 * math/libm-test.inc (max_valid_error): New variable.
9891 (init_max_error): Take new argument specifying whether function
9892 results are exactly determined. Set max_valid_error and bound
9893 other variables for errors based on this argument.
9894 (set_max_error): Do not record results above max_valid_error.
9895 (check_float_internal): Only accept errors of up to 0.5ulps if
9896 also at most max_valid_error.
9897 (START): Take new argument EXACT and pass it to init_max_error.
9898 (acos_test): Update call to START.
9899 (acos_test_tonearest): Likewise.
9900 (acos_test_towardzero): Likewise.
9901 (acos_test_downward): Likewise.
9902 (acos_test_upward): Likewise.
9903 (acosh_test): Likewise.
9904 (asin_test): Likewise.
9905 (asin_test_tonearest): Likewise.
9906 (asin_test_towardzero): Likewise.
9907 (asin_test_downward): Likewise.
9908 (asin_test_upward): Likewise.
9909 (asinh_test): Likewise.
9910 (atan_test): Likewise.
9911 (atanh_test): Likewise.
9912 (atan2_test): Likewise.
9913 (cabs_test): Likewise.
9914 (cacos_test): Likewise.
9915 (cacosh_test): Likewise.
9916 (carg_test): Likewise.
9917 (casin_test): Likewise.
9918 (casinh_test): Likewise.
9919 (catan_test): Likewise.
9920 (catanh_test): Likewise.
9921 (cbrt_test): Likewise.
9922 (ccos_test): Likewise.
9923 (ccosh_test): Likewise.
9924 (ceil_test): Likewise.
9925 (cexp_test): Likewise.
9926 (cimag_test): Likewise.
9927 (clog_test): Likewise.
9928 (clog10_test): Likewise.
9929 (conj_test): Likewise.
9930 (copysign_test): Likewise.
9931 (cos_test): Likewise.
9932 (cos_test_tonearest): Likewise.
9933 (cos_test_towardzero): Likewise.
9934 (cos_test_downward): Likewise.
9935 (cos_test_upward): Likewise.
9936 (cosh_test): Likewise.
9937 (cosh_test_tonearest): Likewise.
9938 (cosh_test_towardzero): Likewise.
9939 (cosh_test_downward): Likewise.
9940 (cosh_test_upward): Likewise.
9941 (cpow_test): Likewise.
9942 (cproj_test): Likewise.
9943 (creal_test): Likewise.
9944 (csin_test): Likewise.
9945 (csinh_test): Likewise.
9946 (csqrt_test): Likewise.
9947 (ctan_test): Likewise.
9948 (ctan_test_tonearest): Likewise.
9949 (ctan_test_towardzero): Likewise.
9950 (ctan_test_downward): Likewise.
9951 (ctan_test_upward): Likewise.
9952 (ctanh_test): Likewise.
9953 (ctanh_test_tonearest): Likewise.
9954 (ctanh_test_towardzero): Likewise.
9955 (ctanh_test_downward): Likewise.
9956 (ctanh_test_upward): Likewise.
9957 (erf_test): Likewise.
9958 (erfc_test): Likewise.
9959 (exp_test): Likewise.
9960 (exp_test_tonearest): Likewise.
9961 (exp_test_towardzero): Likewise.
9962 (exp_test_downward): Likewise.
9963 (exp_test_upward): Likewise.
9964 (exp10_test): Likewise.
9965 (exp10_test_tonearest): Likewise.
9966 (exp10_test_towardzero): Likewise.
9967 (exp10_test_downward): Likewise.
9968 (exp10_test_upward): Likewise.
9969 (pow10_test): Likewise.
9970 (exp2_test): Likewise.
9971 (expm1_test): Likewise.
9972 (expm1_test_tonearest): Likewise.
9973 (expm1_test_towardzero): Likewise.
9974 (expm1_test_downward): Likewise.
9975 (expm1_test_upward): Likewise.
9976 (fabs_test): Likewise.
9977 (fdim_test): Likewise.
9978 (floor_test): Likewise.
9979 (fma_test): Likewise.
9980 (fma_test_towardzero): Likewise.
9981 (fma_test_downward): Likewise.
9982 (fma_test_upward): Likewise.
9983 (fmax_test): Likewise.
9984 (fmin_test): Likewise.
9985 (fmod_test): Likewise.
9986 (fpclassify_test): Likewise.
9987 (frexp_test): Likewise.
9988 (hypot_test): Likewise.
9989 (ilogb_test): Likewise.
9990 (isfinite_test): Likewise.
9991 (finite_test): Likewise.
9992 (isgreater_test): Likewise.
9993 (isgreaterequal_test): Likewise.
9994 (isinf_test): Likewise.
9995 (isless_test): Likewise.
9996 (islessequal_test): Likewise.
9997 (islessgreater_test): Likewise.
9998 (isnan_test): Likewise.
9999 (isnormal_test): Likewise.
10000 (issignaling_test): Likewise.
10001 (isunordered_test): Likewise.
10002 (j0_test): Likewise.
10003 (j1_test): Likewise.
10004 (jn_test): Likewise.
10005 (ldexp_test): Likewise.
10006 (lgamma_test): Likewise.
10007 (gamma_test): Likewise.
10008 (lrint_test): Likewise.
10009 (lrint_test_tonearest): Likewise.
10010 (lrint_test_towardzero): Likewise.
10011 (lrint_test_downward): Likewise.
10012 (lrint_test_upward): Likewise.
10013 (llrint_test): Likewise.
10014 (llrint_test_tonearest): Likewise.
10015 (llrint_test_towardzero): Likewise.
10016 (llrint_test_downward): Likewise.
10017 (llrint_test_upward): Likewise.
10018 (log_test): Likewise.
10019 (log10_test): Likewise.
10020 (log1p_test): Likewise.
10021 (log2_test): Likewise.
10022 (logb_test): Likewise.
10023 (logb_test_downward): Likewise.
10024 (lround_test): Likewise.
10025 (llround_test): Likewise.
10026 (modf_test): Likewise.
10027 (nearbyint_test): Likewise.
10028 (nextafter_test): Likewise.
10029 (nexttoward_test): Likewise.
10030 (pow_test): Likewise.
10031 (pow_test_tonearest): Likewise.
10032 (pow_test_towardzero): Likewise.
10033 (pow_test_downward): Likewise.
10034 (pow_test_upward): Likewise.
10035 (remainder_test): Likewise.
10036 (drem_test): Likewise.
10037 (remainder_test_tonearest): Likewise.
10038 (drem_test_tonearest): Likewise.
10039 (remainder_test_towardzero): Likewise.
10040 (drem_test_towardzero): Likewise.
10041 (remainder_test_downward): Likewise.
10042 (drem_test_downward): Likewise.
10043 (remainder_test_upward): Likewise.
10044 (drem_test_upward): Likewise.
10045 (remquo_test): Likewise.
10046 (rint_test): Likewise.
10047 (rint_test_tonearest): Likewise.
10048 (rint_test_towardzero): Likewise.
10049 (rint_test_downward): Likewise.
10050 (rint_test_upward): Likewise.
10051 (round_test): Likewise.
10052 (scalb_test): Likewise.
10053 (scalbn_test): Likewise.
10054 (scalbln_test): Likewise.
10055 (signbit_test): Likewise.
10056 (sin_test): Likewise.
10057 (sin_test_tonearest): Likewise.
10058 (sin_test_towardzero): Likewise.
10059 (sin_test_downward): Likewise.
10060 (sin_test_upward): Likewise.
10061 (sincos_test): Likewise.
10062 (sinh_test): Likewise.
10063 (sinh_test_tonearest): Likewise.
10064 (sinh_test_towardzero): Likewise.
10065 (sinh_test_downward): Likewise.
10066 (sinh_test_upward): Likewise.
10067 (sqrt_test): Likewise.
10068 (sqrt_test_tonearest): Likewise.
10069 (sqrt_test_towardzero): Likewise.
10070 (sqrt_test_downward): Likewise.
10071 (sqrt_test_upward): Likewise.
10072 (tan_test): Likewise.
10073 (tan_test_tonearest): Likewise.
10074 (tan_test_towardzero): Likewise.
10075 (tan_test_downward): Likewise.
10076 (tan_test_upward): Likewise.
10077 (tanh_test): Likewise.
10078 (tgamma_test): Likewise.
10079 (trunc_test): Likewise.
10080 (y0_test): Likewise.
10081 (y1_test): Likewise.
10082 (yn_test): Likewise.
10083 (significand_test): Likewise.
10085 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10086 individual tests in comment.
10087 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10088 (prev_max_error): New variable.
10089 (prev_real_max_error): Likewise.
10090 (prev_imag_max_error): Likewise.
10091 (compare_ulp_data): Don't refer to test names in comment.
10092 (find_test_ulps): Remove function.
10093 (find_function_ulps): Likewise.
10094 (find_complex_function_ulps): Likewise.
10095 (init_max_error): Take function name as argument. Look up ulps
10097 (print_ulps): Remove function.
10098 (print_max_error): Use prev_max_error instead of calling
10099 find_function_ulps.
10100 (print_complex_max_error): Use prev_real_max_error and
10101 prev_imag_max_error instead of calling find_complex_function_ulps.
10102 (check_float_internal): Take max_ulp parameter instead of calling
10103 find_test_ulps. Don't call print_ulps.
10104 (check_float): Update call to check_float_internal.
10105 (check_complex): Update calls to check_float_internal.
10106 (START): Pass argument to init_max_error.
10107 * math/gen-libm-test.pl (%results): Don't include "kind"
10109 (parse_ulps): Don't handle ulps of individual tests.
10110 (print_ulps_file): Likewise.
10111 (output_ulps): Likewise.
10112 * math/README.libm-test: Update.
10113 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10115 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10116 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10117 * sysdeps/arm/libm-test-ulps: Likewise.
10118 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10119 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10120 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10121 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10122 * sysdeps/microblaze/libm-test-ulps: Likewise.
10123 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10124 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10125 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10126 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10127 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10128 * sysdeps/sh/libm-test-ulps: Likewise.
10129 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10130 * sysdeps/tile/libm-test-ulps: Likewise.
10131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10133 2014-03-04 Joseph Myers <joseph@codesourcery.com>
10135 * math/libm-test.inc (print_complex_max_error): Check separately
10136 whether real and imaginary errors are within allowed range and
10137 pass 0 to print_complex_function_ulps instead of value within
10140 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10142 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10144 (get_handles_fopen): Likewise.
10145 (do_write_test): Likewise.
10147 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10149 * libio/fileops.c (do_ftell): Use cached offset when
10151 * libio/iofwide.c (do_ftell_wide): Likewise.
10152 * libio/iofdopen.c (_IO_new_fdopen): Don't use
10154 * libio/wfileops.c (_IO_fwide): Don't cache offset.
10157 * libio/libioP.h (get_file_offset): New function.
10158 * libio/fileops.c (get_file_offset): Likewise.
10159 (do_ftell): Likewise.
10160 (_IO_new_file_seekoff): Split out ftell logic.
10161 * libio/wfileops.c (do_ftell_wide): Likewise.
10162 (_IO_wfile_seekoff): Split out ftell logic.
10163 * libio/tst-ftell-active-handler.c: New test case.
10164 * libio/Makefile (tests): Add it.
10166 2014-03-03 Roland McGrath <roland@hack.frob.com>
10168 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10169 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10171 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10174 * nscd/connections.c (nscd_init): Call do_exit.
10175 (start_threads): Call do_exit and notify_parent.
10176 (begin_drop_privileges): Call do_exit.
10177 (finish_drop_privileges): Likewise.
10178 * nscd/selinux.c (preserve_capabilities): Likewise.
10179 (install_real_capabilities): Likewise.
10180 (nscd_selinux_enabled): Likewise.
10181 (avc_create_thread): Likewise.
10182 (avc_alloc_lock): Likewise.
10183 (nscd_avc_init): Likewise.
10184 * nscd/nscd.c (parent_fd): New static variable.
10185 (main): Create a pipe between parent and child processes.
10186 Skip closing parent_fd.
10187 (monitor_child): New function.
10188 (do_exit): Likewise.
10189 (notify_parent): Likewise.
10190 * nscd/nscd.h (notify_parent): Likewise.
10191 (do_exit): Likewise.
10193 2014-03-03 Carlos O'Donell <carlos@redhat.com>
10195 * malloc/malloc.c (__libc_calloc): Revert last change.
10197 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10201 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10203 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10207 (__libc_ifunc_impl_list): Likewise.
10208 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10209 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10210 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10211 * string/strrchr.c: Define STRRCHR.
10213 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
10215 * benchtest/bench-strtok.c (simple_strtok): Delete.
10216 (strtok_string): Use as benchmark.
10217 * string/strtok (STRTOK): New macro.
10219 2014-02-28 Carlos O'Donell <carlos@redhat.com>
10221 * manual/threads.texi: Add header and standard comments to all
10224 * elf/dl-lookup.c (check_match): New function.
10225 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10226 (do_lookup_x): Remove nested function check_match. Use non-nested
10227 function check_match.
10229 2014-02-28 Roland McGrath <roland@hack.frob.com>
10231 * csu/Makefile (generated, before-compile): Use += rather than =.
10232 * catgets/Makefile (generated, generated-dirs): Likewise.
10233 * debug/Makefile (generated): Likewise.
10234 * dlfcn/Makefile (generated): Likewise.
10235 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10236 * iconvdata/Makefile (before-compile, generated): Likewise.
10237 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10238 * libio/Makefile (generated): Likewise.
10239 * malloc/Makefile (generated): Likewise.
10240 * manual/Makefile (generated, generated-dirs): Likewise.
10241 * misc/Makefile (generated): Likewise.
10242 * posix/Makefile (generated): Likewise.
10243 * resolv/Makefile (generated): Likewise.
10244 * sunrpc/Makefile (generated, generated-dirs): Likewise.
10245 * timezone/Makefile (generated, generated-dirs): Likewise.
10247 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10249 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10251 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10252 power8 implementation.
10253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10254 file: POWER8 llround ifunc implementation.
10255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10256 (__lllround): Add POWER8 implementation.
10257 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10258 POWER8 llround implementation.
10260 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10261 power8 implementation.
10262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10263 file: POWER8 llrint ifunc implementation.
10264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10265 Add POWER8 implementation.
10266 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10267 POWER8 llrint implementation.
10269 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10270 power8 implementation.
10271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10272 file: POWER8 finite ifunc implementation.
10273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10274 Add POWER8 implementation.
10275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10277 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10278 POWER8 finite implementation.
10279 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10281 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10282 power8 implementation.
10283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10284 file: POWER8 isinf ifunc implementation.
10285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10286 POWER8 implementation.
10287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10289 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10290 isinf implementation.
10291 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10293 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10294 (INIT_ARCH): Add hwcap2 initialization.
10295 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10296 power8 implementation.
10297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10298 file: POWER8 isnan ifunc implementation.
10299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10300 POWER8 implementation.
10301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10303 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10304 isnan implementation.
10305 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10307 2014-02-27 Joey Ye <joey.ye@arm.com>
10309 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10310 (_FP_NANFRAC_Q): Set to zero.
10312 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10315 * math/auto-libm-test-in: New test inputs.
10316 * math/auto-libm-test-out: Regenerate.
10317 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10320 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10322 2014-02-27 Joseph Myers <joseph@codesourcery.com>
10324 * scripts/evaluate-test.sh: Take new argument indicating whether
10325 failure is expected.
10326 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10327 indicating whether failure is expected.
10328 * conform/Makefile (test-xfail-run-conformtest): New variable.
10329 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10331 * posix/Makefile (test-xfail-annexc): New variable.
10332 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10334 2014-02-26 Joseph Myers <joseph@codesourcery.com>
10336 * argp/Makefile: Include Makeconfig immediately after defining
10338 * assert/Makefile: Likewise.
10339 * benchtests/Makefile: Likewise.
10340 * catgets/Makefile: Likewise.
10341 * conform/Makefile: Likewise.
10342 * crypt/Makefile: Likewise.
10343 * csu/Makefile: Likewise.
10344 (all): Remove target.
10345 * ctype/Makefile: Include Makeconfig immediately after defining
10347 * debug/Makefile: Likewise.
10348 * dirent/Makefile: Likewise.
10349 * dlfcn/Makefile: Likewise.
10350 * gmon/Makefile: Likewise.
10351 * gnulib/Makefile: Likewise.
10352 * grp/Makefile: Likewise.
10353 * gshadow/Makefile: Likewise.
10354 * hesiod/Makefile: Likewise.
10355 * hurd/Makefile: Likewise.
10356 (all): Remove target.
10357 * iconvdata/Makefile: Include Makeconfig immediately after
10359 * inet/Makefile: Likewise.
10360 * intl/Makefile: Likewise.
10361 * io/Makefile: Likewise.
10362 * libio/Makefile: Likewise.
10363 (all): Remove target.
10364 * locale/Makefile: Include Makeconfig immediately after defining
10366 * login/Makefile: Likewise.
10367 * mach/Makefile: Likewise.
10368 (all): Remove target.
10369 * malloc/Makefile: Include Makeconfig immediately after defining
10371 (all): Remove target.
10372 * manual/Makefile: Include Makeconfig immediately after defining
10374 * math/Makefile: Likewise.
10375 * misc/Makefile: Likewise.
10376 * nis/Makefile: Likewise.
10377 * nss/Makefile: Likewise.
10378 * po/Makefile: Likewise.
10379 (all): Remove target.
10380 * posix/Makefile: Include Makeconfig immediately after defining
10382 * pwd/Makefile: Likewise.
10383 * resolv/Makefile: Likewise.
10384 * resource/Makefile: Likewise.
10385 * rt/Makefile: Likewise.
10386 * setjmp/Makefile: Likewise.
10387 * shadow/Makefile: Likewise.
10388 * signal/Makefile: Likewise.
10389 * socket/Makefile: Likewise.
10390 * soft-fp/Makefile: Likewise.
10391 * stdio-common/Makefile: Likewise.
10392 * stdlib/Makefile: Likewise.
10393 * streams/Makefile: Likewise.
10394 * string/Makefile: Likewise.
10395 * sunrpc/Makefile: Likewise.
10396 (all): Remove target.
10397 * sysvipc/Makefile: Include Makeconfig immediately after defining
10399 * termios/Makefile: Likewise.
10400 * time/Makefile: Likewise.
10401 * timezone/Makefile: Likewise.
10402 (all): Remove target.
10403 * wcsmbs/Makefile: Include Makeconfig immediately after defining
10405 * wctype/Makefile: Likewise.
10407 2014-02-26 Steve Ellcey <sellcey@mips.com>
10409 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10410 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10411 (libc_feholdexcept_setround_mips): Ditto.
10412 (libc_feholdsetround): New.
10413 (libc_feholdsetroundf): New.
10414 (libc_feholdsetroundl): New.
10415 (libc_feupdateenv_test_mips): New.
10416 (libc_feupdateenv_test): New.
10417 (libc_feupdateenv_testf): New.
10418 (libc_feupdateenv_testl): New.
10419 (libc_feresetround): New.
10420 (libc_feresetroundf): New.
10421 (libc_feresetroundl): New.
10422 (libc_fetestexcept_mips): New.
10423 (libc_fetestexcept): New.
10424 (libc_fetestexceptf): New.
10425 (libc_fetestexceptl): New.
10426 (HAVE_RM_CTX): New.
10427 (libc_feholdexcept_setround_mips_ctx): New.
10428 (libc_feholdexcept_setround_ctx): New.
10429 (libc_feholdexcept_setroundf_ctx): New.
10430 (libc_feholdexcept_setroundl_ctx): New.
10431 (libc_fesetenv_mips_ctx): New.
10432 (libc_fesetenv_ctx): New.
10433 (libc_fesetenv_ctxf): New.
10434 (libc_fesetenv_ctxl): New.
10435 (libc_feupdateenv_mips_ctx): New.
10436 (libc_feupdateenv_ctx): New.
10437 (libc_feupdateenvf_ctx): New.
10438 (libc_feupdateenvl_ctx): New.
10439 (libc_feholdsetround_mips_ctx): New.
10440 (libc_feholdsetround_ctx): New.
10441 (libc_feholdsetroundf_ctx): New.
10442 (libc_feholdsetroundl_ctx): New.
10443 (libc_feresetround_mips_ctx): New.
10444 (libc_feresetround_ctx): New.
10445 (libc_feresetroundf_ctx): New.
10446 (libc_feresetroundl_ctx): New.
10448 2014-02-26 Carlos O'Donell <carlos@redhat.com>
10450 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10452 * manual/ipc.texi: New file.
10453 * manual/Makefile (chapters): Add ipc.
10454 * manual/job.texi: Add "Inter-Process Communication" to next.
10455 * manual/process.texi: Add "Inter-Process Communication" to prev.
10457 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10461 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
10463 * malloc/malloc.c (__libc_calloc): Simplify implementation.
10465 * manual/arith.texi: Fix spaces after sentences.
10466 * manual/charset.texi: Likewise.
10467 * manual/errno.texi: Likewise.
10468 * manual/install.texi: Likewise.
10469 * manual/llio.texi: Likewise.
10470 * manual/locale.texi: Likewise.
10471 * manual/maint.texi: Likewise.
10472 * manual/math.texi: Likewise.
10473 * manual/memory.texi: Likewise.
10474 * manual/message.texi: Likewise.
10475 * manual/probes.texi: Likewise.
10476 * manual/resource.texi: Likewise.
10477 * manual/signal.texi: Likewise.
10478 * manual/socket.texi: Likewise.
10479 * manual/stdio.texi: Likewise.
10480 * manual/string.texi: Likewise.
10481 * manual/time.texi: Likewise.
10482 * manual/users.texi: Likewise.
10484 2014-02-25 Carlos O'Donell <carlos@redhat.com>
10487 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10488 _DEFAULT_SOURCE is defined.
10490 2014-02-25 Ulrich Drepper <drepper@gmail.com>
10491 Carlos O'Donell <carlos@redhat.com>
10494 * elf/dl-tls.c (_dl_count_modids): New function.
10495 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10496 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10497 audit library and increment generation counter.
10498 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10499 * elf/tst-audit9.c: New file.
10500 * elf/tst-auditmod9a.c: New file.
10501 * elf/tst-auditmod9b.c: New file.
10502 * elf/Makefile: Add rules to build and run tst-audit9.
10504 2014-02-25 Florian Weimer <fweimer@redhat.com>
10507 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10509 2014-02-25 Will Newton <will.newton@linaro.org>
10511 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10512 (__longjmp): Restore sp and lr before restoring callee
10513 saved registers. Add longjmp and longjmp_target
10514 SystemTap probe point.
10515 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10516 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10517 Define to zero to match jmpbuf layout.
10518 * sysdeps/arm/setjmp.S: Include stap-probe.h.
10519 (__sigsetjmp): Save sp and lr before saving callee
10520 saved registers. Add setjmp SystemTap probe point.
10522 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10524 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10526 2014-02-24 Andreas Schwab <schwab@suse.de>
10529 * elf/pldd.c (wait_for_ptrace_stop): New function.
10530 (main): Call it after attaching.
10532 2014-02-22 Roland McGrath <roland@hack.frob.com>
10534 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10535 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10536 Versions files is now verboten.
10537 * hurd/Versions (libc: GLIBC_2.0):
10538 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10539 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10540 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10541 * mach/Versions: Likewise.
10543 * csu/Versions: Remove unused %include.
10544 * resolv/Versions: Likewise.
10546 2014-02-21 Joseph Myers <joseph@codesourcery.com>
10548 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10549 ($(objpfx)check-local-headers.out): Likewise.
10550 ($(objpfx)begin-end-check.out): Likewise.
10551 * Makerules (check-abi-%.out): Likewise.
10552 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10553 ($(objpfx)test2.cat): Likewise.
10554 ($(objpfx)de/libc.cat): Likewise.
10555 ($(objpfx)test-gencat.out): Likewise.
10556 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10557 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10558 ($(objpfx)noload-mem): Likewise.
10559 ($(objpfx)tst-pathopt.out): Likewise.
10560 ($(objpfx)tst-rtld-load-self.out): Likewise.
10561 ($(objpfx)tst-array1-cmp.out): Likewise.
10562 ($(objpfx)tst-array1-static-cmp.out): Likewise.
10563 ($(objpfx)tst-array2-cmp.out): Likewise.
10564 ($(objpfx)tst-array3-cmp.out): Likewise.
10565 ($(objpfx)tst-array4-cmp.out): Likewise.
10566 ($(objpfx)tst-array5-cmp.out): Likewise.
10567 ($(objpfx)tst-array5-static-cmp.out): Likewise.
10568 ($(objpfx)check-textrel.out): Likewise.
10569 ($(objpfx)check-execstack.out): Likewise.
10570 ($(objpfx)check-localplt.out): Likewise.
10571 ($(objpfx)order2-cmp.out): Likewise.
10572 ($(objpfx)tst-leaks1-mem): Likewise.
10573 ($(objpfx)tst-leaks1-static-mem): Likewise.
10574 ($(objpfx)tst-initorder-cmp.out): Likewise.
10575 ($(objpfx)tst-initorder2-cmp.out): Likewise.
10576 ($(objpfx)tst-unused-dep.out): Likewise.
10577 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10578 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10579 * iconv/Makefile (test-iconvconfig): Likewise.
10580 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10581 ($(objpfx)iconv-test.out): Likewise.
10582 ($(objpfx)tst-tables.out): Likewise.
10583 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10584 ($(objpfx)tst-gettext.out): Likewise.
10585 ($(objpfx)tst-translit.out): Likewise.
10586 ($(objpfx)tst-gettext2.out): Likewise.
10587 ($(objpfx)tst-gettext4.out): Likewise.
10588 ($(objpfx)tst-gettext6.out): Likewise.
10589 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10590 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10591 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10592 ($(objpfx)tst-fopenloc-mem.out): Likewise.
10593 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10594 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10595 * posix/Makefile ($(objpfx)globtest.out): Likewise.
10596 ($(objpfx)wordexp-tst.out): Likewise.
10597 ($(objpfx)annexc.out): Likewise.
10598 ($(objpfx)tst-fnmatch-mem): Likewise.
10599 ($(objpfx)bug-regex2-mem): Likewise.
10600 ($(objpfx)bug-regex14-mem): Likewise.
10601 ($(objpfx)bug-regex21-mem): Likewise.
10602 ($(objpfx)bug-regex31-mem): Likewise.
10603 ($(objpfx)tst-vfork3-mem): Likewise.
10604 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10605 ($(objpfx)tst-pcre-mem): Likewise.
10606 ($(objpfx)tst-boost-mem): Likewise.
10607 ($(objpfx)tst-getconf.out): Likewise.
10608 ($(objpfx)bug-ga2-mem): Likewise.
10609 ($(objpfx)bug-glob2-mem): Likewise.
10610 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10611 ($(objpfx)mtrace-tst-leaks2): Likewise.
10612 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10613 ($(objpfx)tst-printf.out): Likewise.
10614 ($(objpfx)tst-setvbuf1.out): Likewise.
10615 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10616 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10617 ($(objpfx)tst-fmtmsg.out): Likewise.
10618 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10619 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10621 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10622 * bits/sigaction.h [__USE_MISC]: Likewise.
10623 * bits/waitstatus.h: Update #endif comments.
10624 * ctype/ctype.h: Likewise.
10625 * dirent/dirent.h: Likewise.
10626 [__USE_MISC]: Remove redundant conditionals.
10627 * grp/grp.h: Update #endif comments.
10628 [__USE_GNU]: Remove redundant conditionals.
10629 [__USE_MISC]: Likewise.
10630 * inet/netinet/in.h [__USE_GNU]: Likewise.
10631 * io/sys/stat.h [__USE_MISC]: Likewise.
10632 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10633 * libio/bits/stdio.h: Update #endif comments.
10634 [__USE_MISC]: Remove redundant conditionals.
10635 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10636 * libio/stdio.h: Update #endif comments.
10637 [__USE_MISC]: Remove redundant conditionals.
10638 * math/bits/math-finite.h [__USE_MISC]: Likewise.
10639 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10640 * math/math.h: Update #else and #endif comments.
10641 [__USE_MISC]: Remove redundant conditionals.
10642 * misc/sys/uio.h: Update #endif comments.
10643 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10644 * posix/glob.h [__USE_MISC]: Likewise.
10645 * posix/sys/types.h: Update #endif comments.
10646 [__USE_MISC]: Remove redundant conditionals.
10647 * posix/sys/wait.h: Update #endif comments.
10648 [__USE_MISC]: Remove redundant conditionals.
10649 * posix/unistd.h: Update #endif comments.
10650 [__USE_MISC]: Remove redundant conditionals.
10651 * pwd/pwd.h [__USE_GNU]: Likewise.
10652 [__USE_MISC]: Likewise.
10653 * resolv/netdb.h [__USE_GNU]: Likewise.
10654 * signal/signal.h: Update #endif comments.
10655 [__USE_MISC]: Remove redundant conditionals.
10656 * stdlib/stdlib.h: Update #else and #endif comments.
10657 [__USE_MISC]: Remove redundant conditionals.
10658 [__USE_GNU]: Likewise.
10659 * string/bits/string2.h [__USE_MISC]: Likewise.
10660 * string/string.h: Update #endif comments.
10661 [__USE_MISC]: Remove redundant conditionals.
10662 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10664 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10665 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10666 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10668 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10670 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10672 [__USE_MISC]: Remove redundant conditionals.
10673 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10674 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10675 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10676 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10677 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10679 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10680 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10682 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10683 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10685 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10687 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10688 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10690 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10692 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10693 * sysdeps/x86/bits/string.h: Update #endif comments.
10694 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10696 * time/sys/time.h: Update #endif comments.
10697 * time/time.h: Likewise.
10698 [__USE_MISC]: Remove redundant conditionals.
10700 2014-02-21 Yury Gribov <y.gribov@samsung.com>
10703 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10705 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
10707 * Versions.def (librt): Add GLIBC_2.17.
10709 2014-02-21 Adam Conrad <adconrad@0c3.net>
10711 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10712 synonym for _SYS_AUXV_H to allow direct inclusion.
10713 * sysdeps/sparc/bits/hwcap.h: Likewise.
10714 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10715 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10716 * sysdeps/sparc/sysdep.h: Likewise.
10718 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10720 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10722 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10724 * benchtests/bench-strrchr.c: Print length instead of position.
10726 2014-02-20 Joseph Myers <joseph@codesourcery.com>
10729 * sysdeps/unix/sysv/linux/kernel-features.h
10730 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10731 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10732 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10733 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10735 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10736 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10737 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10738 (__ASSUME_SENDMMSG): Define instead of using previous
10739 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10740 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10741 (__ASSUME_SENDMMSG_SYSCALL): Define.
10742 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10743 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10745 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10746 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10748 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10749 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10751 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10752 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10753 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10754 [__ASSUME_SENDMMSG]: Change conditionals to
10755 [__ASSUME_SENDMMSG_SOCKETCALL].
10756 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10757 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10759 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10760 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10762 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10763 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10764 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10765 [!__ASSUME_SENDMMSG]: Change conditional to
10766 [!__ASSUME_SENDMMSG_SOCKETCALL].
10767 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10768 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10772 * sysdeps/unix/sysv/linux/kernel-features.h
10773 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10774 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10775 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10776 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10777 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10778 [__i386__ || __sparc__]
10779 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10780 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10781 (__ASSUME_RECVMMSG): Define instead of using previous
10782 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10783 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10784 (__ASSUME_RECVMMSG_SYSCALL): Define.
10785 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10786 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10788 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10789 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10791 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10792 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10794 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10795 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10796 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10797 [__ASSUME_RECVMMSG]: Change condition to
10798 [__ASSUME_RECVMMSG_SOCKETCALL].
10799 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10800 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10802 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10803 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10804 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10806 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10807 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10808 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10809 [!__ASSUME_RECVMMSG]: Change condition to
10810 [!__ASSUME_RECVMMSG_SOCKETCALL].
10811 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10812 (__ASSUME_RECVMMSG_SYSCALL): Define.
10815 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10816 __powerpc__ || __s390__ || __sh__ || __sparc__]
10817 (__ASSUME_SOCKETCALL): Define.
10818 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10819 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10820 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10821 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10822 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10823 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10824 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10825 (__ASSUME_ACCEPT4): Define instead of using previous
10826 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10827 __powerpc__ || __sparc__ || __s390__)] condition.
10828 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10829 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10830 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10831 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10832 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10833 [!__ASSUME_ACCEPT4]: Change condition to
10834 [!__ASSUME_ACCEPT4_SOCKETCALL].
10835 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10836 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10837 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10838 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10839 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10840 __ASSUME_ACCEPT4_SYSCALL.
10841 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10842 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10843 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10844 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10845 __ASSUME_ACCEPT4_SYSCALL.
10846 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10847 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10848 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10849 [__ASSUME_ACCEPT4]: Change condition to
10850 [__ASSUME_ACCEPT4_SOCKETCALL].
10851 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10852 (__ASSUME_SOCKETCALL): Define.
10853 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10854 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10855 (__ASSUME_SOCKETCALL): Define.
10856 (__ASSUME_ACCEPT4): Remove.
10857 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10859 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10860 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10862 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10863 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10865 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10867 (HWCAP_ARM_LPAE): Likewise.
10868 (HWCAP_ARM_EVTSTRM): Likewise.
10869 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10870 Add vpfd32, lpae and evtstrm.
10871 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10874 2014-02-19 Joseph Myers <joseph@codesourcery.com>
10876 * math/auto-libm-test-in: Add tests of clog10.
10877 * math/auto-libm-test-out: Regenerated.
10878 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10879 * sysdeps/i386/fpu/libm-test-ulps: Update.
10880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10882 2014-02-18 Andreas Schwab <schwab@suse.de>
10885 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10886 Store non-zero if the second buffer was newly allocated.
10887 (send_dg): Likewise.
10888 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10889 to send_vc and send_dg.
10890 (res_nsend): Pass NULL for ansp2_malloced.
10891 * resolv/res_query.c (__libc_res_nquery): Add parameter
10892 answerp2_malloced and pass it down to __libc_res_nsend.
10893 (res_nquery): Pass additional NULL to __libc_res_nquery.
10894 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10895 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10896 second answer buffer if answerp2_malloced was set.
10897 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10898 (__libc_res_nquerydomain): Add parameter
10899 answerp2_malloced and pass it down to __libc_res_nquery.
10900 (res_nquerydomain): Pass additional NULL to
10901 __libc_res_nquerydomain.
10902 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10903 additional NULL to __libc_res_nsend and __libc_res_nquery.
10904 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10905 additional NULL to __libc_res_nsearch.
10906 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10907 parameter of __libc_res_nsearch to check for separately allocated
10909 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10911 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10912 additional NULL to __libc_res_nquery.
10913 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10914 __libc_res_nsearch.
10915 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10916 * include/resolv.h: Update prototypes of __libc_res_nquery,
10917 __libc_res_nsearch, __libc_res_nsend.
10919 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10921 * math/auto-libm-test-in: Add tests of fma.
10922 * math/auto-libm-test-out: Regenerated.
10923 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10924 (fma_towardzero_test_data): Likewise.
10925 (fma_downward_test_data): Likewise.
10926 (fma_upward_test_data): Likewise.
10927 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10929 (rounding_modes): Add values for new field.
10930 (func_calc_method): Add value mpfr_fff_f.
10931 (func_calc_desc): Add mpfr_fff_f union field.
10932 (test_function): Add field exact_args.
10933 (FUNC): Add macro argument EXACT_ARGS.
10934 (FUNC_mpfr_f_f): Update call to FUNC.
10935 (FUNC_mpfr_f_f): Likewise.
10936 (FUNC_mpfr_ff_f): Likewise.
10937 (FUNC_mpfr_if_f): Likewise.
10938 (FUNC_mpc_c_f): Likewise.
10939 (FUNC_mpc_c_c): Likewise.
10940 (test_functions): Add fma. Update calls to FUNC.
10941 (handle_input_arg): Add argument exact_args.
10942 (add_test): Update call to handle_input_arg.
10943 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10944 (output_for_one_input_case): Update call to calc_generic_results.
10945 Recalculate exact zero results in each rounding mode.
10947 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10948 non-negative before setting low bit.
10949 * math/auto-libm-test-in: Mark one asin test possibly having
10950 spurious underflow.
10951 * math/auto-libm-test-out: Regenerated.
10952 * sysdeps/i386/fpu/libm-test-ulps: Update.
10953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10955 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10957 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10958 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10959 ports/sysdeps/unix/sysv/linux/microblaze.
10960 * README: Add missing listing for microblaze*-*-linux-gnu.
10962 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
10964 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10967 2014-02-16 Mike Frysinger <vapier@gentoo.org>
10969 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10970 * sysdeps/unix/sysv/linux/ia64: Move directory from
10971 ports/sysdeps/unix/sysv/linux/ia64.
10972 * README: Update listing for ia64-*-linux-gnu.
10974 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10975 Joseph Myers <joseph@codesourcery.com>
10977 * Makeconfig (test-name): New variable.
10978 (evaluate-test): Likewise.
10979 * Makerules (do-test-clean): Remove .test-result files.
10980 (common-mostlyclean): Likewise.
10981 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10982 * scripts/evaluate-test.sh: New file.
10984 2014-02-14 Joseph Myers <joseph@codesourcery.com>
10986 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10987 separate $(objpfx)tst-fopenloc-cmp.out and
10988 $(objpfx)tst-fopenloc-mem.out targets.
10989 (tests): Update dependencies.
10990 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10991 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10992 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10993 (tst-rxspencer-no-utf8-ARGS): New variable.
10994 (tst-rxspencer-no-utf8-ENV): Likewise.
10995 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10996 instead of $(objpfx)tst-rxspencer-mem.
10997 ($(objpfx)tst-rxspencer-mem): Change target to
10998 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10999 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11000 * posix/tst-rxspencer-no-utf8.c: New file.
11002 * elf/Makefile ($(objpfx)order.out): Remove rule.
11003 [$(run-built-tests) = yes] (tests): Depend on
11004 $(objpfx)order-cmp.out.
11005 ($(objpfx)order-cmp.out): New rule.
11006 [$(run-built-tests) = yes] (tests): Depend on
11007 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11008 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11009 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11010 $(objpfx)tst-array5-static-cmp.out.
11011 ($(objpfx)tst-array1.out): Remove rule.
11012 ($(objpfx)tst-array1-cmp.out): New rule.
11013 ($(objpfx)tst-array1-static.out): Remove rule.
11014 ($(objpfx)tst-array1-static-cmp.out): New rule.
11015 ($(objpfx)tst-array2.out): Remove rule.
11016 ($(objpfx)tst-array2-cmp.out): New rule.
11017 ($(objpfx)tst-array3.out): Remove rule.
11018 ($(objpfx)tst-array3-cmp.out): New rule.
11019 ($(objpfx)tst-array4.out): Remove rule.
11020 ($(objpfx)tst-array4-cmp.out): New rule.
11021 ($(objpfx)tst-array5.out): Remove rule.
11022 ($(objpfx)tst-array5-cmp.out): New rule.
11023 ($(objpfx)tst-array5-static.out): Remove rule.
11024 ($(objpfx)tst-array5-static-cmp.out): New rule.
11025 [$(run-built-tests) = yes] (tests): Depend on
11026 $(objpfx)order2-cmp.out.
11027 ($(objpfx)order2.out): Remove rule.
11028 ($(objpfx)order2-cmp.out): New rule.
11029 ($(objpfx)tst-initorder.out): Remove rule.
11030 [$(run-built-tests) = yes] (tests): Depend on
11031 $(objpfx)tst-initorder-cmp.out.
11032 ($(objpfx)tst-initorder-cmp.out): New rule.
11033 ($(objpfx)tst-initorder2.out): Remove rule.
11034 [$(run-built-tests) = yes] (tests): Depend on
11035 $(objpfx)tst-initorder2-cmp.out.
11036 ($(objpfx)tst-initorder2-cmp.out): New rule.
11037 [$(run-built-tests) = yes] (tests): Depend on
11038 $(objpfx)tst-unused-dep-cmp.out.
11039 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11040 ($(objpfx)tst-unused-dep-cmp.out): New rule.
11041 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11042 on $(objpfx)tst-setvbuf1-cmp.out.
11043 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11044 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11045 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11046 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11047 ($(objpfx)tst-svc.out): Remove rule.
11048 ($(objpfx)tst-svc-cmp.out): New rule.
11050 2014-02-13 Joseph Myers <joseph@codesourcery.com>
11052 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11053 * ctype/ctype.h [__USE_MISC]: Likewise.
11054 * dirent/dirent.h [__USE_MISC]: Likewise.
11055 * grp/grp.h [__USE_MISC]: Likewise.
11056 * io/fcntl.h [__USE_MISC]: Likewise.
11057 * io/sys/stat.h [__USE_MISC]: Likewise.
11058 * libio/stdio.h [__USE_MISC]: Likewise.
11059 * posix/unistd.h [__USE_MISC]: Likewise.
11060 * pwd/pwd.h [__USE_MISC]: Likewise.
11061 * stdlib.h [__USE_MISC]: Likewise.
11062 * string/bits/string2.h [__USE_MISC]: Likewise.
11063 * string/string.h [__USE_MISC]: Likewise.
11064 * time/time.h [__USE_MISC]: Likewise.
11066 2014-02-13 Andreas Schwab <schwab@suse.de>
11069 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11070 second answer buffer if it was separately allocated.
11072 2014-02-12 Joseph Myers <joseph@codesourcery.com>
11074 * sysdeps/mips/math-tests.h: Include <features.h>.
11075 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11076 (ROUNDING_TESTS_long_double): Do not define.
11077 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11078 (EXCEPTION_TESTS_long_double): Likewise.
11079 * sysdeps/mips/mips64/libm-test-ulps: Update.
11081 * include/features.h (__USE_BSD): Remove macro definitions.
11082 (__USE_SVID): Likewise.
11083 (_BSD_SOURCE): Likewise.
11084 (_SVID_SOURCE): Likewise.
11085 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11086 from definition of _DEFAULT_SOURCE.
11087 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11089 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11090 * bits/mman.h [__USE_BSD]: Likewise.
11091 * bits/termios.h [__USE_BSD]: Likewise.
11092 * bits/waitstatus.h [__USE_BSD]: Likewise.
11093 * ctype/ctype.h [__USE_SVID]: Likewise.
11094 * dirent/dirent.h [__USE_BSD]: Likewise.
11095 * grp/grp.h [__USE_SVID]: Likewise.
11096 [__USE_BSD]: Likewise.
11097 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11098 * io/fcntl.h [__USE_BSD]: Likewise.
11099 * io/ftw.h [__USE_BSD]: Likewise.
11100 * io/sys/stat.h [__USE_BSD]: Likewise.
11101 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11102 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11103 * libio/stdio.h [__USE_SVID]: Likewise.
11104 [__USE_BSD]: Likewise.
11105 * math/math.h [__USE_SVID]: Likewise.
11106 [__USE_BSD]: Likewise.
11107 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11108 * misc/bits/syslog.h [__USE_BSD]: Likewise.
11109 * misc/search.h [__USE_SVID]: Likewise.
11110 * misc/sys/mman.h [__USE_BSD]: Likewise.
11111 * misc/sys/syslog.h [__USE_BSD]: Likewise.
11112 * misc/sys/uio.h [__USE_BSD]: Likewise.
11113 * posix/bits/unistd.h [__USE_BSD]: Likewise.
11114 * posix/glob.h [__USE_BSD]: Likewise.
11115 * posix/regex.h [__USE_BSD]: Likewise.
11116 * posix/sys/types.h [__USE_BSD]: Likewise.
11117 [__USE_SVID]: Likewise.
11118 * posix/sys/utsname.h [__USE_SVID]: Likewise.
11119 * posix/sys/wait.h [__USE_BSD]: Likewise.
11120 [__USE_SVID]: Likewise.
11121 * posix/unistd.h [__USE_BSD]: Likewise.
11122 [__USE_SVID]: Likewise.
11123 * pwd/pwd.h [__USE_SVID]: Likewise.
11124 * resolv/netdb.h [__USE_BSD]: Likewise.
11125 * setjmp/setjmp.h [__USE_BSD]: Likewise.
11126 * signal/signal.h [__USE_BSD]: Likewise.
11127 [__USE_SVID]: Likewise.
11128 * socket/sys/socket.h [__USE_BSD]: Likewise.
11129 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11130 * stdlib/stdlib.h [__USE_BSD]: Likewise.
11131 [__USE_SVID]: Likewise.
11132 * string/bits/string2.h [__USE_BSD]: Likewise.
11133 [__USE_SVID]: Likewise.
11134 * string/bits/string3.h [__USE_BSD]: Likewise.
11135 * string/endian.h [__USE_BSD]: Likewise.
11136 * string/string.h [__USE_SVID]: Likewise.
11137 [__USE_BSD]: Likewise.
11138 * string/strings.h [__USE_BSD]: Likewise.
11139 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11140 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11141 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11142 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11143 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11144 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11146 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11148 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11149 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11151 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11152 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11154 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11156 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11157 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11158 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11160 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11162 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11163 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11164 * termios/termios.h [__USE_BSD]: Likewise.
11165 * time/sys/time.h [__USE_BSD]: Likewise.
11166 * time/time.h [__USE_BSD]: Likewise.
11167 [__USE_SVID]: Likewise.
11169 * Makefile (subdir_targets): Remove subdir_lint.out.
11171 * stdio-common/Makefile (do-tst-unbputc): Remove target.
11172 (do-tst-printf): Likewise.
11173 (tests): Depend directly on $(objpfx)tst-unbputc.out and
11174 $(objpfx)tst-printf.out.
11176 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11178 * Makerules (check-abi-%): Change target to
11179 $(objpfx)check-abi-%.out.
11180 (check-abi target): Update dependencies.
11181 (check-abi-pattern variable): Redirect output of diff to $@.
11182 (check-abi variable): Likewise.
11183 * elf/Makefile (check-abi): Update dependencies.
11185 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11187 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11188 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11190 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11191 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11192 value has largest subnormal exponent.
11193 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11194 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11195 * sysdeps/aarch64/soft-fp/sfp-machine.h
11196 (_FP_TININESS_AFTER_ROUNDING): New macro.
11197 * sysdeps/alpha/soft-fp/sfp-machine.h
11198 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11199 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11201 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11202 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11203 * sysdeps/mips/soft-fp/sfp-machine.h
11204 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11205 * sysdeps/powerpc/soft-fp/sfp-machine.h
11206 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11207 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11209 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11210 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11211 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11212 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11213 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11216 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
11219 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11222 2014-02-12 Richard Henderson <rth@redhat.com>
11224 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11225 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11226 * sysdeps/unix/sysv/linux/alpha: Move directory from
11227 ports/sysdeps/unix/sysv/linux/alpha.
11228 * README: Update listing for alpha-*-linux-gnu.
11230 2014-02-11 Joseph Myers <joseph@codesourcery.com>
11232 * include/features.h: Update comment documenting feature test
11234 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
11236 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11237 (_SVID_SOURCE): Likewise.
11238 (_DEFAULT_SOURCE): Update description of default features.
11239 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11241 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11242 (S_ISVTX): Likewise.
11243 * manual/math.texi (Mathematical Constants): Likewise.
11244 * manual/signal.texi (Interrupted Primitives): Likewise.
11245 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11246 * math/test-matherr.c (_SVID_SOURCE): Do not define.
11247 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11248 Don't refer to _SVID_SOURCE in warning text.
11250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11252 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11254 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11255 * sysdeps/mips/dl-lookup.c: Remove.
11256 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11258 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11261 * math/auto-libm-test-in: Add testcase for expl.
11262 * math/auto-libm-test-out: Regenerate.
11263 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11264 calculation of unsafe.
11265 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11267 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
11269 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11270 * sysdeps/unix/sysv/linux/aarch64: Move directory from
11271 ports/sysdeps/unix/sysv/linux/aarch64.
11272 * README: Update listing for aarch64*-*-linux-gnu.
11274 2014-02-11 Will Newton <will.newton@linaro.org>
11276 * manual/probes.texi (Mathematical Function Probes): Use
11277 "triggered" instead of "hit".
11279 * manual/probes.texi (Internal Probes): Add documentation
11280 of setjmp, longjmp and longjmp_target probes.
11282 * include/stap-probe.h: Add comment about probe argument
11285 * malloc/mtrace.c (attribute_hidden): Remove unused macro
11286 definition. (tr_where, tr_freehook, tr_mallochook,
11287 tr_reallochook, tr_memalignhook): Use ANSI protoype.
11289 2014-02-11 David S. Miller <davem@davemloft.net>
11291 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11292 processing int_tests.
11294 2014-02-10 Joseph Myers <joseph@codesourcery.com>
11296 * sysdeps/mips: Move directory from ports/sysdeps/mips.
11297 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11298 * sysdeps/unix/sysv/linux/mips: Move directory from
11299 ports/sysdeps/unix/sysv/linux/mips.
11300 * README: Update listing for mips-*-linux-gnu and
11301 mips64-*-linux-gnu.
11303 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
11305 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11306 * sysdeps/unix/sysv/linux/m68k: Move directory from
11307 ports/sysdeps/unix/sysv/linux/m68k.
11308 * README: Update listing for m68k-*-linux-gnu.
11310 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
11312 * sysdeps/tile: Move directory from ports/sysdeps/tile.
11313 * sysdeps/unix/sysv/linux/generic: Move directory from
11314 ports/sysdeps/unix/sysv/linux/generic.
11315 * sysdeps/unix/sysv/linux/tile: Move directory from
11316 ports/sysdeps/unix/sysv/linux/tile.
11317 * README: Update listing for tile*-*-linux-gnu.
11319 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
11321 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11323 * benchtests/bench-memmem.c (simple_memmem): Likewise.
11324 * catgets/open_catalog.c (__open_catalog): Likewise.
11325 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11326 * debug/confstr_chk.c: Likewise.
11327 * debug/fread_chk.c (__fread_chk): Likewise.
11328 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11329 * debug/getgroups_chk.c: Likewise.
11330 * debug/mbsnrtowcs_chk.c: Likewise.
11331 * debug/mbsrtowcs_chk.c: Likewise.
11332 * debug/mbstowcs_chk.c: Likewise.
11333 * debug/memcpy_chk.c: Likewise.
11334 * debug/memmove_chk.c: Likewise.
11335 * debug/mempcpy_chk.c: Likewise.
11336 * debug/memset_chk.c: Likewise.
11337 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11338 * debug/strcat_chk.c (__strcat_chk): Likewise.
11339 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11340 * debug/strncat_chk.c (__strncat_chk): Likewise.
11341 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11342 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11343 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11344 * debug/wcpncpy_chk.c: Likewise.
11345 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11346 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11347 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11348 * debug/wcsncpy_chk.c: Likewise.
11349 * debug/wcsnrtombs_chk.c: Likewise.
11350 * debug/wcsrtombs_chk.c: Likewise.
11351 * debug/wcstombs_chk.c: Likewise.
11352 * debug/wmemcpy_chk.c: Likewise.
11353 * debug/wmemmove_chk.c: Likewise.
11354 * debug/wmempcpy_chk.c: Likewise.
11355 * debug/wmemset_chk.c: Likewise.
11356 * dirent/scandirat.c (SCANDIRAT): Likewise.
11357 * dlfcn/dladdr1.c (dladdr1): Likewise.
11358 * dlfcn/dladdr.c (dladdr): Likewise.
11359 * dlfcn/dlclose.c (dlclose_doit): Likewise.
11360 * dlfcn/dlerror.c (__dlerror): Likewise.
11361 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11362 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11363 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11364 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11365 * dlfcn/dlsym.c (dlsym_doit): Likewise.
11366 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11367 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11368 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11370 * elf/dl-conflict.c: Likewise.
11371 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11372 * elf/dl-dst.h: Likewise.
11373 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11374 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11375 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11376 * elf/dl-init.c (call_init, _dl_init): Likewise.
11377 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11378 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11379 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11381 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11383 * elf/dl-minimal.c (__libc_memalign): Likewise.
11384 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11385 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11386 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11387 * elf/dl-sym.c (do_sym): Likewise.
11388 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11389 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11390 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11391 * elf/dl-writev.h (_dl_writev): Likewise.
11392 * elf/ldconfig.c (search_dir): Likewise.
11393 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11394 (dl_main): Likewise.
11395 * elf/setup-vdso.h (setup_vdso): Likewise.
11396 * grp/compat-initgroups.c (compat_call): Likewise.
11397 * grp/fgetgrent.c (fgetgrent): Likewise.
11398 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11399 * grp/putgrent.c (putgrent): Likewise.
11400 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11402 * hurd/hurdinit.c: Likewise.
11403 * iconvdata/8bit-gap.c (struct): Likewise.
11404 * iconvdata/ansi_x3.110.c : Likewise.
11405 * iconvdata/big5.c : Likewise.
11406 * iconvdata/big5hkscs.c : Likewise.
11407 * iconvdata/cp1255.c: Likewise.
11408 * iconvdata/cp1258.c : Likewise.
11409 * iconvdata/cp932.c : Likewise.
11410 * iconvdata/euc-cn.c: Likewise.
11411 * iconvdata/euc-jisx0213.c : Likewise.
11412 * iconvdata/euc-jp.c: Likewise.
11413 * iconvdata/euc-jp-ms.c : Likewise.
11414 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11415 * iconvdata/gb18030.c : Likewise.
11416 * iconvdata/gbbig5.c (const): Likewise.
11417 * iconvdata/gbgbk.c: Likewise.
11418 * iconvdata/gbk.c : Likewise.
11419 * iconvdata/ibm1364.c : Likewise.
11420 * iconvdata/ibm930.c : Likewise.
11421 * iconvdata/ibm932.c: Likewise.
11422 * iconvdata/ibm933.c : Likewise.
11423 * iconvdata/ibm935.c : Likewise.
11424 * iconvdata/ibm937.c : Likewise.
11425 * iconvdata/ibm939.c : Likewise.
11426 * iconvdata/ibm943.c: Likewise.
11427 * iconvdata/iso_11548-1.c: Likewise.
11428 * iconvdata/iso-2022-cn.c : Likewise.
11429 * iconvdata/iso-2022-cn-ext.c : Likewise.
11430 * iconvdata/iso-2022-jp-3.c: Likewise.
11431 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11432 * iconvdata/iso-2022-kr.c : Likewise.
11433 * iconvdata/iso646.c (gconv_end): Likewise.
11434 * iconvdata/iso_6937-2.c : Likewise.
11435 * iconvdata/iso_6937.c : Likewise.
11436 * iconvdata/iso8859-1.c: Likewise.
11437 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11438 * iconvdata/shift_jisx0213.c : Likewise.
11439 * iconvdata/sjis.c : Likewise.
11440 * iconvdata/t.61.c : Likewise.
11441 * iconvdata/tcvn5712-1.c : Likewise.
11442 * iconvdata/tscii.c: Likewise.
11443 * iconvdata/uhc.c : Likewise.
11444 * iconvdata/unicode.c (gconv_end): Likewise.
11445 * iconvdata/utf-16.c (gconv_end): Likewise.
11446 * iconvdata/utf-32.c (gconv_end): Likewise.
11447 * iconvdata/utf-7.c (base64): Likewise.
11448 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11449 * iconv/gconv_close.c (__gconv_close): Likewise.
11450 * iconv/gconv_open.c (__gconv_open): Likewise.
11451 * iconv/gconv_simple.c (internal_ucs4_loop_single)
11452 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11453 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11454 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11455 (ucs4le_internal_loop_single): Likewise.
11456 * iconv/iconv.c (iconv): Likewise.
11457 * iconv/iconv_close.c: Likewise.
11458 * iconv/loop.c (SINGLE): Likewise.
11459 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11460 * include/atomic.h: Likewise.
11461 * inet/inet6_option.c (option_alloc): Likewise.
11462 * intl/bindtextdom.c (set_binding_values): Likewise.
11463 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11464 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11465 * intl/localealias.c (read_alias_file): Likewise.
11466 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11467 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11468 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11469 * libio/fmemopen.c (fmemopen): Likewise.
11470 * libio/iofgets.c (_IO_fgets): Likewise.
11471 * libio/iofgets_u.c (fgets_unlocked): Likewise.
11472 * libio/iofgetws.c (fgetws): Likewise.
11473 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11474 * libio/iogetdelim.c (_IO_getdelim): Likewise.
11475 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11476 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11477 * locale/findlocale.c (_nl_find_locale): Likewise.
11478 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11479 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11481 * locale/setlocale.c (setlocale): Likewise.
11482 * login/programs/pt_chown.c (main): Likewise.
11483 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11484 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11485 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11486 (mmap, mmap64, mremap, munmap): Likewise.
11487 * math/e_exp2l.c: Likewise.
11488 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11489 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11490 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11491 * math/s_catan.c (__catan): Likewise.
11492 * math/s_catanf.c (__catanf): Likewise.
11493 * math/s_catanh.c (__catanh): Likewise.
11494 * math/s_catanhf.c (__catanhf): Likewise.
11495 * math/s_catanhl.c (__catanhl): Likewise.
11496 * math/s_catanl.c (__catanl): Likewise.
11497 * math/s_ccosh.c (__ccosh): Likewise.
11498 * math/s_ccoshf.c (__ccoshf): Likewise.
11499 * math/s_ccoshl.c (__ccoshl): Likewise.
11500 * math/s_cexp.c (__cexp): Likewise.
11501 * math/s_cexpf.c (__cexpf): Likewise.
11502 * math/s_cexpl.c (__cexpl): Likewise.
11503 * math/s_clog10.c (__clog10): Likewise.
11504 * math/s_clog10f.c (__clog10f): Likewise.
11505 * math/s_clog10l.c (__clog10l): Likewise.
11506 * math/s_clog.c (__clog): Likewise.
11507 * math/s_clogf.c (__clogf): Likewise.
11508 * math/s_clogl.c (__clogl): Likewise.
11509 * math/s_csin.c (__csin): Likewise.
11510 * math/s_csinf.c (__csinf): Likewise.
11511 * math/s_csinh.c (__csinh): Likewise.
11512 * math/s_csinhf.c (__csinhf): Likewise.
11513 * math/s_csinhl.c (__csinhl): Likewise.
11514 * math/s_csinl.c (__csinl): Likewise.
11515 * math/s_csqrt.c (__csqrt): Likewise.
11516 * math/s_csqrtf.c (__csqrtf): Likewise.
11517 * math/s_csqrtl.c (__csqrtl): Likewise.
11518 * math/s_ctan.c (__ctan): Likewise.
11519 * math/s_ctanf.c (__ctanf): Likewise.
11520 * math/s_ctanh.c (__ctanh): Likewise.
11521 * math/s_ctanhf.c (__ctanhf): Likewise.
11522 * math/s_ctanhl.c (__ctanhl): Likewise.
11523 * math/s_ctanl.c (__ctanl): Likewise.
11524 * math/w_pow.c: Likewise.
11525 * math/w_powf.c: Likewise.
11526 * math/w_powl.c: Likewise.
11527 * math/w_scalb.c (sysv_scalb): Likewise.
11528 * math/w_scalbf.c (sysv_scalbf): Likewise.
11529 * math/w_scalbl.c (sysv_scalbl): Likewise.
11530 * misc/error.c (error_tail): Likewise.
11531 * misc/pselect.c (__pselect): Likewise.
11532 * nis/nis_callback.c (__nis_create_callback): Likewise.
11533 * nis/nis_call.c (__nisfind_server): Likewise.
11534 * nis/nis_creategroup.c (nis_creategroup): Likewise.
11535 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11536 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11537 * nis/nis_getservlist.c (nis_getservlist): Likewise.
11538 * nis/nis_lookup.c (nis_lookup): Likewise.
11539 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11540 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11541 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11542 * nis/nis_xdr.c (xdr_endpoint): Likewise.
11543 * nis/nss_compat/compat-grp.c (getgrent_next_file)
11544 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11545 * nis/nss_compat/compat-initgroups.c (add_group)
11546 (internal_getgrent_r): Likewise.
11547 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11548 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11549 * nis/nss_compat/compat-spwd.c (getspent_next_file)
11550 (internal_getspnam_r): Likewise.
11551 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11552 (_nss_nis_getaliasbyname_r): Likewise.
11553 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11554 (_nss_nis_getntohost_r): Likewise.
11555 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11556 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11557 (_nss_nis_getgrgid_r): Likewise.
11558 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11559 (internal_nis_gethostent_r, internal_gethostbyname2_r)
11560 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11561 (_nss_nis_gethostbyname4_r): Likewise.
11562 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11563 (initgroups_netid): Likewise.
11564 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11565 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11566 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11567 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11568 (_nss_nis_getprotobynumber_r): Likewise.
11569 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11570 (_nss_nis_getsecretkey): Likewise.
11571 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11572 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11573 (_nss_nis_getpwuid_r): Likewise.
11574 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11575 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11576 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11577 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11578 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11579 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11580 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11582 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11583 (_nss_nisplus_getntohost_r): Likewise.
11584 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11585 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11586 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11587 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11589 * nis/nss_nisplus/nisplus-initgroups.c
11590 (_nss_nisplus_initgroups_dyn): Likewise.
11591 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11592 (_nss_nisplus_getnetbyaddr_r): Likewise.
11593 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11594 (_nss_nisplus_getprotobynumber_r): Likewise.
11595 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11596 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11597 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11599 * nis/nss_nisplus/nisplus-service.c
11600 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11601 (_nss_nisplus_getservbyport_r): Likewise.
11602 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11603 (_nss_nisplus_getspnam_r): Likewise.
11604 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11606 * nscd/aicache.c (addhstaiX): Likewise.
11607 * nscd/cache.c (cache_search, prune_cache): Likewise.
11608 * nscd/connections.c (register_traced_file, send_ro_fd)
11609 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11610 (main_loop_epoll): Likewise.
11611 * nscd/grpcache.c (addgrbyX): Likewise.
11612 * nscd/hstcache.c (addhstbyX): Likewise.
11613 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11614 * nscd/mem.c (gc, mempool_alloc): Likewise.
11615 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11616 (addinnetgrX): Likewise.
11617 * nscd/nscd-client.h (__nscd_acquire_maplock)
11618 (__nscd_drop_map_ref): Likewise.
11619 * nscd/nscd_getai.c (__nscd_getai): Likewise.
11620 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11621 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11623 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11624 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11625 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11626 (__nscd_get_map_ref): Likewise.
11627 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11628 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11630 * nscd/pwdcache.c (addpwbyX): Likewise.
11631 * nscd/selinux.c (preserve_capabilities): Likewise.
11632 * nscd/servicescache.c (addservbyX): Likewise.
11633 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11634 * posix/fnmatch.c (fnmatch): Likewise.
11635 * posix/getopt.c (_getopt_internal_r): Likewise.
11636 * posix/glob.c (glob, glob_in_dir): Likewise.
11637 * posix/wordexp.c (exec_comm_child): Likewise.
11638 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11639 (getanswer_r, gaih_getanswer_slice): Likewise.
11640 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11641 * resolv/res_init.c: Likewise.
11642 * resolv/res_mkquery.c (res_nmkquery): Likewise.
11643 * resolv/res_query.c (__libc_res_nquery): Likewise.
11644 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11646 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11647 * stdio-common/perror.c (perror): Likewise.
11648 * stdio-common/printf_fp.c (___printf_fp): Likewise.
11649 * stdio-common/tmpnam.c (tmpnam): Likewise.
11650 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11651 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11652 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11654 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11655 * stdlib/putenv.c (putenv): Likewise.
11656 * stdlib/setenv.c (__add_to_environ): Likewise.
11657 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11658 * stdlib/strtol_l.c (INTERNAL): Likewise.
11659 * string/memmem.c (memmem): Likewise.
11660 * string/strerror.c (strerror): Likewise.
11661 * string/strnlen.c (__strnlen): Likewise.
11662 * string/test-memmem.c (simple_memmem): Likewise.
11663 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11664 * sunrpc/pm_getport.c (__get_socket): Likewise.
11665 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11666 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11667 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11668 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11670 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11671 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11672 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11673 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11674 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11675 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11677 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11679 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11680 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11681 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11682 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11683 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11684 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11685 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11686 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11687 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11688 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11689 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11690 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11692 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11694 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11696 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11697 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11698 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11699 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11700 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11701 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11702 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11703 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11704 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11705 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11706 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11707 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11708 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11709 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11710 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11711 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11713 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11715 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11717 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11719 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11720 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11721 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11723 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11724 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11725 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11726 * sysdeps/posix/sleep.c: Likewise.
11727 * sysdeps/posix/tempname.c: Likewise.
11728 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11729 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11731 * sysdeps/powerpc/powerpc32/dl-machine.h
11732 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11733 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11734 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11735 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11736 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11738 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11739 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11740 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11741 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11742 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11743 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11744 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11745 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11746 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11747 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11748 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11749 (elf_machine_lazy_rel): Likewise.
11750 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11751 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11752 (elf_machine_lazy_rel): Likewise.
11753 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11754 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11755 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11756 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11757 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11758 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11759 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11760 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11762 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11763 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11764 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11765 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11766 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11767 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11768 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11769 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11770 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11771 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11772 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11774 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11775 (__posix_fallocate64_l64): Likewise.
11776 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11777 (posix_fallocate): Likewise.
11778 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11780 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11781 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11782 (getifaddrs_internal): Likewise.
11783 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11784 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11785 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11786 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11787 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11788 (__posix_fallocate64_l64): Likewise.
11789 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11791 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11792 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11793 (__get_clockfreq): Likewise.
11794 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11795 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11796 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11797 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11798 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11799 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11800 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11801 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11803 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11804 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11805 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11806 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11807 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11808 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11809 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11811 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11812 (posix_fallocate): Likewise.
11813 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11814 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11815 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11816 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11817 (elf_machine_rela, elf_machine_rela_relative)
11818 (elf_machine_lazy_rel): Likewise.
11819 * time/asctime.c (asctime_internal): Likewise.
11820 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11821 * time/tzset.c (__tzset_parse_tz): Likewise.
11822 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11823 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11824 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11825 * wcsmbs/wcsmbsload.h: Likewise.
11828 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11830 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11831 (arena_get2): Remove THREAD_STATS conditionals.
11832 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11833 (__malloc_stats, int): Likewise.
11835 2014-02-08 Mike Frysinger <vapier@gentoo.org>
11837 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11838 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11840 * manual/setjmp.texi: Fix typos/grammar errors.
11842 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11843 Only return early when n is <= 0. Delete unused return statement.
11845 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11846 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11847 * debug/tst-longjmp_chk3.c: New file.
11849 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11850 (test_main): Replace code with set_fortify_handler call.
11851 * debug/test-strcpy_chk.c: Likewise.
11852 * debug/tst-chk1.c: Likewise.
11853 * debug/tst-longjmp_chk.c: Likewise.
11854 * test-skeleton.c: Include fcntl.h & paths.h
11855 (set_fortify_handler): Define.
11857 * debug/tst-longjmp_chk.c: Add header comment and include
11858 ../test-skeleton.c.
11859 (do_test): Mark static.
11860 (TEST_FUNCTION): Define.
11862 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11863 (IP_PMTUDISC_INTERFACE): Likewise.
11864 (IP_MULTICAST_IF): Likewise.
11865 (IP_MULTICAST_TTL): Likewise.
11866 (IP_MULTICAST_LOOP): Likewise.
11867 (IP_ADD_MEMBERSHIP): Likewise.
11868 (IP_DROP_MEMBERSHIP): Likewise.
11869 (IP_UNBLOCK_SOURCE): Likewise.
11870 (IP_BLOCK_SOURCE): Likewise.
11871 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11872 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11873 (IP_MSFILTER): Likewise.
11874 (MCAST_JOIN_GROUP): Likewise.
11875 (MCAST_BLOCK_SOURCE): Likewise.
11876 (MCAST_UNBLOCK_SOURCE): Likewise.
11877 (MCAST_LEAVE_GROUP): Likewise.
11878 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11879 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11880 (MCAST_MSFILTER): Likewise.
11881 (IP_MULTICAST_ALL): Likewise.
11882 (IP_UNICAST_IF): Likewise.
11884 * timezone/Makefile: Delete $(have-ksh) check.
11885 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11886 * timezone/tzselect.ksh: Add +x mode bits.
11888 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11889 (ANON_INODE_FS_MAGIC): Likewise.
11890 (BDEVFS_MAGIC): Likewise.
11891 (BINFMTFS_MAGIC): Likewise.
11892 (BTRFS_TEST_MAGIC): Likewise.
11893 (CRAMFS_MAGIC_WEND): Likewise.
11894 (DEBUGFS_MAGIC): Likewise.
11895 (ECRYPTFS_SUPER_MAGIC): Likewise.
11896 (EXT3_SUPER_MAGIC): Likewise.
11897 (EXT4_SUPER_MAGIC): Likewise.
11898 (FUTEXFS_SUPER_MAGIC): Likewise.
11899 (HOSTFS_SUPER_MAGIC): Likewise.
11900 (HUGETLBFS_MAGIC): Likewise.
11901 (MINIX3_SUPER_MAGIC): Likewise.
11902 (MTD_INODE_FS_MAGIC): Likewise.
11903 (NILFS_SUPER_MAGIC): Likewise.
11904 (OPENPROM_SUPER_MAGIC): Likewise.
11905 (PIPEFS_MAGIC): Likewise.
11906 (PSTOREFS_MAGIC): Likewise.
11907 (QNX6_SUPER_MAGIC): Likewise.
11908 (RAMFS_MAGIC): Likewise.
11909 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11910 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11911 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11912 (SECURITYFS_MAGIC): Likewise.
11913 (SELINUX_MAGIC): Likewise.
11914 (SMACK_MAGIC): Likewise.
11915 (SOCKFS_MAGIC): Likewise.
11916 (SQUASHFS_MAGIC): Likewise.
11917 (STACK_END_MAGIC): Likewise.
11918 (TMPFS_MAGIC): Likewise.
11919 (USBDEVICE_SUPER_MAGIC): Likewise.
11920 (V9FS_MAGIC): Likewise.
11921 (XENFS_SUPER_MAGIC): Likewise.
11922 (CRAMFS_MAGIC): Fix typo in comment.
11923 (EXT2_SUPER_MAGIC): Update comment.
11924 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11926 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11928 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11929 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11930 * sysdeps/unix/sysv/linux/arm: Move directory from
11931 ports/sysdeps/unix/sysv/linux/arm.
11932 * README: Update listing for arm-*-linux-gnueabi.
11934 * README: Remove mention of am33.
11936 2014-02-07 Roland McGrath <roland@hack.frob.com>
11938 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11939 than the comma operator, to avoid "rhs of comma has no effect"
11941 (__sigfillset, __sigandset, __sigorset): Likewise.
11942 * include/signal.h (__sigemptyset): Likewise.
11943 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11945 2014-02-07 Allan McRae <allan@archlinux.org>
11947 * version.h (RELEASE): Set to "development".
11948 (VERSION): Set to "2.19.90"
11949 * NEWS: Add 2.20 section.
11951 2014-02-06 Carlos O'Donell <carlos@redhat.com>
11954 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11956 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11958 * manual/contrib.texi: Update entry for Carlos O'Donell,
11959 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11961 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
11963 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11965 * sysdeps/unix/sysv/linux/kernel-features.h
11966 [__LINUX_KERNEL_VERSION >= 0x020621]
11967 (__ASSUME_PROC_PID_TASK_COMM): Define.
11969 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11972 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11973 conversion when destination buffer does not have enough space.
11974 * libio/tst-ftell-partial-wide.c: New test case.
11975 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11977 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11978 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11979 Leonard and Allan McRae.
11981 2014-02-04 David S. Miller <davem@davemloft.net>
11983 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11986 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12015 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12017 * nptl/shlib-versions: Change powerpc*le start to 2.17.
12018 * shlib-versions: Likewise.
12020 2014-02-04 Roland McGrath <roland@hack.frob.com>
12021 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12023 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12024 (abilist-pattern): New variable, set to %-le.abilist.
12026 * Makerules (abilist-pattern): New variable.
12027 (vpath): Use $(abilist-pattern) in place of %.abilist.
12028 (check-abi-% pattern rule): Likewise.
12029 (check-abi, update-abi): Likewise.
12031 2014-02-04 Eric Wong <normalperson@yhbt.net>
12033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12035 2014-02-03 Carlos O'Donell <carlos@redhat.com>
12037 * manual/startup.texi: Add next, previous, and top entries for
12038 the `Program Arguments' and `Environment Variables' nodes.
12040 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
12042 * manual/macros.texi: Add comments before MTASC-safety macros.
12044 * manual/users.texi: Document MTASC-safety properties.
12046 * manual/threads.texi (pthread_key_create, pthread_key_delete)
12047 (pthread_getspecific, pthread_setspecific): Format with
12048 @deftypefun, and add @safety note.
12049 * manual/signal.texi: Move comments that analyze the above
12050 functions to their home place.
12052 2014-02-03 Allan McRae <allan@archlinux.org>
12054 * po/sl.po: Update Slovenian translation from translation project.
12056 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
12058 * manual/time.texi (timegm): Add missing blank after @c.
12059 Reported by Joseph Myers <joseph@codesourcery.com>.
12061 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
12063 * manual/check-safety.sh: New.
12064 * manual/Makefile ($(objpfx)stamp-summary): Run it.
12066 * manual/terminal.texi: Document MTASC-safety properties.
12068 * manual/filesys.texi: Document MTASC-safety properties.
12070 * manual/errno.texi: Document MTASC-safety properties.
12072 * manual/intro.texi: Document safety identifiers and
12075 * manual/string.texi (wcstok): Fix prototype.
12076 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12078 * manual/time.texi: Document MTASC-safety properties.
12080 * manual/string.texi: Document MTASC-safety properties.
12082 * manual/threads.texi: Document MTASC-safety properties.
12084 * manual/stdio.texi: Document MTASC-safety properties.
12086 * manual/syslog.texi: Document MTASC-safety properties.
12088 * manual/sysinfo.texi: Document MTASC-safety properties.
12090 * manual/startup.texi: Document MTASC-safety properties.
12092 * manual/socket.texi: Document MTASC-safety properties.
12094 * manual/signal.texi: Document MTASC-safety properties.
12096 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
12098 * manual/setjmp.texi: Document MTASC-safety properties.
12100 * manual/search.texi: Document MTASC-safety properties.
12102 * manual/resource.texi: Document MTASC-safety properties.
12104 * manual/process.texi: Document MTASC-safety properties.
12106 * manual/platform.texi: Document MTASC-safety properties.
12108 * manual/pipe.texi: Document MTASC-safety properties.
12110 * manual/pattern.texi: Document MTASC-safety properties.
12112 * manual/message.texi: Document MTASC-safety properties.
12115 * manual/memory.texi: Document MTASC-safety properties.
12117 * manual/math.texi: Document MTASC-safety properties.
12119 * manual/locale.texi: Document MTASC-safety properties.
12121 * manual/llio.texi: Document MTASC-safety properties.
12123 * manual/libdl.texi: New.
12125 * manual/lang.texi: Document MTASC-safety properties.
12127 * manual/job.texi: Document MTASC-safety properties.
12129 * manual/getopt.texi: Document MTASC-safety properties.
12131 * manual/ctype.texi: Document MTASC-safety properties.
12133 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
12136 * csu/libc-tls.c (static_map): Remove variable.
12137 (__libc_setup_tls): Use main executable's link map for TLS data.
12138 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12139 casing for LM_ID_BASE and GL(dl_nns).
12140 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12141 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
12142 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12143 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12144 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12146 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12149 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
12151 * manual/debug.texi: Document MTASC-safety properties.
12153 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
12156 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12157 of __x86_64__ when disabling x87 inline functions.
12159 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
12161 * manual/charset.texi: Document MTASC-safety properties.
12163 * manual/crypt.texi: Document MTASC-safety properties.
12165 * manual/conf.texi: Document MTASC-safety properties.
12167 * manual/arith.texi: Document MTASC-safety properties.
12169 * manual/argp.texi: Document MTASC-safety properties.
12171 * manual/macros.texi: Introduce macros to document multi
12172 thread, asynchronous signal and asynchronous cancellation
12174 * manual/intro.texi: Introduce the properties themselves.
12176 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12178 * sysdeps/sh/sh4/Makefile: New file.
12180 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
12182 * math/gen-libm-test.pl ($srcdir): New variable.
12183 ($auto_input): Use it.
12185 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12188 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12189 access beyond array bounds when parsing netgroups file.
12191 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12192 the old buffer before realloc.
12194 2014-01-27 Allan McRae <allan@archlinux.org>
12196 * po/fr.po: Update French translation from translation project.
12198 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12200 * sysdeps/sh/libm-test-ulps: Regenerate.
12202 2014-01-24 David S. Miller <davem@davemloft.net>
12204 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12206 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12208 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12209 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12211 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12214 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12215 string pointers after reallocation.
12217 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12219 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12220 __SH4A__ instead of __SH_FPU_ANY__.
12222 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12224 * sysdeps/sh/fpu_control.h: New file.
12225 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12226 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12227 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12228 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12229 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12230 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12231 * sysdeps/sh/sys/ucontext.h: Remove.
12232 * sysdeps/sh/sys: Remove directory.
12234 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12236 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12237 s390/sys/ucontext.h.
12238 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12239 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12241 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
12244 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12246 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12249 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12250 Adjust the vDSO correctly for internal calls.
12251 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12253 2014-01-20 Allan McRae <allan@archlinux.org>
12255 * po/ca.po: Update Catalan translation from translation project.
12257 2014-01-16 Mike Frysinger <vapier@gentoo.org>
12259 * sysdeps/s390/sotruss-lib.c: New file.
12261 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12264 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12265 (__GI___gettimeofday): Alias for a different internal symbol to avoid
12266 local calls issues by not having a PLT stub required for IFUNC calls.
12267 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12269 2014-01-16 Joseph Myers <joseph@codesourcery.com>
12271 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12272 * math/test-fpucw-static.c: Likewise.
12274 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12277 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12279 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12281 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12282 implementation for powerpc.
12284 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
12287 * sysdeps/posix/system.c (__libc_system): Do not enable
12288 asynchronous cancellation.
12290 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12293 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12294 handling only for numbers special also in the IEEE case.
12296 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12298 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12300 2014-01-11 Allan McRae <allan@archlinux.org>
12302 * po/bg.po: Update Bulgarian translation from translation project.
12304 * po/de.po: Update German translation from translation project.
12306 2014-01-10 Roland McGrath <roland@hack.frob.com>
12308 * sysdeps/generic/gcc-compat.h: New file.
12310 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12312 * benchtests/asin-inputs: Correct slow inputs.
12313 * benchtests/acos-inputs: Likewise.
12315 2014-01-10 Allan McRae <allan@archlinux.org>
12317 * po:sv.po: Update Swedish translation from translation project.
12319 * po/vi.po: Update Vietnamese translation from translation project.
12321 * po/eo.po: Update Esperanto translation from translation project.
12323 * po/cs.po: Update Czech translation from translation project.
12325 * po/nl.po: Update Dutch translation from translation project.
12327 * po/pl.po: Update Polish translation from translation project.
12329 * po/ru.po: Update Russian translation from translation project.
12331 * po/uk.po: Update Ukrainian translation from translation project.
12333 2014-01-08 Brooks Moses <bmoses@google.com>
12335 * elf/dl-load.c: Fix comment typo.
12337 2014-01-08 Carlos O'Donell <carlos@redhat.com>
12339 * po/header.pot: Rename to...
12340 * po/pot.header: ... this.
12341 * po/Makefile: Use pot.header.
12343 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
12344 Maxim Kuvyrkov <maxim@kugelworks.com>
12347 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12348 SRC and DEST against LEN.
12350 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12353 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12355 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12357 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12361 2014-01-08 Joseph Myers <joseph@codesourcery.com>
12364 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12365 for large positive arguments.
12367 2014-01-07 Joseph Myers <joseph@codesourcery.com>
12369 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12371 * math/auto-libm-test-in: Mark various tests with
12372 xfail-rounding:ldbl-128ibm.
12373 * math/auto-libm-test-out: Regenerated.
12376 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12377 Increase overflow threshold.
12379 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
12382 * stdio-common/vfprintf.c: Check for integer overflow.
12384 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12386 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12387 the first argument and return value of __tls_get_addr_internal.
12389 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12391 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12392 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12394 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12396 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12397 * sysdeps/s390/rtld-global-offsets.sym: New file.
12398 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12400 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12401 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12402 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12404 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12405 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12411 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12412 halfs of GPRs for high_gprs contexts.
12413 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12414 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
12416 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12418 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12420 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12421 for high GPRs (uc_high_gprs) and for future extensions
12423 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12424 for future extensions (__reserved).
12425 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12427 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12428 SC_HIGHGPRS offset definition.
12429 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12430 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12432 * Versions.def: Add GLIBC_2.19 for libpthread.
12433 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12434 siglongjmp for libpthread with GLIBC_2.19 symver.
12435 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12436 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12437 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12438 * sysdeps/s390/__longjmp.c: New file.
12439 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12440 * sysdeps/s390/longjmp.c: New file.
12441 * sysdeps/s390/setjmp.S: New file.
12442 * sysdeps/s390/sigjmp.S: New file.
12443 * sysdeps/s390/v1-longjmp.c: New file.
12444 * sysdeps/s390/v1-setjmp.h: New file.
12445 * sysdeps/s390/v1-sigjmp.c: New file.
12446 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12447 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12448 GLIBC_2.19 version.
12449 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12450 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12451 versioned symbols for ____longjmp_chk.
12452 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12462 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12463 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12464 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12465 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12466 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12467 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12468 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12469 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12470 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12471 * sysdeps/s390/rtld-__longjmp.c: New file.
12472 * sysdeps/s390/rtld-setjmp.S: New file.
12474 2014-01-06 Joseph Myers <joseph@codesourcery.com>
12477 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12478 Return -__logl (x) for small positive arguments without evaluating
12481 2014-01-06 Mike Frysinger <vapier@gentoo.org>
12483 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12485 (__ptrace_peeksiginfo_args): ... this.
12486 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12487 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12488 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12490 2014-01-06 Allan McRae <allan@archlinux.org>
12492 * inet/netinet/in.h: Fix typo in comment.
12494 2014-01-05 Andreas Jaeger <aj@suse.de>
12496 * sysdeps/i386/fpu/libm-test-ulps: Update.
12498 2014-01-05 Allan McRae <allan@archlinux.org>
12500 * po/libc.pot: Regenerated.
12502 * malloc/memusagestat.c: Fix gettext call formatting.
12504 2014-01-04 Sami Kerola <kerolasa@iki.fi>
12506 * nscd/nscd.c: Improve usage() output.
12508 2014-01-04 Mike Frysinger <vapier@gentoo.org>
12510 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12511 * sysdeps/unix/sysv/linux/configure: Regenerated.
12512 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12513 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12515 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12518 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12519 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12521 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12523 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12524 extra tokens at end of #undef directive.
12525 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12526 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12527 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12529 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12531 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12533 * math/auto-libm-test-in: Mark various tests with
12534 xfail-rounding:ldbl-128ibm.
12535 * math/auto-libm-test-out: Regenerated.
12537 2014-01-02 Joseph Myers <joseph@codesourcery.com>
12540 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12541 numbers with subnormal high part when calculating exponent.
12544 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12548 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12550 (__ieee754_acoshl): Use __log1pl not __log1p.
12552 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
12554 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12555 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12556 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12557 (grow_heap, heap_trim, _int_new_arena, get_free_list)
12558 (reused_arena, arena_get2): Convert to GNU style.
12559 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12560 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12561 (memalign_check, __malloc_set_state): Likewise.
12562 * malloc/mallocbug.c (main): Likewise.
12563 * malloc/malloc.c (__malloc_assert, malloc_init_state)
12564 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12565 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12566 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12567 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12568 (__posix_memalign, malloc_info): Likewise.
12569 * malloc/malloc.h: Likewise.
12570 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12571 (mallochook, memalignhook, reallochook, mabort): Likewise.
12572 * malloc/mcheck.h: Likewise.
12573 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12574 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12575 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12576 * malloc/morecore.c (__default_morecore): Likewise.
12577 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12578 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12579 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12580 (print_and_abort): Likewise.
12581 * malloc/obstack.h: Likewise.
12582 * malloc/set-freeres.c (__libc_freeres): Likewise.
12583 * malloc/tst-mallocstate.c (main): Likewise.
12584 * malloc/tst-mtrace.c (main): Likewise.
12585 * malloc/tst-realloc.c (do_test): Likewise.
12587 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12590 * nscd/netgroupcache.c (do_notfound): New function.
12591 (addgetnetgrentX): Use it.
12594 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12595 NSS_STATUS_NOTFOUND.
12597 2014-01-01 Joseph Myers <joseph@codesourcery.com>
12599 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12602 2014-01-01 Allan McRae <allan@archlinux.org>
12604 * scripts/update-copyrights: Update configure input file suffix.
12606 * NEWS: Update copyright year.
12607 * catgets/gencat.c: Likewise.
12608 * csu/version.c: Likewise.
12609 * debug/catchsegv.sh: Likewise.
12610 * debug/pcprofiledump.c: Likewise.
12611 * debug/xtrace.sh: Likewise.
12612 * elf/ldconfig.c: Likewise.
12613 * elf/ldd.bash.in: Likewise.
12614 * elf/pldd.c: Likewise.
12615 * elf/sotruss.ksh: Likewise.
12616 * elf/sprof.c: Likewise.
12617 * iconv/iconv_prog.c: Likewise.
12618 * iconv/iconvconfig.c: Likewise.
12619 * locale/programs/locale.c: Likewise.
12620 * locale/programs/localedef.c: Likewise.
12621 * login/programs/pt_chown.c: Likewise.
12622 * malloc/memusage.sh: Likewise.
12623 * malloc/memusagestat.c: Likewise.
12624 * malloc/mtrace.pl: Likewise.
12625 * manual/libc.texinfo: Likewise.
12626 * nscd/nscd.c: Likewise.
12627 * nss/getent.c: Likewise.
12628 * nss/makedb.c: Likewise.
12629 * posix/getconf.c: Likewise.
12630 * scripts/test-installation.pl: Likewise.
12632 * All files with FSF copyright notices: Update copyright dates
12633 using scripts/update-copyrights.
12634 * intl/plural.c: Regenerated.
12635 * locale/programs/charmap-kw.h: Likewise.
12636 * locale/programs/locfile-kw.h: Likewise.
12638 2013-12-31 Mike Frysinger <vapier@gentoo.org>
12640 * sysdeps/unix/sysv/linux/configure: Regenerated.
12641 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12642 the linux/fanotify.h header.
12643 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12644 HAVE_LINUX_FANOTIFY_H is defined.
12646 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12648 * benchtests/cos-inputs: New inputs.
12649 * benchtests/sin-inputs: Likewise.
12651 * benchtests/atan-inputs: New inputs. Fix name of multiple
12652 precision fallback inputs.
12654 * benchtests/atanh-inputs: New inputs.
12655 * benchtests/tanh-inputs: Likewise.
12657 * benchtests/acosh-inputs: New inputs.
12658 * benchtests/asinh-inputs: Likewise.
12660 * benchtests/cosh-inputs: New inputs.
12661 * benchtests/sinh-inputs: Likewise.
12663 * benchtests/acos-inputs: Add more inputs.
12664 * benchtests/asin-inputs: Likewise.
12666 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
12669 * manual/arith.texi: Fix spelling.
12670 * manual/charset.texi: Likewise.
12671 * manual/errno.texi: Likewise.
12672 * manual/filesys.texi: Likewise.
12673 * manual/lang.texi: Likewise.
12674 * manual/llio.texi: Likewise.
12675 * manual/locale.texi: Likewise.
12676 * manual/message.texi: Likewise.
12677 * manual/resource.texi: Likewise.
12678 * manual/search.texi: Likewise.
12679 * manual/setjmp.texi: Likewise.
12680 * manual/stdio.texi: Likewise.
12681 * manual/string.texi: Likewise.
12682 * manual/sysinfo.texi: Likewise.
12683 * manual/time.texi: Likewise.
12685 2013-12-27 Carlos O'Donell <carlos@redhat.com>
12687 * po/sl.po: New file.
12689 2013-12-27 Mike Frysinger <vapier@gentoo.org>
12691 * .gitignore: Add core/.gdbinit/.gdb_history.
12693 2013-12-27 Allan McRae <allan@archlinux.org>
12696 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12697 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12699 2013-12-24 Brooks Moses <bmoses@google.com>
12701 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12702 all compilers that claim C++98 compliance, not just GCC.
12703 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12706 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12708 * NEWS: Restore accidentally deleted bug-fix entries.
12710 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12711 Ondřej Bílka <neleai@seznam.cz>
12714 * malloc/malloc.c (_int_free): Perform sanity check only if we
12717 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
12720 * manual/stdio.texi (String Input Conversions): Clarify that character
12721 classes are not supported.
12723 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12727 2013-12-22 Joseph Myers <joseph@codesourcery.com>
12730 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12731 Calculate results for small negative arguments directly rather
12732 than using reflection formula with special underflow handling.
12734 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12735 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12736 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12737 (fchflags): Likewise.
12738 (revoke): Likewise.
12739 (setlogin): Likewise.
12740 (sigaltstack): Likewise.
12742 (sigblock): Remove.
12743 (sigsetmask): Likewise.
12745 (waitpid): Likewise.
12746 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12747 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12749 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12750 * sysdeps/unix/bsd/Makefile: ... here.
12751 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12752 * sysdeps/unix/bsd/Versions: ... here.
12753 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12754 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12755 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12756 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12757 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12758 * sysdeps/unix/bsd/sigblock.c: ... here.
12759 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12760 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12761 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12762 * sysdeps/unix/bsd/sigvec.c: ... here.
12763 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12764 * sysdeps/unix/bsd/tcdrain.c: ... here.
12765 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12766 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12767 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12768 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12769 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12770 * sysdeps/unix/bsd/wait.c: ... here.
12771 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12772 * sysdeps/unix/bsd/wait3.c: ... here.
12773 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12774 * sysdeps/unix/bsd/waitpid.c: ... here.
12776 2013-12-21 Joseph Myers <joseph@codesourcery.com>
12779 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12780 round-to-nearest for [!USE_AS_EXPM1L].
12781 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12782 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12783 more tests of exp and exp10. Expect some exp10 tests to miss
12784 exceptions or fail in directed rounding modes.
12785 * math/auto-libm-test-out: Regenerated.
12786 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12787 (exp10_test_tonearest): New function.
12788 (exp10_towardzero_test_data): New array.
12789 (exp10_test_towardzero): New function.
12790 (exp10_downward_test_data): New array.
12791 (exp10_test_downward): New function.
12792 (exp10_upward_test_data): New array.
12793 (exp10_test_upward): New function.
12794 (main): Call the new functions.
12795 * sysdeps/i386/fpu/libm-test-ulps: Update.
12796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12798 2013-12-20 Joseph Myers <joseph@codesourcery.com>
12800 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12801 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12802 * math/auto-libm-test-out: Regenerated.
12803 * math/libm-test.inc (acosh_test_data): Add more tests.
12804 (atanh_test_data): Likewise.
12805 (ceil_test_data): Likewise.
12806 (copysign_test_data): Likewise.
12807 * sysdeps/i386/fpu/libm-test-ulps: Update.
12808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12810 * timezone/checktab.awk: Update from tzcode 2013i.
12811 * timezone/private.h: Likewise.
12812 * timezone/scheck.c: Likewise.
12813 * timezone/tzfile.h: Likewise.
12814 * timezone/tzselect.ksh: Likewise.
12815 * timezone/zdump.c: Likewise.
12816 * timezone/zic.c: Likewise.
12818 * math/auto-libm-test-in: Add tests of cpow.
12819 * math/auto-libm-test-out: Regenerated.
12820 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12821 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12823 (func_calc_desc): Add mpc_cc_c union field.
12824 (test_functions): Add cpow.
12825 (special_fill_2pi): New function.
12826 (special_real_inputs): Add 2pi.
12827 (calc_generic_results): Handle mpc_cc_c.
12828 * sysdeps/i386/fpu/libm-test-ulps: Update.
12829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12831 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12832 csqrt, ctan and ctanh.
12833 * math/auto-libm-test-out: Regenerated.
12834 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12835 (TEST_COND_x86): Likewise.
12836 (ccos_test_data): Use AUTO_TESTS_c_c.
12837 (ccosh_test_data): Likewise.
12838 (cexp_test_data): Likewise.
12839 (clog_test_data): Likewise.
12840 (csqrt_test_data): Likewise.
12841 (ctan_test_data): Likewise.
12842 (ctan_tonearest_test_data): Likewise.
12843 (ctan_towardzero_test_data): Likewise.
12844 (ctan_downward_test_data): Likewise.
12845 (ctan_upward_test_data): Likewise.
12846 (ctanh_test_data): Likewise.
12847 (ctanh_tonearest_test_data): Likewise.
12848 (ctanh_towardzero_test_data): Likewise.
12849 (ctanh_downward_test_data): Likewise.
12850 (ctanh_upward_test_data): Likewise.
12851 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12853 (func_calc_desc): Add mpc_c_c union field.
12854 (FUNC_mpc_c_c): New macro.
12855 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12856 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12858 (special_fill_min_subnorm_p120): New function.
12859 (special_real_inputs): Add min_subnorm_p120.
12860 (calc_generic_results): Handle mpc_c_c.
12861 * sysdeps/i386/fpu/libm-test-ulps: Update.
12862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12864 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12866 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12867 (do_sin_slow): New functions.
12868 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12869 (cslow2, csloww1, csloww2): Use the new functions.
12871 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12872 Use M to change sign of result instead of X. Assume X is
12874 (csloww1): Likewise.
12878 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12879 arguments A and DA.
12883 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12885 (sloww1): Don't adjust sign of DX.
12886 (csloww1): Likewise.
12887 (sloww2): Use X directly and don't adjust sign of DX.
12888 (csloww2): Likewise.
12890 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12892 * math/auto-libm-test-in: Add tests of cabs and carg.
12893 * math/auto-libm-test-out: Regenerated.
12894 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12895 (carg_test_data): Likewise.
12896 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12898 (func_calc_desc): Add mpc_c_f union field.
12899 (test_functions): Add cabs and carg.
12900 (calc_generic_results): Handle mpc_c_f.
12902 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12903 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12904 as a macro and a compat symbol.
12905 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12906 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12907 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12908 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12909 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12910 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12912 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12914 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12916 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12918 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12920 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12922 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12923 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12926 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12930 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12932 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12933 trailing whitespace removed.
12934 * scripts/config.guess: Update to version 2013-11-29.
12935 * scripts/config.sub: Update to version 2013-10-01.
12937 * math/auto-libm-test-in: Add tests of sincos.
12938 * math/auto-libm-test-out: Regenerated.
12939 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12940 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12942 (func_calc_desc): Add mpfr_f_11 union field.
12943 (test_functions): Add sincos.
12944 (calc_generic_results): Handle mpfr_f_11.
12945 * sysdeps/i386/fpu/libm-test-ulps: Update.
12946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12948 2013-12-19 Andreas Schwab <schwab@suse.de>
12950 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12952 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12953 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12954 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12956 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12958 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12959 * sysdeps/i386/fpu/libm-test-ulps: Update.
12960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12963 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12964 round-to-nearest mode when using frndint.
12965 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12966 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12967 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12969 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12971 * math/auto-libm-test-out: Regenerated.
12972 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12973 (TEST_COND_x86): Likewise.
12974 (expm1_tonearest_test_data): New array.
12975 (expm1_test_tonearest): New function.
12976 (expm1_towardzero_test_data): New array.
12977 (expm1_test_towardzero): New function.
12978 (expm1_downward_test_data): New array.
12979 (expm1_test_downward): New function.
12980 (expm1_upward_test_data): New array.
12981 (expm1_test_upward): New function.
12982 (main): Run the new test functions.
12983 * sysdeps/i386/fpu/libm-test-ulps: Update.
12984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12986 * include/features.h: Update comment documenting feature test
12987 macros. Mention _DEFAULT_SOURCE in comment.
12988 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12989 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12990 _BSD_SOURCE and _SVID_SOURCE.
12991 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12992 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12993 !_SVID_SOURCE]: Likewise.
12994 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12995 (__USE_POSIX_IMPLICITLY): Define.
12996 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12997 (_POSIX_SOURCE): Undefine and redefine.
12998 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12999 (_POSIX_C_SOURCE): Likewise.
13000 * manual/creature.texi (_DEFAULT_SOURCE): Document.
13001 (Feature Test Macros): Update documentation of default features.
13003 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13005 * benchtests/Makefile: Add bench-strtok.
13006 * benchtests/bench-strtok.c: New file: strtok benchtest.
13008 2013-12-19 Allan McRae <allan@archlinux.org>
13010 * manual/install.texi: Suppress menu for plain text output.
13011 * INSTALL: Regenerated.
13013 2013-12-18 Brooks Moses <bmoses@google.com>
13016 * misc/getauxval.c: Include errno.h.
13017 (__getauxval): Set errno to ENOENT if the requested type is not
13019 * misc/sys/auxv.h (getauxval): Document that it may set errno;
13020 don't declare with __attribute_const__.
13021 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13022 * manual/startup.texi: Document that getauxval sets errno.
13024 2013-12-18 Joseph Myers <joseph@codesourcery.com>
13026 * math/auto-libm-test-in: Add tests of jn and yn.
13027 * math/auto-libm-test-out: Regenerated.
13028 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13029 (yn_test_data): Likewise.
13030 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13032 (func_calc_desc): Add mpfr_if_f union field.
13033 (FUNC_mpfr_if_f): New macro.
13034 (test_functions): Add jn and yn.
13035 (calc_generic_results): Assert type of second input for
13036 mpfr_ff_f. Handle mpfr_if_f.
13037 (output_for_one_input_case): Disable all checking for arguments
13038 fitting floating-point types in case of an integer argument.
13039 * sysdeps/i386/fpu/libm-test-ulps: Update.
13040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13043 Don't expect fegetround reference in libm.so.
13045 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13047 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13048 $(config-cflags-nofma).
13050 2013-12-18 Joseph Myers <joseph@codesourcery.com>
13052 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13053 * math/auto-libm-test-out: Regenerated.
13056 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13057 to determine exponent and adjust argument to have exponent of -1.
13058 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13060 * math/auto-libm-test-out: Regenerated.
13061 * sysdeps/i386/fpu/libm-test-ulps: Update.
13062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13064 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
13066 * manual/probes.texi: Remove cases when per-thread arenas are
13069 2013-12-18 Andreas Schwab <schwab@suse.de>
13071 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13072 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13073 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13074 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13075 * sysdeps/i386/i686/multiarch/Makefile: Update.
13076 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13078 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13080 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13081 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13083 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
13086 Support TZ transition times < 00:00:00.
13087 This is needed for version-3 tz-format files; it supports time
13088 stamps past 2037 for America/Godthab (the only entry in the tz
13089 database for which this change is relevant).
13090 * manual/time.texi (TZ Variable): Document transition times
13091 from -167:59:59 through -00:00:01.
13092 * time/tzset.c (tz_rule): Time of day is now signed.
13093 (__tzset_parse_tz): Parse negative time of day.
13095 Document TZ transition times >= 25:00:00.
13096 * manual/time.texi (TZ Variable): Document transition times from
13097 25:00:00 through 167:59:59. These are already supported, and this
13098 support will help with version-3 tz-format files.
13100 * manual/time.texi (TZ Variable): Modernize North America example
13101 to reflect current (i.e., 2007-and-later) daylight saving rules.
13103 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13105 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13107 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13108 * sysdeps/unix/bsd/bits/stat.h: Likewise.
13109 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13110 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13111 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13112 * sysdeps/unix/bsd/bsdstat.h: Likewise.
13113 * sysdeps/unix/bsd/clock.c: Likewise.
13114 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13115 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13116 * sysdeps/unix/bsd/init-posix.c: Likewise.
13117 * sysdeps/unix/bsd/poll.c: Likewise.
13118 * sysdeps/unix/bsd/ptsname.c: Likewise.
13119 * sysdeps/unix/bsd/seekdir.c: Likewise.
13120 * sysdeps/unix/bsd/setegid.c: Likewise.
13121 * sysdeps/unix/bsd/seteuid.c: Likewise.
13122 * sysdeps/unix/bsd/setgid.c: Likewise.
13123 * sysdeps/unix/bsd/setrgid.c: Likewise.
13124 * sysdeps/unix/bsd/setruid.c: Likewise.
13125 * sysdeps/unix/bsd/setsid.c: Likewise.
13126 * sysdeps/unix/bsd/setuid.c: Likewise.
13127 * sysdeps/unix/bsd/sigaction.c: Likewise.
13128 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13129 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13130 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13131 * sysdeps/unix/bsd/telldir.c: Likewise.
13132 * sysdeps/unix/bsd/times.c: Likewise.
13133 * sysdeps/unix/bsd/usleep.c: Likewise.
13135 * misc/Makefile (install-lib): Remove libbsd-compat.a.
13136 ($(objpfx)libbsd-compat.a): Remove rule.
13138 * include/features.h (__FAVOR_BSD): Do not define.
13139 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13140 features conflicting with POSIX.
13141 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13142 (_BSD_SOURCE): Remove description of not being a subset of other
13143 feature test macros.
13144 * manual/job.texi (getpgrp): Do not document BSD version.
13145 (getpgid): Do not document by reference to BSD getpgrp.
13146 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13147 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13148 * signal/signal.h [__FAVOR_BSD]: Likewise.
13149 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13150 instead of making contents conditional on [__FAVOR_BSD].
13151 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13153 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13157 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13160 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13161 values below 2**-450, not 2**-500.
13162 * math/auto-libm-test-in: Don't allow spurious underflow from
13164 * math/auto-libm-test-out: Regenerated.
13168 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13169 values of ha and hb and sort them after adjusting subnormal
13171 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13173 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13174 values of ea and eb and sort them after adjusting subnormal
13176 * math/auto-libm-test-in: Do not expect some hypot tests of
13177 subnormals to fail. Add more hypot tests.
13178 * math/auto-libm-test-out: Regenerated.
13180 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13183 * sysdeps/sh/s_fma.c: New file.
13184 * sysdeps/sh/s_fmaf.c: New file.
13185 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
13187 * sysdeps/sh/Implies: Add sh/soft-fp.
13189 2013-12-16 Roland McGrath <roland@hack.frob.com>
13191 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
13192 level of indirection to members `objname', `errstring', `malloced'.
13193 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13194 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
13195 it as the __longjmp argument (just pass 1 instead).
13196 (_dl_catch_error): Initialize C with argument pointers and address of
13197 volatile local ERRCODE rather than copying values out of C at return.
13199 2013-12-16 Joseph Myers <joseph@codesourcery.com>
13201 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13202 * math/auto-libm-test-out: Regenerated.
13203 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13204 (hypot_test_data): Likewise.
13205 (pow_test_data): Likewise.
13206 (pow_tonearest_test_data): Likewise.
13207 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13209 (func_calc_desc): Add mpfr_ff_f union field.
13210 (FUNC_mpfr_ff_f): New macro.
13211 (test_functions): Add atan2, hypot and pow.
13212 (special_fill_min): New function.
13213 (special_fill_minus_min): Likewise.
13214 (special_fill_min_subnorm): Likewise.
13215 (special_fill_minus_min_subnorm): Likewise.
13216 (special_real_inputs): Add min, -min, min_subnorm and
13218 (calc_generic_results): Handle mpfr_ff_f.
13219 * sysdeps/i386/fpu/libm-test-ulps: Update.
13220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13222 2013-12-16 Will Newton <will.newton@linaro.org>
13224 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13225 (Aligned Memory Blocks): Add documentation for aligned_alloc
13226 and suggest it as an alternative to posix_memalign.
13227 (Hooks for Malloc): Document __memalign_hook is also called
13228 for aligned_alloc. (Summary of Malloc): Add summary for
13229 aligned alloc. Document __memalign_hook is also called
13232 2013-12-16 Will Newton <will.newton@linaro.org>
13234 * manual/memory.texi (Malloc Examples): Clarify default
13235 alignment documentation. Suggest posix_memalign rather
13236 than memalign or valloc.
13237 (Aligned Memory Blocks): Remove suggestion to use memalign
13238 or valloc. Remove obsolete comment about BSD.
13239 Document memalign errno values and mark the function obsolete.
13240 Document posix_memalign returned error codes. Mark valloc
13241 as obsolete. (Hooks for Malloc): __memalign_hook is also
13242 called for posix_memalign and valloc.
13243 (Summary of Malloc): Add posix_memalign to function summary.
13244 __memalign_hook is also called for posix_memalign and valloc.
13246 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13248 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13252 (sloww): Use mynumber union. Expand ternary operator into
13253 if-else statements.
13254 (cslow): use mynumber union.
13256 2013-12-16 Allan McRae <allan@archlinux.org>
13258 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13259 * configure: Regenerated.
13261 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13264 * configure.ac: Added --enable-maintainer-mode. Check for
13265 autoconf when enabled.
13266 * configure: Regenerated.
13268 * nscd/nscd.service: New file.
13269 * nscd/nscd.tmpfiles: New file.
13271 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
13274 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13275 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13276 * sysdeps/x86_64/multiarch/strstr.c: ... here.
13277 (strstr): Add __strstr_sse2_unaligned ifunc.
13278 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13279 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13280 (strcasestr): Remove __strcasestr_sse42 ifunc.
13281 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13282 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13283 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13285 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13287 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13288 * sysdeps/sh/bits/fenv.h: ... here.
13289 * sysdeps/sh/sh4/fpu/bits: Remove directory.
13291 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13293 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13295 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13296 hypotf multiarch implementations.
13297 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13298 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13299 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13300 multiarch hypot for PPC64.
13301 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13302 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13303 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13304 multiarch hypotf for PPC64.
13306 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13307 modff multiarch implementations.
13308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13311 multiarch modf for PPC64.
13312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13315 multiarch modff for PPC64.
13317 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13318 and logl multiarch implementations.
13319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13322 multiarch logb for PPC64.
13323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13326 multiarch logb for PPC64.
13327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13330 multiarch logb for PPC64.
13332 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13333 isinff multiarch implementation.
13334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13338 multiarch isinf for PPC64.
13339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13342 multiarch isinff for PPC64.
13344 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13345 finitef multiarch implementation.
13346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13350 multiarch finite for PPC64.
13351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13354 multiarch finitef for PPC64.
13356 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13357 lrint multiarch implementation.
13358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13362 multiarch llrint for PPC64.
13363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13364 multiarch lrint for PPC64.
13366 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13367 copysignf multiarch implementation.
13368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13373 multiarch copysign for PPC64.
13374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13375 multiarch copysignf for PPC64.
13377 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13378 multiarch implementation.
13379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13387 multiarch llround for PPC64.
13388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13389 multiarch trunc for PPC64.
13390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13391 multiarch truncf for PPC64.
13393 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13394 multiarch implementation.
13395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13403 multiarch llround for PPC64.
13404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13405 multiarch round for PPC64.
13406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13407 multiarch roundf for PPC64.
13409 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13410 multiarch implementation.
13411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13419 multiarch llround for PPC64.
13420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13421 multiarch floor for PPC64.
13422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13423 multiarch floorf for PPC64.
13425 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13426 multiarch implementation.
13427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13435 multiarch llround for PPC64.
13436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13437 multiarch ceil for PPC64.
13438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13439 multiarch ceilf for PPC64.
13441 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13442 multiarch implementation.
13443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13450 multiarch llround for PPC64.
13451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13452 multiarch lround for PPC64.
13454 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13455 multiarch implementation.
13456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13463 multiarch isnan for PPC64.
13464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13465 multiarch isnanf for PPC64.
13467 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13468 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13469 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13470 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13471 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13474 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13475 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13476 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13477 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13479 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13480 multiarch implementations.
13481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13482 (__libc_ifunc_impl_list): Likewise.
13483 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13484 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13485 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13486 multiarch stpcpy for PPC64.
13488 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13489 multiarch implementations.
13490 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13491 (__libc_ifunc_impl_list): Likewise.
13492 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13493 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13494 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13495 multiarch strcpy for PPC64.
13497 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13498 redefine function name.
13499 (_wordcopy_fwd_dest_aligned): Likewise.
13500 (_wordcopy_bwd_aligned): Likewise.
13501 (_wordcopy_bwd_dest_aligned): Likewise.
13502 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13503 multiarch implementations.
13504 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13505 (__libc_ifunc_impl_list): Likewise.
13506 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13507 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13508 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13509 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13510 multiarch wcscpy for PPC64.
13512 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13513 multiarch implementations.
13514 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13515 (__libc_ifunc_impl_list): Likewise.
13516 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13517 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13518 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13519 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13520 multiarch wcscpy for PPC64.
13522 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13523 multiarch implementations.
13524 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13525 (__libc_ifunc_impl_list): Likewise.
13526 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13527 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13528 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13529 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13530 multiarch wcsrchr for PPC64.
13532 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13533 multiarch implementations.
13534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13535 (__libc_ifunc_impl_list): Likewise.
13536 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13537 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13538 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13539 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13540 multiarch wcschr for PPC64.
13542 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13543 multiarch implementations.
13544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13545 (__libc_ifunc_impl_list): Likewise.
13546 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13547 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13548 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13549 multiarch strchrnul for PPC64.
13551 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13553 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13554 (__libc_ifunc_impl_list): Likewise.
13555 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13556 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13557 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13558 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13564 (__libc_ifunc_impl_list): Likewise.
13565 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13566 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13567 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13568 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13571 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13572 multiarch implementations.
13573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13574 (__libc_ifunc_impl_list): Likewise.
13575 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13576 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13577 strncasecmp for PPC64.
13578 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13579 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13580 multiarch strncasecmp_l for PPC64.
13582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13583 multiarch implementations.
13584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13585 (__libc_ifunc_impl_list): Likewise.
13586 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13587 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13588 multiarch strcasecmp for PPC64.
13589 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13591 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13592 multiarch strcasecmp_l for PPC64.
13594 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13597 (__libc_ifunc_impl_list): Likewise.
13598 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13599 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13600 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13603 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13605 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13606 (__libc_ifunc_impl_list): Likewise.
13607 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13608 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13609 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13612 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13614 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13615 (__libc_ifunc_impl_list): Likewise.
13616 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13617 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13618 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13619 rawmemrchr for PPC64.
13621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13624 (__libc_ifunc_impl_list): Likewise.
13625 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13626 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13627 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13633 (__libc_ifunc_impl_list): Likewise.
13634 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13635 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13636 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13639 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13641 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13642 (__libc_ifunc_impl_list): Likewise.
13643 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13644 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13645 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13648 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13649 avoid cretion of __bzero symbol.
13650 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13652 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13654 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13656 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13657 multiarch implementations.
13658 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13659 (__libc_ifunc_impl_list): Likewise.
13660 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13661 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13662 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13663 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13665 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13666 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13667 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13668 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13669 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13671 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13673 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13677 (__libc_ifunc_impl_list): Likewise.
13678 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13679 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13680 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13681 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13684 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13685 multiarch for POWER/PPC64.
13686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13687 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13688 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13689 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13690 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13691 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13692 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13693 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13694 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13697 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13698 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13699 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13700 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13701 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13702 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13703 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13704 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13705 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13706 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13707 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13708 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13709 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13710 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13711 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13720 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13722 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13724 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13726 * benchtests/Makefile (bench): Add exp2 and log2.
13727 (LDLIBS-bench-exp2): Add -lm.
13728 (LDLIBS-bench-log2): Likewise.
13729 * benchtests/exp2-inputs: New inputs file.
13730 * benchtests/log2-inputs: New inputs file.
13731 * benchtests/log-inputs: Add new inputs.
13732 * benchtests/tan-inputs: Likewise.
13734 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13736 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13738 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13739 (csloww2): ... from here.
13741 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13742 instead of structures.
13743 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13744 (POLYNOMIAL): Likewise.
13745 (TAYLOR_SLOW): Likewise.
13751 (sloww1); Likewise.
13752 (sloww2): Likewise.
13753 (bsloww1): Likewise.
13754 (bsloww2): Likewise.
13755 (cslow2): Likewise.
13756 (csloww): Likewise.
13757 (csloww1): Likewise.
13758 (csloww2): Likewise.
13760 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
13762 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13763 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13764 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13765 * malloc/hooks.c (realloc_check): Likewise.
13767 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13768 * malloc/arena.c: Remove PER_THREAD conditional.
13769 [!PER_THREAD]: Remove code.
13770 (ptmalloc_unlock_all2): Likewise.
13771 (ptmalloc_init): Likewise.
13772 (_int_new_arena): Likewise.
13773 (arena_get2): Likewise.
13774 * malloc/hooks.c (__malloc_get_state): Likewise.
13775 (__malloc_set_state): Likewise.
13776 * malloc/malloc.c: Likewise.
13777 (struct malloc_state): Likewise.
13778 (struct malloc_par): Likewise.
13779 (__libc_realloc): Likewise.
13780 (__libc_mallopt): Likewise.
13782 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13784 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13786 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
13788 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13789 macro to a function. Check for zero perturb_byte.
13790 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13792 * malloc/malloc.c: (force_reg): Remove.
13793 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13794 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13795 force_reg by atomic_forced_read.
13796 * malloc/arena.c (ptmalloc_init): Likewise.
13797 * malloc/hooks.c (top_check): Likewise.
13799 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13803 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13807 2013-12-08 Joseph Myers <joseph@codesourcery.com>
13809 * math/auto-libm-test-in: Add tests of lgamma.
13810 * math/auto-libm-test-out: Regenerated.
13811 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13812 (M_LOG_2_SQRT_PIl): Likewise.
13813 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13814 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13816 (func_calc_desc): Add mpfr_f_f1 union field.
13817 (ARGS1): New macro.
13825 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13826 (test_functions): Add lgamma.
13827 (calc_generic_results): Handle mpfr_f_f1.
13828 * sysdeps/i386/fpu/libm-test-ulps: Update.
13829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13831 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13833 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13834 __mpn_add_n for PowerPC64/POWER7.
13835 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13836 __mpn_sub_n for PowerPC64/POWER7.
13838 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13839 __mpn_addmul_1 for PowerPC64.
13840 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13841 __mpn_submul_1 for PowerPC64.
13842 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13844 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13847 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13850 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13852 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13854 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13856 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13857 add multiarch folders.
13858 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13859 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13860 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13861 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13862 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13863 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13864 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13865 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13866 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13867 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13868 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13877 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13883 multiarch __ieee754_hypot for PowerPC32.
13884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13889 multiarch __ieee754_hypotf for PowerPC32.
13891 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13892 long_double_symbol only if __logbl is defined.
13893 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13894 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13895 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13896 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13897 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13898 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13899 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13900 path for implementation.
13901 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13902 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13904 logb, and logbl multiarch implementations for PowerPC32.
13905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13910 multiarch logb for PowerPC32.
13911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13916 multiarch logbf for PowerPC32.
13917 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13921 multiarch logbl implementation for PowerPC32.
13923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13924 and modff multiarch implementations.
13925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13930 multiarch modf for PowerPC32.
13931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13936 multiarch modff for PowerPC32.
13938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13939 and lrintf multiarch implementations.
13940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13945 multiarch lrint for PowerPC32.
13946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13947 file: multiarch lrintf for PowerPC32.
13949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13950 and lroundf multiarch implementations.
13951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13958 multiarch lround for PowerPC32.
13959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13960 file: multiarch lroundf for PowerPC32.
13962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13963 copysign and copysignf multiarch implementations.
13964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13969 file: multiarch copysign for PowerPC32.
13970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13971 file: multiarch copysignf for PowerPC32.
13973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13974 and truncf multiarch implementations.
13975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13980 multiarch trunc for PowerPC32.
13981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13986 multiarch truncf for PowerPC32.
13988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13989 and roundf multiarch implementations.
13990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13995 multiarch round for PowerPC32.
13996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14001 multiarch roundf for PowerPC32.
14003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14004 and floorf multiarch implementations.
14005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14010 multiarch floor for PowerPC32.
14011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14016 multiarch floorf for PowerPC32.
14018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14019 and ceilf multiarch implementations.
14020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14025 multiarch ceil for PowerPC32.
14026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14031 multiarch ceilf for PowerPC32.
14033 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14035 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14036 FINITEF is defined.
14037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14038 and finitef multiarch implementations.
14039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14044 multiarch finite for PowerPC32.
14045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14048 file: multiarch finitef for PowerPC32.
14050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14051 and isinff multiarch implementations.
14052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14057 multiarch isinf for PowerPC32.
14058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14061 multiarch isinff for PowerPC32.
14063 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14064 alias when __isnan is defined.
14065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14066 and isnanf multiarch implementations.
14067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14076 multiarch isnan for PowerPC32.
14077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14082 multiarch isnanf for PowerPC32.
14084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14085 and sqrtf multiarch implementations.
14086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14091 multiarch sqrt for PowerPC32.
14092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14097 multiarch sqrtf for PowerPC32.
14099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14100 and llroundf multiarch implementations.
14101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14108 file: multiarch llround for PowerPC32.
14109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14110 file: multiarch llroundf for PowerPC32.
14112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14113 multiarch PowerPC32 fpu implementations.
14114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14119 multiarch llrint for PowerPC32.
14120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14129 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14131 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14133 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14135 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14136 multiarch wordcopy for PPC32.
14137 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14139 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14140 (__libc_ifunc_impl_list): Likewise.
14141 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14142 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14143 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14144 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14145 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14146 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14148 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14149 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14151 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14153 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14155 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14156 multiarch wcscpy for PPC32.
14157 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14159 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14160 (__libc_ifunc_impl_list): Likewise.
14161 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14162 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14163 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14164 sysdeps/powerpc/power6/wcscpy.c.
14166 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14167 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14169 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14171 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14173 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14174 multiarch wcsrchr for PPC32.
14175 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14177 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14178 (__libc_ifunc_impl_list): Likewise.
14179 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14180 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14181 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14182 sysdeps/powerpc/power6/wcsrchr.c.
14184 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14186 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14188 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14189 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14190 multiarch wcschr for PPc32.
14191 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14193 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14194 (__libc_ifunc_impl_list): Likewise.
14195 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14196 * sysdeps/powerpc/power6/wcschr.c: ... to here.
14197 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14198 sysdeps/powerpc/power6/wcschr.c.
14200 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14201 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14203 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14204 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14205 file: multiarch strchr for PPC32.
14206 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14208 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14209 (__libc_ifunc_impl_list): Likewise.
14211 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14213 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14215 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14217 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14218 multiarch strchrnul for PPC32.
14219 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14221 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14222 (__libc_ifunc_impl_list): Likewise.
14224 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14226 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14227 multiarch strncasecmp for PPC32.
14228 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14230 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14231 multiarch strncasecmp_l for PPC32.
14232 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14233 strncasecmp multiarch objects.
14234 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14235 (__libc_ifunc_impl_list): Likewise.
14237 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14239 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14240 multiarch strncasecmp for PPC32.
14241 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14243 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14244 multiarch strcasecmp_l for PPC32.
14245 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14247 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14248 (__libc_ifunc_impl_list): Likewise.
14250 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14252 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14254 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14255 multiarch strncmp for PPC32.
14256 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14258 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14259 (__libc_ifunc_impl_list): Likewise.
14261 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14262 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14264 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14265 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14266 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14268 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14269 (__libc_ifunc_impl_list): Likewise.
14271 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14273 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14275 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14276 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14278 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14279 (__libc_ifunc_impl_list): Likewise.
14281 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14283 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14285 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14286 multiarch rawmemchr for PPC32.
14287 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14289 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14290 (__libc_ifunc_impl_list): Likewise.
14292 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14294 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14296 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14297 file: memrchr multiarch for PPC32.
14298 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14300 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14301 (__libc_ifunc_impl_list): Likewise.
14303 * string/memchr.c (__memchr): Using macro to redefine symbol name.
14304 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14306 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14307 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14308 multiarch memchr for PPC32.
14309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14312 (__libc_ifunc_impl_list): Likewise.
14314 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14315 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14317 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14319 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14320 file: multiarch mempcpy for PPC32.
14321 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14323 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14324 (__libc_ifunc_impl_list): Likewise.
14326 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14327 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14328 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14329 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14330 multiarch bzero for PPC32.
14331 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14333 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14335 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14336 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14337 file: multiarch memset for PPC32.
14338 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14339 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14340 memset multiarch objects.
14341 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14342 (__libc_ifunc_impl_list): Likewise.
14344 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14346 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14347 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14349 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14350 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14352 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14353 (__libc_ifunc_impl_list): Likewise.
14355 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14356 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14357 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14359 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14361 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14363 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14364 multiarch memcpy for PPC32.
14365 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14367 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14368 (__libc_ifunc_impl_list): Likewise.
14370 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14371 support multiarch for POWER/PPC32.
14372 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14374 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14376 Implies file to make multiarch folder appers before the fpu and
14377 default folder for power4 configuration.
14379 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14381 * scripts/bench.pl: Append volatile keyword to type.
14383 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14385 * sysdeps/sh/sotruss-lib.c: New file.
14386 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14388 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14392 2013-12-05 Joseph Myers <joseph@codesourcery.com>
14395 * math/w_tgamma.c: Include <errno.h>.
14396 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
14397 * math/w_tgammaf.c: Include <errno.h>.
14398 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
14399 * math/w_tgammal.c: Include <errno.h>.
14400 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
14401 * math/auto-libm-test-in: Do not allow missing errno on tgamma
14402 underflow. Add more tgamma tests.
14403 * math/auto-libm-test-out: Regenerated.
14404 * sysdeps/i386/fpu/libm-test-ulps: Update.
14405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14407 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14408 sin, sinh, tan, tanh, tgamma, y0 and y1.
14409 * math/auto-libm-test-out: Regenerated.
14410 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14411 (TEST_COND_x86): Likewise.
14412 (M_E2l): Remove macro.
14414 (M_2_SQRT_PIl): Likewise.
14415 (M_SQRT_PIl): Likewise.
14416 (M_1_DIV_El): Likewise.
14417 (log_test_data): Use AUTO_TESTS_f_f.
14418 (log10_test_data): Likewise.
14419 (log1p_test_data): Likewise.
14420 (log2_test_data): Likewise.
14421 (sin_test_data): Likewise.
14422 (sin_tonearest_test_data): Likewise.
14423 (sin_towardzero_test_data): Likewise.
14424 (sin_downward_test_data): Likewise.
14425 (sin_upward_test_data): Likewise.
14426 (sinh_test_data): Likewise.
14427 (sinh_tonearest_test_data): Likewise.
14428 (sinh_towardzero_test_data): Likewise.
14429 (sinh_downward_test_data): Likewise.
14430 (sinh_upward_test_data): Likewise.
14431 (tan_test_data): Likewise.
14432 (tan_tonearest_test_data): Likewise.
14433 (tan_towardzero_test_data): Likewise.
14434 (tan_downward_test_data): Likewise.
14435 (tan_upward_test_data): Likewise.
14436 (tanh_test_data): Likewise.
14437 (tgamma_test_data): Likewise.
14438 (y0_test_data): Likewise.
14439 (y1_test_data): Likewise.
14440 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14441 (special_real_inputs): Add pi/4.
14442 * sysdeps/i386/fpu/libm-test-ulps: Update.
14443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14445 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14447 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14448 "longjmp_target" static probes.
14449 (__longjmp): Rename to __longjmp_symbol.
14450 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14451 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14452 on which longjmp to generate.
14453 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14454 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14456 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14457 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14458 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14459 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14460 and __sigjmp_save_symbol based on which sigsetjmp to generated.
14461 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14463 __longjmp_symbol based on which __longjmp to generate.
14464 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14466 (setjmp): Rename to setjmp_symbol.
14467 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14468 (_setjmp): Rename to _setjmp_symbol.
14469 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14470 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14471 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14472 which setjmp to generate.
14473 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14474 "longjmp_target" static probes.
14476 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14478 * benchtests/README: Add note about output arguments.
14479 * benchtests/bench-sincos.c: Remove file.
14480 * benchtests/sincos-inputs: New file.
14481 * scripts/bench.pl: Identify output arguments and define
14482 static variables for them.
14484 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14487 * Makefile (INSTALL): Add install-plain.texi as the primary
14489 * manual/install-plain.texi: New file.
14490 * manual/install.texi: Include node directive only for
14491 non-plaintext output.
14493 2013-12-04 Joseph Myers <joseph@codesourcery.com>
14495 * stdlib/longlong.h: Update from GCC.
14499 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14500 * math/w_j0f.c (y0f): Likewise.
14501 * math/w_j0l.c (__y0l): Likewise.
14502 * math/w_j1.c (y1): Likewise.
14503 * math/w_j1f.c (y1f): Likewise.
14504 * math/w_j1l.c (__y1l): Likewise
14505 * math/w_jn.c (yn): Likewise.
14506 * math/w_jnf.c (ynf): Likewise.
14507 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14508 Bessel function pole errors in _POSIX_ mode. Use NAN as return
14509 value for Bessel function domain errors outside _SVID_ mode.
14510 Adjust sign of return value for yn (negative integer, 0).
14511 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14512 by zero in return for negative x and set sign appropriately for
14514 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14515 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14516 * math/libm-test.inc (y0_test_data): Add more tests and adjust
14517 expectations in error cases.
14518 (y1_test_data): Likewise.
14519 (yn_test_data): Likewise.
14520 * sysdeps/i386/fpu/libm-test-ulps: Update.
14521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14523 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14525 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14526 "64" to "64-v1". Add "64-v2".
14527 (abi-64-options): Rename to ...
14528 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
14529 (abi-64-condition): Rename to ...
14530 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
14531 (abi-64-ld-soname): Rename to ...
14532 (abi-64-v1-ld-soname): ... this.
14533 (abi-64-v2-options): Define.
14534 (abi-64-v2-condition): Likewise.
14535 (abi-64-v2-ld-soname): Likewise.
14536 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14537 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14542 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14543 Alan Modra <amodra@gmail.com>
14545 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14546 New versions for use with the ELFv2 ABI.
14547 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14548 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14550 (struct La_ppc64v2_retval): Likewise.
14551 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14552 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14553 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14554 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14555 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14556 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14557 Do not save or restore CR.
14558 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14559 (_dl_profile_resolve): Do no save or restore CR. Support extended
14560 return values for ELFv2 ABI. Fix location of FPR return registers.
14561 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14562 updated values for _CALL_ELF == 2.
14563 (La_regs, La_retval, int_retval): Likewise.
14565 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14567 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14568 (FRAME_MIN_SIZE_PARM): Likewise.
14569 (FRAME_BACKCHAIN): Likewise.
14570 (FRAME_CR_SAVE): Likewise.
14571 (FRAME_LR_SAVE): Likewise.
14572 (FRAME_TOC_SAVE): Likewise.
14573 (FRAME_PARM_SAVE): Likewise.
14574 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14575 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14576 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14577 (call_mcount_parm_offset): New macro.
14578 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14579 (PROF): Use symbolic stack frame offsets.
14580 (TAIL_CALL_SYSCALL_ERROR): Likewise.
14581 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14582 Redefine in terms of FRAME_MIN_SIZE.
14583 (_dl_runtime_resolve): Use symbolic stack frame offsets.
14584 (_dl_profile_resolve): Likewise. Update comment.
14585 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14586 symbols stack frame offsets.
14587 (__sigsetjmp): Likewise.
14588 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14589 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14590 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14591 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14594 (FRAME_BACKCHAIN): Remove.
14595 (FRAME_CR_SAVE): Likewise.
14596 (FRAME_LR_SAVE): Likewise.
14597 (FRAME_COMPILER_DW): Likewise.
14598 (FRAME_LINKER_DW): Likewise.
14599 (FRAME_TOC_SAVE): Likewise.
14600 (FRAME_PARM_SAVE): Likewise.
14601 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14602 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14603 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14605 (CHECK_SP): Use symbolic stack frame offsets.
14606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14607 zone" instead of caller's parameter save area for temp storage.
14608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14609 Likewise. Also, use symbolic stack frame offsets.
14610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14611 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14612 our own stack frame instead of the caller's.
14613 (__socket): Use symbolic stack frame offsets.
14615 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14616 Alan Modra <amodra@gmail.com>
14618 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14620 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14621 (PPC64_LOCAL_ENTRY_OFFSET): Define.
14622 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14624 (elf_machine_fixup_plt): Call it.
14625 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
14627 (elf_machine_rela): Update call to elf_machine_plt_conflict.
14628 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14629 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14630 r2 before calling target.
14632 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14633 Alan Modra <amodra@gmail.com>
14635 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14636 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14637 versions of macros to support ELFv2 ABI.
14638 (LOCALENTRY): New macro.
14639 (ENTRY, EALIGN): Use it.
14640 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14641 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14642 fall through into ENTRY entry point.
14643 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14644 Only define if _CALL_ELF != 2.
14646 (elf_machine_matches_host): Verify ABI version matches.
14647 (RTLD_START): Use LOCALENTRY.
14648 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14649 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14650 (PLT_ENTRY_WORDS): New macro.
14651 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14652 (elf_machine_runtime_setup): Support ELFv2 ABI.
14653 (elf_machine_fixup_plt): Likewise.
14654 (elf_machine_plt_conflict): Likewise.
14655 (resolve_ifunc): Likewise.
14656 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14657 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14660 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14662 (makecontext): Support ELFv2 ABI.
14663 * elf/elf.h (EF_PPC64_ABI): Define.
14665 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14667 * sysdeps/powerpc/powerpc64/sysdep.h
14668 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14669 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14670 (ENTRY) [ASSEMBLER]: ... but instead here ...
14671 (EALIGN) [ASSEMBLER]: ... and here.
14672 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14673 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14674 (ENTRY_2) [!ASSEMBLER]: Use it.
14675 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14676 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
14677 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14678 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14679 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14681 Use PPC64_LOAD_FUNCPTR.
14683 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14685 2013-12-04 Alan Modra <amodra@gmail.com>
14687 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14688 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14689 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14690 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14692 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14693 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14694 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14695 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14696 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14697 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14699 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14702 (__makecontext): Fix incorrect CFI when backtracing out of
14703 context created via makecontext.
14704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14705 (__setcontext): Fix incorrect CFI during switch to new context.
14706 (__novec_setcontext): Likewise.
14708 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14711 * time/strptime_l.c (__strptime_internal): Allow modifiers
14713 * time/tst-strptime.c (day_tests): Add testcase.
14715 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14717 * scripts/bench.pl: Skip over blank lines.
14719 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14722 * manual/time.texi (Calendar Time): Clarify what timezone functions
14725 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14729 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14731 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14733 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14734 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14735 * debug/memset_chk.c (__memset_chk): Likewise.
14736 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14737 * debug/strncpy_chk.c: Likewise.
14739 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14743 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14744 (__ieee754_exp): For possibly underflowing results, check size of
14745 result and force underflow exception if required.
14746 * math/auto-libm-test-in: Add more tests of exp.
14747 * math/auto-libm-test-out: Regenerated.
14748 * sysdeps/i386/fpu/libm-test-ulps: Update.
14749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14752 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14753 * math/w_exp2f.c (__exp2f): Likewise.
14754 * math/w_exp2l.c (__exp2l): Likewise.
14755 * math/auto-libm-test-in: Do not allow missing errno on exp2
14757 * math/auto-libm-test-out: Regenerated.
14759 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
14762 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14763 handle filename validation.
14764 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14767 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14770 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14771 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14772 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14774 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14775 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14776 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14777 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14778 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14779 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14780 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14781 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14782 Add more erfc tests.
14783 * math/auto-libm-test-out: Regenerated.
14784 * sysdeps/i386/fpu/libm-test-ulps: Update.
14785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14787 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14788 exp2, expm1, j0 and j1.
14789 * math/auto-libm-test-out: Regenerated.
14790 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14791 (erfc_test_data): Likewise.
14792 (exp_test_data): Likewise.
14793 (exp_tonearest_test_data): Likewise.
14794 (exp_towardzero_test_data): Likewise.
14795 (exp_downward_test_data): Likewise.
14796 (exp_upward_test_data): Likewise.
14797 (exp10_test_data): Likewise.
14798 (exp2_test_data): Likewise.
14799 (expm1_test_data): Likewise.
14800 (j0_test_data): Likewise.
14801 (j1_test_data): Likewise.
14802 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14803 (input_flag_type): Add flag_xfail_rounding.
14804 (input_flags): Add xfail-rounding.
14805 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14806 (output_for_one_input_case): Handle flag_xfail_rounding.
14807 * sysdeps/i386/fpu/libm-test-ulps: Update.
14808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14810 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14813 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14816 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14819 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14820 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14821 (STAP_PROBE0): New macro.
14822 (STAP_PROBE1): Likewise.
14823 (STAP_PROBE2): Likewise.
14824 (STAP_PROBE3): Likewise.
14825 (STAP_PROBE4): Likewise.
14827 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
14829 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14831 2013-12-02 Steve Ellcey <sellcey@mips.com>
14833 * benchtests/Makefile (bench): Add sqrt.
14834 (LDLIBS-bench-sqrt): New.
14835 * benchtests/sqrt-input: New.
14837 2013-12-02 Pavel Simerda <psimerda@redhat.com>
14839 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14840 (GAIH_EAI): Likewise.
14841 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14842 (gaih_inet): Likewise.
14843 (getaddrinfo): Don't use GAIH_EAI.
14845 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14846 (struct gaih): Remove definition.
14848 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14850 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14851 Use HERRNOP directly.
14853 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14857 2013-11-30 Joseph Myers <joseph@codesourcery.com>
14859 * math/gen-auto-libm-tests.c (test_functions): Add more
14860 single-argument functions.
14861 (special_fill_pi_2): New function.
14862 (special_fill_minus_pi_2): Likewise.
14863 (special_fill_pi_6): Likewise.
14864 (special_fill_minus_pi_6): Likewise.
14865 (special_fill_pi_3): Likewise.
14866 (special_fill_2pi_3): Likewise.
14867 (special_fill_e): Likewise.
14868 (special_fill_1_e): Likewise.
14869 (special_fill_e_minus_1): Likewise.
14870 (special_real_inputs): Add more special inputs.
14871 (output_for_one_input_case): Do not require ERANGE on underflow to
14872 zero if round-to-nearest result does not underflow to zero, unless
14873 exact results required.
14874 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14875 atan, atanh, cbrt, cos and cosh.
14876 * math/auto-libm-test-out: Regenerated.
14877 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14878 (acos_tonearest_test_data): Likewise.
14879 (acos_towardzero_test_data): Likewise.
14880 (acos_downward_test_data): Likewise.
14881 (acos_upward_test_data): Likewise.
14882 (acosh_test_data): Likewise.
14883 (asin_test_data): Likewise.
14884 (asin_tonearest_test_data): Likewise.
14885 (asin_towardzero_test_data): Likewise.
14886 (asin_upward_test_data): Likewise.
14887 (asinh_test_data): Likewise.
14888 (atan_test_data): Likewise.
14889 (atanh_test_data): Likewise.
14890 (cbrt_test_data): Likewise.
14891 (cos_test_data): Likewise.
14892 (cos_tonearest_test_data): Likewise.
14893 (cos_towardzero_test_data): Likewise.
14894 (cos_downward_test_data): Likewise.
14895 (cos_upward_test_data): Likewise.
14896 (cosh_test_data): Likewise.
14897 (cosh_tonearest_test_data): Likewise.
14898 (cosh_towardzero_test_data): Likewise.
14899 (cosh_downward_test_data): Likewise.
14900 (cosh_upward_test_data): Likewise.
14901 * sysdeps/i386/fpu/libm-test-ulps: Update.
14902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14904 2013-11-29 Joseph Myers <joseph@codesourcery.com>
14907 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14908 * math/w_exp10f.c (__exp10f): Likewise.
14909 * math/w_exp10l.c (__exp10l): Likewise.
14910 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14911 errno settings in existing tests.
14914 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14915 precision control set to double precision.
14916 * sysdeps/i386/fpu/w_sqrt.c: New file.
14917 * math/auto-libm-test-in: Add more tests.
14918 * math/auto-libm-test-out: Update.
14920 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14921 (sqrt_test_tonearest): New function.
14922 (sqrt_towardzero_test_data): New variable.
14923 (sqrt_test_towardzero): New function.
14924 (sqrt_downward_test_data): New variable.
14925 (sqrt_test_downward): New function.
14926 (sqrt_upward_test_data): New variable.
14927 (sqrt_test_upward): New function.
14928 (main): Call the new functions.
14930 * math/gen-auto-libm-tests.c: New file.
14931 * math/auto-libm-test-in: Likewise.
14932 * math/auto-libm-test-out: New generated file.
14933 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14935 (%beautify): Add generated representations of zero.
14936 (top level): Set $auto_input and call parse_auto_input.
14937 (beautify): Remove trailing "f" from hex float constants.
14938 (parse_args): Handle XFAIL_TEST.
14939 (convert_condition): New function.
14940 (or_value): Likewise.
14941 (or_cond_value): Likewise.
14942 (generate_testfile): Handle AUTO_TESTS_* lines.
14943 (parse_auto_input): New function.
14944 * math/libm-test.inc (XFAIL_TEST): New macro.
14945 (ERRNO_UNCHANGED): Update value.
14946 (ERRNO_EDOM): Likewise.
14947 (ERRNO_ERANGE): Likewise.
14948 (IGNORE_RESULT): Likewise.
14949 (TEST_COND_flt_32): New macro.
14950 (TEST_COND_dbl_64): Likewise.
14951 (TEST_COND_ldbl_96_intel): Likewise.
14952 (TEST_COND_ldbl_96_m68k): Likewise.
14953 (TEST_COND_ldbl_128): Likewise.
14954 (TEST_COND_ldbl_128ibm): Likewise.
14955 (TEST_COND_long32): Likewise.
14956 (TEST_COND_long64): Likewise.
14957 (TEST_COND_before_rounding): Likewise.
14958 (TEST_COND_after_rounding): Likewise.
14959 (enable_test): Handle XFAIL_TEST flag.
14960 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14961 with finite results.
14962 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14963 auto-libm-test-out.
14965 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14966 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14969 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14970 __tls_get_addr_internal instead of __tls_get_offset in order to
14971 avoid GOT pointer dependency. Make rtld export
14972 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14973 __tls_get_addr since we are a __tls_get_offset platform.
14974 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14975 GOT pointer being set up before.
14976 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14978 2013-11-28 Joseph Myers <joseph@codesourcery.com>
14980 * manual/math.texi (Errors in Math Functions): Document accuracy
14984 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14985 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14986 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14987 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14988 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14989 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14990 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14991 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14992 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14993 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14994 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14995 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14996 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14997 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14998 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14999 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15001 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15002 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15003 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15004 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15005 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15007 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15009 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15011 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15012 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15013 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15014 atomic-feupdateenv and flt-rounds.
15015 * sysdeps/powerpc/nofpu/Versions (libc): Add
15016 __atomic_feholdexcept, __atomic_feclearexcept,
15017 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15018 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15019 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15020 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15021 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15026 * manual/arith.texi (FP Exceptions): Document that exceptions may
15027 not be raised when matherr is used.
15028 (Math Error Reporting): Document overflow in directed rounding
15029 modes. Document that errno may not be set when finite values are
15030 returned on overflow. Document intent to set errno on underflow
15031 only for underflow to zero.
15034 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15035 round-to-nearest then adjust result for other rounding modes.
15036 * include/fenv.h (fegetround): Use libm_hidden_proto.
15037 * math/fegetround.c (fegetround): Use libm_hidden_def.
15038 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15039 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15040 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15041 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15043 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15044 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15045 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15046 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15048 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15051 * nss/Versions (libnss_files): Add
15052 _nss_files_gethostbyname3_r.
15053 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15055 (HOST_DB_LOOKUP): Remove macro.
15056 (_nss_files_gethostbyname_r): Implement function without the
15057 HOST_DB_LOOKUP macro.
15058 (_nss_files_gethostbyname2_r): Likewise.
15060 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
15062 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15064 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
15066 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15067 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15070 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15072 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15073 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15074 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15075 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15076 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15077 __fe_nomask_env_priv and attribute_hidden.
15078 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15079 (libc_feupdateenv_test_ppc): Likewise.
15080 (libc_feresetround_ppc): Likewise.
15081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15082 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15083 compat_symbol macro.
15084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15085 (__fe_nomask_env): Likewise.
15086 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15088 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15090 * string/Makefile: Remove ifunc tests.
15091 * string/test-string.h: Define TEST_IFUNC.
15092 * string/test-bcopy-ifunc.c: Remove.
15093 * string/test-bzero-ifunc.c: Likewise.
15094 * string/test-memccpy-ifunc.c: Likewise.
15095 * string/test-memchr-ifunc.c: Likewise.
15096 * string/test-memcmp-ifunc.c: Likewise.
15097 * string/test-memcpy-ifunc.c: Likewise.
15098 * string/test-memmem-ifunc.c: Likewise.
15099 * string/test-memmove-ifunc.c: Likewise.
15100 * string/test-mempcpy-ifunc.c: Likewise.
15101 * string/test-memrchr-ifunc.c: Likewise.
15102 * string/test-memset-ifunc.c: Likewise.
15103 * string/test-rawmemchr-ifunc.c: Likewise.
15104 * string/test-stpcpy-ifunc.c: Likewise.
15105 * string/test-stpncpy-ifunc.c: Likewise.
15106 * string/test-strcasecmp-ifunc.c: Likewise.
15107 * string/test-strcasestr-ifunc.c: Likewise.
15108 * string/test-strcat-ifunc.c: Likewise.
15109 * string/test-strchr-ifunc.c: Likewise.
15110 * string/test-strchrnul-ifunc.c: Likewise.
15111 * string/test-strcmp-ifunc.c: Likewise.
15112 * string/test-strcpy-ifunc.c: Likewise.
15113 * string/test-strcspn-ifunc.c: Likewise.
15114 * string/test-strlen-ifunc.c: Likewise.
15115 * string/test-strncasecmp-ifunc.c: Likewise.
15116 * string/test-strncat-ifunc.c: Likewise.
15117 * string/test-strncmp-ifunc.c: Likewise.
15118 * string/test-strncpy-ifunc.c: Likewise.
15119 * string/test-strnlen-ifunc.c: Likewise.
15120 * string/test-strpbrk-ifunc.c: Likewise.
15121 * string/test-strrchr-ifunc.c: Likewise.
15122 * string/test-strspn-ifunc.c: Likewise.
15123 * string/test-strstr-ifunc.c: Likewise.
15125 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15127 * benchtests/Makefile: Remove ifunc tests.
15128 * benchtests/bench-string.h: Define TEST_IFUNC.
15129 * benchtests/bench-bcopy-ifunc.c: Remove.
15130 * benchtests/bench-bzero-ifunc.c: Likewise.
15131 * benchtests/bench-memccpy-ifunc.c: Likewise.
15132 * benchtests/bench-memchr-ifunc.c: Likewise.
15133 * benchtests/bench-memcmp-ifunc.c: Likewise.
15134 * benchtests/bench-memcpy-ifunc.c: Likewise.
15135 * benchtests/bench-memmem-ifunc.c: Likewise.
15136 * benchtests/bench-memmove-ifunc.c: Likewise.
15137 * benchtests/bench-mempcpy-ifunc.c: Likewise.
15138 * benchtests/bench-memrchr-ifunc.c: Likewise.
15139 * benchtests/bench-memset-ifunc.c: Likewise.
15140 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15141 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15142 * benchtests/bench-stpcpy-ifunc.c: Likewise.
15143 * benchtests/bench-stpncpy-ifunc.c: Likewise.
15144 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15145 * benchtests/bench-strcasestr-ifunc.c: Likewise.
15146 * benchtests/bench-strcat-ifunc.c: Likewise.
15147 * benchtests/bench-strchr-ifunc.c: Likewise.
15148 * benchtests/bench-strchrnul-ifunc.c: Likewise.
15149 * benchtests/bench-strcmp-ifunc.c: Likewise.
15150 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15151 * benchtests/bench-strcpy-ifunc.c: Likewise.
15152 * benchtests/bench-strcspn-ifunc.c: Likewise.
15153 * benchtests/bench-strlen-ifunc.c: Likewise.
15154 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15155 * benchtests/bench-strncat-ifunc.c: Likewise.
15156 * benchtests/bench-strncmp-ifunc.c: Likewise.
15157 * benchtests/bench-strncpy-ifunc.c: Likewise.
15158 * benchtests/bench-strnlen-ifunc.c: Likewise.
15159 * benchtests/bench-strpbrk-ifunc.c: Likewise.
15160 * benchtests/bench-strrchr-ifunc.c: Likewise.
15161 * benchtests/bench-strsep-ifunc.c: Likewise.
15162 * benchtests/bench-strspn-ifunc.c: Likewise.
15163 * benchtests/bench-strstr-ifunc.c: Likewise.
15165 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15167 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15169 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15171 * resolv/netdb.h: Use __glibc_reserved instead __unused.
15172 * rt/aio.h: Likewise.
15173 * sysdeps/gnu/bits/utmp.h: Likewise.
15174 * sysdeps/gnu/bits/utmpx.h: Likewise.
15175 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15176 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15177 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15178 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15179 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15180 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15181 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15182 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15183 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15184 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15185 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15186 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15187 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15189 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15190 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15191 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15192 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15193 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15194 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15195 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15196 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15197 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15198 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15199 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15200 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15201 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15202 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15203 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15204 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15205 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15206 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15207 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15208 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15209 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15210 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15211 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15212 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15213 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15214 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15215 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15216 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15218 2013-11-25 Carlos O'Donell <carlos@redhat.com>
15221 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15222 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15224 2013-11-25 Joseph Myers <joseph@codesourcery.com>
15226 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15227 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15230 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15232 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15233 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15234 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15235 (__fesetround): Remove define.
15236 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15237 rounding and exceptions handling.
15238 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15239 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15240 (__fe_nomask_env): Likewise.
15241 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15242 __fegetround instead of fegetround.
15243 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15244 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15246 2013-11-21 Roland McGrath <roland@hack.frob.com>
15248 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15251 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15253 2013-11-21 Meador Inge <meadori@codesourcery.com>
15256 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15257 (encrypt_r): Likewise.
15258 * malloc/obstack.h (obstack_free): Likewise.
15259 * posix/unistd.h (encrypt): Likewise.
15261 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
15263 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15264 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15265 DL_CALL_DT_FINI() that call the functions directly.
15266 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15267 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15268 * elf/dl-fini.c: Likewise.
15270 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
15272 * malloc/hooks.c (memalign_check): Add alignment rounding.
15273 * malloc/malloc.c (_mid_memalign): New function.
15274 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15275 Implement by calling _mid_memalign.
15276 * manual/probes.texi (Memory Allocation Probes): Remove
15277 memory_valloc_retry and memory_pvalloc_retry.
15279 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15281 * locale/programs/locarchive.c (open_archive): Add const
15282 qualifier to ARCHIVEFNAME and copy default fname to
15286 * libio/tst-widetext.input: Rename Oriya to Odia.
15287 * locale/iso-639.def: Likewise.
15289 * manual/probes.texi (Mathematical Function Probes): Add
15290 documentation for sin, cos, asin and acos probes.
15291 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15292 (__sin32): Add slowasin probe.
15293 (__cos32): Add slowacos probe.
15294 (__mpsin): Add slowsin probe.
15295 (__mpcos): Add slowcos probe.
15297 2013-11-19 Joseph Myers <joseph@codesourcery.com>
15300 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15301 thread-local __sim_exceptions_thread and global
15302 __sim_exceptions_global.
15303 (__sim_disabled_exceptions): Change to thread-local
15304 __sim_disabled_exceptions_thread and global
15305 __sim_disabled_exceptions_global.
15306 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15307 and global __sim_round_mode_global.
15308 (__simulate_exceptions): Use thread-local floating-point state and
15309 set global state from it as needed.
15310 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15311 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15312 __sim_round_mode_thread.
15313 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15314 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15315 and global __sim_exceptions_global.
15316 (__sim_disabled_exceptions): Change to thread-local
15317 __sim_disabled_exceptions_thread and global
15318 __sim_disabled_exceptions_global.
15319 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15320 and global __sim_round_mode_global.
15321 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15322 (SIM_SET_GLOBAL): Likewise.
15323 * sysdeps/powerpc/soft-fp/sfp-machine.h
15324 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15325 __sim_round_mode_thread.
15326 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15327 __sim_disabled_exceptions_thread.
15328 (__sim_exceptions): Change to __sim_exceptions_thread.
15329 (__sim_disabled_exceptions): Change to
15330 __sim_disabled_exceptions_thread.
15331 (__sim_round_mode): Change to __sim_round_mode_thread.
15332 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15333 thread-local floating-point state and set global state from it as
15335 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15336 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15337 (__sim_disabled_exceptions): Remove extern declaration.
15338 (feenableexcept): Use thread-local floating-point state and set
15339 global state from it as needed.
15340 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15341 extern declaration.
15342 (__sim_disabled_exceptions): Likewise.
15343 (__sim_round_mode): Likewise.
15344 (__fegetenv): Use thread-local floating-point state.
15345 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15346 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15347 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15348 floating-point state and set global state from it as needed.
15349 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15350 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15351 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15353 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15354 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15356 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15357 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15358 Use __sim_round_mode_thread.
15359 * math/test-fenv-tls.c: New file.
15360 * math/Makefile (tests): Add test-fenv-tls.
15361 ($(objpfx)test-fenv-tls): Depend on
15362 $(common-objpfx)nptl/libpthread.so.
15364 2013-11-19 Andreas Schwab <schwab@suse.de>
15366 * locale/programs/locale.c (show_info): Decode wordarray elements.
15367 * locale/categories.def (LC_MONETARY): Add element for
15368 _NL_MONETARY_CRNCYSTR.
15369 * locale/C-monetary.c (conversion_rate): New variable.
15370 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15373 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
15375 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15376 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15378 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15380 * elf/Makefile (tst-auxv): New test.
15381 * elf/tst-auxv.c: New
15382 * elf/rtld.c (dl_main): Adjust AT_EXECFN
15384 2013-11-18 Joseph Myers <joseph@codesourcery.com>
15386 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15387 (hidden_proto): Caller changed.
15388 (hidden_tls_proto): New macro.
15389 (libc_hidden_tls_proto): Likewise.
15390 (rtld_hidden_tls_proto): Likewise.
15391 (libm_hidden_tls_proto): Likewise.
15392 (libresolv_hidden_tls_proto): Likewise.
15393 (librt_hidden_tls_proto): Likewise.
15394 (libdl_hidden_tls_proto): Likewise.
15395 (libnss_files_hidden_tls_proto): Likewise.
15396 (libnsl_hidden_tls_proto): Likewise.
15397 (libnss_nisplus_hidden_tls_proto): Likewise.
15398 (libutil_hidden_tls_proto): Likewise.
15400 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
15403 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15404 (decompose_rpath): Defer expansion to fillin_rpath.
15405 (_dl_init_paths): Pass linkmap to fillin_rpath.
15407 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15409 * benchtests/Makefile: Add strsep.
15410 * benchtests/bench-strsep.c: New file: strsep benchtest.
15411 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15413 2013-11-18 Andreas Schwab <schwab@suse.de>
15415 * locale/programs/locale.c (show_info) [case byte]: Check for
15416 '\377' instead of '\177'.
15417 * locale/C-monetary.c (not_available): Always use "\377".
15418 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15419 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
15420 detect unavailable sign_posn locale elements.
15421 * locale/localeconv.c (__localeconv): For grouping and
15422 mon_grouping handle "\177" and "\377" like no grouping.
15423 (INT_ELEM): New macro. Use it to set all numeric members.
15424 * locale/programs/ld-monetary.c (monetary_read)
15425 <tok_mon_grouping>: Normalize single -1 to the empty string.
15426 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15429 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15432 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15433 when we match (nil).
15434 * stdio-common/tst-sscanf.c (struct test): Add testcase.
15436 2013-11-16 Joseph Myers <joseph@codesourcery.com>
15438 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15439 (NO_TEST_INLINE): Update value.
15440 (ERRNO_UNCHANGED): Likewise.
15441 (ERRNO_EDOM): Likewise.
15442 (ERRNO_ERANGE): Likewise.
15443 (IGNORE_RESULT): Likewise.
15444 (check_float_internal): Check signs of NaN results if
15445 TEST_NAN_SIGN used.
15446 (check_complex): Pass TEST_NAN_SIGN flag through to second
15447 check_float_internal call.
15448 (copysign_test_data): Add tests with quiet NaNs as second
15449 argument. Use TEST_NAN_SIGN.
15450 (fabs_test_data): Add test of negative quiet NaN argument. Use
15452 (signbit_test_data): Add tests of quiet NaN argument.
15453 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15455 * math/gen-libm-test.pl (show_exceptions): Take extra argument
15457 (parse_args): Handle function results specified as IGNORE.
15458 * math/libm-test.inc (IGNORE_RESULT): New macro.
15459 (check_float_internal): Do not check numerical result if flag
15461 (check_complex): Pass through IGNORE_RESULT to second
15462 check_float_internal call.
15463 (check_int): Do not check numerical result if flag IGNORE_RESULT
15465 (check_long): Likewise.
15466 (check_bool): Likewise.
15467 (check_longlong): Likewise.
15468 (lrint_test_data): Add tests of infinite and NaN arguments.
15469 (lrint_tonearest_test_data): Likewise.
15470 (lrint_towardzero_test_data): Likewise.
15471 (lrint_downward_test_data): Likewise.
15472 (lrint_upward_test_data): Likewise.
15473 (llrint_test_data): Likewise.
15474 (llrint_tonearest_test_data): Likewise.
15475 (llrint_towardzero_test_data): Likewise.
15476 (llrint_downward_test_data): Likewise.
15477 (llrint_upward_test_data): Likewise.
15478 (lround_test_data): Likewise.
15479 (llround_test_data): Likewise.
15481 * math/libm-test.inc (NO_TEST_INLINE): New macro.
15482 (ERRNO_UNCHANGED): Update value.
15483 (ERRNO_EDOM): Likewise.
15484 (ERRNO_ERANGE): Likewise.
15485 (NO_TEST_INLINE_FLOAT): New macro.
15486 (NO_TEST_INLINE_DOUBLE): Likewise.
15487 (enable_test): New function.
15488 (RUN_TEST_f_f): Check enable_test before running test.
15489 (RUN_TEST_2_f): Likewise.
15490 (RUN_TEST_fff_f): Likewise.
15491 (RUN_TEST_c_f): Likewise.
15492 (RUN_TEST_f_f1): Likewise.
15493 (RUN_TEST_fF_f1): Likewise.
15494 (RUN_TEST_fI_f1): Likewise.
15495 (RUN_TEST_ffI_f1): Likewise.
15496 (RUN_TEST_c_c): Likewise.
15497 (RUN_TEST_cc_c): Likewise.
15498 (RUN_TEST_f_i): Likewise.
15499 (RUN_TEST_f_i_tg): Likewise.
15500 (RUN_TEST_ff_i_tg): Likewise.
15501 (RUN_TEST_f_b): Likewise.
15502 (RUN_TEST_f_b_tg): Likewise.
15503 (RUN_TEST_f_l): Likewise.
15504 (RUN_TEST_f_L): Likewise.
15505 (RUN_TEST_fFF_11): Likewise.
15506 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15508 (cosh_test_data): Likewise.
15509 (exp_test_data): Likewise.
15510 (expm1_test_data): Likewise.
15511 (hypot_test_data): Likewise.
15512 (pow_test_data): Likewise.
15513 (sinh_test_data): Likewise.
15514 (tanh_test_data): Likewise.
15515 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15518 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15519 tests with quiet NaN input and output.
15520 (acosh_test_data): Likewise.
15521 (asin_test_data): Likewise.
15522 (asinh_test_data): Likewise.
15523 (atan_test_data): Likewise.
15524 (atanh_test_data): Likewise.
15525 (atan2_test_data): Likewise.
15526 (cbrt_test_data): Likewise.
15527 (cos_test_data): Likewise.
15528 (cosh_test_data): Likewise.
15529 (erf_test_data): Likewise.
15530 (erfc_test_data): Likewise.
15531 (exp_test_data): Likewise.
15532 (exp10_test_data): Likewise.
15533 (exp2_test_data): Likewise.
15534 (expm1_test_data): Likewise.
15535 (hypot_test_data): Likewise.
15536 (j0_test_data): Likewise.
15537 (j1_test_data): Likewise.
15538 (jn_test_data): Likewise.
15539 (lgamma_test_data): Likewise.
15540 (log_test_data): Likewise.
15541 (log10_test_data): Likewise.
15542 (log1p_test_data): Likewise.
15543 (log2_test_data): Likewise.
15544 (pow_test_data): Likewise.
15545 (scalb_test_data): Likewise.
15546 (sin_test_data): Likewise.
15547 (sincos_test_data): Likewise.
15548 (sinh_test_data): Likewise.
15549 (tan_test_data): Likewise.
15550 (tanh_test_data): Likewise.
15551 (tgamma_test_data): Likewise.
15552 (y0_test_data): Likewise.
15553 (y1_test_data): Likewise.
15554 (yn_test_data): Likewise.
15557 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15558 argument being NaN and avoid computations with second argument in
15560 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15561 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15562 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15564 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
15566 * locale/iso-639.def: Add Chitwani Tharu (the).
15568 2013-11-14 Andreas Schwab <schwab@suse.de>
15570 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15571 word instead of empty string.
15573 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15576 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15578 (__fe_nomask_env): Likewise.
15580 2013-11-13 Steve Ellcey <sellcey@mips.com>
15582 * benchtests/bench-timing.h: Include time.h.
15584 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
15587 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15589 * sysdeps/unix/sysv/linux/configure: Regenerated.
15591 2013-11-13 Joseph Myers <joseph@codesourcery.com>
15594 * stdlib/strtod_l.c (round_and_return): Do not consider
15595 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15596 exponent one less than half the least subnormal exponent.
15597 * stdlib/test-strtod-round-data: Add more tests.
15598 * stdlib/tst-strtod-round.c (tests): Regenerated.
15600 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15603 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15604 (__fe_mask_env): Likewise.
15605 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15606 libm_hidden_proto and add function prototype.
15607 (__fe_mask_env): Add function prototype.
15608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15609 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15611 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15613 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15615 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15617 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15618 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15620 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15622 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15623 of htab_find_slot().
15625 2013-11-11 David S. Miller <davem@davemloft.net>
15628 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15629 symbol in the non-vis3 case in static builds.
15630 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15631 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15632 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15633 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15635 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15638 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15641 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15643 * benchtests/Makefile: Add bench-strtod.
15644 * benchtests/bench-strtod.c: New file: strtod benchtest
15646 2013-11-11 Andreas Schwab <schwab@suse.de>
15649 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15650 terminating NUL in key length.
15652 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15654 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15655 Add artificial ODP entry for vDSO symbol for PPC64.
15656 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15657 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15659 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15662 * nss/getent.c (services_keys): Recognize services starting with digit.
15664 2013-11-06 David S. Miller <davem@davemloft.net>
15667 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15668 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15670 2013-11-06 Will Newton <will.newton@linaro.org>
15672 * manual/memory.texi (Malloc Examples): Remove register
15673 keyword from examples.
15675 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
15677 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15679 2013-11-04 Joseph Myers <joseph@codesourcery.com>
15682 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15683 depending on [__GCC_IEC_559 > 0].
15684 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15685 depending on [__GCC_IEC_559_COMPLEX > 0].
15687 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
15689 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15692 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
15694 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15696 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
15699 * malloc/malloc (malloc_info): Do not handle first bin as
15702 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
15704 * locale/iso-639.def: Add Central Nahuatl (nhn).
15706 2013-11-01 Bruno Haible <bruno@clisp.org>
15709 * manual/math.texi (BSD Random): Specify range upper bound as
15712 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
15714 * locale/iso-639.def: Add Meadow Mari (mhr).
15716 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
15718 [BZ #14752], [BZ #15763]
15719 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15721 * rt/tst_shm.c: Add test for escaping directory.
15723 2013-10-31 Andreas Schwab <schwab@suse.de>
15726 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15727 followed by 'x' as part of digit sequence.
15728 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15730 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15733 * configure.ac: allow GNU Make 4.0 and greater.
15734 * configure: Regenerated.
15736 2013-10-30 Will Newton <will.newton@linaro.org>
15739 * malloc/hooks.c (memalign_check): Limit alignment to the
15740 maximum representable power of two.
15741 * malloc/malloc.c (__libc_memalign): Likewise.
15742 * malloc/tst-memalign.c (do_test): Add test for very
15743 large alignment values.
15744 * malloc/tst-posix_memalign.c (do_test): Likewise.
15746 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15749 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15750 (munmap_chunk): Likewise.
15751 (mremap_chunk): Likewise.
15753 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15756 * stdlib/div.c (div): Remove obsolete code.
15757 * stdlib/ldiv.c (ldiv): Likewise.
15758 * stdlib/lldiv.c (lldiv): Likewise.
15760 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15763 * nss/nss_files/files-XXX.c (get_contents_ret): New
15765 (get_contents): New function.
15766 (internal_getent): Use it. Expand size of LINEBUFLEN.
15768 2013-10-30 Mike Frysinger <vapier@gentoo.org>
15770 * configure.in: Moved to ...
15771 * configure.ac: ... here. Change reference to configure.in
15773 * sysdeps/arm/preconfigure.ac: ... here.
15774 configure.in to configure.ac.
15775 * sysdeps/gnu/configure.in: Moved to ...
15776 * sysdeps/gnu/configure.ac: ... here.
15777 * sysdeps/i386/configure.in: Moved to ...
15778 * sysdeps/i386/configure.ac: ... here.
15779 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15780 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15781 * sysdeps/mach/configure.in: Moved to ...
15782 * sysdeps/mach/configure.ac: ... here.
15783 * sysdeps/mach/hurd/configure.in: Moved to ...
15784 * sysdeps/mach/hurd/configure.ac: ... here.
15785 * sysdeps/powerpc/configure.in: Moved to ...
15786 * sysdeps/powerpc/configure.ac: ... here.
15787 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15788 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15789 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15790 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15791 * sysdeps/s390/s390-32/configure.in: Moved to ...
15792 * sysdeps/s390/s390-32/configure.ac: ... here.
15793 * sysdeps/s390/s390-64/configure.in: Moved to ...
15794 * sysdeps/s390/s390-64/configure.ac: ... here.
15795 * sysdeps/sh/configure.in: Moved to ...
15796 * sysdeps/sh/configure.ac: ... here.
15797 * sysdeps/sparc/configure.in: Moved to ...
15798 * sysdeps/sparc/configure.ac: ... here.
15799 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15800 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15801 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15802 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15803 * sysdeps/x86_64/configure.in: Moved to ...
15804 * sysdeps/x86_64/configure.ac: ... here.
15805 * sysdeps/x86_64/preconfigure.in: Moved to ...
15806 * sysdeps/x86_64/preconfigure.ac: ... here.
15807 * aclocal.m4: Change reference to configure.in to configure.ac.
15808 * config.h.in: Likewise.
15809 * manual/install.texi: Likewise.
15810 * manual/maint.texi: Likewise.
15811 * Makefile: Likewise.
15812 * malloc/Makefile: Likewise.
15813 * nscd/Makefile: Likewise.
15814 * Makeconfig: Change reference to configure.in and
15815 preconfigure.in to configure.ac and preconfigure.ac
15817 * INSTALL: Regenerated.
15818 * configure: Likewise.
15819 * sysdeps/gnu/configure: Likewise.
15820 * sysdeps/i386/configure: Likewise.
15821 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15822 * sysdeps/mach/configure: Likewise.
15823 * sysdeps/mach/hurd/configure: Likewise.
15824 * sysdeps/powerpc/configure: Likewise.
15825 * sysdeps/powerpc/powerpc32/configure: Likewise.
15826 * sysdeps/powerpc/powerpc64/configure: Likewise.
15827 * sysdeps/s390/s390-32/configure: Likewise.
15828 * sysdeps/s390/s390-64/configure: Likewise.
15829 * sysdeps/sh/configure: Likewise.
15830 * sysdeps/sparc/configure: Likewise.
15831 * sysdeps/unix/sysv/linux/configure: Likewise.
15832 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15833 * sysdeps/x86_64/configure: Likewise.
15834 * sysdeps/x86_64/preconfigure: Likewise.
15836 2013-10-29 Andreas Schwab <schwab@suse.de>
15838 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15840 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15842 * benchtests/pow-inputs: Add new inputs.
15844 * benchtests/exp-inputs: Add new inputs.
15846 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15847 conditional check for return value.
15848 (__cos32): Likewise.
15850 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15852 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15853 to provide a boost for large inputs with word alignment.
15854 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15855 implementation based on optimized PPC64 strcpy.
15856 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15857 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15858 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15859 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15861 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15864 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15866 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15869 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15870 * time/tst-strptime.c (day_tests): Add testcase.
15872 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15875 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15877 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15880 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15881 MAP_FAILED on error.
15883 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15886 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15887 heap for large requests.
15889 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15892 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15893 result if the result has no associated interface.
15894 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15895 interface for all 127.X.Y.Z addresses.
15897 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
15899 * locale/iso-639.def: Add Ligurian (lij)
15901 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
15904 * sunrpc/rpc_main.c: Document rpcgen -5.
15906 2013-10-19 Michael Stahl <mstahl@redhat.com>
15908 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15910 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15913 * posix/glob.c: Match only directories when trailing slash is present.
15914 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15915 (main): Add testcase.
15917 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15920 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15922 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15924 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15925 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15926 AUTH_DES and cindex for FIPS 140-2.
15927 (DES Encryption): Add cindex FIPS 46-3.
15929 * locale/locarchive.h (struct locarhandle): Add fname.
15930 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15931 if an optional argument was specified to --list-archive,
15933 * locale/programs/locarchive.c (show_archive_content): Take new
15934 argument fname and pass it via ah.fname to open_archive.
15935 * locale/programs/localedef.h: Update decl.
15936 (open_archive): If AH->fname is non-null, open that file
15937 rather than the default file name, and don't ignore ENOENT.
15938 (create_archive): Set AH.fname to NULL.
15939 (delete_locales_from_archive): Likewise.
15940 (add_locales_to_archive): Likewise.
15941 * locale/programs/locfile.c (write_all_categories): Likewise.
15943 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15944 Aldy Hernandez <aldyh@redhat.com>
15946 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15947 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15948 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15949 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15950 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15951 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15952 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15953 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15954 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15955 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15956 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15957 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15958 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15959 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15960 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15962 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15964 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15966 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15968 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15969 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15971 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15972 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15973 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15974 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15976 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15977 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15978 * sysdeps/powerpc/preconfigure: Likewise.
15979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15981 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15982 Replace contents of file by #include of <fenv_libc.h>.
15983 * sysdeps/powerpc/soft-fp/sfp-machine.h
15984 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15986 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15987 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15988 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15989 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15990 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15991 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15992 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15993 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15994 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15995 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15996 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15997 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15999 Allow copysignl PLT reference to be missing.
16001 2013-10-18 Richard Sandiford <richard@codesourcery.com>
16002 Joseph Myers <joseph@codesourcery.com
16005 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16007 (add_to_tablewc): Assert sequence of wide characters is nonempty.
16009 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16011 * elf/tst-tls-dlinfo.c: Don't include tls.h.
16012 * elf/tst-tls1.c: Likewise.
16013 * elf/tst-tls10.h: Likewise.
16014 * elf/tst-tls14.c: Likewise.
16015 * elf/tst-tls2.c: Likewise.
16016 * elf/tst-tls3.c: Likewise.
16017 * elf/tst-tls4.c: Likewise.
16018 * elf/tst-tls5.c: Likewise.
16019 * elf/tst-tls6.c: Likewise.
16020 * elf/tst-tls7.c: Likewise.
16021 * elf/tst-tls8.c: Likewise.
16022 * elf/tst-tls9.c: Likewise.
16023 * elf/tst-tlsmod1.c: Likewise.
16024 * elf/tst-tlsmod13.c: Likewise.
16025 * elf/tst-tlsmod13a.c: Likewise.
16026 * elf/tst-tlsmod14a.c: Likewise.
16027 * elf/tst-tlsmod16a.c: Likewise.
16028 * elf/tst-tlsmod16b.c: Likewise.
16029 * elf/tst-tlsmod2.c: Likewise.
16030 * elf/tst-tlsmod3.c: Likewise.
16031 * elf/tst-tlsmod4.c: Likewise.
16032 * elf/tst-tlsmod5.c: Likewise.
16033 * elf/tst-tlsmod6.c: Likewise.
16035 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
16038 * malloc/malloc.c: remove checks for statistics.
16040 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
16043 * inet/inet_net.c (inet_network): Detect additional invalid strings.
16044 * inet/tst-network.c: Add testcase.
16046 2013-10-17 Andreas Schwab <schwab@suse.de>
16049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16050 to determine canonical name.
16052 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
16054 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16055 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16056 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16057 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16058 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16059 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16060 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16061 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16062 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16063 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16064 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16065 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16066 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16067 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16068 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16069 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16070 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16071 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16072 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16073 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16074 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16075 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16076 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16077 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16078 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16079 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16080 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16081 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16082 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16083 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16084 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16085 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16086 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16087 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16088 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16089 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16090 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16091 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16092 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16093 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16094 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16095 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16096 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16097 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16098 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16099 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16100 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16101 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16102 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16103 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16104 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16105 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16106 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16107 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16108 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16109 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16110 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16111 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16113 2013-10-17 Joseph Myers <joseph@codesourcery.com>
16116 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16117 make result into a quiet NaN.
16119 2013-10-16 Joseph Myers <joseph@codesourcery.com>
16121 * soft-fp/adddf3.c: Fix horizontal whitespace.
16122 * soft-fp/addsf3.c: Likewise.
16123 * soft-fp/addtf3.c: Likewise.
16124 * soft-fp/divdf3.c: Likewise.
16125 * soft-fp/divsf3.c: Likewise.
16126 * soft-fp/divtf3.c: Likewise.
16127 * soft-fp/double.h: Likewise.
16128 * soft-fp/eqdf2.c: Likewise.
16129 * soft-fp/eqsf2.c: Likewise.
16130 * soft-fp/eqtf2.c: Likewise.
16131 * soft-fp/extenddftf2.c: Likewise.
16132 * soft-fp/extended.h: Likewise.
16133 * soft-fp/extendsfdf2.c: Likewise.
16134 * soft-fp/extendsftf2.c: Likewise.
16135 * soft-fp/extendxftf2.c: Likewise.
16136 * soft-fp/fixdfdi.c: Likewise.
16137 * soft-fp/fixdfsi.c: Likewise.
16138 * soft-fp/fixdfti.c: Likewise.
16139 * soft-fp/fixsfdi.c: Likewise.
16140 * soft-fp/fixsfsi.c: Likewise.
16141 * soft-fp/fixsfti.c: Likewise.
16142 * soft-fp/fixtfdi.c: Likewise.
16143 * soft-fp/fixtfsi.c: Likewise.
16144 * soft-fp/fixtfti.c: Likewise.
16145 * soft-fp/fixunsdfdi.c: Likewise.
16146 * soft-fp/fixunsdfsi.c: Likewise.
16147 * soft-fp/fixunsdfti.c: Likewise.
16148 * soft-fp/fixunssfdi.c: Likewise.
16149 * soft-fp/fixunssfsi.c: Likewise.
16150 * soft-fp/fixunssfti.c: Likewise.
16151 * soft-fp/fixunstfdi.c: Likewise.
16152 * soft-fp/fixunstfsi.c: Likewise.
16153 * soft-fp/fixunstfti.c: Likewise.
16154 * soft-fp/floatdidf.c: Likewise.
16155 * soft-fp/floatdisf.c: Likewise.
16156 * soft-fp/floatditf.c: Likewise.
16157 * soft-fp/floatsidf.c: Likewise.
16158 * soft-fp/floatsisf.c: Likewise.
16159 * soft-fp/floatsitf.c: Likewise.
16160 * soft-fp/floattidf.c: Likewise.
16161 * soft-fp/floattisf.c: Likewise.
16162 * soft-fp/floattitf.c: Likewise.
16163 * soft-fp/floatundidf.c: Likewise.
16164 * soft-fp/floatundisf.c: Likewise.
16165 * soft-fp/floatunditf.c: Likewise.
16166 * soft-fp/floatunsidf.c: Likewise.
16167 * soft-fp/floatunsisf.c: Likewise.
16168 * soft-fp/floatunsitf.c: Likewise.
16169 * soft-fp/floatuntidf.c: Likewise.
16170 * soft-fp/floatuntisf.c: Likewise.
16171 * soft-fp/floatuntitf.c: Likewise.
16172 * soft-fp/fmadf4.c: Likewise.
16173 * soft-fp/fmasf4.c: Likewise.
16174 * soft-fp/fmatf4.c: Likewise.
16175 * soft-fp/gedf2.c: Likewise.
16176 * soft-fp/gesf2.c: Likewise.
16177 * soft-fp/getf2.c: Likewise.
16178 * soft-fp/ledf2.c: Likewise.
16179 * soft-fp/lesf2.c: Likewise.
16180 * soft-fp/letf2.c: Likewise.
16181 * soft-fp/muldf3.c: Likewise.
16182 * soft-fp/mulsf3.c: Likewise.
16183 * soft-fp/multf3.c: Likewise.
16184 * soft-fp/negdf2.c: Likewise.
16185 * soft-fp/negsf2.c: Likewise.
16186 * soft-fp/negtf2.c: Likewise.
16187 * soft-fp/op-1.h: Likewise.
16188 * soft-fp/op-2.h: Likewise.
16189 * soft-fp/op-4.h: Likewise.
16190 * soft-fp/op-8.h: Likewise.
16191 * soft-fp/op-common.h: Likewise.
16192 * soft-fp/quad.h: Likewise.
16193 * soft-fp/single.h: Likewise.
16194 * soft-fp/soft-fp.h: Likewise.
16195 * soft-fp/sqrtdf2.c: Likewise.
16196 * soft-fp/sqrtsf2.c: Likewise.
16197 * soft-fp/sqrttf2.c: Likewise.
16198 * soft-fp/subdf3.c: Likewise.
16199 * soft-fp/subsf3.c: Likewise.
16200 * soft-fp/subtf3.c: Likewise.
16201 * soft-fp/truncdfsf2.c: Likewise.
16202 * soft-fp/trunctfdf2.c: Likewise.
16203 * soft-fp/trunctfsf2.c: Likewise.
16204 * soft-fp/trunctfxf2.c: Likewise.
16205 * soft-fp/unorddf2.c: Likewise.
16206 * soft-fp/unordsf2.c: Likewise.
16207 * soft-fp/unordtf2.c: Likewise.
16209 2013-10-15 Joseph Myers <joseph@codesourcery.com>
16211 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16212 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16214 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
16216 * elf/dl-libc.c: Clear initfini list after freeing.
16218 2013-10-14 Joseph Myers <joseph@codesourcery.com>
16220 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16221 * soft-fp/addsf3.c: Likewise.
16222 * soft-fp/addtf3.c: Likewise.
16223 * soft-fp/divdf3.c: Likewise.
16224 * soft-fp/divsf3.c: Likewise.
16225 * soft-fp/divtf3.c: Likewise.
16226 * soft-fp/double.h: Likewise.
16227 * soft-fp/eqdf2.c: Likewise.
16228 * soft-fp/eqsf2.c: Likewise.
16229 * soft-fp/eqtf2.c: Likewise.
16230 * soft-fp/extenddftf2.c: Likewise.
16231 * soft-fp/extended.h: Likewise.
16232 * soft-fp/extendsfdf2.c: Likewise.
16233 * soft-fp/extendsftf2.c: Likewise.
16234 * soft-fp/extendxftf2.c: Likewise.
16235 * soft-fp/fixdfdi.c: Likewise.
16236 * soft-fp/fixdfsi.c: Likewise.
16237 * soft-fp/fixdfti.c: Likewise.
16238 * soft-fp/fixsfdi.c: Likewise.
16239 * soft-fp/fixsfsi.c: Likewise.
16240 * soft-fp/fixsfti.c: Likewise.
16241 * soft-fp/fixtfdi.c: Likewise.
16242 * soft-fp/fixtfsi.c: Likewise.
16243 * soft-fp/fixtfti.c: Likewise.
16244 * soft-fp/fixunsdfdi.c: Likewise.
16245 * soft-fp/fixunsdfsi.c: Likewise.
16246 * soft-fp/fixunsdfti.c: Likewise.
16247 * soft-fp/fixunssfdi.c: Likewise.
16248 * soft-fp/fixunssfsi.c: Likewise.
16249 * soft-fp/fixunssfti.c: Likewise.
16250 * soft-fp/fixunstfdi.c: Likewise.
16251 * soft-fp/fixunstfsi.c: Likewise.
16252 * soft-fp/fixunstfti.c: Likewise.
16253 * soft-fp/floatdidf.c: Likewise.
16254 * soft-fp/floatdisf.c: Likewise.
16255 * soft-fp/floatditf.c: Likewise.
16256 * soft-fp/floatsidf.c: Likewise.
16257 * soft-fp/floatsisf.c: Likewise.
16258 * soft-fp/floatsitf.c: Likewise.
16259 * soft-fp/floattidf.c: Likewise.
16260 * soft-fp/floattisf.c: Likewise.
16261 * soft-fp/floattitf.c: Likewise.
16262 * soft-fp/floatundidf.c: Likewise.
16263 * soft-fp/floatundisf.c: Likewise.
16264 * soft-fp/floatunsidf.c: Likewise.
16265 * soft-fp/floatunsisf.c: Likewise.
16266 * soft-fp/floatuntidf.c: Likewise.
16267 * soft-fp/floatuntisf.c: Likewise.
16268 * soft-fp/floatuntitf.c: Likewise.
16269 * soft-fp/fmadf4.c: Likewise.
16270 * soft-fp/fmasf4.c: Likewise.
16271 * soft-fp/fmatf4.c: Likewise.
16272 * soft-fp/gedf2.c: Likewise.
16273 * soft-fp/gesf2.c: Likewise.
16274 * soft-fp/getf2.c: Likewise.
16275 * soft-fp/ledf2.c: Likewise.
16276 * soft-fp/lesf2.c: Likewise.
16277 * soft-fp/letf2.c: Likewise.
16278 * soft-fp/muldf3.c: Likewise.
16279 * soft-fp/mulsf3.c: Likewise.
16280 * soft-fp/multf3.c: Likewise.
16281 * soft-fp/negdf2.c: Likewise.
16282 * soft-fp/negsf2.c: Likewise.
16283 * soft-fp/negtf2.c: Likewise.
16284 * soft-fp/op-1.h: Likewise.
16285 * soft-fp/op-2.h: Likewise.
16286 * soft-fp/op-4.h: Likewise.
16287 * soft-fp/op-8.h: Likewise.
16288 * soft-fp/op-common.h: Likewise.
16289 * soft-fp/quad.h: Likewise.
16290 * soft-fp/single.h: Likewise.
16291 * soft-fp/soft-fp.h: Likewise.
16292 * soft-fp/sqrtdf2.c: Likewise.
16293 * soft-fp/sqrtsf2.c: Likewise.
16294 * soft-fp/sqrttf2.c: Likewise.
16295 * soft-fp/subdf3.c: Likewise.
16296 * soft-fp/subsf3.c: Likewise.
16297 * soft-fp/subtf3.c: Likewise.
16298 * soft-fp/truncdfsf2.c: Likewise.
16299 * soft-fp/trunctfdf2.c: Likewise.
16300 * soft-fp/trunctfsf2.c: Likewise.
16301 * soft-fp/trunctfxf2.c: Likewise.
16302 * soft-fp/unorddf2.c: Likewise.
16303 * soft-fp/unordsf2.c: Likewise.
16304 * soft-fp/unordtf2.c: Likewise.
16306 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
16309 * misc/error.c (error_tail): Fix possible buffer overflow.
16311 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
16314 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16317 2013-10-14 P. J. McDermott <pj@pehjota.net>
16320 * elf/ldd.bash.in (try_trace): New function. Delete previous code
16321 testing pipefail option.
16323 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16325 * soft-fp/double.h: Indent preprocessor directives inside #if.
16326 * soft-fp/extended.h: Likewise.
16327 * soft-fp/op-2.h: Likewise.
16328 * soft-fp/op-4.h: Likewise.
16329 * soft-fp/op-common.h: Likewise.
16330 * soft-fp/quad.h: Likewise.
16331 * soft-fp/single.h: Likewise.
16332 * soft-fp/soft-fp.h: Likewise.
16334 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
16336 * iconv/iconv_prog.c: Fix typos.
16337 * stdio-common/psiginfo-data.h: Likewise.
16339 2013-10-12 Reuben Thomas <rrt@sc3d.org>
16342 * locale/setlocale.c: Fix typo.
16344 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16347 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16348 signaling NaN arguments.
16349 * soft-fp/unordsf2.c (__unordsf2): Likewise.
16350 * soft-fp/unordtf2.c (__unordtf2): Likewise.
16353 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16354 unordered operands.
16355 * soft-fp/gesf2.c (__gesf2): Likewise.
16356 * soft-fp/getf2.c (__getf2): Likewise.
16357 * soft-fp/ledf2.c (__ledf2): Likewise.
16358 * soft-fp/lesf2.c (__lesf2): Likewise.
16359 * soft-fp/letf2.c (__letf2): Likewise.
16361 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16362 * soft-fp/eqsf2.c (__eqsf2): Likewise.
16363 * soft-fp/eqtf2.c (__eqtf2): Likewise.
16364 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16365 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16366 * soft-fp/fixdfti.c (__fixdfti): Likewise.
16367 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16368 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16369 * soft-fp/fixsfti.c (__fixsfti): Likewise.
16370 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16371 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16372 * soft-fp/fixtfti.c (__fixtfti): Likewise.
16373 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16374 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16375 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16376 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16377 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16378 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16379 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16380 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16381 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16382 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16383 * soft-fp/floatdisf.c (__floatdisf): Likewise.
16384 * soft-fp/floatsisf.c (__floatsisf): Likewise.
16385 * soft-fp/floattidf.c (__floattidf): Likewise.
16386 * soft-fp/floattisf.c (__floattisf): Likewise.
16387 * soft-fp/floattitf.c (__floattitf): Likewise.
16388 * soft-fp/floatundidf.c (__floatundidf): Likewise.
16389 * soft-fp/floatundisf.c (__floatundisf): Likewise.
16390 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16391 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16392 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16393 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16394 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16395 * soft-fp/gesf2.c (__gesf2): Likewise.
16396 * soft-fp/getf2.c (__getf2): Likewise.
16397 * soft-fp/ledf2.c (__ledf2): Likewise.
16398 * soft-fp/lesf2.c (__lesf2): Likewise.
16399 * soft-fp/letf2.c (__letf2): Likewise.
16401 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16402 Undefine and redefine.
16403 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16404 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16405 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16406 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16407 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16408 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16409 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16410 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16411 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16412 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16413 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16414 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16415 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16416 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16417 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16420 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16421 without decrementing exponent if mantissa >= that for the
16422 denominator, not >.
16423 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16424 denominator, not >. Decrement exponent in < case instead of
16425 incrementing in >= case.
16426 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16427 without decrementing exponent if mantissa >= that for the
16428 denominator, not >.
16430 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16431 computing saturated result for unsigned overflow.
16433 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16434 Jeff Law <law@redhat.com>
16436 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16437 (atan2Mp): Add systemtap probe marker.
16438 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16439 (__ieee754_log): Add systemtap probe marker.
16440 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16441 (atanMp): Add systemtap probe marker.
16442 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16443 (tanMp): Add systemtap probe marker.
16444 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16445 (__slowexp): Add systemtap probe marker.
16446 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16447 (__slowpow): Add systemtap probe marker.
16448 * manual/probes.texi: Document probes.
16450 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
16453 * libio/fileops.c (_IO_new_file_write): Return count of bytes
16455 (_IO_new_file_xsputn): Don't return EOF if nothing has been
16457 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16458 written to buffer but not flushed.
16459 * libio/iofwrite_u.c: Likewise.
16460 * libio/iopadn.c: Return bytes returned even if EOF was
16462 * libio/iowpadn.c: Likewise.
16463 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16464 if _IO_padn does not write the whole buffer.
16465 [!COMPILE_WPRINTF] (PAD): Likewise.
16467 2013-10-10 David S. Miller <davem@davemloft.net>
16469 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16472 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16474 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
16475 instead of FSF address.
16476 * soft-fp/fixdfti.c: Likewise.
16477 * soft-fp/fixsfti.c: Likewise.
16478 * soft-fp/fixtfti.c: Likewise.
16479 * soft-fp/fixunsdfti.c: Likewise.
16480 * soft-fp/fixunssfti.c: Likewise.
16481 * soft-fp/fixunstfti.c: Likewise.
16482 * soft-fp/floattidf.c: Likewise.
16483 * soft-fp/floattisf.c: Likewise.
16484 * soft-fp/floattitf.c: Likewise.
16485 * soft-fp/floatuntidf.c: Likewise.
16486 * soft-fp/floatuntisf.c: Likewise.
16487 * soft-fp/floatuntitf.c: Likewise.
16488 * soft-fp/trunctfxf2.c: Likewise.
16490 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
16491 * soft-fp/fixdfti.c: Likewise.
16492 * soft-fp/fixsfti.c: Likewise.
16493 * soft-fp/fixtfti.c: Likewise.
16494 * soft-fp/fixunsdfti.c: Likewise.
16495 * soft-fp/fixunssfti.c: Likewise.
16496 * soft-fp/fixunstfti.c: Likewise.
16497 * soft-fp/floattidf.c: Likewise.
16498 * soft-fp/floattisf.c: Likewise.
16499 * soft-fp/floattitf.c: Likewise.
16500 * soft-fp/floatuntidf.c: Likewise.
16501 * soft-fp/floatuntisf.c: Likewise.
16502 * soft-fp/floatuntitf.c: Likewise.
16503 * soft-fp/trunctfxf2.c: Likewise.
16505 2013-10-10 David S. Miller <davem@davemloft.net>
16507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16509 2013-10-10 Joseph Myers <joseph@codsourcery.com>
16511 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16512 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16513 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16514 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16515 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16516 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16517 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16519 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16520 for NaNs before doing comparisons on argument.
16521 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16524 2013-10-10 Will Newton <will.newton@linaro.org>
16526 * malloc/hooks.c (memalign_check): Ensure the value of bytes
16527 passed to _int_memalign does not overflow.
16529 2013-10-10 Torvald Riegel <triegel@redhat.com>
16531 * scripts/bench.pl: Add include-sources directive.
16532 * benchtests/README: Update documentation.
16534 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16536 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16537 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16538 instead of FP_INIT_ROUNDMODE.
16539 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16540 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16543 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
16544 copy class of input value.
16545 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
16546 not handle exceptions.
16547 * soft-fp/negsf2.c (__negsf2): Likewise.
16548 * soft-fp/negtf2.c (__negtf2): Likewise.
16549 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16551 2013-10-09 Joseph Myers <joseph@codesourcery.com>
16553 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16554 semicolon. From Linux kernel.
16556 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
16558 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16560 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
16563 * manual/socket.texi: Added statement about buffer
16564 for gethostbyname2_r.
16566 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
16568 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16569 Use .p2align directive instead, throughout.
16570 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16571 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16572 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16573 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16574 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16575 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16576 * sysdeps/x86_64/strchr.S: Likewise.
16577 * sysdeps/x86_64/strrchr.S: Likewise.
16579 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16581 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16583 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16585 * sysdeps/generic/math_private.h (__mpsin1): Remove
16587 (__mpcos1): Likewise.
16588 (__mpsin): New argument __range_reduce.
16589 (__mpcos): Likewise.
16590 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16591 (slow): Use __mpsin and __mpcos.
16595 (sloww1): Likewise.
16596 (sloww2): Likewise.
16597 (bsloww): Likewise.
16598 (bsloww1): Likewise.
16599 (bsloww2): Likewise.
16600 (cslow2): Likewise.
16601 (csloww): Likewise.
16602 (csloww1): Likewise.
16603 (csloww2): Likewise.
16604 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16605 range_reduce. Merge in __mpsin1.
16606 (__mpcos): Likewise.
16607 (__mpsin1): Remove.
16608 (__mpcos1): Likewise.
16610 2013-10-07 Joseph Myers <joseph@codesourcery.com>
16612 * locale/loadlocale.c (_nl_intern_locale_data): Use
16614 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16615 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16616 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16617 obstack data is appropriately aligned.
16618 (obstack_int32_grow_fast): Likewise.
16619 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16620 * locale/programs/locfile.c (add_locale_uint32): Likewise.
16621 (add_locale_uint32_array): Likewise.
16623 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16625 * benchtests/Makefile: Remove ARGLIST and RET variables.
16626 ($(objpfx)bench-%.c): Pass only function name to the script.
16627 * benchtests/README: Update documentation.
16628 * benchtests/acos-inputs: Add new directives.
16629 * benchtests/acosh-inputs: Likewise.
16630 * benchtests/asin-inputs: Likewise.
16631 * benchtests/asinh-inputs: Likewise.
16632 * benchtests/atan-inputs: Likewise.
16633 * benchtests/atanh-inputs: Likewise.
16634 * benchtests/cos-inputs: Likewise.
16635 * benchtests/cosh-inputs: Likewise.
16636 * benchtests/exp-inputs: Likewise.
16637 * benchtests/log-inputs: Likewise.
16638 * benchtests/pow-inputs: Likewise.
16639 * benchtests/rint-inputs: Likewise.
16640 * benchtests/sin-inputs: Likewise.
16641 * benchtests/sinh-inputs: Likewise.
16642 * benchtests/tan-inputs: Likewise.
16643 * benchtests/tanh-inputs: Likewise.
16644 * scripts/bench.pl: Add support for new directives.
16646 2013-10-07 Alan Modra <amodra@gmail.com>
16648 * README: Fix careless merge.
16650 2013-10-05 Alan Modra <amodra@gmail.com>
16652 * NEWS: Mention powerpc64le support and bugs fixed.
16653 * README: Both big-endian and little-endian powerpc64 supported.
16655 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16657 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16658 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16659 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16660 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16662 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
16664 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16667 2013-10-04 Joseph Myers <joseph@codesourcery.com>
16669 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16670 Move -mhard-float appending from
16671 ports/sysdeps/powerpc/powerpc32/Makefile.
16672 [$(with-fp) = yes] (ASFLAGS): Likewise.
16673 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16674 * sysdeps/powerpc/nofpu: Move directory from
16675 ports/sysdeps/powerpc/nofpu.
16676 * sysdeps/powerpc/soft-fp: Move directory from
16677 ports/sysdeps/powerpc/soft-fp.
16678 * sysdeps/powerpc/powerpc32/405: Move directory from
16679 ports/sysdeps/powerpc/powerpc32/405.
16680 * sysdeps/powerpc/powerpc32/440: Move directory from
16681 ports/sysdeps/powerpc/powerpc32/440.
16682 * sysdeps/powerpc/powerpc32/464: Move directory from
16683 ports/sysdeps/powerpc/powerpc32/464.
16684 * sysdeps/powerpc/powerpc32/476: Move directory from
16685 ports/sysdeps/powerpc/powerpc32/476.
16686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16687 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16689 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16691 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16693 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16695 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16696 * README: Update for powerpc-*-linux-gnu software floating point
16699 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16700 case to powerpc/powerpc32*.
16701 * sysdeps/unix/sysv/linux/configure: Regenerated.
16703 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16704 (_FPU_MASK_OM): Define as 0x04.
16705 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16706 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16708 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16710 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16713 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16716 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16719 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16720 and setcontext_e500.
16722 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16724 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16726 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16728 * manual/threads.texi (Default Thread Attributes): Fix typo.
16730 2013-10-04 Will Newton <will.newton@linaro.org>
16732 * malloc/Makefile: Add tst-memalign.
16733 * malloc/tst-memalign.c: New file.
16735 * malloc/tst-posix_memalign.c: Add comments.
16736 (do_test): Add comments and call free on all potentially
16737 allocated pointers. Add space after cast.
16739 * malloc/tst-pvalloc.c: Add comments.
16740 (do_test): Add comments and call free on all potentially
16741 allocated pointers. Remove duplicate check for NULL pointer.
16742 Add space after cast.
16744 * malloc/tst-valloc.c: Add comments.
16745 (do_test): Add comments and call free on all potentially
16746 allocated pointers. Remove duplicate check for NULL pointer.
16747 Add space after cast.
16749 2013-10-04 Alan Modra <amodra@gmail.com>
16751 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16752 Use stdint types in rather than __attribute__((mode())).
16753 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16755 2013-10-04 Alan Modra <amodra@gmail.com>
16757 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16758 Correct handling of unaligned relocs for little-endian.
16759 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16761 2013-10-04 Alan Modra <amodra@gmail.com>
16763 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16764 * configure: Regenerate.
16765 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16766 * shlib-versions: Likewise.
16768 2013-10-04 Alan Modra <amodra@gmail.com>
16770 * string/tester.c (test_memrchr): Increment reported test cycle.
16772 2013-10-04 Alan Modra <amodra@gmail.com>
16774 * string/test-memcpy.c (do_one_test): When reporting errors, print
16775 string address and don't overrun end of string.
16777 2013-10-04 Alan Modra <amodra@gmail.com>
16779 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16780 insrdi. Make better use of reg selection to speed exit slightly.
16781 Schedule entry path a little better. Remove useless "are we done"
16782 checks on entry to main loop. Handle wrapping around zero address.
16783 Correct main loop count. Handle single left-over word from main
16784 loop inline rather than by using loop_small. Remove extra word
16785 case in loop_small caused by wrong loop count. Add little-endian
16787 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16788 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16790 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16791 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16792 support. Avoid rlwimi.
16793 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16795 2013-10-04 Alan Modra <amodra@gmail.com>
16797 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16798 insrdi. Formatting.
16799 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16800 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16801 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16802 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16803 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16804 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16806 2013-10-04 Alan Modra <amodra@gmail.com>
16808 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16809 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16810 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16811 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16812 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16813 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16814 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16815 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16816 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16817 use of regs. Use power7 mtocrf. Tidy function tails.
16819 2013-10-04 Alan Modra <amodra@gmail.com>
16821 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16822 Formatting. Consistently use rXXX register defines or rN defines.
16823 Use early exit labels that avoid restoring unused non-volatile regs.
16824 Make cr field use more consistent with rWORDn compares. Rename
16825 regs used as shift registers for unaligned loop, using rN defines
16826 for short lifetime/multiple use regs.
16827 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16828 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16829 addi 1,1,64 to pop stack frame. Simplify return value code.
16830 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16832 2013-10-04 Alan Modra <amodra@gmail.com>
16834 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16835 support. Correct typos, formatting. Optimize tail. Use insrdi
16836 rather than rlwimi.
16837 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16838 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16839 little-endian support. Correct typos.
16840 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16841 rather than rlwimi.
16842 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16843 in loop and entry code to keep "and." results.
16844 (strchr): Add little-endian support. Comment. Move cntlzd
16846 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16848 2013-10-04 Alan Modra <amodra@gmail.com>
16850 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16851 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16852 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16853 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16855 2013-10-04 Alan Modra <amodra@gmail.com>
16857 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16858 (rTMP): Define as r11.
16859 (strcmp): Add little-endian support. Optimise tail.
16860 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16861 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16862 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16863 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16864 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16865 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16866 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16868 2013-10-04 Alan Modra <amodra@gmail.com>
16870 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16871 little-endian support. Remove unnecessary "are we done" tests.
16872 Handle "s" wrapping around zero and extremely large "size".
16873 Correct main loop count. Handle single left-over word from main
16874 loop inline rather than by using small_loop. Correct comments.
16875 Delete "zero" tail, use "end_max" instead.
16876 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16878 2013-10-04 Alan Modra <amodra@gmail.com>
16880 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16881 support. Don't branch over align.
16882 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16883 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16884 support. Rearrange tmp reg use to suit. Comment.
16885 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16887 2013-10-04 Alan Modra <amodra@gmail.com>
16889 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16891 2013-10-04 Alan Modra <amodra@gmail.com>
16893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16894 conditional form of branch and link when obtaining pc.
16895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16897 2013-10-04 Alan Modra <amodra@gmail.com>
16899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16904 2013-10-04 Alan Modra <amodra@gmail.com>
16906 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16907 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16908 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16909 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16910 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16911 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16912 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16913 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16914 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16915 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16917 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16918 Alistair Popple <alistair@ozlabs.au.ibm.com>
16919 Alan Modra <amodra@gmail.com>
16922 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16923 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16924 _dl_hwcap access for little-endian.
16925 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16926 destroy vmx regs when saving unaligned.
16927 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16928 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16929 destroy vmx regs when saving unaligned.
16931 2013-10-04 Alan Modra <amodra@gmail.com>
16933 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16934 Don't use a union to pack hi/low value.
16936 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16938 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16940 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16941 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16942 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16943 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16944 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16946 2013-10-04 Alan Modra <amodra@gmail.com>
16948 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16949 constants to usual value for .cst8 section, and remove redundant
16951 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16952 constant for 0x1p52. Load little-endian words of double from
16953 correct stack offsets.
16955 2013-10-04 Alan Modra <amodra@gmail.com>
16957 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16958 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16959 words of double from correct stack offsets.
16960 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16961 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16962 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16963 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16964 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16965 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16966 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16967 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16968 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16969 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16970 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16971 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16972 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16973 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16974 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16975 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16976 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16978 2013-10-04 Alan Modra <amodra@gmail.com>
16980 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16981 64-bit int/double union.
16982 (_FPU_SETCW): Likewise.
16983 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16984 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16986 2013-10-04 Alan Modra <amodra@gmail.com>
16988 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16989 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16991 2013-10-04 Alan Modra <amodra@gmail.com>
16993 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16994 use vector int constants.
16995 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16997 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16999 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17000 array with long long.
17001 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17002 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17003 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17004 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17005 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17006 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17007 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17008 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17009 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17010 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17011 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17012 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17013 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17015 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17017 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17018 (__signbit): Likewise. Correct for little-endian.
17019 (__signbitl): Call __signbit.
17020 (lrint): Correct for little-endian.
17021 (lrintf): Call lrint.
17023 2013-10-04 Alan Modra <amodra@gmail.com>
17025 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17026 union 32-bit int array member with 64-bit int array.
17027 (t515, tm256): Double rather than long double.
17028 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17030 2013-10-04 Alan Modra <amodra@gmail.com>
17032 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17034 (IEEE854_LONG_DOUBLE_BIAS): Delete.
17035 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17036 version of math_ldbl.h.
17038 2013-10-04 Alan Modra <amodra@gmail.com>
17040 [BZ #15734], [BZ #15735]
17041 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17042 all uses of ieee875 long double macros and unions. Simplify test
17043 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
17044 ldbl_extract_mantissa value for ix,iy exponents. Properly
17045 normalize after ldbl_extract_mantissa, and don't add hidden bit
17046 already handled. Don't treat low word of ieee854 mantissa like
17047 low word of IBM long double and mask off bit when testing for
17049 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17050 all uses of ieee875 long double macros and unions. Simplify tests
17051 for 0.0L and inf. Correct double adjustment of k. Delete dead code
17052 adjusting ha,hb. Simplify code setting kld. Delete two600 and
17053 two1022, instead use their values. Recognise that tests for large
17054 "a" and small "b" are mutually exclusive. Rename vars. Comment.
17055 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17056 Rewrite all uses of ieee875 long double macros and unions. Simplify
17057 test for 0.0L and nan. Correct negation.
17058 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17059 ieee875 long double macros and unions. Correct output for large
17060 magnitude x. Correct absolute value calculation.
17061 (__erfcl): Likewise.
17062 * math/libm-test.inc: Add tests for errors discovered in IBM long
17063 double versions of fmodl, remainderl, erfl and erfcl.
17065 2013-10-04 Alan Modra <amodra@gmail.com>
17067 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17068 all uses of ieee854 long double macros and unions. Simplify tests
17069 for long doubles that are fully specified by the high double.
17070 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17072 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17073 Remove dead code too.
17074 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17075 (__ieee754_ynl): Likewise.
17076 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17077 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17078 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17079 Remove dead code too.
17080 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17081 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17082 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17083 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17085 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17087 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17088 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17089 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17090 Comment on variable precision.
17091 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17092 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17094 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17095 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17096 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17097 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17098 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17100 2013-10-04 Alan Modra <amodra@gmail.com>
17102 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17103 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17104 all uses of ieee854 long double macros and unions.
17105 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17106 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17107 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17108 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17109 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17110 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17112 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17113 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17114 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17115 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17116 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17117 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17118 Simplify sign and nan test too.
17119 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17120 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17121 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17122 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17124 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17125 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17127 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17128 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17129 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17130 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17131 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17132 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17134 2013-10-04 Alan Modra <amodra@gmail.com>
17136 * stdio-common/printf_size.c (__printf_size): Don't use
17137 union ieee854_long_double in fpnum union.
17138 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
17139 signbit macro to retrieve sign from long double.
17140 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17141 retrieve sign from long double.
17142 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17143 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17144 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17145 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17146 * math/test-misc.c (main): Don't use union ieee854_long_double.
17148 2013-10-04 Alan Modra <amodra@gmail.com>
17151 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17152 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17153 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17154 calculation. Remove unnecessary test for denormal exponent.
17155 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17156 Correct handling of denormals. Avoid undefined shift behaviour.
17157 Correct normalisation of low mantissa when low double is denormal.
17158 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17159 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
17160 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17161 Correct normalisation of low mantissa. Test for overflow of high
17162 mantissa and normalise.
17163 (ldbl_nearbyint): Use more readable constant for two52.
17164 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17165 (__mpn_construct_long_double): Fix test for overflow of high
17166 mantissa and correct normalisation. Avoid undefined shift.
17168 2013-10-04 Alan Modra <amodra@gmail.com>
17170 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17171 (union ibm_extended_long_double): Define as an array of ieee754_double.
17172 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17173 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17174 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17175 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17176 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17177 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17178 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17179 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17180 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17181 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17182 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17184 2013-10-03 Joseph Myers <joseph@codesourcery.com>
17186 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17187 page size instead of calling getpagesize.
17189 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17190 (LOCFILE_ALIGN_MASK): Likewise.
17191 (LOCFILE_ALIGN_UP): Likewise.
17192 (LOCFILE_ALIGNED_P): Likewise.
17193 * locale/programs/ld-collate.c (collate_output): Use the new
17194 macros instead of __alignof__ (int32_t).
17195 * locale/weight.h (findidx): Likewise.
17197 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
17200 * manual/string.texi: Fix strncat and wcsncat.
17202 2013-10-03 Brooks Moses <bmoses@google.com>
17205 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17206 * Makerules: ...here, and adjust associated comments.
17208 2013-10-02 Will Newton <will.newton@linaro.org>
17210 * malloc/Makefile: Add tst-pvalloc.
17211 * malloc/tst-pvalloc.c: New file.
17213 2013-10-02 Will Newton <will.newton@linaro.org>
17215 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17216 improve test coverage.
17218 2013-10-02 Will Newton <will.newton@linaro.org>
17220 * malloc/Makefile: Add tst-posix_memalign.
17221 * malloc/tst-posix_memalign.c: New file.
17223 2013-10-01 Eric Blake <eblake@redhat.com>
17225 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17226 Use __THROWNL rather than __THROW on static functions.
17228 2013-09-30 Petr Machata <pmachata@redhat.com>
17230 * elf/elf.h (R_AARCH64_ABS16): New macro.
17231 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17232 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17233 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17234 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17235 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17236 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17237 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17238 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17239 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17240 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17241 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17242 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17243 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17244 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17245 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17246 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17247 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17248 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17249 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17250 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17251 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17252 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17253 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17254 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17255 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17256 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17257 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17258 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17259 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17260 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17261 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17262 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17263 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17264 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17265 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17266 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17267 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17268 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17269 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17270 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17271 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17272 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17273 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17274 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17275 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17276 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17277 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17278 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17279 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17280 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17281 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17282 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17283 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17284 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17285 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17286 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17287 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17288 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17289 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17290 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17291 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17292 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17293 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17294 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17295 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17296 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17297 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17298 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17299 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17300 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17301 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17302 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17303 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17304 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17305 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17306 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17307 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17308 (R_AARCH64_TLSDESC_LDR): Likewise.
17309 (R_AARCH64_TLSDESC_ADD): Likewise.
17310 (R_AARCH64_TLSDESC_CALL): Likewise.
17312 2013-09-30 Andreas Schwab <schwab@suse.de>
17315 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17316 the nss database lookup.
17317 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17320 2013-09-28 Mike Frysinger <vapier@gentoo.org>
17322 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17324 2013-09-28 P. J. McDermott <pj@pehjota.net>
17326 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17327 ${Bash-specific parameter/pattern/string} parameter expansion.
17328 * sysdeps/unix/make-syscalls.sh: Likewise.
17330 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17332 * sysdeps/sh/stackguard-macros.h: New file.
17334 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
17336 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17337 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17338 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17339 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17340 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17341 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17343 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17345 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17346 Fix thread ID register.
17348 2013-09-25 Joseph Myers <joseph@codesourcery.com>
17350 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17351 [POSIX || UNIX98]: Require rather than permitting all symbols from
17353 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17354 element of struct sched_param.
17355 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17356 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17357 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17358 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17361 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
17363 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17364 argument calculation.
17366 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17368 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17370 [POSIX] (pthread_attr_t): Do not require type.
17371 [POSIX] (pthread_cond_t): Likewise.
17372 [POSIX] (pthread_condattr_t): Likewise.
17373 [POSIX] (pthread_key_t): Likewise.
17374 [POSIX] (pthread_mutex_t): Likewise.
17375 [POSIX] (pthread_mutexattr_t): Likewise.
17376 [POSIX] (pthread_once_t): Likewise.
17377 [POSIX] (pthread_t): Likewise.
17378 [POSIX-based standards] (pthread_atfork): Expect function.
17380 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17381 Richard Sandiford <richard@codesourcery.com>
17383 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17384 (swap_endianness_p): New extern variable.
17385 (set_big_endian): New inline function.
17386 (maybe_swap_uint32): Likewise.
17387 (maybe_swap_uint32_array): Likewise.
17388 (maybe_swap_uint32_obstack): Likewise.
17389 * locale/programs/locfile.c: Include <stdbool.h>.
17390 (swap_endianness_p): New variable.
17391 (add_locale_uint32): Call maybe_swap_uint32.
17392 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17393 (write_locale_data): Call maybe_swap_uint32_array.
17394 * locale/programs/ld-collate.c (obstack_int32_grow): Call
17396 (obstack_int32_grow_fast): Likewise.
17397 (output_weightwc): Call maybe_swap_uint32_obstack.
17398 (collate_output): Likewise.
17399 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17400 (OPT_LITTLE_ENDIAN): Likewise.
17401 (options): Add --little-endian and --big-endian options.
17402 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17403 * locale/programs/locarchive.c: Include "locfile.h".
17407 (create_archive): Use the new macros to access fields of
17408 structures directly mapped from or written to locale archives.
17409 (oldlocrecentcmp): Likewise.
17410 (enlarge_archive): Likewise.
17411 (insert_name): Likewise.
17412 (add_alias): Likewise.
17413 (add_locale): Likewise.
17414 (delete_locales_from_archive): Likewise.
17415 (show_archive_content): Likewise.
17416 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
17419 2013-09-24 Roland McGrath <roland@hack.frob.com>
17421 * manual/freemanuals.texi: Updated from (newly) canonical copy at
17422 http://www.gnu.org/doc/freemanuals.texi.
17423 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17425 2013-09-24 Will Newton <will.newton@linaro.org>
17427 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17430 2013-09-23 Joseph Myers <joseph@codesourcery.com>
17432 * locale/hashval.h (compute_hashval): Interpret bytes of key as
17435 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
17437 * manual/threads.texi (POSIX Threads): Fix a typo.
17439 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17442 * string/tst-strcoll-overflow.c: New test case.
17443 * string/Makefile (xtests): Add tst-strcoll-overflow.
17444 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17445 cache if string sizes may cause integer overflow.
17448 * string/strcoll_l.c (coll_seq): New members rule, idx,
17449 save_idx and back_us.
17450 (get_next_seq_nocache): New function.
17451 (do_compare_nocache): New function.
17452 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17455 2013-09-23 Carlos O'Donell <carlos@redhat.com>
17458 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17459 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17460 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17463 * elf/Makefile (tests): Add tst-ptrguard1.
17464 (tests-static): Add tst-ptrguard1-static.
17465 (tst-ptrguard1-ARGS): Define.
17466 (tst-ptrguard1-static-ARGS): Define.
17467 * elf/tst-ptrguard1.c: New file.
17468 * elf/tst-ptrguard1-static.c: New file.
17469 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17470 * sysdeps/i386/stackguard-macros.h: Likewise.
17471 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17472 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17473 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17474 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17475 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17476 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17478 2013-09-23 Hector Marco <hecmargi@upv.es>
17479 Ismael Ripoll <iripoll@disca.upv.es>
17480 Carlos O'Donell <carlos@redhat.com>
17483 * sysdeps/generic/stackguard-macros.h: Define
17484 __pointer_chk_guard_local and POINTER_CHK_GUARD.
17485 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17486 Define __pointer_chk_guard_local.
17487 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17488 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17490 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
17493 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17495 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
17497 * include/string.h (__ffs): Declare as hidden.
17498 * string/ffs.c (__ffs): Define as hidden.
17499 * sysdeps/i386/ffs.c (__ffs): Likewise.
17500 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17501 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17502 * sysdeps/s390/ffs.c (__ffs): Likewise.
17503 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17505 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
17507 * NEWS: Mention malloc probes.
17509 * malloc/arena.c (new_heap): New memory_heap_new probe.
17510 (grow_heap): New memory_heap_more probe.
17511 (shrink_heap): New memory_heap_less probe.
17512 (heap_trim): New memory_heap_free probe.
17513 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17514 (systrim): New memory_sbrk_less probe.
17515 * manual/probes.texi: Document them.
17517 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17518 * manual/probes.texi: Document it.
17520 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17521 (__libc_realloc): Add memory_realloc_retry probe.
17522 (__libc_memalign): Add memory_memalign_retry probe.
17523 (__libc_valloc): Add memory_valloc_retry probe.
17524 (__libc_pvalloc): Add memory_pvalloc_retry probe.
17525 (__libc_calloc): Add memory_calloc_retry probe.
17526 * manual/probes.texi: Document them.
17528 * malloc/arena.c (get_free_list): Add probe
17529 memory_arena_reuse_free_list.
17530 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17531 and memory_arena_reuse.
17532 (arena_get2) [!PER_THREAD]: Likewise.
17533 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17534 memory_arena_reuse_realloc.
17535 * manual/probes.texi: Document them.
17537 * malloc/malloc.c (__libc_free): Add
17538 memory_mallopt_free_dyn_thresholds probe.
17539 (__libc_mallopt): Add multiple memory_mallopt probes.
17540 * manual/probes.texi: Document them.
17542 * malloc/malloc.c: Include stap-probe.h.
17543 (__libc_mallopt): Add memory_mallopt probe.
17544 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17545 * manual/probes.texi: New.
17546 * manual/Makefile (chapters): Add probes.
17547 * manual/threads.texi: Set next node.
17549 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
17551 [BZ #15963, #13985]
17552 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17553 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17554 Add `Chinese' to `nan' entry name.
17556 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17558 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17559 (POLYNOMIAL): Likewise.
17560 (TAYLOR_SINCOS): Likewise.
17561 (TAYLOR_SLOW): Likewise.
17562 (__sin): Use TAYLOR_SINCOS.
17564 (slow): Use TAYLOR_SLOW.
17566 (bsloww): Likewise.
17567 (csloww): Likewise.
17569 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17571 * stdlib/strtod_l.c: Fix buffer overrun.
17573 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17575 * benchtests/Makefile (bench): Add sincos.
17576 * benchtests/bench-sincos.c: New file.
17578 * math/libm-test.inc (cos_test_data): New test inputs.
17579 (sin_test_data): Likewise.
17581 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17587 (sloww1): Likewise.
17588 (sloww2): Likewise.
17589 (bsloww1): Likewise.
17590 (bsloww2): Likewise.
17591 (cslow2): Likewise.
17592 (csloww1): Likewise.
17593 (csloww2): Likewise.
17595 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17600 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17604 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
17606 * config.h.in (HAVE_MIPS_NAN2008): New macro.
17607 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17608 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17609 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17610 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17611 * elf/cache.c (print_entry): Handle the new cache flags.
17613 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17614 Aldy Hernandez <aldyh@redhat.com>
17616 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17617 Change condition to [_SOFT_FLOAT].
17618 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17619 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17620 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17621 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17622 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17623 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17624 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17625 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17626 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17627 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17628 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17629 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17630 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17631 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17632 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17633 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17636 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17638 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17639 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17640 (__longjmp): Use LOAD_GP to load saved GPRs.
17641 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17642 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17643 (__sigsetjmp): Use SAVE_GP to save GPRs.
17645 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17646 Do not append -msoft-float.
17647 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17649 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17651 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17653 2013-09-17 Joseph Myers <joseph@codesourcery.com>
17656 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17657 (_FPU_GETCW): Use initial "__" on variable and field names but not
17658 on macro parameter name.
17659 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
17660 parentheses around reference to macro parameter.
17662 2013-09-13 Richard Sandiford <richard@codesourcery.com>
17664 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17666 (ctype_startup): Use uint32_t in cast and sizeof for
17669 2013-09-11 Jia Liu <proljc@gmail.com>
17671 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17673 [__FreeBSD__]: Likewise.
17675 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
17677 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17678 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17679 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17680 (strchr): Remove __strchr_sse42 ifunc selection.
17681 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17682 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17684 2013-09-11 Will Newton <will.newton@linaro.org>
17686 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17687 parameter to RES. Remove hardcoded 1000 value.
17688 * benchtests/bench-skeleton.c (main): Pass RES parameter
17689 to TIMING_INIT and multiply result by 1000.
17691 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17695 2013-09-11 Andreas Schwab <schwab@suse.de>
17697 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17699 (O_TMPFILE) [__USE_GNU]: Define.
17700 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17703 2013-09-11 Will Newton <will.newton@linaro.org>
17706 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17709 2013-09-11 Will Newton <will.newton@linaro.org>
17712 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17715 2013-09-11 Will Newton <will.newton@linaro.org>
17718 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17721 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
17723 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17724 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17725 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17726 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17727 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17729 2013-09-10 Allan McRae <allan@archlinux.org>
17732 * manual/arith.texi (Parsing of Floats): Clarify
17736 * manual/install.texi (Running make install): Mention
17738 * INSTALL: Regenerated.
17740 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17742 * csu/init-first.c (_init): Remove the !SHARED condition around
17743 FPU control word initialization.
17744 * elf/dl-support.c (_dl_fpu_control): New variable.
17745 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17746 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17747 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17748 * math/test-fpucw-static.c: New file.
17749 * math/test-fpucw-ieee.c: New file.
17750 * math/test-fpucw-ieee-static.c: New file.
17751 * math/Makefile (tests): Add `test-fpucw-ieee' and
17753 (tests-static): New variable.
17754 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17756 [($(build-shared),yes)]
17757 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17759 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17762 2013-09-09 Allan McRae <allan@archlinux.org>
17765 * manual/string.texi (Collation Functions): Fix typo in
17767 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17770 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17773 * libio/memstream.c (open_memstream): Fix memory leak.
17774 * libio/wmemstream.c (open_wmemstream): Likewise.
17777 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17779 2013-09-09 Will Newton <will.newton@linaro.org>
17781 * malloc/Makefile: Add tst-realloc to tests.
17782 * malloc/tst-realloc.c: New file.
17784 2013-09-09 Allan McRae <allan@archlinux.org>
17787 * COPYING: Update from GNU website to fix FSF address.
17788 * COPYING.LIB: Likewise.
17790 2013-09-06 David S. Miller <davem@davemloft.net>
17792 * po/zh_TW.po: Update Chinese (traditional) translation from
17793 translation project.
17795 2013-09-06 Richard Sandiford <richard@codesourcery.com>
17796 Joseph Myers <joseph@codesourcery.com>
17798 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17800 (obstack_chunk_alloc): New macro.
17801 (obstack_chunk_free): Likewise.
17802 (record_offset): New function.
17803 (init_locale_data): Likewise.
17804 (align_locale_data): Likewise.
17805 (add_locale_empty): Likewise.
17806 (add_locale_raw_data): Likewise.
17807 (add_locale_raw_obstack): Likewise.
17808 (add_locale_string): Likewise.
17809 (add_locale_wstring): Likewise.
17810 (add_locale_uint32): Likewise.
17811 (add_locale_uint32_array): Likewise.
17812 (add_locale_char): Likewise.
17813 (start_locale_structure): Likewise.
17814 (end_locale_structure): Likewise.
17815 (start_locale_prelude): Likewise.
17816 (end_locale_prelude): Likewise.
17817 (write_locale_data): Take locale_file structure rather than an
17819 * locale/programs/locfile.h: Include "obstack.h".
17820 (struct locale_file): Change to store locale file contents instead
17822 (init_locale_data): New prototype.
17823 (align_locale_data): Likewise.
17824 (add_locale_empty): Likewise.
17825 (add_locale_raw_data): Likewise.
17826 (add_locale_raw_obstack): Likewise.
17827 (add_locale_string): Likewise.
17828 (add_locale_wstring): Likewise.
17829 (add_locale_uint32): Likewise.
17830 (add_locale_uint32_array): Likewise.
17831 (add_locale_char): Likewise.
17832 (start_locale_structure): Likewise.
17833 (end_locale_structure): Likewise.
17834 (start_locale_prelude): Likewise.
17835 (end_locale_prelude): Likewise.
17836 (write_locale_data): Update prototype.
17837 * locale/programs/3level.h (struct TABLE): Remove result field.
17838 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17839 Use new locale_file interface.
17840 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17841 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17842 * locale/programs/ld-address.c (address_output): Use new
17843 locale_file interface.
17844 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17846 (collate_finish): Don't call collseq_table_finalize.
17847 (collate_output): Use new locale_file interface.
17848 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17850 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17851 (TABLE): Move defines earlier in file.
17852 (ELEMENT): Likewise.
17853 (DEFAULT): Likewise.
17854 (wctrans_table_add): Move macro and inline function earlier in
17856 (struct wctype_table): Move type earlier in file.
17857 (add_locale_wctype_table): New static prototype.
17858 (struct locale_ctype_t): Use logical types instead of struct iovec
17859 pointers for members.
17860 (ctype_output): Use new locale_file interface.
17861 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17862 new locale_file interface.
17863 (allocate_arrays): Update for use of new locale_file interface.
17864 * locale/programs/ld-identification.c (identification_output): Use
17865 new locale_file interface.
17866 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17867 * locale/programs/ld-messages.c (messages_output): Likewise.
17868 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17869 * locale/programs/ld-name.c (name_output): Likewise.
17870 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17871 * locale/programs/ld-paper.c (paper_output): Likewise.
17872 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17873 * locale/programs/ld-time.c (time_output): Likewise.
17875 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17877 * benchtests/Makefile: Add memrchr benchmark.
17878 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17879 benchmark as memrchr.
17880 * benchtests/bench-memrchr-ifunc.c: New file.
17881 * benchtests/bench-memrchr.c: New file.
17883 2013-09-06 Will Newton <will.newton@linaro.org>
17885 * benchtests/Makefile (string-bench): Add memcpy.
17887 2013-09-05 Carlos O'Donell <carlos@redhat.com>
17888 Cong Wang <amwang@redhat.com>
17891 * sysdeps/unix/sysv/linux/bits/in.h
17892 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17893 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17894 before __USE_KERNEL_IPV6_DEFS uses.
17895 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17897 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17898 sockaddr_in6, or ipv6_mreq.
17900 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17902 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17903 memory access for final bytes in some large inputs.
17904 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17906 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17908 * string/test-memrchr.c: New file.
17909 * string/test-memrchr-ifunc.c: New file.
17910 * string/Makefile: Add new memrchr testcase.
17912 2013-09-05 Mike Frysinger <vapier@gentoo.org>
17914 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17915 fanotify_init returns EPERM.
17917 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17919 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17921 (top level): Treat second token from macro or constant entries for
17922 allowed headers as allowed.
17923 * include/complex.h: Condition internal declarations on
17925 * include/fenv.h: Condition include of <stdbool.h> and internal
17926 declarations on [!_ISOMAC].
17928 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17931 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17933 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17935 * configure.in (--enable-versioning): Remove configure option.
17936 (libc_cv_asm_symver_directive): Remove configure test.
17937 (libc_cv_ld_version_script_option): Likewise.
17938 (VERSIONING): Remove variable and AC_SUBST.
17939 (DO_VERSIONING): Remove AC_DEFINE.
17940 * configure: Regenerated.
17941 * config.h.in (DO_VERSIONING): Remove macro.
17942 * Makerules [$(versioning) = yes]: Change conditionals to
17943 [$(build-shared) = yes].
17944 * config.make.in (versioning): Remove variable.
17945 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17946 [$(build-shared) = yes].
17947 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17948 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17949 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17950 [$(build-shared) = yes].
17951 * extra-lib.mk [$(versioning) = yes]: Likewise.
17952 * hurd/Makefile [$(versioning) = yes]: Likewise.
17953 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17955 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17957 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17958 [SHARED && !NO_HIDDEN].
17959 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17961 [SHARED && DO_VERSIONING]: Likewise..
17962 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17963 [$(build-shared) = yes].
17964 * manual/install.texi (--disable-versioning): Remove
17966 * INSTALL: Regenerated.
17967 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17969 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17970 [$(build-shared) = yes].
17971 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17972 * sysdeps/i386/i686/multiarch/strstr-c.c
17973 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17974 [SHARED && !NO_HIDDEN].
17975 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17976 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17977 * sysdeps/powerpc/powerpc32/dl-machine.c
17978 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17979 * sysdeps/powerpc/powerpc32/sysdep.h
17980 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17981 to [SHARED && PIC && !NO_HIDDEN].
17982 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17983 conditional to [SHARED].
17985 2013-09-04 Will Newton <will.newton@linaro.org>
17987 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17988 * benchtests/bench-string.h: Include bench-timing.h instead
17989 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17990 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17991 call to HP_TIMING_DIFF_INIT.
17992 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17993 instead of hp-timing.h macros.
17994 * benchtests/bench-memchr.c: Likewise.
17995 * benchtests/bench-memcmp.c: Likewise.
17996 * benchtests/bench-memcpy.c: Likewise.
17997 * benchtests/bench-memmem.c: Likewise.
17998 * benchtests/bench-memmove.c: Likewise.
17999 * benchtests/bench-memset.c: Likewise.
18000 * benchtests/bench-rawmemchr.c: Likewise.
18001 * benchtests/bench-strcasecmp.c: Likewise.
18002 * benchtests/bench-strcasestr.c: Likewise.
18003 * benchtests/bench-strcat.c: Likewise.
18004 * benchtests/bench-strchr.c: Likewise.
18005 * benchtests/bench-strcmp.c: Likewise.
18006 * benchtests/bench-strcpy.c: Likewise.
18007 * benchtests/bench-strcpy_chk.c: Likewise.
18008 * benchtests/bench-strlen.c: Likewise.
18009 * benchtests/bench-strncasecmp.c: Likewise.
18010 * benchtests/bench-strncat.c: Likewise.
18011 * benchtests/bench-strncmp.c: Likewise.
18012 * benchtests/bench-strncpy.c: Likewise.
18013 * benchtests/bench-strnlen.c: Likewise.
18014 * benchtests/bench-strpbrk.c: Likewise.
18015 * benchtests/bench-strrchr.c: Likewise.
18016 * benchtests/bench-strspn.c: Likewise.
18017 * benchtests/bench-strstr.c: Likewise.
18019 2013-09-04 Will Newton <will.newton@linaro.org>
18021 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18023 2013-09-03 Joseph Myers <joseph@codesourcery.com>
18026 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18027 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18028 * math/libm-test.inc (lgamma_test_data): Add more tests.
18029 * sysdeps/i386/fpu/libm-test-ulps: Update.
18030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18032 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
18034 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18035 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18037 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18038 Add strcmp-sse2-unaligned
18039 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18041 2013-09-02 Mike Frysinger <vapier@gentoo.org>
18043 * Versions.def (libc): Add GLIBC_2.19.
18045 2013-09-02 Mike Frysinger <vapier@gentoo.org>
18047 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18048 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18050 2013-09-02 Joseph Myers <joseph@codesourcery.com>
18053 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18054 intermediate calculations in recurrence.
18055 (__ieee754_ynf): Likewise.
18056 * math/libm-test.inc (jn_test_data): Do not allow spurious
18057 underflow exception. Add more tests.
18058 (yn_test_data): Add more tests.
18059 * sysdeps/i386/fpu/libm-test-ulps: Update.
18060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18062 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
18064 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18066 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18068 * csu/init-first.c: Fix then/than typos.
18069 * locale/programs/ld-collate.c: Likewise.
18070 * locale/programs/linereader.h: Likewise.
18071 * manual/charset.texi: Likewise.
18072 * manual/filesys.texi: Likewise.
18073 * manual/stdio.texi: Likewise.
18074 * manual/string.texi: Likewise.
18075 * stdlib/fmtmsg.c: Likewise.
18076 * sysdeps/i386/stpncpy.S: Likewise.
18077 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18078 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18079 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18080 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18082 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18084 * elf/dl-open.c: Fix typos.
18085 * iconvdata/gbbig5.c: Likewise.
18086 * iconvdata/iso-2022-jp.c: Likewise.
18087 * iconv/gconv_int.h: Likewise.
18088 * iconv/loop.c: Likewise.
18089 * nis/rpcsvc/nis.h: Likewise.
18090 * resolv/ns_name.c: Likewise.
18091 * stdio-common/vfscanf.c: Likewise.
18092 * streams/stropts.h: Likewise.
18093 * sunrpc/rpc_thread.c: Likewise.
18094 * sysdeps/i386/strpbrk.S: Likewise.
18095 * sysdeps/ieee754/k_standard.c: Likewise.
18096 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18097 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18098 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18099 * sysdeps/mach/hurd/profil.c: Likewise.
18100 * sysdeps/s390/dl-procinfo.h: Likewise.
18101 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18102 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18103 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18104 * sysdeps/x86_64/dl-trampoline.S: Likewise.
18105 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18107 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18109 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18110 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18112 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
18114 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18115 aix specific files.
18116 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18117 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18118 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18119 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18120 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18121 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18122 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18123 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18125 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18126 Roland McGrath <roland@hack.frob.com>
18128 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18129 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18131 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18133 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18134 __executable_start symbol instead of _start.
18136 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18138 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18139 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18141 * sysdeps/gnu/ldsodefs.h: ... this new file.
18143 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18144 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18145 instead of ELFOSABI_LINUX.
18147 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18148 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18149 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18150 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18152 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18153 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18154 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18156 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18157 (ibm_extended_long_double): Add ieee_nan member.
18158 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18159 (do_test): New function.
18161 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18163 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18164 functions, renamed from truncdfsf_test, trunctfsf_test,
18166 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18168 (do_test): Run all these.
18170 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
18172 * argp/argp-help.c: Fix typos.
18173 * argp/argp-parse.c: Likewise.
18174 * debug/backtracesyms.c: Likewise.
18175 * elf/elf.h: Likewise.
18176 * malloc/malloc.c: Likewise.
18177 * nis/nis_print.c: Likewise.
18178 * resolv/res_comp.c: Likewise.
18179 * stdlib/stdlib.h: Likewise.
18180 * sunrpc/clnt_tcp.c: Likewise.
18181 * sunrpc/clnt_udp.c: Likewise.
18182 * sunrpc/clnt_unix.c: Likewise.
18183 * sysdeps/unix/bsd/ptsname.c: Likewise.
18184 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18185 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18192 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18194 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18196 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18199 2013-08-27 Mike Frysinger <vapier@gentoo.org>
18202 * dlfcn/Makefile (tests): Add bug-dl-leaf.
18203 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18204 ($(objpfx)bug-dl-leaf): New rule.
18205 ($(objpfx)bug-dl-leaf.so): Likewise.
18206 ($(objpfx)bug-dl-leaf.out): Likewise.
18207 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18208 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18209 * dlfcn/bug-dl-leaf.c: New test.
18210 * dlfcn/bug-dl-leaf-lib.c: Likewise.
18211 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18212 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18213 (dlclose): Likewise.
18214 (dlmopen): Likewise.
18216 2013-08-27 Roland McGrath <roland@hack.frob.com>
18218 * include/netdb.h [!_ISOMAC]:
18219 Don't include <tls.h>.
18220 (h_errno, __libc_h_errno): Move declaration and macros out of
18223 * include/resolv.h [_RESOLV_H_]:
18224 Don't include <tls.h>.
18225 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18226 * resolv/res_libc.c: Don't include <tls.h>.
18227 (_res): Use __attribute__ ((nocommon)) in place of
18228 __attribute__ ((section (".bss"))).
18230 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18231 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18233 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18235 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18236 only under [SIOCGIFCONF && SIOCGIFNETMASK].
18238 * resolv/res_mkquery.c: Include <sys/time.h>.
18240 * inet/ifreq.c: Moved to ...
18241 * sysdeps/unix/ifreq.c: ... here.
18242 * inet/ifreq.c: New file, true stub version.
18244 * socket/sa_len.c: New file.
18245 * socket/Makefile (aux): Add it.
18246 * sysdeps/unix/sysv/linux/Makefile
18247 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18248 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18249 and #include <socket/sa_len.c>.
18250 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18251 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18253 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18254 * bits/socket.h: ... here.
18256 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18257 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18258 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18260 2013-08-27 Andreas Schwab <schwab@suse.de>
18263 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18264 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18265 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18266 * string/test-strcasecmp.c (test_main): Run tests in several
18268 * string/test-strncasecmp.c (test_main): Likewise.
18270 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18271 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18272 to __strcasecmp_nonascii and __strncasecmp_nonascii.
18273 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18274 (__strncasecmp_ssse3) [PIC]: Likewise.
18276 2013-08-26 Roland McGrath <roland@hack.frob.com>
18278 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18280 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18281 instead of explicitly declaring xdecrypt.
18282 * nis/nss_nis/nis-publickey.c: Likewise.
18284 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18287 * nscd/aicache.c: Include res_hconf.h.
18288 (addhstaiX): Initialize res_hconf.
18290 2013-08-26 Andreas Schwab <schwab@suse.de>
18292 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18293 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18295 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18297 * nscd/aicache.c (addhstaiX): Fix indentation.
18299 2013-08-25 Mike Frysinger <vapier@gentoo.org>
18301 * configure.ac: Quote $build_pt_chown test.
18302 * configure: Regenerated.
18304 2013-08-23 Joseph Myers <joseph@codesourcery.com>
18307 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18308 * math/s_cexpf.c (__cexpf): Likewise.
18309 * math/s_cexpl.c (__cexpl): Likewise.
18310 * math/libm-test.inc (cexp_test_data): Correct expected return
18311 value for NaN + i0. Add another test.
18313 2013-08-22 David S. Miller <davem@davemloft.net>
18315 * po/ca.po: Update Catalan translation from translation project.
18316 * po/uk.po: Add Ukrainian translations from translation project.
18318 2013-08-21 Joseph Myers <joseph@codesourcery.com>
18321 * math/s_fdim.c (__fdim): Check for infinite arguments if result
18322 is infinite, not alongside NaN test.
18323 * math/s_fdimf.c (__fdimf): Likewise.
18324 * math/s_fdiml.c (__fdiml): Likewise.
18325 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
18326 errno is unchanged.
18328 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
18330 * argp/argp-help.c: Fix typos.
18331 * crypt/speeds.c: Likewise.
18332 * csu/check_fds.c: Likewise.
18333 * elf/dl-load.c: Likewise.
18334 * elf/dl-open.c: Likewise.
18335 * elf/reldep3.c: Likewise.
18336 * elf/reldep.c: Likewise.
18337 * elf/sprof.c: Likewise.
18338 * iconv/iconv_charmap.c: Likewise.
18339 * iconv/skeleton.c: Likewise.
18340 * iconv/strtab.c: Likewise.
18341 * io/lockf64.c: Likewise.
18342 * libio/libioP.h: Likewise.
18343 * resolv/gai_notify.c: Likewise.
18344 * resolv/ns_name.c: Likewise.
18345 * resolv/ns_samedomain.c: Likewise.
18346 * resolv/res_send.c: Likewise.
18347 * stdlib/random.c: Likewise.
18348 * sunrpc/rpc/xdr.h: Likewise.
18349 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18350 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18351 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18352 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18353 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18354 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18355 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18356 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18357 * sysdeps/mach/hurd/check_fds.c: Likewise.
18358 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18359 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18360 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18361 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18362 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18363 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18364 * sysdeps/pthread/aio_notify.c: Likewise.
18365 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18366 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18367 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18368 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18369 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18371 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18373 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18374 version if bit_Slow_SSE4_2 is set.
18375 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18376 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18378 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18381 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18382 trampoline stack frame information.
18383 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18384 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18385 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18386 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18387 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18388 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18389 (_libc_vdso_platform_setup): Initialize the signal trampolines.
18390 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18392 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18393 interrupting a syscall and set with option SA_SIGINFO.
18395 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18398 * math/s_cproj.c (__cproj): Only return an infinity if one part of
18399 argument is infinite.
18400 * math/s_cprojf.c (__cprojf): Likewise.
18401 * math/s_cprojl.c (__cprojl): Likewise.
18402 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18403 * math/libm-test.inc (cproj_test_data): Add more tests.
18405 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18407 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18408 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18409 size. Use __ffs to determine corresponding shift.
18411 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18412 Roland McGrath <roland@hack.frob.com>
18414 * Makefile (INSTALL): Remove trailing blank lines from output of
18417 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18419 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18420 Align 32 bit compat elf_greg to 8 bytes.
18422 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
18424 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18426 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18428 * string/strcoll_l.c (coll_seq): New structure.
18429 (get_next_seq_cached): New function.
18430 (get_next_seq): New function.
18431 (do_compare): New function.
18432 (STRCOLL): Use GNU style definition. Simplify implementation
18433 by using get_next_seq, get_next_seq_cached and do_compare.
18435 2013-08-16 Florian Weimer <fweimer@redhat.com>
18439 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18441 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18443 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18444 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18445 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
18447 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18448 GETDENTS_64BIT_ALIGNED.
18449 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18450 * manual/filesys.texi (Reading/Closing Directory): Document
18451 ENAMETOOLONG return value of readdir_r. Recommend readdir more
18453 * manual/conf.texi (Limits for Files): Add portability note to
18454 NAME_MAX, PATH_MAX.
18455 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18457 2013-08-13 Andreas Schwab <schwab@suse.de>
18460 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18462 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18463 LDBL_MAX_EXP >= 16384]: Add tests for it.
18465 2013-08-12 David S. Miller <davem@davemloft.net>
18467 * version.h (RELEASE): Set to "development".
18468 (VERSION): Set to "2.18.90".
18469 * NEWS: Add 2.19 section.
18471 2013-08-03 David S. Miller <davem@davemloft.net>
18473 * po/ko.po: Update Korean translation from translation project.
18475 2013-08-01 David S. Miller <davem@davemloft.net>
18477 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
18478 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18481 2013-07-30 David S. Miller <davem@davemloft.net>
18483 * po/fr.po: Update French translation from translation project.
18485 2013-07-28 David S. Miller <davem@davemloft.net>
18487 * po/cs.po: Update Czech translation from translation project.
18489 * po/sv.po: Update Swedish translation from translation project.
18491 2013-07-27 David S. Miller <davem@davemloft.net>
18493 * po/eo.po: Update Esperanto translation from translation project.
18495 * po/vi.po: Update Vietnamese translation from translation project.
18497 * po/de.po: Update German translation from translation project.
18499 2013-07-26 David S. Miller <davem@davemloft.net>
18501 * po/bg.po: Update Bulgarian translation from translation project.
18503 * po/nl.po: Update Dutch translation from translation project.
18504 * po/pl.po: Update Polish translation from translation project.
18505 * po/ru.po: Update Russian translation from translation project.
18507 2013-07-24 David S. Miller <davem@davemloft.net>
18509 * po/libc.pot: Update.
18511 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18513 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18514 variable page size.
18515 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18516 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18517 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18519 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18521 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18523 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18524 Andreas Schwab <schwab@suse.de>
18525 Roland McGrath <roland@hack.frob.com>
18526 Joseph Myers <joseph@codesourcery.com>
18527 Carlos O'Donell <carlos@redhat.com>
18530 * config.h.in: Define HAVE_PT_CHOWN.
18531 * config.make.in (build-pt-chown): New variable.
18532 * configure.in (--enable-pt_chown): New configure option.
18533 * configure: Regenerate.
18534 * login/Makefile: Include Makeconfig. Build pt_chown only if
18535 build-pt-chown is enabled.
18536 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18537 pt_chown to fix pty ownership.
18538 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18540 * manual/install.texi (Configuring and compiling): Mention
18541 --enable-pt_chown. Add @findex for grantpt.
18542 * INSTALL: Regenerate.
18544 2013-07-20 David S. Miller <davem@davemloft.net>
18546 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18547 difference between 32-bit and 64-bit.
18549 2013-07-15 Carlos O'Donell <carlos@redhat.com>
18552 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18553 Avoid system header dependency with -ffreestanding.
18554 ($(objpfx)bits/syscall%d): Likewise.
18556 2013-07-13 David S. Miller <davem@davemloft.net>
18558 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18559 underflows from atanl/atan2l due to bug 15319.
18560 (casinh_test_data): Likewise.
18562 2013-07-07 David S. Miller <davem@davemloft.net>
18564 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18566 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
18568 * sysdeps/i386/fpu/libm-test-ulps: Update.
18569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18571 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18573 * configure.in (--enable-lock-elision): Fix message text.
18574 * INSTALL: Regenerate.
18575 * configure: Regenerate.
18577 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18581 2013-07-03 Andreas Jaeger <aj@suse.de>
18583 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18585 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18586 (ptrace_peeksiginfo_args): Add.
18587 (__ptrace_peeksiginfo_flags): Add.
18588 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18589 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18590 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18592 2013-07-03 Allan McRae <allan@archlinux.org>
18594 * sysdeps/i386/fpu/libm-test-ulps: Update.
18596 2013-07-02 David S. Miller <davem@davemloft.net>
18598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18600 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
18602 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18604 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18606 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18609 2013-07-02 Andi Kleen <ak@linux.intel.com>
18611 * config.h.in (ENABLE_LOCK_ELISION): Add.
18612 * configure.in (--enable-lock-elision): Add option.
18613 * manual/install.texi: Document --enable lock elision.
18614 * configure: Regenerate
18615 * INSTALL: Regenerate.
18617 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
18619 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18620 SSE4.2 strcasecmp for libc.a.
18621 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18623 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18626 * soft-fp/op-common.h (_FP_FMA): New macro.
18627 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18628 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
18629 (_FP_MUL_MEAT_1_imm): ... here.
18630 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
18631 (_FP_MUL_MEAT_1_wide): ... here.
18632 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
18633 (_FP_MUL_MEAT_1_hard): ... here.
18634 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18635 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
18636 (_FP_MUL_MEAT_2_wide): ... here.
18637 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
18638 (_FP_MUL_MEAT_2_wide_3mul): ... here.
18639 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
18640 (_FP_MUL_MEAT_2_gmp): ... here.
18641 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18642 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
18643 (_FP_MUL_MEAT_4_wide): ... here.
18644 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
18645 (_FP_MUL_MEAT_4_gmp): ... here.
18646 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18647 (_FP_WFRACBITS_DW_S): Likewise.
18648 (_FP_WFRACXBITS_DW_S): Likewise.
18649 (_FP_HIGHBIT_DW_S): Likewise.
18650 (FP_FMA_S): Likewise.
18651 (_FP_FRAC_HIGH_DW_S): Likewise.
18652 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18653 (_FP_WFRACBITS_DW_D): Likewise.
18654 (_FP_WFRACXBITS_DW_D): Likewise.
18655 (_FP_HIGHBIT_DW_D): Likewise.
18656 (FP_FMA_D): Likewise.
18657 (_FP_FRAC_HIGH_DW_D): Likewise.
18658 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18659 (_FP_WFRACBITS_DW_E): Likewise.
18660 (_FP_WFRACXBITS_DW_E): Likewise.
18661 (_FP_HIGHBIT_DW_E): Likewise.
18662 (FP_FMA_E): Likewise.
18663 (_FP_FRAC_HIGH_DW_E): Likewise.
18664 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18665 (_FP_WFRACBITS_DW_Q): Likewise.
18666 (_FP_WFRACXBITS_DW_Q): Likewise.
18667 (_FP_HIGHBIT_DW_Q): Likewise.
18668 (FP_FMA_Q): Likewise.
18669 (_FP_FRAC_HIGH_DW_Q): Likewise.
18670 * soft-fp/fmasf4.c: New file.
18671 * soft-fp/fmadf4.c: Likewise.
18672 * soft-fp/fmatf4.c: Likewise.
18674 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18676 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18677 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18679 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18681 (index_Slow_SSE4_2): Likewise.
18682 (index_Prefer_PMINUB_for_stringop): Likewise.
18683 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18684 bit_Slow_SSE4_2 is set.
18685 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18686 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18688 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18690 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18691 rtld_global._dl_hwcap2.
18692 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18694 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18695 POWER8 feature descriptions defined in _dl_hwcap2.
18696 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18697 string handling for POWER8 feature bits.
18698 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18699 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18700 _dl_powerpc_cap_flags.
18701 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18702 * sysdeps/powerpc/rtld-global-offsets.sym
18703 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18704 _dl_hwcap2 in the rtld_global_ro structure.
18706 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18708 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18709 hardware capabilities in support of AT_HWCAP2.
18710 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18711 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18713 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18714 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18715 explicitly the unknown a_type display mechanism is used.
18716 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18717 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18719 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18720 to macro prototype for AT_HWCAP2 support.
18721 * sysdeps/i386/dl-procinfo.h: Likewise.
18722 * sysdeps/s390/dl-procinfo.h: Likewise.
18723 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18724 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18725 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18726 return -1 for unknown a_type display fallback.
18727 * sysdeps/sparc/dl-procinfo.h: Likewise.
18728 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18729 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18731 2013-06-28 Joseph Myers <joseph@codesourcery.com>
18733 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18734 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18736 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18739 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18740 mprotect making __stack_prot writable.
18742 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18743 Joseph Myers <joseph@codesourcery.com>
18745 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18746 as being properly aligned.
18748 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18750 * dlfcn/modstatic5.c: New file.
18751 * dlfcn/tststatic5.c: New file.
18752 * dlfcn/Makefile (tests): Add tststatic5.
18753 (tests-static): Likewise.
18754 (modules-names): Add modstatic5.
18755 (tststatic5-ENV): New variable.
18756 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18759 * elf/dl-support.c (_dl_main_map): New variable.
18760 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18761 (_dl_nns, _dl_load_adds): Set to 1.
18762 (_dl_initial_searchlist): Refer to _dl_main_map.
18763 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18764 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18765 call to _dl_get_origin.
18766 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18768 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18769 * dlfcn/modstatic3.c: New file.
18770 * dlfcn/tststatic3.c: New file.
18771 * dlfcn/tststatic4.c: New file.
18772 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18773 (tests-static): Likewise.
18774 (modules-names): Add modstatic3.
18775 (tststatic3-ENV, tststatic4-ENV): New variables.
18776 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18777 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18779 2013-06-26 Joseph Myers <joseph@codesourcery.com>
18781 * configure.in (CC): Require GCC version 4.4 or later.
18782 * configure: Regenerated.
18783 * manual/install.texi (Tools for Compilation): Update GCC version
18785 * INSTALL: Regenerated.
18787 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18790 * string/test-memcmp.c (check2): New.
18791 (main): Call check2.
18793 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18795 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18798 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18800 (dl_open_worker) [!SHARED]: ... here.
18802 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18804 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18806 2013-06-25 Richard Henderson <rth@redhat.com>
18808 * locale/programs/locarchive.c: Include <libc-internal.h>
18810 2013-06-25 Joseph Myers <joseph@codesourcery.com>
18812 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18813 trailing whitespace removed.
18815 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18818 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18819 * locale/programs/locarchive.c: Include libc-mmap.h.
18820 (prepare_address_space): Take two new outputs (the mmap base and len).
18821 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18823 (create_archive): Declare new mmap base and len values for
18824 prepare_address_space, and store the result in ah.
18825 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18826 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18827 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18828 Declare new mmap base and len values for
18829 prepare_address_space, and store the result in new_ah.
18830 (open_archive): Declare new mmap base and len values for
18831 prepare_address_space, and store the result in ah.
18832 (close_archive): If ah->mmap_base is not NULL, use that and
18833 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18834 * sysdeps/generic/libc-mmap.h: New file.
18836 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18838 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18839 (ALIGN_UP): Likewise.
18840 (PTR_ALIGN_DOWN): Likewise.
18841 (PTR_ALIGN_UP): Likewise.
18843 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18845 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18846 entry mapped to PPC_PLATFORM_POWER8.
18847 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18849 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18850 (_dl_string_platform): Add case for exporting platform position for
18852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18853 search path to sysdeps/powerpc/powerpc32/power8 directory.
18854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18855 search path to sysdeps/powerpc/powerpc64/power8 directory.
18856 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18857 power7 directories.
18858 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18859 power7 directories.
18861 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18863 * INSTALL: Regenerate.
18865 * nscd/connections.c (nscd_init): Fix comment.
18867 2013-06-22 Joseph Myers <joseph@codesourcery.com>
18869 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18872 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18873 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18875 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18877 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18879 (DL_DST_REQ_STATIC): Remove macro.
18881 2013-06-21 Joseph Myers <joseph@codesourcery.com>
18884 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18885 with a shift of 0 bits.
18887 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18889 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18892 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18895 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18897 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18899 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18900 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18901 accepts -fno-tree-loop-distribute-patterns.
18902 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18903 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18905 * string/memset.c (memset): Likewise.
18906 * string/test-memmove.c (simple_memmove): Disable loop transformation
18908 * string/test-memset.c (simple_memset): Likewise.
18909 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18910 * benchtests/bench-memset.c (simple_memset): Likewise.
18911 * configure: Regenerated.
18913 2013-06-20 Joseph Myers <joseph@codesourcery.com>
18915 * math/test-misc.c (main): Ignore fesetround failure when failures
18916 of subsequent rounding tests would be ignored.
18919 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18920 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18921 * math/fegetenv.c (__fegetenv): Return 0.
18922 * math/fegetexcept.c (fegetexcept): Return 0.
18923 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18925 * math/feholdexcpt.c (feholdexcept): Return 0.
18926 * math/fesetenv.c (__fesetenv): Return 0.
18927 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18928 argument FE_TONEAREST.
18929 * math/feupdateenv.c (__feupdateenv): Return 0.
18930 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18932 2013-06-18 Roland McGrath <roland@hack.frob.com>
18934 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18935 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18936 ($(objpfx)rtld-%.os rules): Use them.
18938 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18940 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18943 2013-06-17 Roland McGrath <roland@hack.frob.com>
18945 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18946 length of target pattern, then descending length of dependency pattern.
18947 * configure.in (AWK): Require gawk 3.1.2 or newer.
18948 * manual/install.texi (Tools for Compilation): Say that we do.
18949 * configure: Regenerated.
18951 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18952 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18953 * scripts/sysd-rules.awk: ... this new script.
18954 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18955 than a glob-style pattern.
18957 2013-06-17 Joseph Myers <joseph@codesourcery.com>
18959 * math/test-misc.c (main): Do not treat incorrectly rounded
18960 conversions as failure unless ROUNDING_TESTS passes.
18962 2013-06-15 Joseph Myers <joseph@codesourcery.com>
18965 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18966 restore exception state around main square root computation, then
18967 check for inexactness explicitly.
18969 * math/libm-test.inc (fma_test_data): Add another test.
18971 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18973 * manual/threads.texi (Non-POSIX Extensions): New document
18974 node. Document pthread_getattr_default_np and
18975 pthread_setattr_default_np.
18977 * Versions.def (libpthread): Add GLIBC_2.18.
18978 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18987 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18998 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19000 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19001 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19003 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19004 H.J. Lu <hjl.tools@gmail.com>
19007 * sysdeps/x86_64/rtld-memset.c: Remove file.
19008 * sysdeps/x86_64/rtld-memset.S: New file.
19010 2013-06-14 Joseph Myers <joseph@codesourcery.com>
19012 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19013 (test_in_one_mode): Take arguments for whether the rounding mode
19014 is supported for each floating-point type.
19015 (do_test): Pass new arguments to test_in_one_mode using
19018 2013-06-13 Roland McGrath <roland@hack.frob.com>
19020 * posix/tst-waitid.c (do_test): Distinguish different instances of
19021 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
19022 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19023 before entering the kernel for waitpid.
19025 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19027 * NEWS: Fix note on clock function precision. Text by Roland
19030 2013-06-13 Roland McGrath <roland@hack.frob.com>
19032 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19033 it into place only when and if the sanity check passes.
19035 2013-06-13 Joseph Myers <joseph@codesourcery.com>
19037 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19038 output for whether conversion result is exact. Take argument
19039 indicating whether type is IBM long double.
19040 (round_for_all): Change need_exact field to ibm_ld.
19041 * stdlib/tst-strtod-round.c (struct exactness): New type.
19042 (struct test): Change bool ld_ok field to struct exactness exact.
19043 (TEST): Update all definitions for change to field.
19044 (tests): Regenerate array contents.
19045 (test_in_one_mode): Take pointer to new field instead of old ld_ok
19046 field value. Check for IBM long double here.
19047 (do_test): Update calls to test_in_one_mode.
19049 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19052 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19053 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19055 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19058 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19059 generated by the compiler on loop optimizations.
19060 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19061 general definitions.
19063 2013-06-12 Joseph Myers <joseph@codesourcery.com>
19065 * math/bug-nextafter.c: Include <math-tests.h>.
19066 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19068 * math/bug-nexttoward.c: Include <math-tests.h>.
19069 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19071 * math/test-misc.c: Include <math-tests.h>.
19072 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19075 2013-06-12 Andreas Jaeger <aj@suse.de>
19077 * po/ia.po: Update Interlingua translation from translation
19080 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19082 * include/fenv.h: Include stdbool.h.
19083 (struct rm_ctx): New structure.
19084 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19086 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19087 (SET_RESTORE_ROUNDF): Likewise.
19088 (SET_RESTORE_ROUNDL): Likewise.
19089 (SET_RESTORE_ROUND_NOEX): Likewise.
19090 (SET_RESTORE_ROUND_NOEXF): Likewise.
19091 (SET_RESTORE_ROUND_NOEXL): Likewise.
19092 (SET_RESTORE_ROUND_53BIT): Likewise.
19093 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19094 (libc_feresetround_noexf_ctx): Likewise.
19095 (libc_feresetround_noexl_ctx): Likewise.
19096 (libc_feholdsetround_53bit_ctx): Likewise.
19097 (libc_feresetround_53bit_ctx): Likewise.
19098 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19099 (libc_feholdexcept_setround_sse_ctx): New function.
19100 (libc_fesetenv_sse_ctx): Likewise.
19101 (libc_feupdateenv_sse_ctx): Likewise.
19102 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19103 (libc_feholdexcept_setround_387_ctx): Likewise.
19104 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19105 (libc_feholdsetround_387_prec_ctx): Likewise.
19106 (libc_feholdsetround_387_ctx): Likewise.
19107 (libc_feholdsetround_387_53bit_ctx): Likewise.
19108 (libc_feholdsetround_sse_ctx): Likewise.
19109 (libc_feresetround_sse_ctx): Likewise.
19110 (libc_feresetround_387_ctx): Likewise.
19111 (libc_feupdateenv_387_ctx): Likewise.
19112 (libc_feholdexcept_setroundf_ctx): Define macro.
19113 (libc_fesetenvf_ctx): Likewise.
19114 (libc_feupdateenvf_ctx): Likewise.
19115 (libc_feholdsetroundf_ctx): Likewise.
19116 (libc_feresetroundf_ctx): Likewise.
19117 (libc_feholdexcept_setround_ctx): Likewise.
19118 (libc_fesetenv_ctx): Likewise.
19119 (libc_feupdateenv_ctx): Likewise.
19120 (libc_feholdsetround_ctx): Likewise.
19121 (libc_feresetround_ctx): Likewise.
19122 (libc_feholdexcept_setroundl_ctx): Likewise.
19123 (libc_feupdateenvl_ctx): Likewise.
19124 (libc_feholdsetroundl_ctx): Likewise.
19125 (libc_feresetroundl_ctx): Likewise.
19126 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19127 (libc_feresetround_53bit_ctx): Likewise.
19129 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19131 * locale/iso-639.def: Convert to UTF-8.
19133 2013-06-11 Joseph Myers <joseph@codesourcery.com>
19135 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19136 (EXCEPTION_TESTS_double): Likewise.
19137 (EXCEPTION_TESTS_long_double): Likewise.
19138 (EXCEPTION_TESTS): Likewise.
19139 * math/libm-test.inc (test_exceptions): Only test exceptions if
19140 EXCEPTION_TESTS (FLOAT).
19142 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19144 * benchtests/Makefile (string-bench): Add strcpy_chk and
19146 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19147 * benchtests/bench-stpcpy_chk.c: New file.
19148 * benchtests/bench-strcpy_chk-ifunc.c: New file.
19149 * benchtests/bench-strcpy_chk.c: New file.
19150 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19152 (do_test): Likewise.
19154 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19156 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19157 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19158 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19159 with tabs where appropriate.
19160 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19162 [PPC_PLATFORM_PPC440]: Likewise.
19163 [PPC_PLATFORM_PPC464]: Likewise.
19164 [PPC_PLATFORM_PPC476]: Likewise.
19165 (_dl_string_platform): Add support for detecting ppc405, ppc440,
19166 ppc464, and ppc476 platform strings merging from ports/
19169 2013-06-11 Andreas Schwab <schwab@suse.de>
19172 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19173 (from_ucs4_idx): Regenerate.
19174 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19175 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19176 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19177 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19178 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19179 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19180 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19181 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19182 from FROM_LOOP and TO_LOOP specific macros.
19183 (BODY): Handle combining characters.
19184 * iconvdata/BIG5HKSCS.irreversible: Update.
19185 * iconvdata/BIG5HKSCS.precomposed: New file.
19186 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19188 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19190 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19192 * include/sys/time.h: Fix indentation and add copyright header.
19194 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19195 (do_test): Likewise.
19196 * string/test-memchr.c (do_one_test): Likewise.
19197 (do_test): Likewise.
19198 * string/test-memcmp.c (do_one_test): Likewise.
19199 (do_test): Likewise.
19200 * string/test-memcpy.c (do_one_test): Likewise.
19201 (do_test): Likewise.
19202 * string/test-memmem.c (do_one_test): Likewise.
19203 (do_test): Likewise.
19204 (do_random_tests): Likewise.
19205 * string/test-memmove.c (do_one_test): Likewise.
19206 (do_test): Likewise.
19207 * string/test-memset.c (do_one_test): Likewise.
19208 (do_test): Likewise.
19209 * string/test-rawmemchr.c (do_one_test): Likewise.
19210 (do_test): Likewise.
19211 * string/test-strcasecmp.c (do_one_test): Likewise.
19212 (do_test): Likewise.
19213 * string/test-strcasestr.c (do_one_test): Likewise.
19214 (do_test): Likewise.
19215 * string/test-strcat.c (do_one_test): Likewise.
19216 (do_test): Likewise.
19217 * string/test-strchr.c (do_one_test): Likewise.
19218 (do_test): Likewise.
19219 * string/test-strcmp.c (do_one_test): Likewise.
19220 (do_test): Likewise.
19221 * string/test-strcpy.c (do_one_test): Likewise.
19222 (do_test): Likewise.
19223 * string/test-string.h: Likewise.
19224 (test_init): Likewise.
19225 * string/test-strlen.c (do_one_test): Likewise.
19226 (do_test): Likewise.
19227 * string/test-strncasecmp.c (do_one_test): Likewise.
19228 (do_test): Likewise.
19229 * string/test-strncat.c (do_one_test): Likewise.
19230 (do_test): Likewise.
19231 * string/test-strncmp.c (do_one_test): Likewise.
19232 (do_test_limit): Likewise.
19233 (do_test): Likewise.
19234 * string/test-strncpy.c (do_one_test): Likewise.
19235 (do_test): Likewise.
19236 * string/test-strnlen.c (do_one_test): Likewise.
19237 (do_test): Likewise.
19238 * string/test-strpbrk.c (do_one_test): Likewise.
19239 (do_test): Likewise.
19240 * string/test-strrchr.c (do_one_test): Likewise.
19241 (do_test): Likewise.
19242 * string/test-strspn.c (do_one_test): Likewise.
19243 (do_test): Likewise.
19244 * string/test-strstr.c (do_one_test): Likewise.
19245 (do_test): Likewise.
19247 * benchtests/Makefile (string-bench): Add string benchmarks.
19248 * benchtests/bench-bcopy-ifunc.c: New file.
19249 * benchtests/bench-bcopy.c: New file.
19250 * benchtests/bench-bzero-ifunc.c: New file.
19251 * benchtests/bench-bzero.c: New file.
19252 * benchtests/bench-memccpy-ifunc.c: New file.
19253 * benchtests/bench-memccpy.c: New file.
19254 * benchtests/bench-memchr-ifunc.c: New file.
19255 * benchtests/bench-memchr.c: New file.
19256 * benchtests/bench-memcmp-ifunc.c: New file.
19257 * benchtests/bench-memcmp.c: New file.
19258 * benchtests/bench-memmem-ifunc.c: New file.
19259 * benchtests/bench-memmem.c: New file.
19260 * benchtests/bench-memmove-ifunc.c: New file.
19261 * benchtests/bench-memmove.c: New file.
19262 * benchtests/bench-mempcpy-ifunc.c: New file.
19263 * benchtests/bench-mempcpy.c: New file.
19264 * benchtests/bench-memset-ifunc.c: New file.
19265 * benchtests/bench-memset.c: New file.
19266 * benchtests/bench-rawmemchr-ifunc.c: New file.
19267 * benchtests/bench-rawmemchr.c: New file.
19268 * benchtests/bench-stpcpy-ifunc.c: New file.
19269 * benchtests/bench-stpcpy.c: New file.
19270 * benchtests/bench-stpncpy-ifunc.c: New file.
19271 * benchtests/bench-stpncpy.c: New file.
19272 * benchtests/bench-strcasecmp-ifunc.c: New file.
19273 * benchtests/bench-strcasecmp.c: New file.
19274 * benchtests/bench-strcasestr-ifunc.c: New file.
19275 * benchtests/bench-strcasestr.c: New file.
19276 * benchtests/bench-strcat-ifunc.c: New file.
19277 * benchtests/bench-strcat.c: New file.
19278 * benchtests/bench-strchr-ifunc.c: New file.
19279 * benchtests/bench-strchr.c: New file.
19280 * benchtests/bench-strchrnul-ifunc.c: New file.
19281 * benchtests/bench-strchrnul.c: New file.
19282 * benchtests/bench-strcmp-ifunc.c: New file.
19283 * benchtests/bench-strcmp.c: New file.
19284 * benchtests/bench-strcpy-ifunc.c: New file.
19285 * benchtests/bench-strcpy.c: New file.
19286 * benchtests/bench-strcspn-ifunc.c: New file.
19287 * benchtests/bench-strcspn.c: New file.
19288 * benchtests/bench-strlen-ifunc.c: New file.
19289 * benchtests/bench-strlen.c: New file.
19290 * benchtests/bench-strncasecmp-ifunc.c: New file.
19291 * benchtests/bench-strncasecmp.c: New file.
19292 * benchtests/bench-strncat-ifunc.c: New file.
19293 * benchtests/bench-strncat.c: New file.
19294 * benchtests/bench-strncmp-ifunc.c: New file.
19295 * benchtests/bench-strncmp.c: New file.
19296 * benchtests/bench-strncpy-ifunc.c: New file.
19297 * benchtests/bench-strncpy.c: New file.
19298 * benchtests/bench-strnlen-ifunc.c: New file.
19299 * benchtests/bench-strnlen.c: New file.
19300 * benchtests/bench-strpbrk-ifunc.c: New file.
19301 * benchtests/bench-strpbrk.c: New file.
19302 * benchtests/bench-strrchr-ifunc.c: New file.
19303 * benchtests/bench-strrchr.c: New file.
19304 * benchtests/bench-strspn-ifunc.c: New file.
19305 * benchtests/bench-strspn.c: New file.
19306 * benchtests/bench-strstr-ifunc.c: New file.
19307 * benchtests/bench-strstr.c: New file.
19309 * benchtests/Makefile: Disable parallel execution of targets.
19310 (string-bench): Add memcpy.
19311 (benchset): New variable to store a list of benchmark sets.
19312 (bench-func): Renamed from bench.
19313 (bench-set): New target.
19314 (bench): Depend on bench-func and bench-set.
19315 * benchtests/README: Add section on benchmark sets.
19316 * benchtests/bench-memcpy-ifunc.c: New file.
19317 * benchtests/bench-memcpy.c: New file.
19318 * benchtests/bench-string.h: New file.
19320 2013-06-11 Andreas Schwab <schwab@suse.de>
19323 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19324 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19325 values in the triple.
19326 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19327 terminator in the group key.
19329 2013-06-11 Andreas Jaeger <aj@suse.de>
19331 * po/zh_TW.po: Update Chinese (traditional) translation from
19332 translation project.
19334 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19336 * include/time.h (__clock_gettime): Add libc_hidden_proto.
19337 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19338 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
19339 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19340 (clock_getcpuclockid): Likewise.
19341 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19342 Add weak_alias and libc_hidden_def.
19343 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19344 * rt/clock_gettime.c (clock_gettime): Rename to
19345 __clock_gettime. Add weak_alias and libc_hidden_def.
19346 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19347 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19348 __clock_nanosleep. Add weak_alias and libc_hidden_def.
19349 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19350 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19352 * rt/clock_settime.c (clock_settime): Rename to
19353 __clock_settime. Add weak_alias and libc_hidden_def.
19354 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19356 2013-06-10 Joseph Myers <joseph@codesourcery.com>
19358 * mach/err_boot.sub: Remove trailing whitespace.
19359 * mach/err_ipc.sub: Likewise.
19360 * mach/err_mach.sub: Likewise.
19362 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19363 (ROUNDING_TESTS_double): Likewise.
19364 (ROUNDING_TESTS_long_double): Likewise.
19365 (ROUNDING_TESTS): Likewise.
19366 * math/libm-test.inc: Include <math-tests.h>.
19367 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19368 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19369 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19370 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19372 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19374 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19377 2013-06-08 Joseph Myers <joseph@codesourcery.com>
19379 * sysdeps/gnu/errlist.awk: Do not generate space at end of
19380 otherwise empty TRANS lines.
19381 * sysdeps/gnu/errlist.c: Regenerated.
19383 * catgets/gencat.c (error_print): Use (void) in function
19385 * crypt/crypt_util.c (__init_des): Likewise.
19386 * crypt/speeds.c (Stop): Likewise.
19388 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19389 * inet/ruserpass.c (token): Likewise.
19390 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19391 * intl/localealias.c (extend_alias_table): Likewise.
19392 * intl/plural-exp.c (init_germanic_plural): Likewise.
19393 * libio/fcloseall.c (__fcloseall): Likewise.
19394 * libio/genops.c (_IO_flush_all): Likewise.
19395 (_IO_flush_all_linebuffered): Likewise.
19396 (_IO_cleanup): Likewise.
19397 (_IO_iter_begin): Likewise.
19398 (_IO_iter_end): Likewise.
19399 (_IO_list_lock): Likewise.
19400 (_IO_list_unlock): Likewise.
19401 (_IO_list_resetlock): Likewise.
19402 * libio/getchar.c (getchar): Likewise.
19403 * libio/getchar_u.c (getchar_unlocked): Likewise.
19404 * libio/getwchar.c (getwchar): Likewise.
19405 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19406 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19407 * login/getpt.c (__getpt): Likewise.
19408 * login/tst-utmp.c (main): Likewise.
19409 * malloc/hooks.c (__malloc_check_init): Likewise.
19410 * malloc/malloc.c (__malloc_stats): Likewise.
19411 * malloc/mtrace.c (tr_break): Likewise.
19412 (mtrace): Likewise.
19413 (muntrace): Likewise.
19414 * misc/fstab.c (endfsent): Likewise.
19415 * misc/getclktck.c (__getclktck): Likewise.
19416 * misc/getdtsz.c (__getdtablesize): Likewise.
19417 * misc/gethostid.c (gethostid): Likewise.
19418 * misc/getpagesize.c (__getpagesize): Likewise.
19419 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19420 (__get_nprocs): Likewise.
19421 (__get_phys_pages): Likewise.
19422 (__get_avphys_pages): Likewise.
19423 * misc/getttyent.c (getttyent): Likewise.
19424 (setttyent): Likewise.
19425 (endttyent): Likewise.
19426 * misc/getusershell.c (getusershell): Likewise.
19427 (endusershell): Likewise.
19428 (setusershell): Likewise.
19429 (initshells): Likewise.
19430 * misc/hsearch.c (__hdestroy): Likewise.
19431 * misc/sync.c (sync): Likewise.
19432 * misc/syslog.c (closelog_internal): Likewise.
19433 (closelog): Likewise.
19434 * misc/ttyslot.c (ttyslot): Likewise.
19435 * misc/vhangup.c (vhangup): Likewise.
19436 * posix/fork.c (__fork): Likewise.
19437 * posix/getegid.c (__getegid): Likewise.
19438 * posix/geteuid.c (__geteuid): Likewise.
19439 * posix/getgid.c (__getgid): Likewise.
19440 * posix/getpid.c (__getpid): Likewise.
19441 * posix/getppid.c (__getppid): Likewise.
19442 * posix/getuid.c (__getuid): Likewise.
19443 * posix/pause.c (pause): Likewise.
19444 * posix/setpgrp.c (setpgrp): Likewise.
19445 * posix/setsid.c (__setsid): Likewise.
19446 * posix/test-vfork.c (noop): Likewise.
19447 * resolv/gethnamaddr.c (_endhtent): Likewise.
19448 (_gethtent): Likewise.
19449 (ht_endhostent): Likewise.
19450 (gethostent): Likewise.
19451 (dns_service): Likewise.
19452 * stdlib/drand48.c (drand48): Likewise.
19453 * stdlib/lrand48.c (lrand48): Likewise.
19454 * stdlib/mrand48.c (mrand48): Likewise.
19455 * stdlib/rand.c (rand): Likewise.
19456 * stdlib/random.c (__random): Likewise.
19457 * stdlib/setenv.c (clearenv): Likewise.
19458 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19459 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19460 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19461 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19462 (__get_nprocs): Likewise.
19463 (__get_phys_pages): Likewise.
19464 (__get_avphys_pages): Likewise.
19465 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19466 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19467 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19468 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19469 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19470 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19471 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19472 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19473 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19474 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19475 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19476 * sysdeps/mach/hurd/sync.c (sync): Likewise.
19477 * sysdeps/posix/clock.c (clock): Likewise.
19478 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19479 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19480 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19481 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19482 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19483 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19484 (__get_nprocs_conf): Likewise.
19485 (__get_phys_pages): Likewise.
19486 (__get_avphys_pages): Likewise.
19487 * time/clock.c (clock): Likewise.
19488 * time/tzset.c (__tzname_max): Likewise.
19490 2013-06-07 Joseph Myers <joseph@codesourcery.com>
19492 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19493 (__bswap_32): Do not use "register".
19494 * crypt/crypt.c (_ufc_doit_r): Likewise.
19495 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19496 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19497 * gmon/gmon.c (__monstartup): Likewise.
19498 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19499 * hurd/hurdmalloc.c (more_memory): Likewise.
19500 (malloc): Likewise.
19502 (realloc): Likewise.
19503 (malloc_fork_prepare): Likewise.
19504 (malloc_fork_parent): Likewise.
19505 (malloc_fork_child): Likewise.
19506 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19507 (_svcauth_des): Likewise.
19508 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19509 * inet/inet_net.c (inet_network): Likewise.
19510 * inet/inet_netof.c (inet_netof): Likewise.
19511 * inet/rcmd.c (__validuser2_sa): Likewise.
19512 * io/fts.c (fts_open): Likewise.
19513 (fts_load): Likewise.
19514 (fts_close): Likewise.
19515 (fts_read): Likewise.
19516 (fts_children): Likewise.
19517 (fts_build): Likewise.
19518 (fts_stat): Likewise.
19519 (fts_sort): Likewise.
19520 (fts_alloc): Likewise.
19521 (fts_lfree): Likewise.
19522 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19523 (_IO_file_xsgetn): Likewise.
19524 (_IO_file_xsgetn_mmap): Likewise.
19525 * libio/iofopncook.c (_IO_cookie_read): Likewise.
19526 (_IO_cookie_write): Likewise.
19527 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19528 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19529 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19530 * malloc/obstack.c (_obstack_begin): Likewise.
19531 (_obstack_begin_1): Likewise.
19532 (_obstack_newchunk): Likewise.
19533 (_obstack_allocated_p): Likewise.
19534 (obstack_free): Likewise.
19535 (_obstack_memory_used): Likewise.
19536 * misc/getttyent.c (getttynam): Likewise.
19537 (getttyent): Likewise.
19540 * misc/getusershell.c (initshells): Likewise.
19541 * misc/syslog.c (__vsyslog_chk): Likewise.
19542 * misc/ttyslot.c (ttyslot): Likewise.
19543 * nis/nis_hash.c (__nis_hash): Likewise.
19544 * posix/fnmatch_loop.c (FCT): Likewise.
19545 * posix/getconf.c (print_all): Likewise.
19547 * posix/getopt.c (exchange): Likewise.
19548 * posix/glob.c (globfree): Likewise.
19549 (prefix_array): Likewise.
19550 (__glob_pattern_type): Likewise.
19551 * resolv/arpa/nameser.h (NS_GET16): Likewise.
19552 (NS_GET32): Likewise.
19553 (NS_PUT16): Likewise.
19554 (NS_PUT32): Likewise.
19555 * resolv/gethnamaddr.c (getanswer): Likewise.
19556 (gethostbyname2): Likewise.
19557 (gethostbyaddr): Likewise.
19558 (_gethtent): Likewise.
19559 (_gethtbyname2): Likewise.
19560 (_gethtbyaddr): Likewise.
19561 * resolv/ns_print.c (dst_s_get_int16): Likewise.
19562 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19563 * resolv/res_init.c (__res_vinit): Likewise.
19564 (net_mask): Likewise.
19565 * resolv/res_mkquery.c (outchar): Likewise.
19567 * stdio-common/printf_fp.c (outchar): Likewise.
19569 * stdio-common/printf_fphex.c (outchar): Likewise.
19571 * stdio-common/printf_size.c (outchar): Likewise.
19573 * stdio-common/test_rdwr.c (main): Likewise.
19574 * stdio-common/tfformat.c (matches): Likewise.
19575 * stdio-common/vfprintf.c (outchar): Likewise.
19576 (printf_unknown): Likewise.
19577 (buffered_vfprintf): Likewise.
19578 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19579 * stdio-common/xbug.c (AppendToBuffer): Likewise.
19580 (ReadFile): Likewise.
19581 * stdlib/qsort.c (SWAP): Likewise.
19582 (_quicksort): Likewise.
19583 * stdlib/setenv.c (__add_to_environ): Likewise.
19584 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19585 * stdlib/strtol_l.c (__strtol_l): Likewise.
19586 * stdlib/tst-strtod.c (main): Likewise.
19587 * stdlib/tst-strtol.c (main): Likewise.
19588 * stdlib/tst-strtoll.c (main): Likewise.
19589 * string/bits/string2.h (__strcmp_cc): Likewise.
19590 (__strcmp_cg): Likewise.
19591 (__strcspn_c1): Likewise.
19592 (__strcspn_c2): Likewise.
19593 (__strcspn_c3): Likewise.
19594 (__strspn_c1): Likewise.
19595 (__strspn_c2): Likewise.
19596 (__strspn_c3): Likewise.
19597 (__strsep_1c): Likewise.
19598 (__strsep_2c): Likewise.
19599 (__strsep_3c): Likewise.
19600 * string/memccpy.c (__memccpy): Likewise.
19601 * string/stpcpy.c (__stpcpy): Likewise.
19602 * string/strcmp.c (strcmp): Likewise.
19603 * string/strrchr.c (strrchr): Likewise.
19604 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19606 * sysdeps/mach/hurd/getcwd.c
19607 (_hurd_canonicalize_directory_name_internal): Likewise.
19608 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19609 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19610 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19611 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19612 Likewise, in both definitions.
19613 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19615 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19616 64] (__bswap_64): Likewise.
19617 * time/test_time.c (main): Likewise.
19618 * time/tzfile.c (__tzfile_read): Likewise.
19619 (__tzfile_compute): Likewise.
19620 * time/tzset.c (__tzset_parse_tz): Likewise.
19621 (tzset_internal): Likewise.
19622 (compute_change): Likewise.
19623 * wcsmbs/wcscat.c (__wcscat): Likewise.
19624 * wcsmbs/wcschr.c (wcschr): Likewise.
19625 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19626 * wcsmbs/wcscspn.c (wcscspn): Likewise.
19627 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19628 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19629 * wcsmbs/wcsspn.c (wcsspn): Likewise.
19630 * wcsmbs/wcsstr.c (wcsstr): Likewise.
19631 * wcsmbs/wmemchr.c (wmemchr): Likewise.
19632 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19633 * wcsmbs/wmemset.c (wmemset): Likewise.
19635 2013-06-06 Joseph Myers <joseph@codesourcery.com>
19637 * scripts/config.guess: Update to version 2013-05-16.
19638 * scripts/config.sub: Update to version 2013-04-24.
19639 * scripts/install-sh: Update to version 2011-11-20.07.
19640 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19641 * scripts/move-if-change: Update to version 2012-01-06 07:23.
19643 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
19645 * debug/fgetws_u_chk.c: Fix leading whitespaces.
19646 * elf/sln.c: Likewise.
19647 * hurd/hurd/ioctl.h: Likewise.
19648 * hurd/hurdmalloc.c: Likewise.
19649 * hurd/xattr.c: Likewise.
19650 * include/shlib-compat.h: Likewise.
19651 * inet/ruserpass.c: Likewise.
19652 * libio/iofgets_u.c: Likewise.
19653 * libio/iofgetws_u.c: Likewise.
19654 * locale/programs/ld-identification.c: Likewise.
19655 * locale/programs/ld-time.c: Likewise.
19656 * mach/msg-destroy.c: Likewise.
19657 * nss/nss_files/files-netgrp.c: Likewise.
19658 * resolv/res_data.c: Likewise.
19659 * soft-fp/op-1.h: Likewise.
19660 * soft-fp/op-2.h: Likewise.
19661 * soft-fp/op-4.h: Likewise.
19662 * soft-fp/op-common.h: Likewise.
19663 * stdio-common/printf_fphex.c: Likewise.
19664 * stdlib/strtod_l.c: Likewise.
19665 * sunrpc/rpc/clnt.h: Likewise.
19666 * sysdeps/generic/framestate.c: Likewise.
19667 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19668 * sysdeps/i386/bsd-setjmp.S: Likewise.
19669 * sysdeps/i386/__longjmp.S: Likewise.
19670 * sysdeps/i386/setjmp.S: Likewise.
19671 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19672 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19673 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19674 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19675 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19676 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19677 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19678 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19679 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19680 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19681 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19682 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19683 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19684 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19685 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19686 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19687 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19688 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19689 * sysdeps/ieee754/support.c: Likewise.
19690 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19691 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19692 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19693 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19694 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19695 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19696 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19697 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19698 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19699 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19700 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19701 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19702 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19703 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19704 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19705 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19706 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19709 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
19711 * posix/transbug.c: Remove executable mode.
19713 2013-06-05 Joseph Myers <joseph@codesourcery.com>
19715 * crypt/speeds.c: Remove trailing whitespace.
19716 * dlfcn/default.c: Likewise.
19717 * elf/ifuncdep2.c: Likewise.
19718 * elf/ifuncmain1.c: Likewise.
19719 * elf/ifuncmain1vis.c: Likewise.
19720 * elf/testobj.h: Likewise.
19721 * elf/tst-stackguard1.c: Likewise.
19722 * gmon/sys/gmon.h: Likewise.
19723 * hurd/hurdmsg.c: Likewise.
19724 * hurd/new-fd.c: Likewise.
19725 * hurd/ports-get.c: Likewise.
19726 * iconvdata/ibm1008_420.c: Likewise.
19727 * inet/tst-getni1.c: Likewise.
19728 * inet/tst-getni2.c: Likewise.
19729 * libio/ioungetc.c: Likewise.
19730 * libio/wfiledoalloc.c: Likewise.
19731 * manual/libm-err-tab.pl: Likewise.
19732 * math/w_dremf.c: Likewise.
19733 * misc/ftruncate.c: Likewise.
19734 * posix/bug-glob2.c: Likewise.
19735 * posix/tst-pcre.c: Likewise.
19736 * posix/wait4.c: Likewise.
19737 * resolv/README: Likewise.
19738 * resolv/res_debug.h: Likewise.
19739 * resolv/tst-inet_ntop.c: Likewise.
19740 * setjmp/bug269-setjmp.c: Likewise.
19741 * soft-fp/extended.h: Likewise.
19742 * soft-fp/op-1.h: Likewise.
19743 * soft-fp/op-2.h: Likewise.
19744 * soft-fp/op-4.h: Likewise.
19745 * soft-fp/op-8.h: Likewise.
19746 * soft-fp/testit.c: Likewise.
19747 * stdio-common/bug16.c: Likewise.
19748 * stdlib/random.c: Likewise.
19749 * sunrpc/rpcsvc/rquota.x: Likewise.
19750 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19751 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19752 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19753 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19754 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19755 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19756 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19757 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19758 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19759 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19760 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19761 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19762 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19763 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19764 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19765 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19766 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19767 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19768 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19769 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19770 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19771 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19772 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19773 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19774 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19775 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19776 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19777 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19778 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19779 * sysdeps/ieee754/s_lib_version.c: Likewise.
19780 * sysdeps/mach/hurd/check_fds.c: Likewise.
19781 * sysdeps/mach/hurd/getsockname.c: Likewise.
19782 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19783 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19784 * sysdeps/powerpc/bits/link.h: Likewise.
19785 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19786 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19787 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19788 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19789 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19790 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19791 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19792 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19793 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19794 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19795 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19796 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19797 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19798 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19799 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19800 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19801 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19802 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19803 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19804 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19805 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19806 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19807 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19808 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19809 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19810 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19811 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19812 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19813 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19814 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19815 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19816 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19817 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19818 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19819 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19820 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19821 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19822 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19823 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19824 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19825 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19826 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19827 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19828 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19829 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19830 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19831 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19832 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19833 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19834 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19835 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19836 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19837 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19838 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19839 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19840 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19841 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19842 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19843 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19844 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19845 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19846 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19847 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19848 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19849 * sysdeps/powerpc/sysdep.h: Likewise.
19850 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19851 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19852 * sysdeps/sh/dl-trampoline.S: Likewise.
19853 * sysdeps/sh/memset.S: Likewise.
19854 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19855 * sysdeps/sh/strlen.S: Likewise.
19856 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19857 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19858 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19859 * sysdeps/sparc/sparc32/rem.S: Likewise.
19860 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19861 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19862 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19863 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19864 * sysdeps/sparc/sparc32/urem.S: Likewise.
19865 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19866 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19867 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19868 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19869 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19870 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19871 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19872 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19873 * sysdeps/unix/bsd/times.c: Likewise.
19874 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19875 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19879 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19880 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19881 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19882 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19883 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19884 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19885 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19886 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19887 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19888 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19889 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19890 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19891 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19892 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19893 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19894 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19895 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19896 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19897 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19898 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19899 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19900 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19901 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19902 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19903 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19904 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19905 * sysdeps/x86_64/strcspn.S: Likewise.
19907 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19909 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19910 generated file. Regenerate properly from gen-translit.pl.
19911 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19912 locale/C-translit.h.
19914 2013-06-05 Andreas Schwab <schwab@suse.de>
19917 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19918 week as 6 instead of -1.
19919 * time/tst-strptime.c (day_tests): Add test case.
19921 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19923 * sysdeps/generic/math_private.h
19924 (libc_feholdexcept_setround_53bit): Replace with
19925 libc_feholdsetround_53bit.
19926 (libc_feupdateenv_53bit): Replace with
19927 libc_feresetround_53bit.
19928 (SET_RESTORE_ROUND_53BIT): Adjust.
19930 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19932 * string/test-strchrnul.c: Add copyright header.
19934 * posix/tst-getaddrinfo4.c: Increase test timeout.
19936 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19939 * math/libm-test.inc (MAX_EXP): Remove
19941 (ulp): Use MIN_EXP - MANT_DIG.
19942 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19944 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19946 * po/be.po: Revert last change.
19947 * po/zh_CN.po: Likewise.
19948 * po/header.pot: Likewise.
19950 2013-05-31 Joseph Myers <joseph@codesourcery.com>
19952 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19953 link-libc-deps to empty as target-specific variable.
19954 * Makerules (link-libc-args): New variable.
19955 (libc-for-link): Likewise.
19956 (link-libc-deps): Likewise.
19957 (lib%.so): Depend on $(link-libc-deps). Link with
19959 (build-module): Link with $(link-libc-args).
19960 (build-module-asneeded): Likewise.
19961 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19963 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19964 target-specific variable.
19965 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19966 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19967 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19969 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19971 ($(objpfx)libpcprofile.so): Likewise.
19972 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19974 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19975 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19976 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19978 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19979 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19980 * login/Makefile ($(objpfx)libutil.so): Likewise.
19981 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19982 * math/Makefile ($(objpfx)libm.so): Likewise.
19983 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19984 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19985 variable instead of depending directly on libc.
19986 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19987 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19989 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19991 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19992 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19993 ($(objpfx)libanl.so): Likewise.
19994 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19996 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19998 * sysdeps/i386/fpu/Makefile: Remove file.
19999 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20000 ($(objpfx)libm.so): Remove dependency on ld.so.
20002 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
20005 * nis/yp_xdr.c (XDRMAXNAME): Define.
20006 (XDRMAXRECORD): Define.
20007 (xdr_domainname): Use XDRMAXNAME.
20008 (xdr_mapname): Likewise.
20009 (xdr_peername): Likewise.
20010 (xdr_keydat): Use XDRMAXRECORD.
20011 (xdr_valdat): Likewise.
20013 2013-05-30 Jeff Law <law@redhat.com>
20016 * manual/errno.texi (ESTALE): Update to account for more than
20017 just NFS file systems.
20018 * sysdeps/gnu/errlist.c: Regenerated.
20020 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20023 * elf/Makefile (tests): Add tst-null-argv.
20024 (modules-names): Add tst-null-argv-lib.
20025 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20026 (tst-null-argv-ENV): Set environment for tst-null-argv.
20027 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20028 (RTLD_PROGNAME): New macro.
20029 * elf/tst-null-argv.c: New test case.
20030 * elf/tst-null-argv-lib.c: Library for test case.
20031 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20032 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20033 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20034 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20035 * elf/dl-init.c (call_init): Likewise.
20036 (_dl_init): Likewise.
20037 * elf/dl-load.c (print_search_path): Likewise.
20038 (_dl_map_object): Likewise.
20039 * elf/dl-lookup.c (do_lookup_x): Likewise.
20040 (add_dependency): Likewise.
20041 (_dl_lookup_symbol_x): Likewise.
20042 (_dl_debug_bindings): Likewise.
20043 * elf/dl-open.c (_dl_show_scope): Likewise.
20044 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20045 * elf/dl-version.c (match_symbol): Likewise.
20046 (_dl_check_map_versions): Likewise.
20047 * elf/rtld.c (dl_main): Likewise.
20048 (print_unresolved): Use RTLD_PROGNAME.
20049 (print_missing_version): Likewise.
20050 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20051 (elf_machine_rela): Likewise.
20052 * sysdeps/powerpc/powerpc32/dl-machine.c
20053 (__process_machine_rela): Likewise.
20054 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20056 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20058 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20060 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20061 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20063 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20065 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20067 2013-05-28 Carlos O'Donell <carlos@redhat.com>
20069 * po/be.po: Add descriptive title.
20070 * po/zh_CN.po: Likewise.
20071 * po/header.pot: Likewise.
20073 2013-05-28 Mike Frysinger <vapier@gentoo.org>
20075 * locale/programs/locarchive.c (create_archive): Inlucde fname in
20077 (enlarge_archive): Likewise.
20079 2013-05-28 Ben North <ben@redfrontdoor.org>
20081 * manual/arith.texi (frexp): It is the magnitude of the return
20082 value which lies in [0.5, 1), not the return value itself.
20084 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20088 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
20090 * stdio-common/bug26.c (main): Correct fscanf template.
20092 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20093 declare _dl_skip_args.
20095 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20098 * manual/platform.texi: Add missing @end deftypefun.
20100 2013-05-24 Joseph Myers <joseph@codesourcery.com>
20103 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20104 bit of mantissa of 2^16382.
20105 * math/libm-test.inc (hypot_test_data): Add more tests.
20107 * math/libm-test.inc: Add drem and pow10 to list of tested
20109 (pow10_test): New function.
20110 (drem_test): Likewise.
20111 (drem_test_tonearest): Likewise.
20112 (drem_test_towardzero): Likewise.
20113 (drem_test_downward): Likewise.
20114 (drem_test_upward): Likewise.
20115 (main): Call the new functions.
20117 * math/libm-test.inc (finite_test_data): Remove.
20118 (finite_test): Run tests from isfinite_test_data.
20119 (gamma_test_data): Remove.
20120 (gamma_test): Run tests from lgamma_test_data.
20121 * sysdeps/i386/fpu/libm-test-ulps: Update.
20122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20124 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20126 * manual/platform.texi: Add PowerPC PPR function set documentation.
20127 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20130 2013-05-24 Carlos O'Donell <carlos@redhat.com>
20132 * math/libm-test.inc (MAX_EXP): Define.
20134 (ulp): New function.
20135 (check_float_internal): Use ULPDIFF.
20136 (cpow_test): Disable failing test.
20137 (check_ulp): Test ulp() implemetnation.
20138 (main): Call check_ulp before starting tests.
20140 2013-05-24 Joseph Myers <joseph@codesourcery.com>
20142 * math/gen-libm-test.pl (generate_testfile): Do not handle
20143 START_DATA and END_DATA.
20144 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20146 (acos_tonearest_test_data): Likewise.
20147 (acos_towardzero_test_data): Likewise.
20148 (acos_downward_test_data): Likewise.
20149 (acos_upward_test_data): Likewise.
20150 (acosh_test_data): Likewise.
20151 (asin_test_data): Likewise.
20152 (asin_tonearest_test_data): Likewise.
20153 (asin_towardzero_test_data): Likewise.
20154 (asin_downward_test_data): Likewise.
20155 (asin_upward_test_data): Likewise.
20156 (asinh_test_data): Likewise.
20157 (atan_test_data): Likewise.
20158 (atanh_test_data): Likewise.
20159 (atan2_test_data): Likewise.
20160 (cabs_test_data): Likewise.
20161 (cacos_test_data): Likewise.
20162 (cacosh_test_data): Likewise.
20163 (carg_test_data): Likewise.
20164 (casin_test_data): Likewise.
20165 (casinh_test_data): Likewise.
20166 (catan_test_data): Likewise.
20167 (catanh_test_data): Likewise.
20168 (cbrt_test_data): Likewise.
20169 (ccos_test_data): Likewise.
20170 (ccosh_test_data): Likewise.
20171 (ceil_test_data): Likewise.
20172 (cexp_test_data): Likewise.
20173 (cimag_test_data): Likewise.
20174 (clog_test_data): Likewise.
20175 (clog10_test_data): Likewise.
20176 (conj_test_data): Likewise.
20177 (copysign_test_data): Likewise.
20178 (cos_test_data): Likewise.
20179 (cos_tonearest_test_data): Likewise.
20180 (cos_towardzero_test_data): Likewise.
20181 (cos_downward_test_data): Likewise.
20182 (cos_upward_test_data): Likewise.
20183 (cosh_test_data): Likewise.
20184 (cosh_tonearest_test_data): Likewise.
20185 (cosh_towardzero_test_data): Likewise.
20186 (cosh_downward_test_data): Likewise.
20187 (cosh_upward_test_data): Likewise.
20188 (cpow_test_data): Likewise.
20189 (cproj_test_data): Likewise.
20190 (creal_test_data): Likewise.
20191 (csin_test_data): Likewise.
20192 (csinh_test_data): Likewise.
20193 (csqrt_test_data): Likewise.
20194 (ctan_test_data): Likewise.
20195 (ctan_tonearest_test_data): Likewise.
20196 (ctan_towardzero_test_data): Likewise.
20197 (ctan_downward_test_data): Likewise.
20198 (ctan_upward_test_data): Likewise.
20199 (ctanh_test_data): Likewise.
20200 (ctanh_tonearest_test_data): Likewise.
20201 (ctanh_towardzero_test_data): Likewise.
20202 (ctanh_downward_test_data): Likewise.
20203 (ctanh_upward_test_data): Likewise.
20204 (erf_test_data): Likewise.
20205 (erfc_test_data): Likewise.
20206 (exp_test_data): Likewise.
20207 (exp_tonearest_test_data): Likewise.
20208 (exp_towardzero_test_data): Likewise.
20209 (exp_downward_test_data): Likewise.
20210 (exp_upward_test_data): Likewise.
20211 (exp10_test_data): Likewise.
20212 (exp2_test_data): Likewise.
20213 (expm1_test_data): Likewise.
20214 (fabs_test_data): Likewise.
20215 (fdim_test_data): Likewise.
20216 (finite_test_data): Likewise.
20217 (floor_test_data): Likewise.
20218 (fma_test_data): Likewise.
20219 (fma_towardzero_test_data): Likewise.
20220 (fma_downward_test_data): Likewise.
20221 (fma_upward_test_data): Likewise.
20222 (fmax_test_data): Likewise.
20223 (fmin_test_data): Likewise.
20224 (fmod_test_data): Likewise.
20225 (fpclassify_test_data): Likewise.
20226 (frexp_test_data): Likewise.
20227 (gamma_test_data): Likewise.
20228 (hypot_test_data): Likewise.
20229 (ilogb_test_data): Likewise.
20230 (isfinite_test_data): Likewise.
20231 (isgreater_test_data): Likewise.
20232 (isgreaterequal_test_data): Likewise.
20233 (isinf_test_data): Likewise.
20234 (isless_test_data): Likewise.
20235 (islessequal_test_data): Likewise.
20236 (islessgreater_test_data): Likewise.
20237 (isnan_test_data): Likewise.
20238 (isnormal_test_data): Likewise.
20239 (issignaling_test_data): Likewise.
20240 (isunordered_test_data): Likewise.
20241 (j0_test_data): Likewise.
20242 (j1_test_data): Likewise.
20243 (jn_test_data): Likewise.
20244 (ldexp_test_data): Likewise.
20245 (lgamma_test_data): Likewise.
20246 (lrint_test_data): Likewise.
20247 (lrint_tonearest_test_data): Likewise.
20248 (lrint_towardzero_test_data): Likewise.
20249 (lrint_downward_test_data): Likewise.
20250 (lrint_upward_test_data): Likewise.
20251 (llrint_test_data): Likewise.
20252 (llrint_tonearest_test_data): Likewise.
20253 (llrint_towardzero_test_data): Likewise.
20254 (llrint_downward_test_data): Likewise.
20255 (llrint_upward_test_data): Likewise.
20256 (log_test_data): Likewise.
20257 (log10_test_data): Likewise.
20258 (log1p_test_data): Likewise.
20259 (log2_test_data): Likewise.
20260 (logb_test_data): Likewise.
20261 (logb_downward_test_data): Likewise.
20262 (lround_test_data): Likewise.
20263 (llround_test_data): Likewise.
20264 (modf_test_data): Likewise.
20265 (nearbyint_test_data): Likewise.
20266 (nextafter_test_data): Likewise.
20267 (nexttoward_test_data): Likewise.
20268 (pow_test_data): Likewise.
20269 (pow_tonearest_test_data): Likewise.
20270 (pow_towardzero_test_data): Likewise.
20271 (pow_downward_test_data): Likewise.
20272 (pow_upward_test_data): Likewise.
20273 (remainder_test_data): Likewise.
20274 (remainder_tonearest_test_data): Likewise.
20275 (remainder_towardzero_test_data): Likewise.
20276 (remainder_downward_test_data): Likewise.
20277 (remainder_upward_test_data): Likewise.
20278 (remquo_test_data): Likewise.
20279 (rint_test_data): Likewise.
20280 (rint_tonearest_test_data): Likewise.
20281 (rint_towardzero_test_data): Likewise.
20282 (rint_downward_test_data): Likewise.
20283 (rint_upward_test_data): Likewise.
20284 (round_test_data): Likewise.
20285 (scalb_test_data): Likewise.
20286 (scalbn_test_data): Likewise.
20287 (scalbln_test_data): Likewise.
20288 (signbit_test_data): Likewise.
20289 (sin_test_data): Likewise.
20290 (sin_tonearest_test_data): Likewise.
20291 (sin_towardzero_test_data): Likewise.
20292 (sin_downward_test_data): Likewise.
20293 (sin_upward_test_data): Likewise.
20294 (sincos_test_data): Likewise.
20295 (sinh_test_data): Likewise.
20296 (sinh_tonearest_test_data): Likewise.
20297 (sinh_towardzero_test_data): Likewise.
20298 (sinh_downward_test_data): Likewise.
20299 (sinh_upward_test_data): Likewise.
20300 (sqrt_test_data): Likewise.
20301 (tan_test_data): Likewise.
20302 (tan_tonearest_test_data): Likewise.
20303 (tan_towardzero_test_data): Likewise.
20304 (tan_downward_test_data): Likewise.
20305 (tan_upward_test_data): Likewise.
20306 (tanh_test_data): Likewise.
20307 (tgamma_test_data): Likewise.
20308 (trunc_test_data): Likewise.
20309 (y0_test_data): Likewise.
20310 (y1_test_data): Likewise.
20311 (yn_test_data): Likewise.
20312 (significand_test_data): Likewise.
20314 * math/gen-libm-test.pl (@functions): Remove variable.
20315 (generate_testfile): Don't handle START and END lines.
20316 * math/libm-test.inc (START): New macro.
20318 (END_COMPLEX): Likewise.
20319 (acos_test): Use END macro without arguments.
20320 (acos_test_tonearest): Likewise.
20321 (acos_test_towardzero): Likewise.
20322 (acos_test_downward): Likewise.
20323 (acos_test_upward): Likewise.
20324 (acosh_test): Likewise.
20325 (asin_test): Likewise.
20326 (asin_test_tonearest): Likewise.
20327 (asin_test_towardzero): Likewise.
20328 (asin_test_downward): Likewise.
20329 (asin_test_upward): Likewise.
20330 (asinh_test): Likewise.
20331 (atan_test): Likewise.
20332 (atanh_test): Likewise.
20333 (atan2_test): Likewise.
20334 (cabs_test): Likewise.
20335 (cacos_test): Use END_COMPLEX macro without arguments.
20336 (cacosh_test): Likewise.
20337 (carg_test): Use END macro without arguments.
20338 (casin_test): Use END_COMPLEX macro without arguments.
20339 (casinh_test): Likewise.
20340 (catan_test): Likewise.
20341 (catanh_test): Likewise.
20342 (cbrt_test): Use END macro without arguments.
20343 (ccos_test): Use END_COMPLEX macro without arguments.
20344 (ccosh_test): Likewise.
20345 (ceil_test): Use END macro without arguments.
20346 (cexp_test): Use END_COMPLEX macro without arguments.
20347 (cimag_test): Use END macro without arguments.
20348 (clog_test): Use END_COMPLEX macro without arguments.
20349 (clog10_test): Likewise.
20350 (conj_test): Likewise.
20351 (copysign_test): Use END macro without arguments.
20352 (cos_test): Likewise.
20353 (cos_test_tonearest): Likewise.
20354 (cos_test_towardzero): Likewise.
20355 (cos_test_downward): Likewise.
20356 (cos_test_upward): Likewise.
20357 (cosh_test): Likewise.
20358 (cosh_test_tonearest): Likewise.
20359 (cosh_test_towardzero): Likewise.
20360 (cosh_test_downward): Likewise.
20361 (cosh_test_upward): Likewise.
20362 (cpow_test): Use END_COMPLEX macro without arguments.
20363 (cproj_test): Likewise.
20364 (creal_test): Use END macro without arguments.
20365 (csin_test): Use END_COMPLEX macro without arguments.
20366 (csinh_test): Likewise.
20367 (csqrt_test): Likewise.
20368 (ctan_test): Likewise.
20369 (ctan_test_tonearest): Likewise.
20370 (ctan_test_towardzero): Likewise.
20371 (ctan_test_downward): Likewise.
20372 (ctan_test_upward): Likewise.
20373 (ctanh_test): Likewise.
20374 (ctanh_test_tonearest): Likewise.
20375 (ctanh_test_towardzero): Likewise.
20376 (ctanh_test_downward): Likewise.
20377 (ctanh_test_upward): Likewise.
20378 (erf_test): Use END macro without arguments.
20379 (erfc_test): Likewise.
20380 (exp_test): Likewise.
20381 (exp_test_tonearest): Likewise.
20382 (exp_test_towardzero): Likewise.
20383 (exp_test_downward): Likewise.
20384 (exp_test_upward): Likewise.
20385 (exp10_test): Likewise.
20386 (exp2_test): Likewise.
20387 (expm1_test): Likewise.
20388 (fabs_test): Likewise.
20389 (fdim_test): Likewise.
20390 (finite_test): Likewise.
20391 (floor_test): Likewise.
20392 (fma_test): Likewise.
20393 (fma_test_towardzero): Likewise.
20394 (fma_test_downward): Likewise.
20395 (fma_test_upward): Likewise.
20396 (fmax_test): Likewise.
20397 (fmin_test): Likewise.
20398 (fmod_test): Likewise.
20399 (fpclassify_test): Likewise.
20400 (frexp_test): Likewise.
20401 (gamma_test): Likewise.
20402 (hypot_test): Likewise.
20403 (ilogb_test): Likewise.
20404 (isfinite_test): Likewise.
20405 (isgreater_test): Likewise.
20406 (isgreaterequal_test): Likewise.
20407 (isinf_test): Likewise.
20408 (isless_test): Likewise.
20409 (islessequal_test): Likewise.
20410 (islessgreater_test): Likewise.
20411 (isnan_test): Likewise.
20412 (isnormal_test): Likewise.
20413 (issignaling_test): Likewise.
20414 (isunordered_test): Likewise.
20415 (j0_test): Likewise.
20416 (j1_test): Likewise.
20417 (jn_test): Likewise.
20418 (ldexp_test): Likewise.
20419 (lgamma_test): Likewise.
20420 (lrint_test): Likewise.
20421 (lrint_test_tonearest): Likewise.
20422 (lrint_test_towardzero): Likewise.
20423 (lrint_test_downward): Likewise.
20424 (lrint_test_upward): Likewise.
20425 (llrint_test): Likewise.
20426 (llrint_test_tonearest): Likewise.
20427 (llrint_test_towardzero): Likewise.
20428 (llrint_test_downward): Likewise.
20429 (llrint_test_upward): Likewise.
20430 (log_test): Likewise.
20431 (log10_test): Likewise.
20432 (log1p_test): Likewise.
20433 (log2_test): Likewise.
20434 (logb_test): Likewise.
20435 (logb_test_downward): Likewise.
20436 (lround_test): Likewise.
20437 (llround_test): Likewise.
20438 (modf_test): Likewise.
20439 (nearbyint_test): Likewise.
20440 (nextafter_test): Likewise.
20441 (nexttoward_test): Likewise.
20442 (pow_test): Likewise.
20443 (pow_test_tonearest): Likewise.
20444 (pow_test_towardzero): Likewise.
20445 (pow_test_downward): Likewise.
20446 (pow_test_upward): Likewise.
20447 (remainder_test): Likewise.
20448 (remainder_test_tonearest): Likewise.
20449 (remainder_test_towardzero): Likewise.
20450 (remainder_test_downward): Likewise.
20451 (remainder_test_upward): Likewise.
20452 (remquo_test): Likewise.
20453 (rint_test): Likewise.
20454 (rint_test_tonearest): Likewise.
20455 (rint_test_towardzero): Likewise.
20456 (rint_test_downward): Likewise.
20457 (rint_test_upward): Likewise.
20458 (round_test): Likewise.
20459 (scalb_test): Likewise.
20460 (scalbn_test): Likewise.
20461 (scalbln_test): Likewise.
20462 (signbit_test): Likewise.
20463 (sin_test): Likewise.
20464 (sin_test_tonearest): Likewise.
20465 (sin_test_towardzero): Likewise.
20466 (sin_test_downward): Likewise.
20467 (sin_test_upward): Likewise.
20468 (sincos_test): Likewise.
20469 (sinh_test): Likewise.
20470 (sinh_test_tonearest): Likewise.
20471 (sinh_test_towardzero): Likewise.
20472 (sinh_test_downward): Likewise.
20473 (sinh_test_upward): Likewise.
20474 (sqrt_test): Likewise.
20475 (tan_test): Likewise.
20476 (tan_test_tonearest): Likewise.
20477 (tan_test_towardzero): Likewise.
20478 (tan_test_downward): Likewise.
20479 (tan_test_upward): Likewise.
20480 (tanh_test): Likewise.
20481 (tgamma_test): Likewise.
20482 (trunc_test): Likewise.
20483 (y0_test): Likewise.
20484 (y1_test): Likewise.
20485 (yn_test): Likewise.
20486 (significand_test): Likewise.
20488 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
20491 * libio/genops.c (_IO_no_init): Initialize wide struct info.
20493 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
20496 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20497 __ppc_mdoio and __ppc_mdoom.
20498 * manual/platform.texi: Document new functions __ppc_yield,
20499 __ppc_mdoio and __ppc_mdoom.
20501 2013-05-22 Carlos O'Donell <carlos@redhat.com>
20503 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20504 (main): Mention "tls" pseudo-hwcap is legacy.
20505 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20507 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20509 * math/gen-libm-test.pl (parse_args): Output only string of
20510 arguments as text for test name, not full call or descriptions of
20511 tests for extra outputs.
20512 (generate_testfile): Do not pass function name to parse_args.
20513 Generate this_func variable from START.
20514 * math/libm-test.inc (struct test_f_f_data): Rename test_name
20516 (struct test_ff_f_data): Likewise.
20517 (test_ff_f_data_nexttoward): Likewise.
20518 (struct test_fi_f_data): Likewise.
20519 (struct test_fl_f_data): Likewise.
20520 (struct test_if_f_data): Likewise.
20521 (struct test_fff_f_data): Likewise.
20522 (struct test_c_f_data): Likewise.
20523 (struct test_f_f1_data): Likewise. Remove field extra_name.
20524 (struct test_fF_f1_data): Likewise.
20525 (struct test_ffI_f1_data): Likewise.
20526 (struct test_c_c_data): Rename test_name field to arg_str.
20527 (struct test_cc_c_data): Likewise.
20528 (struct test_f_i_data): Likewise.
20529 (struct test_ff_i_data): Likewise.
20530 (struct test_f_l_data): Likewise.
20531 (struct test_f_L_data): Likewise.
20532 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
20534 (COMMON_TEST_SETUP): New macro.
20535 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20536 (COMMON_TEST_CLEANUP): Likewise.
20537 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20538 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
20540 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20541 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
20543 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20544 (RUN_TEST_fff_f): Take argument string. Call new setup and
20546 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20547 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
20549 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20550 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
20552 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20553 (RUN_TEST_fF_f1): Take argument string. Call new setup and
20555 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20556 (RUN_TEST_fI_f1): Take argument string. Call new setup and
20558 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20559 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
20561 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20562 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
20564 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20565 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
20567 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20568 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
20570 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20571 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
20573 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20574 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
20576 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20577 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
20579 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20580 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
20582 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20583 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
20585 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20586 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
20588 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20589 (RUN_TEST_fFF_11): Take argument string. Call new setup and
20591 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20593 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20595 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20596 to _sifields.sigfault.
20597 (si_addr_lsb): Define new macro.
20598 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20599 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20600 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20602 2013-05-03 Carlos O'Donell <carlos at redhat.com>
20605 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20607 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20609 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20610 loading the domain.
20612 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20614 * math/gen-libm-test.pl (parse_args): Do not include expected
20615 result in test name.
20616 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20617 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20618 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20619 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20620 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20623 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20625 * benchtests/Makefile: Sort function entries.
20627 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20628 tanh, asinh, acosh, atanh.
20629 * benchtests/acos-inputs: New file.
20630 * benchtests/acosh-inputs: New file.
20631 * benchtests/asin-inputs: New file.
20632 * benchtests/asinh-inputs: New file.
20633 * benchtests/atanh-inputs: New file.
20634 * benchtests/cosh-inputs: New file.
20635 * benchtests/log-inputs: New file.
20636 * benchtests/sinh-inputs: New file.
20637 * benchtests/tanh-inputs: New file.
20639 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
20642 * posix/tst-getaddrinfo4.c: New test.
20643 * posix/Makefile (tests): Add it.
20645 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20648 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20649 when no services were used.
20650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20651 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20653 2013-05-21 Andreas Schwab <schwab@suse.de>
20656 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20657 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20659 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20660 redundant variable declarations and reallocation of buffer when
20661 parsing as IPv6 address. Always set NSS status when called from
20662 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
20663 buffer too small. Correct computation of needed size.
20664 * nss/Makefile (tests): Add test-digits-dots.
20665 * nss/test-digits-dots.c: New test.
20667 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20669 * benchtests/Makefile: Remove instructions for adding
20671 * benchtests/README: New file to explain how to execute and
20672 enhance the benchmark tests.
20674 2013-05-21 Andreas Schwab <schwab@suse.de>
20677 * setjmp/Makefile (tests): Add tst-sigsetjmp.
20678 * setjmp/tst-sigsetjmp.c: New test.
20680 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20682 * sysdeps/x86_64/memset.S (memset): New implementation.
20683 (__bzero): Likewise.
20684 (__memset_tail): New function.
20686 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20688 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20689 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20690 __memcpy_sse2_unaligned ifunc selection.
20691 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20692 Add memcpy-sse2-unaligned.S.
20693 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20694 Add: __memcpy_sse2_unaligned.
20696 2013-05-19 Joseph Myers <joseph@codesourcery.com>
20699 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20700 math_force_eval before restoring floating-point envrionment.
20701 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20702 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20704 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20706 (__nearbyintl): Use math_force_eval before restoring
20707 floating-point environment.
20708 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20710 * math/gen-libm-test.pl (special_functions): Remove.
20711 (parse_args): Don't handle TEST_extra. Handle functions with no
20713 * math/libm-test.inc (struct test_sincos_data): Replace with
20714 struct test_fFF_11_data.
20715 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20716 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20717 (sincos_test_data): Change element type to struct
20718 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20719 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20720 RUN_TEST_LOOP_sincos.
20721 * math/README.libm-test: Don't mention special handling of
20722 individual functions.
20723 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20724 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20725 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20726 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20727 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20730 * math/gen-libm-test.pl (get_variable): Remove function.
20731 (parse_args): Don't show pointer parameters to call in test
20732 names. Use "extra output N" in test names for extra outputs
20733 rather than naming variables.
20735 2013-05-18 Joseph Myers <joseph@codesourcery.com>
20738 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20739 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20740 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20742 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20744 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20747 * math/gen-libm-test.pl (@tests): Remove variable.
20748 ($count): Likewise.
20749 (new_test): Remove function.
20750 (show_exceptions): New function.
20751 (special_functions): Use show_exceptions instead of new_test.
20752 (parse_args): Likewise.
20753 (generate_testfile): Pass only function name in generated call to
20754 print_max_error or print_complex_max_error.
20755 (get_ulps): Do not handle complex tests specially.
20756 (output_test): Rename to ...
20757 (get_all_ulps_for_test): ... this. Return a string rather than
20758 printing to a file. Require ulps to be present.
20759 (output_ulps): Generate arrays rather than #defines.
20760 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20761 (struct ulp_data): New type.
20762 (BUILD_COMPLEX_ULP): Remove macro.
20763 (compare_ulp_data): New function.
20764 (find_ulps): Likewise.
20765 (find_test_ulps): Likewise.
20766 (find_function_ulps): Likewise.
20767 (find_complex_function_ulps): Likewise.
20768 (print_max_error): Determine allowed ulps using
20769 find_function_ulps.
20770 (print_complex_max_error): Determine allowed ulps using
20771 find_complex_function_ulps.
20772 (check_float_internal): Determine max ulps using find_test_ulps.
20773 (check_float): Do not take max_ulp parameter. Update call to
20774 check_float_internal.
20775 (check_complex): Likewise.
20776 (check_int): Do not take max_ulp parameter.
20777 (check_long): Likewise.
20778 (check_bool): Likewise.
20779 (check_longlong): Likewise.
20780 (struct test_f_f_data): Remove max_ulp field.
20781 (struct test_ff_f_data): Likewise.
20782 (struct test_ff_f_data_nexttoward): Likewise.
20783 (struct test_fi_f_data): Likewise.
20784 (struct test_fl_f_data): Likewise.
20785 (struct test_if_f_data): Likewise.
20786 (struct test_fff_f_data): Likewise.
20787 (struct test_c_f_data): Likewise.
20788 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20789 (struct test_fF_f1_data): Likewise.
20790 (struct test_ffI_f1_data): Likewise.
20791 (struct test_c_c_data): Remove max_ulp field.
20792 (struct test_cc_c_data): Likewise.
20793 (struct test_f_i_data): Likewise.
20794 (struct test_ff_i_data): Likewise.
20795 (struct test_f_l_data): Likewise.
20796 (struct test_f_L_data): Likewise.
20797 (struct test_sincos_data): Likewise.
20798 (RUN_TEST_f_f): Do not handle ulps.
20799 (RUN_TEST_LOOP_f_f): Likewise.
20800 (RUN_TEST_2_f): Likewise.
20801 (RUN_TEST_LOOP_2_f): Likewise.
20802 (RUN_TEST_fff_f): Likewise.
20803 (RUN_TEST_LOOP_fff_f): Likewise.
20804 (RUN_TEST_c_f): Likewise.
20805 (RUN_TEST_LOOP_c_f): Likewise.
20806 (RUN_TEST_f_f1): Likewise.
20807 (RUN_TEST_LOOP_f_f1): Likewise.
20808 (RUN_TEST_fF_f1): Likewise.
20809 (RUN_TEST_LOOP_fF_f1): Likewise.
20810 (RUN_TEST_fI_f1): Likewise.
20811 (RUN_TEST_LOOP_fI_f1): Likewise.
20812 (RUN_TEST_ffI_f1): Likewise.
20813 (RUN_TEST_LOOP_ffI_f1): Likewise.
20814 (RUN_TEST_c_c): Likewise.
20815 (RUN_TEST_LOOP_c_c): Likewise.
20816 (RUN_TEST_cc_c): Likewise.
20817 (RUN_TEST_LOOP_cc_c): Likewise.
20818 (RUN_TEST_f_i): Likewise.
20819 (RUN_TEST_LOOP_f_i): Likewise.
20820 (RUN_TEST_f_i_tg): Likewise.
20821 (RUN_TEST_LOOP_f_i_tg): Likewise.
20822 (RUN_TEST_ff_i_tg): Likewise.
20823 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20824 (RUN_TEST_f_b): Likewise.
20825 (RUN_TEST_LOOP_f_b): Likewise.
20826 (RUN_TEST_f_b_tg): Likewise.
20827 (RUN_TEST_LOOP_f_b_tg): Likewise.
20828 (RUN_TEST_f_l): Likewise.
20829 (RUN_TEST_LOOP_f_l): Likewise.
20830 (RUN_TEST_f_L): Likewise.
20831 (RUN_TEST_LOOP_f_L): Likewise.
20832 (RUN_TEST_sincos): Likewise.
20833 (RUN_TEST_LOOP_sincos): Likewise.
20835 2013-05-17 Joseph Myers <joseph@codesourcery.com>
20839 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20840 main case of finite arguments, set rounding mode to FE_TONEAREST
20841 and discard exceptions.
20842 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20844 (remainder_tonearest_test_data): New variable.
20845 (remainder_test_tonearest): New function.
20846 (remainder_towardzero_test_data): New variable.
20847 (remainder_test_towardzero): New function.
20848 (remainder_downward_test_data): New variable.
20849 (remainder_test_downward): New function.
20850 (remainder_upward_test_data): New variable.
20851 (remainder_test_upward): New function.
20852 (main): Call the new test functions.
20854 * math/libm-test.inc (struct test_f_f1_data): Remove field
20856 (struct test_fF_f1_data): Likewise.
20857 (struct test_ffI_f1_data): Likewise.
20858 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20859 based on value of EXTRA_EXPECTED.
20860 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20861 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20862 EXTRA_VAR based on value of EXTRA_EXPECTED.
20863 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20864 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20865 EXTRA_VAR based on value of EXTRA_EXPECTED.
20866 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20867 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20868 EXTRA_VAR based on value of EXTRA_EXPECTED.
20869 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20870 * math/gen-libm-test.pl (parse_args): Don't output initializers
20871 for extra output values.
20873 * math/libm-test.inc (check_int): Expect result to be exactly
20874 equal to expected value and do not handle ulps.
20875 (check_long): Likewise.
20876 (check_longlong): Likewise.
20878 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20880 (cimag_test_data): Likewise.
20881 (conj_test_data): Likewise.
20882 (copysign_test_data): Likewise.
20883 (cproj_test_data): Likewise.
20884 (creal_test_data): Likewise.
20885 (fabs_test_data): Likewise.
20886 (fdim_test_data): Likewise.
20887 (finite_test_data): Likewise.
20888 (floor_test_data): Likewise.
20889 (fmax_test_data): Likewise.
20890 (fmin_test_data): Likewise.
20891 (fmod_test_data): Likewise.
20892 (fpclassify_test_data): Likewise.
20893 (frexp_test_data): Likewise.
20894 (ilogb_test_data): Likewise.
20895 (isfinite_test_data): Likewise.
20896 (isgreater_test_data): Likewise.
20897 (isgreaterequal_test_data): Likewise.
20898 (isinf_test_data): Likewise.
20899 (isless_test_data): Likewise.
20900 (islessequal_test_data): Likewise.
20901 (islessgreater_test_data): Likewise.
20902 (isnan_test_data): Likewise.
20903 (isnormal_test_data): Likewise.
20904 (issignaling_test_data): Likewise.
20905 (isunordered_test_data): Likewise.
20906 (ldexp_test_data): Likewise.
20907 (lrint_test_data): Likewise.
20908 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20909 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20910 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20911 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20912 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20913 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20915 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20916 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20917 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20918 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20920 (lrint_downward_test_data): Test for "inexact" exceptions.
20921 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20922 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20923 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20925 (lrint_upward_test_data): Test for "inexact" exceptions.
20926 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20928 (llrint_test_data): Test for "inexact" exceptions.
20929 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20930 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20931 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20932 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20933 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20934 (llrint_downward_test_data): Test for "inexact" exceptions.
20935 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20936 (llrint_upward_test_data): Test for "inexact" exceptions.
20937 (logb_test_data): Likewise.
20938 (logb_downward_test_data): Likewise.
20939 (nextafter_test_data): Likewise.
20940 (nexttoward_test_data): Likewise.
20941 (remainder_test_data): Likewise.
20942 (remquo_test_data): Likewise.
20943 (scalbn_test_data): Likewise.
20944 (scalbln_test_data): Likewise.
20945 (signbit_test_data): Likewise.
20946 (sqrt_test_data): Likewise.
20947 (significand_test_data): Likewise.
20949 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20952 * benchtests/bench-modf.c (struct args): Mark arg0 as
20954 * scripts/bench.pl: Mark members of struct args as volatile.
20956 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20959 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20960 negative infinity on POWER6 or lower.
20961 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20963 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20966 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20967 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20968 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20969 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20970 (_FP_SETQNAN): New macro.
20971 (_FP_SETQNAN_SEMIRAW): Likewise.
20972 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20973 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20974 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20975 (FP_EXTEND): Use _FP_FRAC_SNANP.
20976 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20977 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20979 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20981 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20984 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20986 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20987 with DIVIDE_BY_ZERO_EXCEPTION.
20988 (gamma_test_data): Likewise.
20989 (lgamma_test_data): Likewise.
20990 (log_test_data): Likewise.
20991 (log10_test_data): Likewise.
20992 (log2_test_data): Likewise.
20993 (tgamma_test_data): Likewise.
20995 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20996 (acos_test_tonearest): Likewise.
20997 (acos_test_towardzero): Likewise.
20998 (acos_test_downward): Likewise.
20999 (acos_test_upward): Likewise.
21000 (acosh_test): Likewise.
21001 (asin_test): Likewise.
21002 (asin_test_tonearest): Likewise.
21003 (asin_test_towardzero): Likewise.
21004 (asin_test_downward): Likewise.
21005 (asin_test_upward): Likewise.
21006 (asinh_test): Likewise.
21007 (atan_test): Likewise.
21008 (atanh_test): Likewise.
21009 (atan2_test): Likewise.
21010 (cabs_test): Likewise.
21011 (cacos_test): Likewise.
21012 (cacosh_test): Likewise.
21013 (casin_test): Likewise.
21014 (casinh_test): Likewise.
21015 (catan_test): Likewise.
21016 (catanh_test): Likewise.
21017 (cbrt_test): Likewise.
21018 (ccos_test): Likewise.
21019 (ccosh_test): Likewise.
21020 (cexp_test): Likewise.
21021 (clog_test): Likewise.
21022 (clog10_test): Likewise.
21023 (cos_test): Likewise.
21024 (cos_test_tonearest): Likewise.
21025 (cos_test_towardzero): Likewise.
21026 (cos_test_downward): Likewise.
21027 (cos_test_upward): Likewise.
21028 (cosh_test): Likewise.
21029 (cosh_test_tonearest): Likewise.
21030 (cosh_test_towardzero): Likewise.
21031 (cosh_test_downward): Likewise.
21032 (cosh_test_upward): Likewise.
21033 (cpow_test): Likewise.
21034 (csin_test): Likewise.
21035 (csinh_test): Likewise.
21036 (csqrt_test): Likewise.
21037 (ctan_test): Likewise.
21038 (ctan_test_tonearest): Likewise.
21039 (ctan_test_towardzero): Likewise.
21040 (ctan_test_downward): Likewise.
21041 (ctan_test_upward): Likewise.
21042 (ctanh_test): Likewise.
21043 (ctanh_test_tonearest): Likewise.
21044 (ctanh_test_towardzero): Likewise.
21045 (ctanh_test_downward): Likewise.
21046 (ctanh_test_upward): Likewise.
21047 (erf_test): Likewise.
21048 (erfc_test): Likewise.
21049 (exp_test): Likewise.
21050 (exp_test_tonearest): Likewise.
21051 (exp_test_towardzero): Likewise.
21052 (exp_test_downward): Likewise.
21053 (exp_test_upward): Likewise.
21054 (exp10_test): Likewise.
21055 (exp2_test): Likewise.
21056 (expm1_test): Likewise.
21057 (fmod_test): Likewise.
21058 (gamma_test): Likewise.
21059 (hypot_test): Likewise.
21060 (j0_test): Likewise.
21061 (j1_test): Likewise.
21062 (jn_test): Likewise.
21063 (lgamma_test): Likewise.
21064 (log_test): Likewise.
21065 (log10_test): Likewise.
21066 (log1p_test): Likewise.
21067 (log2_test): Likewise.
21068 (logb_test_downward): Likewise.
21069 (pow_test): Likewise.
21070 (pow_test_tonearest): Likewise.
21071 (pow_test_towardzero): Likewise.
21072 (pow_test_downward): Likewise.
21073 (pow_test_upward): Likewise.
21074 (remainder_test): Likewise.
21075 (remquo_test): Likewise.
21076 (sin_test): Likewise.
21077 (sin_test_tonearest): Likewise.
21078 (sin_test_towardzero): Likewise.
21079 (sin_test_downward): Likewise.
21080 (sin_test_upward): Likewise.
21081 (sincos_test): Likewise.
21082 (sinh_test): Likewise.
21083 (sinh_test_tonearest): Likewise.
21084 (sinh_test_towardzero): Likewise.
21085 (sinh_test_downward): Likewise.
21086 (sinh_test_upward): Likewise.
21087 (sqrt_test): Likewise.
21088 (tan_test): Likewise.
21089 (tan_test_tonearest): Likewise.
21090 (tan_test_towardzero): Likewise.
21091 (tan_test_downward): Likewise.
21092 (tan_test_upward): Likewise.
21093 (tanh_test): Likewise.
21094 (tgamma_test): Likewise.
21095 (y0_test): Likewise.
21096 (y1_test): Likewise.
21097 (yn_test): Likewise.
21099 * math/gen-libm-test.pl (adjust_arg): Remove function.
21100 (special_function): Remove argument $in_func. Only handle
21101 generating output for tables of tests, not inside functions.
21102 (parse_args): Likewise.
21103 (generate_testfile): Remove variable $in_func. Update call to
21105 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21106 (MINUS_ZERO_INIT): Rename macro to minus_zero.
21107 (PLUS_INFTY_INIT): Rename macro to plus_infty.
21108 (MINUS_INFTY_INIT): Rename macro to minus_infty.
21109 (QNAN_VALUE_INIT): Rename macro to qnan_value.
21110 (MAX_VALUE_INIT): Rename macro to max_value.
21111 (MIN_VALUE_INIT): Rename macro to min_value.
21112 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21113 (plus_zero): Remove variable.
21114 (minus_zero): Likewise.
21115 (plus_infty): Likewise.
21116 (minus_infty): Likewise.
21117 (qnan_value): Likewise.
21118 (max_value): Likewise.
21119 (min_value): Likewise.
21120 (min_subnorm_value): Likewise.
21122 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21124 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21125 uint64_t or uint32_t usage.
21126 * crypt/sha256-block.c: Likewise.
21127 * crypt/sha256-crypt.c: Likewise.
21128 * crypt/sha256.c: Likewise.
21129 * crypt/sha512-block.c: Likewise.
21130 * crypt/sha512-crypt.c: Likewise.
21131 * crypt/sha512.c: Likewise.
21132 * debug/backtrace-tst.c: Likewise.
21133 * debug/pcprofiledump.c: Likewise.
21134 * elf/cache.c: Likewise.
21135 * elf/dl-cache.c: Likewise.
21136 * elf/dl-misc.c: Likewise.
21137 * elf/dl-profile.c: Likewise.
21138 * elf/dl-support.c: Likewise.
21139 * elf/ldconfig.c: Likewise.
21140 * elf/sprof.c: Likewise.
21141 * iconv/dummy-repertoire.c: Likewise.
21142 * iconv/iconv_charmap.c: Likewise.
21143 * iconv/skeleton.c: Likewise.
21144 * iconvdata/8bit-generic.c: Likewise.
21145 * iconvdata/cp737.h: Likewise.
21146 * iconvdata/cp775.h: Likewise.
21147 * iconvdata/ibm1008.h: Likewise.
21148 * iconvdata/ibm1025.h: Likewise.
21149 * iconvdata/ibm1046.h: Likewise.
21150 * iconvdata/ibm1097.h: Likewise.
21151 * iconvdata/ibm1112.h: Likewise.
21152 * iconvdata/ibm1122.h: Likewise.
21153 * iconvdata/ibm1123.h: Likewise.
21154 * iconvdata/ibm1124.h: Likewise.
21155 * iconvdata/ibm1129.h: Likewise.
21156 * iconvdata/ibm1130.h: Likewise.
21157 * iconvdata/ibm1132.h: Likewise.
21158 * iconvdata/ibm1133.h: Likewise.
21159 * iconvdata/ibm1137.h: Likewise.
21160 * iconvdata/ibm1140.h: Likewise.
21161 * iconvdata/ibm1141.h: Likewise.
21162 * iconvdata/ibm1142.h: Likewise.
21163 * iconvdata/ibm1143.h: Likewise.
21164 * iconvdata/ibm1144.h: Likewise.
21165 * iconvdata/ibm1145.h: Likewise.
21166 * iconvdata/ibm1146.h: Likewise.
21167 * iconvdata/ibm1147.h: Likewise.
21168 * iconvdata/ibm1148.h: Likewise.
21169 * iconvdata/ibm1149.h: Likewise.
21170 * iconvdata/ibm1153.h: Likewise.
21171 * iconvdata/ibm1154.h: Likewise.
21172 * iconvdata/ibm1155.h: Likewise.
21173 * iconvdata/ibm1156.h: Likewise.
21174 * iconvdata/ibm1157.h: Likewise.
21175 * iconvdata/ibm1158.h: Likewise.
21176 * iconvdata/ibm1160.h: Likewise.
21177 * iconvdata/ibm1161.h: Likewise.
21178 * iconvdata/ibm1162.h: Likewise.
21179 * iconvdata/ibm1163.h: Likewise.
21180 * iconvdata/ibm1164.h: Likewise.
21181 * iconvdata/ibm1166.h: Likewise.
21182 * iconvdata/ibm1167.h: Likewise.
21183 * iconvdata/ibm12712.h: Likewise.
21184 * iconvdata/ibm1390.h: Likewise.
21185 * iconvdata/ibm1399.h: Likewise.
21186 * iconvdata/ibm16804.h: Likewise.
21187 * iconvdata/ibm4517.h: Likewise.
21188 * iconvdata/ibm4899.h: Likewise.
21189 * iconvdata/ibm4909.h: Likewise.
21190 * iconvdata/ibm4971.h: Likewise.
21191 * iconvdata/ibm5347.h: Likewise.
21192 * iconvdata/ibm803.h: Likewise.
21193 * iconvdata/ibm856.h: Likewise.
21194 * iconvdata/ibm901.h: Likewise.
21195 * iconvdata/ibm902.h: Likewise.
21196 * iconvdata/ibm9030.h: Likewise.
21197 * iconvdata/ibm9066.h: Likewise.
21198 * iconvdata/ibm921.h: Likewise.
21199 * iconvdata/ibm922.h: Likewise.
21200 * iconvdata/ibm9448.h: Likewise.
21201 * iconvdata/isiri-3342.h: Likewise.
21202 * iconvdata/jis0201.h: Likewise.
21203 * include/link.h: Likewise.
21204 * include/netdb.h: Likewise.
21205 * inet/check_native.c: Likewise.
21206 * inet/check_pf.c: Likewise.
21207 * inet/getipv4sourcefilter.c: Likewise.
21208 * inet/getnameinfo.c: Likewise.
21209 * inet/getsourcefilter.c: Likewise.
21210 * inet/htonl.c: Likewise.
21211 * inet/setipv4sourcefilter.c: Likewise.
21212 * inet/setsourcefilter.c: Likewise.
21213 * inet/test-inet6_opt.c: Likewise.
21214 * inet/tst-network.c: Likewise.
21215 * locale/C-collate.c: Likewise.
21216 * locale/C-ctype.c: Likewise.
21217 * locale/C-time.c: Likewise.
21218 * locale/C-translit.h: Likewise.
21219 * locale/loadarchive.c: Likewise.
21220 * locale/programs/3level.h: Likewise.
21221 * locale/programs/charmap.c: Likewise.
21222 * locale/programs/charmap.h: Likewise.
21223 * locale/programs/ld-address.c: Likewise.
21224 * locale/programs/ld-collate.c: Likewise.
21225 * locale/programs/ld-ctype.c: Likewise.
21226 * locale/programs/ld-identification.c: Likewise.
21227 * locale/programs/ld-measurement.c: Likewise.
21228 * locale/programs/ld-messages.c: Likewise.
21229 * locale/programs/ld-monetary.c: Likewise.
21230 * locale/programs/ld-name.c: Likewise.
21231 * locale/programs/ld-numeric.c: Likewise.
21232 * locale/programs/ld-paper.c: Likewise.
21233 * locale/programs/ld-telephone.c: Likewise.
21234 * locale/programs/ld-time.c: Likewise.
21235 * locale/programs/linereader.c: Likewise.
21236 * locale/programs/locale.c: Likewise.
21237 * locale/programs/locarchive.c: Likewise.
21238 * locale/programs/locfile.h: Likewise.
21239 * locale/programs/repertoire.c: Likewise.
21240 * locale/programs/simple-hash.c: Likewise.
21241 * locale/programs/simple-hash.h: Likewise.
21242 * malloc/memusage.c: Likewise.
21243 * malloc/memusagestat.c: Likewise.
21244 * nis/nis_defaults.c: Likewise.
21245 * nis/nis_hash.c: Likewise.
21246 * nis/nis_print.c: Likewise.
21247 * nis/nis_xdr.c: Likewise.
21248 * nscd/connections.c: Likewise.
21249 * nscd/hstcache.c: Likewise.
21250 * nscd/nscd_gethst_r.c: Likewise.
21251 * nscd/nscd_getserv_r.c: Likewise.
21252 * nscd/nscd_helper.c: Likewise.
21253 * nscd/servicescache.c: Likewise.
21254 * nss/makedb.c: Likewise.
21255 * nss/nss_db/db-XXX.c: Likewise.
21256 * nss/nss_db/db-initgroups.c: Likewise.
21257 * nss/nss_db/db-netgrp.c: Likewise.
21258 * nss/nss_files/files-network.c: Likewise.
21259 * nss/nss_files/files-parse.c: Likewise.
21260 * posix/bug-regex5.c: Likewise.
21261 * posix/fnmatch_loop.c: Likewise.
21262 * posix/regcomp.c: Likewise.
21263 * posix/regexec.c: Likewise.
21264 * posix/tst-rfc3484-2.c: Likewise.
21265 * posix/tst-rfc3484-3.c: Likewise.
21266 * posix/tst-rfc3484.c: Likewise.
21267 * resolv/nss_dns/dns-canon.c: Likewise.
21268 * resolv/nss_dns/dns-network.c: Likewise.
21269 * resolv/res_init.c: Likewise.
21270 * resolv/res_mkquery.c: Likewise.
21271 * resolv/tst-aton.c: Likewise.
21272 * stdlib/cxa_atexit.c: Likewise.
21273 * stdlib/cxa_finalize.c: Likewise.
21274 * stdlib/gen-fpioconst.c: Likewise.
21275 * stdlib/strtol_l.c: Likewise.
21276 * string/tst-endian.c: Likewise.
21277 * sunrpc/auth_des.c: Likewise.
21278 * sunrpc/clnt_udp.c: Likewise.
21279 * sunrpc/rtime.c: Likewise.
21280 * sunrpc/svcauth_des.c: Likewise.
21281 * sunrpc/xdr.c: Likewise.
21282 * sunrpc/xdr_intXX_t.c: Likewise.
21283 * sunrpc/xdr_rec.c: Likewise.
21284 * sysdeps/generic/ldconfig.h: Likewise.
21285 * sysdeps/generic/ldsodefs.h: Likewise.
21286 * sysdeps/generic/memusage.h: Likewise.
21287 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21288 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21289 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21290 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21291 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21292 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21293 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21294 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21295 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21296 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21297 * sysdeps/posix/getaddrinfo.c: Likewise.
21298 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21299 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21300 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21301 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21302 * sysdeps/powerpc/test-gettimebase.c: Likewise.
21303 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21304 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21305 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21306 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21307 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21308 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21309 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21310 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21311 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21312 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21313 * sysdeps/x86_64/dl-tls.h: Likewise.
21314 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21315 * time/alt_digit.c: Likewise.
21316 * time/era.c: Likewise.
21317 * wcsmbs/tst-c16c32-1.c: Likewise.
21319 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21321 * math/libm-test.inc (struct test_sincos_data): New type.
21322 (RUN_TEST_LOOP_sincos): New macro.
21323 (sincos_test_data): New variable.
21324 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21326 2013-05-16 Richard Henderson <rth@redhat.com>
21328 * math/atest-exp2.c (LIMB64): New macro.
21329 (CONSTSZ): New macro.
21330 (mp_exp1, mp_exp_m1, mp_log2): New variables.
21332 (print_mpn_fp): ... to function scope.
21333 (read_mpn_hex): Remove.
21334 (get_log2): Remove.
21335 (exp2_mpn): Use mp_log2.
21336 (main): Use mp_exp1.
21338 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21340 * math/libm-test.inc: Remove comment about not testing "inexact"
21342 (INEXACT_EXCEPTION): New macro.
21343 (NO_INEXACT_EXCEPTION): Likewise.
21344 (INVALID_EXCEPTION_OK): Update value.
21345 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21346 (OVERFLOW_EXCEPTION_OK): Likewise.
21347 (UNDERFLOW_EXCEPTION_OK): Likewise.
21348 (IGNORE_ZERO_INF_SIGN): Likewise.
21349 (ERRNO_UNCHANGED): Likewise.
21350 (ERRNO_EDOM): Likewise.
21351 (ERRNO_ERANGE): Likewise.
21352 (test_exceptions): Handle testing "inexact" exceptions.
21353 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21354 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21355 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21356 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21358 (rint_towardzero_test_data): Likewise.
21359 (rint_downward_test_data): Likewise.
21360 (rint_upward_test_data): Likewise.
21362 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21363 with OVERFLOW_EXCEPTION.
21364 (exp10_test_data): Likewise.
21365 (exp2_test_data): Likewise.
21366 (expm1_test_data): Likewise.
21367 (lgamma_test_data): Likewise.
21368 (pow_test_data): Likewise.
21369 (tgamma_test_data): Likewise.
21370 (yn_test_data): Remove duplicate test of overflow.
21372 * math/libm-test.inc (struct test_cc_c_data): New type.
21373 (RUN_TEST_LOOP_cc_c): New macro.
21374 (cpow_test_data): New variable.
21375 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21377 * math/libm-test.inc (struct test_f_L_data): New type.
21378 (RUN_TEST_LOOP_f_L): New macro.
21379 (llrint_test_data): New variable.
21380 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21381 (llrint_tonearest_test_data): New variable.
21382 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21383 (llrint_towardzero_test_data): New variable.
21384 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21385 (llrint_downward_test_data): New variable.
21386 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21387 (llrint_upward_test_data): New variable.
21388 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21389 (llround_test_data): New variable.
21390 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21392 2013-05-13 Peter Collingbourne <pcc@google.com>
21394 * math/atest-exp2.c (get_log2): Remove const attribute.
21396 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21398 * math/libm-test.inc (struct test_f_l_data): New type.
21399 (RUN_TEST_LOOP_f_l): New macro.
21400 (lrint_test_data): New variable.
21401 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21402 (lrint_tonearest_test_data): New variable.
21403 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21404 (lrint_towardzero_test_data): New variable.
21405 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21406 (lrint_downward_test_data): New variable.
21407 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21408 (lrint_upward_test_data): New variable.
21409 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21410 (lround_test_data): New variable.
21411 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21413 2013-05-15 Peter Collingbourne <pcc@google.com>
21415 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21416 (EXTRACT_WORDS64) Use where appropriate.
21417 (INSERT_WORDS64) Likewise.
21419 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21420 constraints with x constraints.
21421 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21423 * malloc/obstack.c (_obstack_compat): Add initializer.
21425 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
21427 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21428 si_trapno and add si_addr_lsb to _sifields.sigfault.
21429 (si_trapno): Remove macro.
21430 (si_addr_lsb): Define new macro.
21431 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21433 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21435 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21436 instead of TEST_f_l.
21437 (llrint_test_tonearest): Likewise.
21438 (llrint_test_towardzero): Likewise.
21439 (llrint_test_downward): Likewise.
21440 (llrint_test_upward): Likewise.
21441 (llround_test): Likewise.
21443 * math/libm-test.inc (struct test_f_i_data): Add comment.
21444 (RUN_TEST_LOOP_f_b): New macro.
21445 (RUN_TEST_LOOP_f_b_tg): Likewise.
21446 (finite_test_data): New variable.
21447 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21448 (isfinite_test_data): New variable.
21449 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21450 (isinf_test_data): New variable.
21451 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21452 (isnan_test_data): New variable.
21453 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21454 (isnormal_test_data): New variable.
21455 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21456 (issignaling_test_data): New variable.
21457 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21458 (signbit_test_data): New variable.
21459 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21461 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21462 with INVALID_EXCEPTION.
21463 (acosh_test_data): Likewise.
21464 (asin_test_data): Likewise.
21465 (atanh_test_data): Likewise.
21466 (fmod_test_data): Likewise.
21467 (log_test_data): Likewise.
21468 (log10_test_data): Likewise.
21469 (log2_test_data): Likewise.
21470 (pow_test_data): Likewise.
21471 (sqrt_test_data): Likewise.
21472 (y0_test_data): Likewise.
21473 (y1_test_data): Likewise.
21474 (yn_test_data): Likewise.
21476 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21479 * math/libm-test.inc (struct test_ff_i_data): New type.
21480 (RUN_TEST_LOOP_ff_i_tg): New macro.
21481 (isgreater_test_data): New variable.
21482 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21483 (isgreaterequal_test_data): New variable.
21484 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21485 (isless_test_data): New variable.
21486 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21487 (islessequal_test_data): New variable.
21488 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21489 (islessgreater_test_data): New variable.
21490 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21491 (isunordered_test_data): New variable.
21492 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21494 2013-05-14 David S. Miller <davem@davemloft.net>
21496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21498 2013-05-14 Joseph Myers <joseph@codesourcery.com>
21500 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21502 * math/libm-test.inc (struct test_fF_f1_data): Change type of
21504 (struct test_f_i_data): Change type of max_ulp to int.
21506 * math/libm-test.inc (test_ffI_f1_data): New type.
21507 (RUN_TEST_LOOP_ffI_f1): New macro.
21508 (remquo_test_data): New variable.
21509 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21511 * setjmp/tst-setjmp-fp.c: New file.
21512 * setjmp/Makefile (tests): Add tst-setjmp-fp.
21513 (link-libm): New variable.
21514 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21516 * math/libm-test.inc (struct test_f_i_data): New type.
21517 (RUN_TEST_LOOP_f_i): New macro.
21518 (RUN_TEST_LOOP_f_i_tg): Likewise.
21519 (fpclassify_test_data): New variable.
21520 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21521 (ilogb_test_data): New variable.
21522 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21524 * math/libm-test.inc (scalbln_test): Correct function name in END
21527 * math/libm-test.inc (struct test_f_f1_data): Add comment.
21528 (RUN_TEST_LOOP_fI_f1): New macro.
21529 (frexp_test_data): New variable.
21530 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21532 * math/libm-test.inc (struct test_fF_f1_data): New type.
21533 (RUN_TEST_LOOP_fF_f1): New macro.
21534 (modf_test_data): New variable.
21535 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21537 * math/libm-test.inc (struct test_f_f1_data): New type.
21538 (RUN_TEST_LOOP_f_f1): New macro.
21539 (gamma_test_data): New variable.
21540 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21541 (lgamma_test_data): New variable.
21542 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21544 2013-05-13 Carlos O'Donell <carlos@redhat.com>
21546 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21547 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21548 (main): Comment "tls" pseudo-hwcap.
21550 2013-05-13 Joseph Myers <joseph@codesourcery.com>
21552 * math/libm-test.inc (struct test_fl_f_data): New type.
21553 (RUN_TEST_LOOP_fl_f): New variable.
21554 (scalbln_test_data): New variable.
21555 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21557 * math/libm-test.inc (struct test_fi_f_data): New type.
21558 (RUN_TEST_LOOP_fi_f): New macro.
21559 (ldexp_test_data): New variable.
21560 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21561 (scalbn_test_data): New variable.
21562 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21564 * math/libm-test.inc (struct test_c_f_data): New type.
21565 (RUN_TEST_LOOP_c_f): New macro.
21566 (cabs_test_data): New variable.
21567 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21568 (carg_test_data): New variable.
21569 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21570 (cimag_test_data): New variable.
21571 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21572 (creal_test_data): New variable.
21573 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21575 * math/libm-test.inc (struct test_if_f_data): New type.
21576 (RUN_TEST_LOOP_if_f): New macro.
21577 (jn_test_data): New variable.
21578 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21579 (yn_test_data): New variable.
21580 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21582 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21584 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21586 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21587 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21589 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21591 * benchtests/Makefile (CPPFLAGS-nonlib): Add
21592 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21593 (bench-deps): Add bench-timing.h.
21594 * benchtests-bench-skeleton.c: Include bench-timing.h.
21595 (main): Use TIMING_* macros instead of clock_gettime.
21596 * benchtests/bench-timing.h: New file.
21599 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21600 Renamed from _LIB_VERSION.
21601 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21603 2013-05-12 Joseph Myers <joseph@codesourcery.com>
21605 * math/libm-test.inc (struct test_fff_f_data): New type.
21606 (RUN_TEST_LOOP_fff_f): New macro.
21607 (fma_test_data): New variable.
21608 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21609 (fma_towardzero_test_data): New variable.
21610 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21611 (fma_downward_test_data): New variable.
21612 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21613 (fma_upward_test_data): New variable.
21614 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21616 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21617 (struct test_c_c_data): New type.
21618 (RUN_TEST_LOOP_c_c): New macro.
21619 (cacos_test_data): New variable.
21620 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21621 (cacosh_test_data): New variable.
21622 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21623 (casin_test_data): New variable.
21624 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21625 (casinh_test_data): New variable.
21626 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21627 (catan_test_data): New variable.
21628 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21629 (catanh_test_data): New variable.
21630 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21631 (ccos_test_data): New variable.
21632 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21633 (ccosh_test_data): New variable.
21634 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21635 (cexp_test_data): New variable.
21636 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21637 (clog_test_data): New variable.
21638 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21639 (clog10_test_data): New variable.
21640 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21641 (conj_test_data): New variable.
21642 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21643 (cproj_test_data): New variable.
21644 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21645 (csin_test_data): New variable.
21646 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21647 (csinh_test_data): New variable.
21648 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21649 (csqrt_test_data): New variable.
21650 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21651 (ctan_test_data): New variable.
21652 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21653 (ctan_tonearest_test_data): New variable.
21654 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21655 (ctan_towardzero_test_data): New variable.
21656 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21657 (ctan_downward_test_data): New variable.
21658 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21659 (ctan_upward_test_data): New variable.
21660 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21661 (ctanh_test_data): New variable.
21662 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21663 (ctanh_tonearest_test_data): New variable.
21664 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21665 (ctanh_towardzero_test_data): New variable.
21666 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21667 (ctanh_downward_test_data): New variable.
21668 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21669 (ctanh_upward_test_data): New variable.
21670 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21671 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21674 * math/libm-test.inc (struct test_ff_f_data): New type.
21675 (struct test_ff_f_data_nexttoward): Likewise.
21676 (RUN_TEST_LOOP_2_f): New macro.
21677 (RUN_TEST_LOOP_ff_f): Likewise.
21678 (atan2_test_data): New variable.
21679 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21680 (copysign_test_data): New variable.
21681 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21682 (fdim_test_data): New variable.
21683 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21684 (fmax_test_data): New variable.
21685 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21686 (fmin_test_data): New variable.
21687 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21688 (fmod_test_data): New variable.
21689 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21690 (hypot_test_data): New variable.
21691 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21692 (nextafter_test_data): New variable.
21693 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21694 (nexttoward_test_data): New variable.
21695 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21696 (pow_test_data): New variable.
21697 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21698 (pow_tonearest_test_data): New variable.
21699 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21700 (pow_towardzero_test_data): New variable.
21701 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21702 (pow_downward_test_data): New variable.
21703 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21704 (pow_upward_test_data): New variable.
21705 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21706 (remainder_test_data): New variable.
21707 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21708 (scalb_test_data): New variable.
21709 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21710 * sysdeps/i386/fpu/libm-test-ulps: Update.
21712 2013-05-11 Joseph Myers <joseph@codesourcery.com>
21714 * math/libm-test.inc (fma_test): Use max_value instead of local
21716 (nextafter_test): Likewise.
21718 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21719 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21720 (acos_downward_test_data): New variable.
21721 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21722 (acos_upward_test_data): New variable.
21723 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21724 (acosh_test_data): New variable.
21725 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21726 (asin_test_data): New variable.
21727 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21728 (asin_tonearest_test_data): New variable.
21729 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21730 (asin_towardzero_test_data): New variable.
21731 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21732 (asin_downward_test_data): New variable.
21733 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21734 (asin_upward_test_data): New variable.
21735 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21736 (asinh_test_data): New variable.
21737 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21738 (atan_test_data): New variable.
21739 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21740 (atanh_test_data): New variable.
21741 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21742 (cbrt_test_data): New variable.
21743 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21744 (ceil_test_data): New variable.
21745 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21746 (cos_test_data): New variable.
21747 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21748 (cos_tonearest_test_data): New variable.
21749 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21750 (cos_towardzero_test_data): New variable.
21751 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21752 (cos_downward_test_data): New variable.
21753 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21754 (cos_upward_test_data): New variable.
21755 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21756 (cosh_test_data): New variable.
21757 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21758 (cosh_tonearest_test_data): New variable.
21759 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21760 (cosh_towardzero_test_data): New variable.
21761 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21762 (cosh_downward_test_data): New variable.
21763 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21764 (cosh_upward_test_data): New variable.
21765 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21766 (erf_test_data): New variable.
21767 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21768 (erfc_test_data): New variable.
21769 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21770 (exp_test_data): New variable.
21771 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21772 (exp_tonearest_test_data): New variable.
21773 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21774 (exp_towardzero_test_data): New variable.
21775 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21776 (exp_downward_test_data): New variable.
21777 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21778 (exp_upward_test_data): New variable.
21779 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21780 (exp10_test_data): New variable.
21781 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21782 (exp2_test_data): New variable.
21783 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21784 (expm1_test_data): New variable.
21785 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21786 (fabs_test_data): New variable.
21787 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21788 (floor_test_data): New variable.
21789 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21790 (j0_test_data): New variable.
21791 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21792 (j1_test_data): New variable.
21793 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21794 (log_test_data): New variable.
21795 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21796 (log10_test_data): New variable.
21797 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21798 (log1p_test_data): New variable.
21799 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21800 (log2_test_data): New variable.
21801 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21802 (logb_test_data): New variable.
21803 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21804 (logb_downward_test_data): New variable.
21805 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21806 (nearbyint_test_data): New variable.
21807 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21808 (rint_test_data): New variable.
21809 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21810 (rint_tonearest_test_data): New variable.
21811 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21812 (rint_towardzero_test_data): New variable.
21813 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21814 (rint_downward_test_data): New variable.
21815 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21816 (rint_upward_test_data): New variable.
21817 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21818 (round_test_data): New variable.
21819 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21820 (sin_test_data): New variable.
21821 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21822 (sin_tonearest_test_data): New variable.
21823 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21824 (sin_towardzero_test_data): New variable.
21825 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21826 (sin_downward_test_data): New variable.
21827 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21828 (sin_upward_test_data): New variable.
21829 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21830 (sinh_test_data): New variable.
21831 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21832 (sinh_tonearest_test_data): New variable.
21833 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21834 (sinh_towardzero_test_data): New variable.
21835 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21836 (sinh_downward_test_data): New variable.
21837 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21838 (sinh_upward_test_data): New variable.
21839 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21840 (sqrt_test_data): New variable.
21841 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21842 (tan_test_data): New variable.
21843 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21844 (tan_tonearest_test_data): New variable.
21845 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21846 (tan_towardzero_test_data): New variable.
21847 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21848 (tan_downward_test_data): New variable.
21849 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21850 (tan_upward_test_data): New variable.
21851 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21852 (tanh_test_data): New variable.
21853 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21854 (tgamma_test_data): New variable.
21855 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21856 (trunc_test_data): New variable.
21857 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21858 (y0_test_data): New variable.
21859 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21860 (y1_test_data): New variable.
21861 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21862 (significand_test_data): New variable.
21863 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21865 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21868 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21870 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21872 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21874 2013-05-10 Andreas Jaeger <aj@suse.de>
21877 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21878 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21880 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21882 * math/gen-libm-test.pl (adjust_arg): New function.
21883 (special_functions): Handle generating output in both functions
21885 (parse_args): Likewise.
21886 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21887 $in_func argument to parse_args.
21888 * math/libm-test.inc (struct test_f_f_data): New type.
21889 (IF_ROUND_INIT_): New macro.
21890 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21891 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21892 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21893 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21894 (ROUND_RESTORE_): Likewise.
21895 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21896 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21897 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21898 (ROUND_RESTORE_FE_UPWARD): Likewise.
21899 (RUN_TEST_LOOP_f_f): New macro.
21900 (acos_test_data): New variable.
21901 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21902 (acos_tonearest_test_data): New variable.
21903 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21905 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21907 * benchtests/bench-skeleton.c (startup): Fix coding style.
21909 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21912 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21913 negative infinity argument.
21914 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21915 negative infinity argument.
21916 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21917 negative infinity argument.
21918 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21921 2013-05-10 Florian Weimer <fweimer@redhat.com>
21923 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21924 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21925 * iconv/iconv_prog.c (main): Likewise.
21926 * locale/programs/charmap-dir.c (charmap_readdir)
21927 (fopen_uncompressed): Likewise.
21928 * locale/programs/locfile.c (siblings_uncached)
21929 (write_locale_data): Use lstat64 instead of lstat.
21930 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21933 2013-05-10 Andreas Jaeger <aj@suse.de>
21936 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21938 Include <locale.h>.
21940 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21942 * elf/dl-close.c (_dl_close_worker): Add comments.
21944 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21947 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21949 (__ieee754_rem_pio2l): Update comments.
21952 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21954 (__ieee754_rem_pio2l): Update comments.
21956 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21957 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21959 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21962 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21963 (M_PI_34_LOG10El): Likewise.
21964 (M_PI2_LOG10El): Likewise.
21965 (M_PI4_LOG10El): Likewise.
21966 (M_PI_LOG10El): Likewise.
21968 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21972 2013-05-08 Joseph Myers <joseph@codesourcery.com>
21974 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21975 (MINUS_ZERO_INIT): Likewise.
21976 (PLUS_INFTY_INIT): Likewise.
21977 (MINUS_INFTY_INIT): Likewise.
21978 (QNAN_VALUE_INIT): Likewise.
21979 (MAX_VALUE_INIT): Likewise.
21980 (MIN_VALUE_INIT): Likewise.
21981 (MIN_SUBNORM_VALUE_INIT): Likewise.
21982 (plus_zero): Initialize with PLUS_ZERO_INIT.
21983 (minus_zero): Initialize with MINUS_ZERO_INIT.
21984 (plus_infty): Initialize with PLUS_INFTY_INIT.
21985 (minus_infty): Initialize with MINUS_INFTY_INIT.
21986 (qnan_value): Initialize with QNAN_VALUE_INIT.
21987 (max_value): Initialize with MAX_VALUE_INIT.
21988 (min_value): Initialize with MIN_VALUE_INIT.
21989 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21991 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21992 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21993 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21994 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21996 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21997 (RUN_TEST_2_f): Likewise.
21998 (RUN_TEST_ff_f): Likewise.
21999 (RUN_TEST_fi_f): Likewise.
22000 (RUN_TEST_fl_f): Likewise.
22001 (RUN_TEST_fff_f): Likewise.
22002 (RUN_TEST_c_f): Likewise.
22003 (RUN_TEST_f_f1): Likewise.
22004 (RUN_TEST_fF_f1): Likewise.
22005 (RUN_TEST_fI_f1): Likewise.
22006 (RUN_TEST_ffI_f1): Likewise.
22007 (RUN_TEST_c_c): Likewise.
22008 (RUN_TEST_cc_c): Likewise.
22009 (RUN_TEST_f_i): Likewise.
22010 (RUN_TEST_f_i_tg): Likewise.
22011 (RUN_TEST_ff_i_tg): Likewise.
22012 (RUN_TEST_f_b): Likewise.
22013 (RUN_TEST_f_b_tg): Likewise.
22014 (RUN_TEST_f_l): Likewise.
22015 (RUN_TEST_f_L): Likewise.
22016 (RUN_TEST_sincos): Likewise.
22017 * math/gen-libm-test.pl (new_test): Take new argument to indicate
22018 whether to show exceptions. Do not include ");\n" in return
22020 (special_functions): Output call to RUN_TEST_sincos instead of
22021 check_float calls. Update calls to new_test.
22022 (parse_args): Output call to single RUN_TEST_* macro instead of
22023 check_* calls and other assignments. Update calls to new_test.
22029 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22030 input to result for tgamma overflow.
22031 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22032 (gamma_coeff): New variable.
22033 (NCOEFF): New macro.
22034 (gamma_positive): New function.
22035 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22036 underflow here. Use gamma_positive instead of exp (lgamma) for
22038 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22039 (gamma_coeff): New variable.
22040 (NCOEFF): New macro.
22041 (gammaf_positive): New function.
22042 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22043 underflow here. Use gamma_positive instead of exp (lgamma) for
22045 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22046 (gamma_coeff): New variable.
22047 (NCOEFF): New macro.
22048 (gammal_positive): New function.
22049 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22050 underflow here. Use gamma_positive instead of exp (lgamma) for
22052 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22053 (gamma_coeff): New variable.
22054 (NCOEFF): New macro.
22055 (gammal_positive): New function.
22056 (__ieee754_gammal_r): Handle positive infinity, overflow and
22057 underflow here. Handle NaN the same as positive infinity. Remove
22058 check x < 0xffffffff for negative integers. Use gamma_positive
22059 instead of exp (lgamma) for other arguments.
22060 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22061 (gamma_coeff): New variable.
22062 (NCOEFF): New macro.
22063 (gammal_positive): New function.
22064 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22065 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22066 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22067 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22068 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22069 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22070 * sysdeps/generic/math_private.h (__gamma_productf): New
22072 (__gamma_product): Likewise.
22073 (__gamma_productl): Likewise.
22074 * math/Makefile (libm-calls): Add gamma_product.
22075 * math/libm-test.inc (tgamma_test): Add more tests.
22076 * sysdeps/i386/fpu/libm-test-ulps: Update.
22077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22079 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
22081 * benchtests/bench-skeleton.c (main): Preheat CPU.
22083 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
22085 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22087 2013-05-07 Roland McGrath <roland@hack.frob.com>
22089 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22090 and _dl_skip_args_internal.
22092 2013-05-07 Carlos O'Donell <carlos@redhat.com>
22094 * manual/message.texi (Message Translation): Talk about users.
22095 Message to key mapping impacts design.
22097 2013-05-06 Roland McGrath <roland@hack.frob.com>
22099 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22101 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22103 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22104 * sysdeps/wordsize-64/glob64.c: ... here.
22106 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22107 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22110 * debug/getlogin_r_chk.c: Moved to ...
22111 * login/getlogin_r_chk.c: ... here.
22112 * debug/Makefile (routines): Move getlogin_r_chk to ...
22113 * login/Makefile (routines): ... here.
22114 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22115 * login/Versions (libc: GLIBC_2.4): ... here.
22117 * io/poll.c (__poll): Renamed from poll.
22118 Add libc_hidden_def.
22119 (poll): Define as weak alias.
22121 * debug/ptsname_r_chk.c: Moved to ...
22122 * login/ptsname_r_chk.c: ... here.
22123 * debug/Makefile (routines): Move ptsname_r_chk to ...
22124 * login/Makefile (routines): ... here.
22125 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22126 * login/Versions (libc: GLIBC_2.4): ... here.
22128 * posix/getlogin.c: Moved to ...
22129 * login/getlogin.c: ... here.
22130 * posix/getlogin_r.c: Moved to ...
22131 * login/getlogin_r.c: ... here.
22132 * posix/getlogin_r.c: Moved to ...
22133 * login/getlogin_r.c: ... here.
22134 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22135 * login/Makefile (routines): ... here.
22136 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22137 * login/Versions (libc: GLIBC_2.0): ... here.
22139 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22140 (setrlimit): Define as weak alias.
22142 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22143 Call __ names for open, ftruncate, and close.
22144 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22145 (truncate): Define as weak alias.
22147 2013-05-06 Joseph Myers <joseph@codesourcery.com>
22149 * math/gen-libm-test.pl (parse_args): Initialize x before each
22150 test of frexp, modf and remquo.
22152 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22153 test signgam value.
22155 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22159 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22161 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22163 2013-05-06 Roland McGrath <roland@hack.frob.com>
22165 * elf/dl-writev.h: New file.
22166 * elf/dl-misc.c: Include it.
22167 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22168 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22170 2013-05-04 Joseph Myers <joseph@codesourcery.com>
22172 * math/libm-test.inc (noXFails): Remove variable.
22173 (noXPasses): Likewise.
22174 (BUILD_COMPLEX_INT): Remove macro.
22175 (print_screen): Remove xfail argument.
22176 (print_screen_max_error): Likewise.
22177 (update_stats): Likewise.
22178 (print_max_error): Likewise. Update calls to other affected
22180 (print_complex_max_error): Likewise.
22181 (test_single_exception): Update calls to print_screen.
22182 (test_single_errno): Likewise.
22183 (check_float_internal): Remove xfail argument. Update calls to
22184 other affected functions.
22185 (check_float): Likewise.
22186 (check_complex): Likewise.
22187 (check_int): Likewise.
22188 (check_long): Likewise.
22189 (check_bool): Likewise.
22190 (check_longlong): Likewise.
22191 (main): Don't print noXFails and noXPasses.
22192 * math/gen-libm-test.pl (top level): Don't mention expected
22193 failure handling in comment.
22194 (new_test): Don't handle expected failures.
22195 (parse_args): Don't mention expected failure handling in comment.
22196 (generate_testfile): Don't handle expected failures.
22197 (parse_ulps): Likewise.
22198 (print_ulps_file): Likewise.
22199 (get_failure): Remove function.
22200 (output_test): Don't handle expected failures.
22201 * make/README.libm-test: Don't mention expected failure handling.
22203 * math/libm-test.inc (plus_zero): Make const. Add initializer.
22204 (minus_zero): Likewise.
22205 (plus_infty): Likewise.
22206 (minus_infty): Likewise.
22207 (qnan_value): Likewise.
22208 (max_value): Likewise.
22209 (min_value): Likewise.
22210 (min_subnorm_value): Likewise.
22211 (initialize): Do not initialize those variables dynamically.
22213 2013-05-03 Roland McGrath <roland@hack.frob.com>
22215 * io/open.c (__open_2): Moved to ...
22216 * io/open_2.c: ... this new file.
22217 * io/open64.c (__open64_2): Moved to ...
22218 * io/open64_2.c: ... this new file.
22219 * io/openat.c (__openat_2): Moved to ...
22220 * io/openat_2.c: ... this new file.
22221 * io/openat64.c (__openat64_2): Moved to ...
22222 * io/openat64_2.c: ... this new file.
22223 * io/Makefile (routines): Add them.
22224 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22225 * sysdeps/unix/sysv/linux/open_2.c: File removed.
22226 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22227 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22228 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22229 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22230 (__openat64): Add hidden_ver.
22231 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22232 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22234 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22235 Separately conditionalize setting of GLRO(dl_sysinfo) so
22236 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22237 as well, but the actual setting is only under [NEED_DL_SYSINFO].
22239 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22241 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22242 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22244 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22245 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22246 (_libc_vdso_platform_setup): Add __vdso_time initialization.
22247 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22248 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22250 2013-05-03 Joseph Myers <joseph@codesourcery.com>
22252 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22253 test signgam value.
22255 * math/libm-test.inc (hypot_test): Do not use
22256 IGNORE_ZERO_INF_SIGN.
22258 2013-05-03 Andreas Jaeger <aj@suse.de>
22260 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22262 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22263 (PF_MAX): Adjust for VSOCK change.
22265 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22269 2013-05-02 Carlos O'Donell <carlos@redhat.com>
22272 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22273 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22274 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22276 2013-05-02 David S. Miller <davem@davemloft.net>
22278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22280 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
22282 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22284 2013-05-01 Roland McGrath <roland@hack.frob.com>
22286 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22288 2013-05-01 Richard Smith <richard@metafoo.co.uk>
22291 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22292 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22293 Use __attribute__ ((__gnu_inline__)).
22294 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22295 Don't use __attribute__ ((__gnu_inline__)).
22297 2013-05-01 Joseph Myers <joseph@codesourcery.com>
22300 * math/s_catan.c (__catan): Handle small real or imaginary part of
22301 input specially to avoid spurious underflow.
22302 * math/s_catanf.c (__catanf): Likewise.
22303 * math/s_catanh.c (__catanh): Likewise.
22304 * math/s_catanhf.c (__catanhf): Likewise.
22305 * math/s_catanhl.c (__catanhl): Likewise.
22306 * math/s_catanl.c (__catanl): Likewise.
22307 * math/libm-test.inc (catan_test): Add more tests.
22308 (catanh_test): Likewise.
22309 * sysdeps/i386/fpu/libm-test-ulps: Update.
22310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22312 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22316 2013-04-30 Joseph Myers <joseph@codesourcery.com>
22319 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22320 accurately for denominator in atan2.
22321 * math/s_catanf.c (__catanf): Likewise.
22322 * math/s_catanh.c (__catanh): Likewise.
22323 * math/s_catanhf.c (__catanhf): Likewise.
22324 * math/s_catanhl.c (__catanhl): Likewise.
22325 * math/s_catanl.c (__catanl): Likewise.
22326 * math/libm-test.inc (catan_test): Add more tests.
22327 (catanh_test): Likewise.
22328 * sysdeps/i386/fpu/libm-test-ulps: Update.
22329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22331 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22333 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22335 * benchtests/Makefile (bench): Remove slow benchmarks.
22336 * benchtests/atan-inputs: Add slow benchmark inputs.
22337 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22338 (BENCH_FUNC): Accept variant offset.
22340 * benchtests/bench-skeleton.c (main): Run benchmark for each
22342 * benchtests/cos-inputs: Add slow benchmark inputs.
22343 * benchtests/exp-inputs: Likewise.
22344 * benchtests/pow-inputs: Likewise.
22345 * benchtests/sin-inputs: Likewise.
22346 * benchtests/slowatan-inputs: Remove.
22347 * benchtests/slowatan.c: Remove.
22348 * benchtests/slowcos-inputs: Remove.
22349 * benchtests/slowcos.c: Remove.
22350 * benchtests/slowexp-inputs: Remove.
22351 * benchtests/slowexp.c: Remove.
22352 * benchtests/slowpow-inputs: Remove.
22353 * benchtests/slowpow.c: Remove.
22354 * benchtests/slowsin-inputs: Remove.
22355 * benchtests/slowsin.c: Remove.
22356 * benchtests/slowtan-inputs: Remove.
22357 * benchtests/slowtan.c: Remove.
22358 * benchtests/tan-inputs: Add slow benchmark inputs.
22359 * scripts/bench.pl: Parse comments and directives.
22361 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
22363 ($(objpfx)bench-%.c): Remove *-ITER.
22364 * benchtests/bench-modf.c: Remove definition of ITER.
22365 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22366 (main): Loop for DURATION seconds instead of fixed number of
22368 * scripts/bench.pl: Don't expect iterations in parameters.
22370 2013-04-29 Roland McGrath <roland@hack.frob.com>
22372 * io/fchdir.c (__fchdir): Renamed from fchdir.
22373 (fchdir): Define as weak alias.
22375 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22377 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22378 (ERRNO_EDOM): Likewise.
22379 (ERRNO_ERANGE): Likewise.
22380 (noErrnoTests): New variable.
22381 (init_max_error): Set errno to 0.
22382 (test_single_errno): New function.
22383 (test_errno): Likewise.
22384 (check_float_internal): Call test_errno. Set errno to 0.
22385 (check_complex): Refer to errno tests in comment.
22386 (check_int): Call test_errno. Set errno to 0.
22387 (check_long): Likewise.
22388 (check_bool): Likewise.
22389 (check_longlong): Likewise.
22390 (cos_test): Use ERRNO_* flags for errno tests instead of
22392 (expm1_test): Likewise.
22393 (fmod_test): Likewise.
22394 (ilogb_test): Likewise.
22395 (lgamma_test): Likewise.
22396 (pow_test): Likewise.
22397 (remainder_test): Likewise.
22398 (sin_test): Likewise.
22399 (tan_test): Likewise.
22400 (yn_test): Likewise.
22401 (initialize): Set errno to 0.
22402 (main): Print number of errno tests.
22403 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22405 2013-04-29 Andreas Jaeger <aj@suse.de>
22408 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22412 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22413 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22417 * stdlib/random.c (__initstate): Return NULL if
22421 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22422 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22425 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22429 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22431 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22432 of individual tests.
22433 (casin_test): Likewise.
22434 (casinh_test): Likewise.
22436 2013-04-27 Joseph Myers <joseph@codesourcery.com>
22439 * math/s_catan.c (__catan): Handle arguments with large real or
22440 imaginary part separately without squaring.
22441 * math/s_catanf.c (__catanf): Likewise.
22442 * math/s_catanh.c (__catanh): Likewise.
22443 * math/s_catanhf.c (__catanhf): Likewise.
22444 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22446 (__catanhl): Handle arguments with large real or imaginary part
22447 separately without squaring.
22448 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22450 (__catanl): Handle arguments with large real or imaginary part
22451 separately without squaring.
22452 * math/libm-test.inc (catan_test): Add more tests.
22453 (catanh_test): Likewise.
22454 * sysdeps/i386/fpu/libm-test-ulps: Update.
22455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22457 2013-04-27 Andreas Jaeger <aj@suse.de>
22460 * stdlib/stdlib.h: Update guards for qecvt.
22461 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22464 2013-04-27 Allan McRae <allan@archlinux.org>
22466 * sysdeps/i386/fpu/libm-test-ulps: Update.
22468 2013-04-26 Joseph Myers <joseph@codesourcery.com>
22471 * math/s_catan.c: Include <float.h>.
22472 (__catan): Ensure underflow exception occurs for underflowed
22474 * math/s_catanf.c: Include <float.h>.
22475 (__catanf): Ensure underflow exception occurs for underflowed
22477 * math/s_catanh.c: Include <float.h>.
22478 (__catanh): Ensure underflow exception occurs for underflowed
22480 * math/s_catanhf.c: Include <float.h>.
22481 (__catanhf): Ensure underflow exception occurs for underflowed
22483 * math/s_catanhl.c: Include <float.h>.
22484 (__catanhl): Ensure underflow exception occurs for underflowed
22486 * math/s_catanl.c: Include <float.h>.
22487 (__catanl): Ensure underflow exception occurs for underflowed
22489 * math/libm-test.inc (catan_test): Add more tests.
22490 (catanh_test): Likewise.
22493 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22494 underflowed result.
22495 * math/s_ccoshf.c (__ccoshf): Likewise.
22496 * math/s_ccoshl.c (__ccoshl): Likewise.
22497 * math/s_csin.c (__csin): Likewise.
22498 * math/s_csinf.c (__csinf): Likewise.
22499 * math/s_csinh.c (__csinh): Likewise.
22500 * math/s_csinhf.c (__csinhf): Likewise.
22501 * math/s_csinhl.c (__csinhl): Likewise.
22502 * math/s_csinl.c (__csinl): Likewise.
22503 * math/libm-test.inc (ccos_test): Add more tests.
22504 (ccosh_test): Likewise.
22505 (csin_test): Likewise.
22506 (csinh_test): Likewise.
22508 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22510 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22511 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22512 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22513 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22514 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22515 powerpc/power5+/fpu folders.
22516 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22519 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22521 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22523 2013-04-25 Joseph Myers <joseph@codesourcery.com>
22525 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22526 additions to variable.
22527 [$(config-machine) = x86_64] (modules-names): Likewise.
22528 ($(objpfx)tst-audit3): Remove dependency.
22529 ($(objpfx)tst-audit3.out): Likewise.
22530 ($(objpfx)tst-audit4): Likewise.
22531 ($(objpfx)tst-audit4.out): Likewise.
22532 ($(objpfx)tst-audit5): Likewise.
22533 ($(objpfx)tst-audit5.out): Likewise.
22534 ($(objpfx)tst-audit6): Likewise.
22535 ($(objpfx)tst-audit6.out): Likewise.
22536 ($(objpfx)tst-audit7): Likewise.
22537 ($(objpfx)tst-audit7.out): Likewise.
22538 (tst-audit3-ENV): Remove variable.
22539 (tst-audit4-ENV): Likewise.
22540 (tst-audit5-ENV): Likewise.
22541 (tst-audit6-ENV): Likewise.
22542 (tst-audit7-ENV): Likewise.
22543 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22544 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22545 addition to variable.
22546 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22547 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22548 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22549 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22550 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22551 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22552 tst-audit3, tst-audit4 and tst-audit5.
22553 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22554 tst-audit6 and tst-audit7.
22555 [$(subdir) = elf] (modules-names): Add audit modules for those
22557 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22558 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22559 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22560 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22561 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22562 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22563 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22564 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22565 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22566 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22567 [$(subdir) = elf] (tst-audit3-ENV): New variable.
22568 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22569 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22570 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22571 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22572 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22574 [$(subdir) = elf && $(config-cflags-avx) = yes]
22575 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22576 [$(subdir) = elf && $(config-cflags-avx) = yes]
22577 (CFLAGS-tst-auditmod4a.c): Likewise.
22578 [$(subdir) = elf && $(config-cflags-avx) = yes]
22579 (CFLAGS-tst-auditmod4b.c): Likewise.
22580 [$(subdir) = elf && $(config-cflags-avx) = yes]
22581 (CFLAGS-tst-auditmod6b.c): Likewise.
22582 [$(subdir) = elf && $(config-cflags-avx) = yes]
22583 (CFLAGS-tst-auditmod6c.c): Likewise.
22584 [$(subdir) = elf && $(config-cflags-avx) = yes]
22585 (CFLAGS-tst-auditmod7b.c): Likewise.
22586 * elf/tst-audit3.c: Move to ...
22587 * sysdeps/x86_64/tst-audit3.c: ... here.
22588 * elf/tst-audit4.c: Move to ...
22589 * sysdeps/x86_64/tst-audit4.c: ... here.
22590 * elf/tst-audit5.c: Move to ...
22591 * sysdeps/x86_64/tst-audit5.c: ... here.
22592 * elf/tst-audit6.c: Move to ...
22593 * sysdeps/x86_64/tst-audit6.c: ... here.
22594 * elf/tst-audit7.c: Move to ...
22595 * sysdeps/x86_64/tst-audit7.c: ... here.
22596 * elf/tst-auditmod3a.c: Move to ...
22597 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22598 * elf/tst-auditmod3b.c: Move to ...
22599 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22600 * elf/tst-auditmod4a.c: Move to ...
22601 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22602 * elf/tst-auditmod4b.c: Move to ...
22603 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22604 * elf/tst-auditmod5a.c: Move to ...
22605 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22606 * elf/tst-auditmod5b.c: Move to ...
22607 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22608 * elf/tst-auditmod6a.c: Move to ...
22609 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22610 * elf/tst-auditmod6b.c: Move to ...
22611 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22612 * elf/tst-auditmod6c.c: Move to ...
22613 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22614 * elf/tst-auditmod7a.c: Move to ...
22615 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22616 * elf/tst-auditmod7b.c: Move to ...
22617 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22619 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
22622 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22623 define unconditionally.
22624 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22625 define unconditionally.
22626 (INT8_C, INT16_C, etc.): Likewise.
22628 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
22630 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22631 __ehdr_start with hidden visibility.
22633 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22635 2013-04-24 Carlos O'Donell <carlos@redhat.com>
22637 * math/libm-test.inc (cos_test): Use accurate hex constants.
22638 (sincost_test): Likewise.
22640 2013-04-24 Joseph Myers <joseph@codesourcery.com>
22642 * math/libm-test.inc (catan_test): Add more tests.
22643 (catanh_test): Likewise.
22645 * math/s_catanf.c (__catanf): Use suffixed floating-point
22647 * math/s_catanhf.c (__catanhf): Likewise.
22648 * math/s_catanhl.c (__catanhl): Likewise.
22649 * math/s_catanl.c (__catanl): Likewise.
22652 * math/s_catan.c (__catan): Calculate imaginary part of result
22653 with log1p not log unless computing log of number close to 0.
22654 * math/s_catanf.c (__catanf): Likewise.
22655 * math/s_catanl.c (__catanl): Likewise.
22656 * math/s_catanh.c (__catanh): Calculate real part of result with
22657 log1p not log unless computing log of number close to 0.
22658 * math/s_catanhf.c (__catanhf): Likewise.
22659 * math/s_catanhl.c (__catanhl): Likewise.
22660 * math/libm-test.inc (catan_test): Add more tests.
22661 (catanh_test): Likewise.
22662 * sysdeps/i386/fpu/libm-test-ulps: Update.
22663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22665 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22667 * benchtests/Makefile: Mention files in which fast and slow
22668 paths of math functions are implemented.
22670 2013-04-23 Roland McGrath <roland@hack.frob.com>
22672 * sysdeps/posix/timespec_get.c: New file.
22674 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22676 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22678 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22680 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22681 powerpc/power5/fpu folders.
22682 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22683 * benchtests/Makefile: Add modf testcase.
22684 * benchtests/bench-modf.c: New file: Benchmark test for mo
22686 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22689 * time/Makefile (tests): Add tst-strptime-whitespace.
22690 * time/strptime_l.c (get_number): Use ISSPACE.
22691 (__strptime_internal): Likewise.
22692 * time/tst-strptime-whitespace.c: New test case.
22694 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
22696 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22698 (_nss_files_init): Set it here.
22700 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
22702 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22703 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22706 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22708 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22710 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22712 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22715 2013-04-21 David S. Miller <davem@davemloft.net>
22717 * po/ru.po: Update Russion translation from translation project.
22719 2013-04-17 Adam Conrad <adconrad@0c3.net>
22721 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22724 2013-04-17 Carlos O'Donell <carlos@redhat.com>
22726 * configure.in: Remove i386 configure warning. Remove i386 case.
22727 * configure: Regenerate.
22728 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22729 Add example to error message.
22730 * sysdeps/i386/configure: Regenerate.
22732 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22734 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22736 * benchtests/cos-inputs: New file.
22737 * benchtests/slowcos-inputs: New file.
22738 * benchtests/slowcos.c: New file.
22739 * benchtests/slowtan-inputs: New file.
22740 * benchtests/slowtan.c: New file.
22741 * benchtests/tan-inputs: New file.
22743 2013-04-16 Roland McGrath <roland@hack.frob.com>
22745 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22748 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22750 * benchtests/Makefile: Include cppflags-iterator.mk to add
22751 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22753 * Makefile.in (bench-clean): New target.
22754 * benchtests/Makefile (bench-clean): Likewise.
22756 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22758 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22760 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22762 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22764 2013-04-15 Andreas Schwab <schwab@suse.de>
22766 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22767 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22768 * nscd/pwdcache.c (cache_addpw): Likewise.
22769 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22772 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22774 * benchtests/Makefile (bench): Write all output to
22775 bench-out.tmp together.
22777 2013-04-15 Andreas Schwab <schwab@suse.de>
22779 * nscd/nscd.c (main): Don't fork again after closing files.
22781 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22783 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22785 * benchtests/Rules (bench-deps): Collect dependencies into a
22786 single variable. Add Makefile to dependencies.
22787 ($(objpfx)bench-%.c): Depend on bench-deps.
22789 2013-04-12 Roland McGrath <roland@hack.frob.com>
22790 Xavier Roche <roche+kml2@exalead.com>
22793 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22794 just that it's a file descriptor.
22795 * manual/llio.texi (Synchronizing AIO Operations): Update description
22796 for EBADF error from aio_fsync.
22798 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22800 * Rules (bench): Move target definition...
22801 * benchtests/Makefile: ... here.
22803 2013-04-11 Carlos O'Donell <carlos@redhat.com>
22805 * math/libm-test.inc (cos_test): Fix PI/2 test.
22806 (sincos_test): Likewise.
22807 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22808 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22810 2013-04-11 Andreas Schwab <schwab@suse.de>
22813 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22814 accept exponent character only when digits were seen.
22815 * stdio-common/Makefile (tests): Add bug26.
22816 * stdio-common/bug26.c: New file.
22819 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22822 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22824 * Makeconfig (rtld-prefix): Define built linker prefix.
22825 * Rules (run-bench): Use it.
22826 * math/Makefile (run-regen-ulps): Likewise.
22828 * Rules (bench): Remove eval.
22830 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22831 Roland McGrath <roland@hack.frob.com>
22832 Ondrej Bilka <neleai@seznam.cz>
22835 * time/getdate.c: Include ctype.h and alloca.h.
22836 (__getdate_r): Trim leading and trailing spaces of input.
22837 * time/tst-getdate.c (tests): Add tests with leading and
22840 2013-04-08 Roland McGrath <roland@hack.frob.com>
22843 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22844 when computing value.
22846 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22848 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22849 Use testrun.sh to run libm tests.
22852 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22854 2013-04-06 Marko Myllynen <myllynen@redhat.com>
22857 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22859 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22861 * Makefile.in (regen-ulps): New target.
22862 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22863 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22864 [ifneq (no,$(PERL)] (regen-ulps): New target.
22865 [ifeq (no,$(PERL)] (regen-ulps): New target.
22866 * math/libm-test.inc (ulps_file_name): Define.
22867 (output_dir): New variable.
22868 (options): Add "output-dir" option.
22869 (parse_opt): Handle 'o' case.
22870 (main): If output_dir is non-NULL use it as a prefix
22872 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22874 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22876 [BZ #10060, #10062]
22877 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22878 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22879 fail configure if __sync_val_compare_and_swap is not inlined.
22880 * sysdeps/i386/configure: Regenerate.
22881 * configure.in: Build for i686 when configured for i386.
22882 * configure: Regenerate.
22883 * README: Remove i386 reference.
22885 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22887 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22888 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22890 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22892 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22893 (lmsnanval): New variables.
22894 (F): Add conversion tests.
22895 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22896 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22898 * stdio-common/tstdiomisc.c (F): Properly collect individual
22901 [BZ #14686, #15336]
22902 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22903 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22904 Instead, use input NaN values or generate a qNaN by arithmetic
22905 operation. Also fix bugs to comply with the standard.
22906 * math/libm-test.inc (remainder_test): Add more tests.
22908 [BZ #15335, #15342]
22909 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22910 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22911 input NaN values or generate a qNaN by arithmetic operation.
22913 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22916 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22919 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22922 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22923 underflowed result.
22924 * math/s_cexpf.c (__cexpf): Likewise.
22925 * math/s_cexpl.c (__cexpl): Likewise.
22926 * math/libm-test.inc (cexp_test): Add more tests.
22928 2013-04-03 Andreas Schwab <schwab@suse.de>
22931 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22932 order arrays from heap if bigger than alloca cutoff.
22934 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22936 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22937 (SNAN_TESTS_double): Refer to GCC PR56831.
22938 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22941 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22943 * Rules (bench): Move bench.out after the run is complete.
22945 * Rules (bench): Echo currently running benchmark.
22947 * benchtests/Makefile (bench): Add atan and slowatan.
22948 * benchtests/atan-inputs: New file.
22949 * benchtests/slowatan-inputs: New file.
22950 * benchtests/slowatan.c: New file.
22952 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22953 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22957 * sysdeps/unix/sysv/linux/kernel-features.h
22958 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22959 __ASSUME_XFS_RESTRICTED_CHOWN.
22960 * sysdeps/unix/sysv/linux/pathconf.c
22961 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22962 Save and restore errno.
22964 2013-04-02 Joseph Myers <joseph@codesourcery.com>
22967 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22968 arguments using __kernel_casinh.
22969 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22970 arguments using __kernel_casinhf.
22971 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22972 arguments using __kernel_casinhl.
22973 * math/libm-test.inc (cacosh_test): Add more tests.
22974 * sysdeps/i386/fpu/libm-test-ulps: Update.
22975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22977 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22979 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22980 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22982 * bench/Makefile (bench): Add sin and slowsin.
22983 * benchtests/sin-inputs: New file.
22984 * benchtests/slowsin-inputs: New file.
22985 * benchtests/slowsin.c: New file.
22987 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22988 (bench): Add slowexp and slowpow.
22989 (exp-ITER): Increase iterations.
22990 (pow-ITER): Likewise.
22991 * benchtests/exp-inputs: Change input.
22992 * benchtests/pow-inputs: Likewise.
22993 * benchtests/slowexp-inputs: New file.
22994 * benchtests/slowexp.c: New file.
22995 * benchtests/slowpow-inputs: New file.
22996 * benchtests/slowpow.c: New file.
22998 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23000 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23002 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23003 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23004 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23005 * benchtests/Makefile: Add rint benchtest.
23006 * benchtests/rint-inputs: Input for rint benchtest.
23008 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
23010 * Versions.def (libm): Add GLIBC_2.18.
23011 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23012 hidden libm prototypes.
23013 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23014 * math/Makefile (libm-calls): Add s_issignaling.
23015 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23016 __issignalingf, __issignalingl. Adjust all libm.abilist files.
23017 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23019 * math/math.h [__USE_GNU] (issignaling): New macro.
23020 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23021 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23022 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23023 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23024 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23025 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23026 * manual/arith.texi (issignaling): New section.
23027 * manual/libm-err-tab.pl (@all_functions): Update comment.
23028 * math/gen-libm-test.pl (parse_args): Apply special handling for
23030 * math/libm-test.inc (print_float, issignaling_test): New
23032 (check_float_internal): Add issignaling checks.
23033 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23034 default definition.
23035 * sysdeps/powerpc/math-tests.h: New file.
23036 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23038 * math/test-snan.c (TEST_FUNC): Likewise.
23040 2013-03-30 David S. Miller <davem@davemloft.net>
23042 * po/de.po: Update from translation team.
23044 2013-03-30 Joseph Myers <joseph@codesourcery.com>
23047 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23048 imaginary part less than 1.0 and real part less than 0.5
23050 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23051 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23052 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23053 (cacos_test): Add more tests.
23054 (casin_test): Likewise.
23055 (casinh_test): Likewise.
23056 * sysdeps/i386/fpu/libm-test-ulps: Update.
23057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23059 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23061 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23062 ONE with its value.
23064 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23065 (__pow_mp): Replace ONE and MONE with their values.
23066 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23067 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23068 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23069 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23070 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23071 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23073 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23075 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23076 (__pow_mp): Replace ZERO and MZERO with their values.
23077 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23078 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23079 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23080 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23081 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23082 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23085 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23087 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23089 2013-03-28 Roland McGrath <roland@hack.frob.com>
23091 * include/stdlib.h [!SHARED] (__call_tls_dtors):
23092 Declare with __attribute__ ((weak)).
23093 * stdlib/exit.c (__libc_atexit) [!SHARED]:
23094 Call __call_tls_dtors only if it's not NULL.
23096 2013-03-28 Roland McGrath <roland@hack.frob.com>
23098 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23099 didn't do it already, then set _dl_phdr and _dl_phnum based on the
23100 magic __ehdr_start linker symbol if it's defined.
23101 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23102 them up here if it was already done.
23104 * elf/dl-support.c (_dl_phdr): Make pointer to const.
23105 (_dl_aux_init): Use const in cast when setting it.
23106 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23107 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23108 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23110 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23112 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23113 * csu/libc-tls.c: Nor here.
23114 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23116 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23117 (__libc_message): Never call vsyslog.
23119 2013-03-28 Alan Modra <amodra@gmail.com>
23121 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23123 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23126 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23129 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23133 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23136 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23137 Don't add gid passed as argument.
23139 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23141 2013-03-27 Joseph Myers <joseph@codesourcery.com>
23144 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23145 imaginary part between 1.0 and 1.5 and real part less than 0.5
23147 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23148 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23149 * math/libm-test.inc (cacos_test): Add more tests.
23150 (casin_test): Likewise.
23151 (casinh_test): Likewise.
23152 * sysdeps/i386/fpu/libm-test-ulps: Update.
23153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23155 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23157 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23160 (denorm): Likewise.
23161 (__dbl_mp): Likewise.
23162 (add_magnitudes): Likewise.
23163 (sub_magnitudes): Likewise.
23171 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23173 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23174 (__dubcos): Likewise.
23175 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23176 (__ieee754_acos): Likewise.
23177 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23178 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23179 (__exp1): Likewise.
23180 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23181 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23183 (my_log2): Likewise.
23184 (checkint): Likewise.
23185 * sysdeps/ieee754/dbl-64/e_remainder.c
23186 (__ieee754_remainder): Likewise.
23187 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23188 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23189 (bsloww): Likewise.
23190 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23192 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23193 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23194 MANTISSA_STORE_T to store computations on mantissa. Use
23195 macros for rounding and division.
23196 (denorm): Likewise.
23197 (__dbl_mp): Likewise.
23198 (add_magnitudes): Likewise.
23199 (sub_magnitudes): Likewise.
23202 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23203 powers of two in terms of TWOPOW macro.
23204 (mp_no): Make type of mantissa as MANTISSA_T.
23205 [!RADIXI]: Define RADIXI.
23206 [!TWO52]: Define TWO52.
23207 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23209 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23211 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23212 llroundl symbol when building for PPC32.
23214 2013-03-24 Mark H Weaver <mhw@netris.org>
23216 * manual/arith.texi (Normalization Functions): Fix prototypes for
23217 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23219 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23222 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23223 high value to check if expl overflow.
23224 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23225 to check for underflow and overflow.
23226 * math/libm-test.inc: Add exp test.
23228 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
23231 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23234 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23236 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23239 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
23241 * math/gen-libm-test.pl (parse_args, special_functions): Properly
23242 wrap blocks consisting of several statements.
23244 * sysdeps/generic/math-tests.h: New file.
23245 * sysdeps/i386/fpu/math-tests.h: Likewise.
23246 * math/test-snan.c: Include it.
23247 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23249 2013-03-21 Joseph Myers <joseph@codesourcery.com>
23252 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23253 (__ieee754_j0l): Do not improve calculations using cos of twice
23254 input for inputs above LDBL_MAX / 2.0L.
23255 (__ieee754_y0l): Likewise.
23256 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23257 (__ieee754_j1l): Do not improve calculations using cos of twice
23258 input for inputs above LDBL_MAX / 2.0L.
23259 (__ieee754_y1l): Likewise.
23260 * math/libm-test.inc (j0_test): Add another test.
23261 (j1_test): Likewise.
23262 (y0_test): Likewise.
23263 (y1_test): Likewise.
23264 * sysdeps/i386/fpu/libm-test-ulps: Update.
23266 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23268 * Rules ($(objpfx)bench-%.c): Include code from a C source
23271 2013-03-21 Joseph Myers <joseph@codesourcery.com>
23274 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23275 imaginary part 1.0 and real part less than 0.5 specially.
23276 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23277 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23278 * math/libm-test.inc (cacos_test): Add more tests.
23279 (casin_test): Likewise.
23280 (casinh_test): Likewise.
23281 * sysdeps/i386/fpu/libm-test-ulps: Update.
23282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23284 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23286 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23287 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23289 2013-03-20 Joseph Myers <joseph@codesourcery.com>
23291 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23292 * config.make.in (config-cflags-sse4): Remove variable.
23293 (config-cflags-avx): Likewise.
23294 (config-cflags-sse2avx): Likewise.
23295 (config-cflags-novzeroupper): Likewise.
23296 (config-asflags-i686): Likewise.
23297 (have-mfma4): Likewise.
23298 (have-as-vis3): Likewise.
23300 * configure.in (MIG): Do not AC_SUBST.
23301 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23302 (libc_cv_cc_sse4): Do not AC_SUBST.
23303 (libc_cv_cc_avx): Likewise.
23304 (libc_cv_cc_sse2avx): Likewise.
23305 (libc_cv_cc_novzeroupper): Likewise.
23306 (libc_cv_cc_fma4): Likewise.
23307 (libc_cv_as_i686): Likewise.
23308 (libc_cv_sparc_as_vis3): Likewise.
23309 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23311 (config-asflags-i686): Likewise.
23312 (config-cflags-avx): Likewise.
23313 (config-cflags-sse2avx): Likewise.
23314 (have-mfma4): Likewise.
23315 (config-cflags-novzeroupper): Likewise.
23316 * sysdeps/mach/configure.in (MIG): Likewise.
23317 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23318 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23320 (config-cflags-avx): Likewise.
23321 (config-cflags-sse2avx): Likewise.
23322 (have-mfma4): Likewise.
23323 (config-cflags-novzeroupper): Likewise.
23324 * configure: Regenerated.
23325 * sysdeps/i386/configure: Likewise.
23326 * sysdeps/mach/configure: Likewise.
23327 * sysdeps/sparc/configure: Likewise.
23328 * sysdeps/x86_64/configure: Likewise.
23330 2013-03-20 Roland McGrath <roland@hack.frob.com>
23333 * locale/programs/localedef.c (options): Put N_ translation marker
23334 on argument names, not just descriptions.
23336 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23338 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23340 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
23343 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23345 2013-03-19 Roland McGrath <roland@hack.frob.com>
23347 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23348 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23349 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23350 [!BEFORE_ABORT] (before_abort): New function.
23351 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23352 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23353 (writev_for_fatal): New function.
23354 (WRITEV_FOR_FATAL): New macro; call that.
23355 (backtrace_and_maps): New function.
23356 (BEFORE_ABORT): New macro; call that.
23357 (struct str_list): Type removed.
23358 (__libc_message, __libc_fatal): Functions removed.
23359 Include <sysdeps/posix/libc_fatal.c> instead.
23361 2013-03-19 Joseph Myers <joseph@codesourcery.com>
23363 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23365 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23368 2013-03-19 Andreas Schwab <schwab@suse.de>
23370 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23371 * sysdeps/gnu/configure: Regenerate.
23373 * configure.in: Substitute libc_cv_rtlddir.
23374 * configure: Regenerate.
23375 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23376 * Makeconfig (rtlddir, inst_rtlddir): New variables.
23377 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23378 * elf/Makefile (install-others, CFLAGS-interp.c)
23379 (ldso_install, common-ldd-rewrite): Likewise.
23380 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23381 $(inst_slibdir)/$(rtld-installed-name).
23382 * scripts/rellns-sh: Add -p option.
23383 * Makerules (make-shlib-link): Use rellns-sh to get relative name
23386 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23388 * manual/nptl.texi: Renamed to ...
23389 * manual/threads.texi: ... this.
23390 * manual/Makefile (chapters): Update.
23392 2013-03-18 Roland McGrath <roland@hack.frob.com>
23395 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23396 on argument names, not just descriptions.
23397 * malloc/memusagestat.c (options): Likewise.
23398 * nss/getent.c (options): Likewise.
23400 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
23403 * iconv/iconv_prog.c (options): Put N_ translation marker
23404 on argument names, not just descriptions.
23405 * iconv/iconvconfig.c (options): Likewise.
23407 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
23409 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23410 implementation which is faster on all x86_64 architectures.
23411 Tested on AMD, Intel Nehalem, SNB, IVB.
23412 * sysdeps/x86_64/strnlen.S: Likewise.
23414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23415 Remove all multiarch strlen and strnlen versions.
23416 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23417 Remove strlen and strnlen related parts.
23419 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23420 Inline strlen part.
23421 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23423 * sysdeps/x86_64/multiarch/strlen.S: Remove.
23424 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23425 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23426 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23427 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23428 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23430 2013-03-17 Carlos O'Donell <carlos@redhat.com>
23432 * manual/memory.texi (Malloc Tunable Parameters):
23433 Sort parameters alphabetically. Add comments for missing entries.
23435 2013-03-17 David S. Miller <davem@davemloft.net>
23437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23439 2013-03-16 Joseph Myers <joseph@codesourcery.com>
23442 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23443 for arguments at most half maximum finite value.
23444 * math/libm-test.inc (j0_test): Add more tests.
23445 (j1_test): Likewise.
23446 (y0_test): Likewise.
23447 (y1_test): Likewise.
23448 * sysdeps/i386/fpu/libm-test-ulps: Update.
23449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23452 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23453 1 / x and functions P and Q for arguments above 0x1p256L.
23454 (__ieee754_y0l): Likewise.
23455 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23456 (__ieee754_y1l): Likewise.
23457 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23458 (j1_test): Likewise.
23459 (y0_test): Likewise.
23460 (y1_test): Likewise.
23462 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
23464 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23467 2013-03-15 Roland McGrath <roland@hack.frob.com>
23469 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23470 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23471 zero since it's initialized to EXEC_PAGESIZE.
23473 * sysdeps/unix/sysv/linux/ldsodefs.h
23474 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23475 * sysdeps/generic/ldsodefs.h: ... here.
23477 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
23479 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23481 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23483 * math/test-snan.c: Renamed from
23484 sysdeps/powerpc/fpu/test-powerpc-snan.c.
23485 * math/Makefile (tests): Add test-snan.
23486 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23489 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23490 SUFFIX. Initialize qNaN_var with __builtin_nan family of
23492 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
23493 __builtin_nan family of functions.
23494 * math/libm-test.inc (initialize): Initialize qnan_value with
23495 __builtin_nan family of functions.
23496 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23498 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23500 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
23501 storage class. Initialize qNaN_var and sNaN_var with
23502 __builtin_nan and __builtin_nans families of functions,
23505 * math/libm-test.inc (acosh_test): Also test with qNaN input.
23506 (sqrt_test): Remove duplicate test with qNaN input.
23507 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23508 (round_test, signbit_test, significand_test): Note missing +/-Inf
23509 as well as qNaN tests.
23511 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23512 qNaN_var. Fix a few strings, too.
23513 * math/libm-test.inc (nan_value): Rename to qnan_value.
23514 * math/gen-libm-test.pl (%beautify): Adjust to that.
23515 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23516 * math/test-misc.c (main): Likewise.
23517 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23518 to __qnan_bytes, and __qnan_union, respectively.
23519 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23521 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23522 and lqnanval, respectively.
23523 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23524 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23525 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23526 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23528 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23529 * math/test-misc.c (main) [__x86_64__]: Enable test for long
23532 * math/test-misc.c (main): Fix copy'n'pastos.
23533 * misc/tst-efgcvt.c (special): Likewise.
23535 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23536 Remove declarations.
23538 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23540 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23541 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23542 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23543 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23545 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23547 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23548 macro to return vdso values correctly in IFUNC implementations.
23549 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23550 Optimization by using IFUNC.
23552 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23553 Richard Henderson <rth@redhat.com>
23554 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23556 * Makefile.in (bench): New target.
23557 * NEWS: Mention the benchmark framework.
23558 * Rules (bench): Likewise.
23559 (binaries-bench): Generate binaries for functions to
23561 * benchtests/Makefile: New makefile for benchmark tests.
23562 * benchtests/bench-skeleton.c: New skeleton file for benchmark
23564 * benchtests/exp-inputs: New input file for EXP function.
23565 * benchtests/pow-inputs: New input file for POW function.
23566 * scripts/bench.pl: New script to generate source files for
23567 benchmark programs.
23569 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23571 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23572 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23573 computations on mantissa. Use macros for rounding and
23575 (denorm): Likewise.
23576 (__dbl_mp): Likewise.
23577 (add_magnitudes): Likewise.
23578 (sub_magnitudes): Likewise.
23581 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23582 powers of two in terms of TWOPOW macro.
23583 (mp_no): Make type of mantissa as MANTISSA_T.
23584 [!RADIXI]: Define RADIXI.
23585 [!TWO52]: Define TWO52.
23586 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23588 * manual/nptl.texi (cindex): Modify threads to pthreads.
23590 2013-03-15 Joseph Myers <joseph@codesourcery.com>
23592 * sysdeps/x86_64/preconfigure: Regenerated.
23594 2013-03-14 Joseph Myers <joseph@codesourcery.com>
23597 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23599 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23600 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23602 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23603 * math/libm-test.inc (j0_test): Do not allow one spurious
23604 underflow exception.
23605 (y1_test): Likewise.
23607 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23609 * manual/Makefile (chapters): Add nptl.
23610 * manual/debug.texi (Debugging Support): Add link to Threads
23612 * manual/nptl.texi: New file.
23614 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23616 2013-03-14 Petr Baudis <pasky@ucw.cz>
23618 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23619 for non-NULL pointer before the memory validity test. Pointed
23620 out by Holger Brunck <holger.brunck@keymile.com>.
23622 2013-03-13 Andreas Schwab <schwab@suse.de>
23624 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23627 2013-03-13 Joseph Myers <joseph@codesourcery.com>
23629 * timezone/zic.c: Update from tzcode 2013b.
23631 2013-03-12 Carlos O'Donell <carlos@redhat.com>
23633 * manual/install.texi (Configuring and compiling):
23634 Mention i686 and i586.
23635 * INSTALL: Regenerate.
23637 2013-03-12 Roland McGrath <roland@hack.frob.com>
23639 * sysdeps/init_array/elf-init.c: New file.
23641 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23642 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23644 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23645 __gmon_start__ as global, but as static with a .preinit_array pointer.
23646 * sysdeps/init_array/gmon-start.c: New file. Use that.
23647 * sysdeps/init_array/crti.S: New file, empty except for comments.
23648 * sysdeps/init_array/crtn.S: Likewise.
23650 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
23652 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23654 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23655 Remove Prefer_SSE_for_memop.
23656 * sysdeps/x86_64/multiarch/init-arch.h: Remove
23657 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23658 HAS_PREFER_SSE_FOR_MEMOP.
23659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23661 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23662 Remove bzero, memset ifunc support.
23663 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23664 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23665 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23666 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23668 2013-03-11 Andreas Schwab <schwab@suse.de>
23671 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23673 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23674 (GLIBC_2.16): Remove pthread_atfork.
23676 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23678 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23679 (ptestcases.h): Likewise.
23681 2013-03-08 Roland McGrath <roland@hack.frob.com>
23683 * Makeconfig ($(common-objpfx)config.status): Depend on
23684 sysdeps/*/preconfigure{,.in} too.
23686 2013-03-08 Joseph Myers <joseph@codesourcery.com>
23688 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23689 (__free_hook): Use void * instead of __malloc_ptr_t.
23690 (__malloc_hook): Likewise.
23691 (__realloc_hook): Likewise.
23692 (__memalign_hook): Likewise.
23693 (__after_morecore_hook): Likewise.
23694 * malloc/arena.c (save_malloc_hook): Likewise.
23695 (save_free_hook): Likewise.
23696 * malloc/hooks.c (malloc_hook_ini): Likewise.
23697 (realloc_hook_ini): Likewise.
23698 (memalign_hook_ini): Likewise.
23699 * malloc/malloc.c (malloc_hook_ini): Likewise.
23700 (realloc_hook_ini): Likewise.
23701 (memalign_hook_ini): Likewise.
23702 (__free_hook): Likewise.
23703 (__malloc_hook): Likewise.
23704 (__realloc_hook): Likewise.
23705 (__memalign_hook): Likewise.
23706 (__libc_malloc): Likewise.
23707 (__libc_free): Likewise.
23708 (__libc_realloc): Likewise.
23709 (__libc_memalign): Likewise.
23710 (__libc_valloc): Likewise.
23711 (__libc_pvalloc): Likewise.
23712 (__libc_calloc): Likewise.
23713 (__posix_memalign): Likewise.
23714 * malloc/morecore.c (__sbrk): Likewise.
23715 (__default_morecore): Likewise.
23717 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23719 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23720 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23721 __malloc_ptrdiff_t.
23723 * malloc/malloc.h (__malloc_size_t): Remove macro.
23724 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23726 (old_memalign_hook): Likewise.
23727 (old_realloc_hook): Likewise.
23728 (struct hdr): Likewise.
23730 (mallochook): Likewise.
23731 (memalignhook): Likewise.
23732 (reallochook): Likewise.
23733 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23734 (tr_old_realloc_hook): Likewise.
23735 (tr_old_memalign_hook): Likewise.
23736 (tr_mallochook): Likewise.
23737 (tr_reallochook): Likewise.
23738 (tr_memalignhook): Likewise.
23740 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23742 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23743 default_ldbl_pack and using as default implementation.
23744 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23746 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23747 redundant definition.
23748 (ldbl_insert_mantissa): Likewise.
23749 (ldbl_canonicalize): Likewise.
23750 (ldbl_nearbyint): Likewise.
23751 (ldbl_pack): Rename to ldbl_pack_ppc.
23752 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23753 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23754 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23756 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23758 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23759 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23760 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23761 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23762 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23763 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23764 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23765 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23767 2013-03-07 Andreas Jaeger <aj@suse.de>
23769 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23772 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23774 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23775 Include mpa.h and declare __MPEXP.
23776 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23777 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23778 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23779 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23780 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23781 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23782 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23784 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23785 (__slowpow): Use long double EXPL and LOGL functions to
23787 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23788 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23789 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23790 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23791 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23792 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23794 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23795 intermediate variable to calculate exponent.
23797 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23801 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23802 [!NO__SQR]: Define __sqr.
23803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23804 and NO__SQR. Remove all code except __mul and __sqr. Include
23805 sysdeps/ieee754/dbl-64/mpa.c.
23806 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23809 * posix/Makefile (tests): Add tst-pathconf.
23810 * posix/tst-pathconf.c: New test case.
23811 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23813 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23815 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
23817 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23819 2013-03-06 Andreas Jaeger <aj@suse.de>
23821 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23822 definition via __MAP_ANONYMOUS.
23824 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23825 it's not part of Linux headers.
23827 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23828 (MAP_HUGE_MASK): Define.
23830 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23832 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23833 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23835 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23836 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23838 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23839 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23841 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23843 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23844 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23845 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23846 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23847 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23848 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23850 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23853 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23854 Handle f2fs and efivarfs.
23856 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23859 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23860 (EFIVARFS_MAGIC): Add.
23861 (F2FS_LINK_MAX): Add.
23863 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23865 * stdio-common/vfprintf.c: Replace __builtin_expect with
23868 2013-03-06 Joseph Myers <joseph@codesourcery.com>
23871 * sysdeps/generic/bp-sym.h: Remove file.
23872 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23873 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23874 <bp-sym.h> and <bp-asm.h>.
23875 (__longjmp): Don't use BP_SYM.
23876 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23878 (memcpy): Don't use BP_SYM.
23879 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23880 <bp-sym.h> and <bp-asm.h>.
23881 (memcpy): Don't use BP_SYM.
23882 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23884 (memcpy): Don't use BP_SYM.
23885 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23887 (memset): Don't use BP_SYM.
23888 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23889 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23890 (__bzero): Don't use BP_SYM.
23891 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23892 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23893 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23894 <bp-sym.h> and <bp-asm.h>.
23895 (memcmp): Don't use BP_SYM. Remove comment about bounded
23897 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23898 <bp-sym.h> and <bp-asm.h>.
23899 (memcpy): Don't use BP_SYM.
23900 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23901 <bp-sym.h> and <bp-asm.h>.
23902 (memset): Don't use BP_SYM.
23903 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23904 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23905 (__bzero): Don't use BP_SYM.
23906 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23907 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23908 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23909 <bp-sym.h> and <bp-asm.h>.
23910 (strncmp): Don't use BP_SYM. Remove comment about bounded
23912 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23913 <bp-sym.h> and <bp-asm.h>.
23914 (memcpy): Don't use BP_SYM.
23915 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23916 <bp-sym.h> and <bp-asm.h>.
23917 (memset): Don't use BP_SYM.
23918 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23919 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23920 (__bzero): Don't use BP_SYM.
23921 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23922 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23923 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23924 <bp-sym.h> and <bp-asm.h>.
23925 (__memchr): Don't use BP_SYM.
23926 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23927 <bp-sym.h> and <bp-asm.h>.
23928 (memcmp): Don't use BP_SYM. Remove comment about bounded
23930 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23931 <bp-sym.h> and <bp-asm.h>.
23932 (memcpy): Don't use BP_SYM.
23933 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23934 <bp-sym.h> and <bp-asm.h>.
23935 (__mempcpy): Don't use BP_SYM.
23936 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23937 <bp-sym.h> and <bp-asm.h>.
23938 (__memrchr): Don't use BP_SYM.
23939 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23940 <bp-sym.h> and <bp-asm.h>.
23941 (memset): Don't use BP_SYM.
23942 (__bzero): Likewise.
23943 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23944 <bp-sym.h> and <bp-asm.h>.
23945 (__rawmemchr): Don't use BP_SYM.
23946 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23947 <bp-sym.h> and <bp-asm.h>.
23948 (__STRCMP): Don't use BP_SYM.
23949 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23950 <bp-sym.h> and <bp-asm.h>.
23951 (strchr): Don't use BP_SYM.
23952 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23953 <bp-sym.h> and <bp-asm.h>.
23954 (__strchrnul): Don't use BP_SYM.
23955 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23956 <bp-sym.h> and <bp-asm.h>.
23957 (strlen): Don't use BP_SYM.
23958 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23959 <bp-sym.h> and <bp-asm.h>.
23960 (strncmp): Don't use BP_SYM. Remove comment about bounded
23962 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23963 <bp-sym.h> and <bp-asm.h>.
23964 (__strnlen): Don't use BP_SYM.
23965 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23966 <bp-sym.h> and <bp-asm.h>.
23967 (__GI__setjmp): Don't use BP_SYM.
23968 (_setjmp): Likewise.
23969 (__sigsetjmp): Likewise.
23970 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23971 (L(start_addresses)): Don't use BP_SYM.
23972 (_start): Likewise.
23973 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23975 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23976 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23977 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23978 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23979 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23981 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23982 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23983 about bounded pointers.
23984 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23985 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23986 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23988 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23989 about bounded pointers. Remove GKM FIXME comments.
23990 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23991 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23993 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23994 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23995 Remove GKM FIXME comments.
23996 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23997 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23998 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24000 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24001 about bounded pointers. Remove GKM FIXME comment.
24002 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24004 (strncmp): Don't use BP_SYM. Remove comment about bounded
24006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24007 <bp-sym.h> and <bp-asm.h>.
24008 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24010 <bp-sym.h> and <bp-asm.h>.
24011 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24014 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24016 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24019 2013-03-05 David S. Miller <davem@davemloft.net>
24021 * po/es.po: Update from translation team.
24023 2013-03-05 Andreas Jaeger <aj@suse.de>
24025 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24026 <bits/mman-linux.h>.
24027 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24029 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24030 <bits/mman-linux.h> to end of file.
24031 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24033 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24034 <bits/mman-linux.h> to end of file.
24035 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24037 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24038 <bits/mman-linux.h> to end of file.
24040 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24041 (MCL_CURRENT, MCL_FUTURE): Define here.
24043 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24046 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24048 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24050 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24052 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24053 fourth parameter needed for rt_sigprocmask syscall.
24054 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24055 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24056 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24057 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24058 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24059 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24061 2013-03-04 Joseph Myers <joseph@codesourcery.com>
24064 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24065 comment about bounded pointers.
24066 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24067 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24069 2013-03-04 Andreas Jaeger <aj@suse.de>
24071 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24072 common definitions.
24074 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24075 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24076 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24077 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24078 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24079 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24081 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24084 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24085 __ieee754_sqrl instead of __sqrl.
24087 2013-03-01 Joseph Myers <joseph@codesourcery.com>
24089 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24090 * sysdeps/powerpc/fpu_control.h: ... here.
24091 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24092 * sysdeps/powerpc/bits/fenvinline.h: ... here.
24093 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24094 * sysdeps/powerpc/bits/mathinline.h: ... here.
24096 2013-03-01 Roland McGrath <roland@hack.frob.com>
24098 * elf/dl-hwcaps.c (_dl_important_hwcaps):
24099 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24100 to just [NEED_DL_SYSINFO_DSO].
24101 * elf/dl-support.c: Likewise.
24102 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24103 * elf/rtld.c (dl_main): Likewise.
24104 * elf/setup-vdso.h (setup_vdso): Likewise.
24105 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24106 * sysdeps/unix/sysv/linux/dl-sysdep.c
24107 (_dl_discover_osversion): Likewise.
24109 2013-03-01 Carlos O'Donell <carlos@redhat.com>
24111 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24112 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24114 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
24116 * NEWS: Mention libm performance improvements and non-x86 PI
24119 * csu/libc-start.c (__pthread_initialize_minimal): Change
24120 function arguments.
24121 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24123 2013-02-28 Joseph Myers <joseph@codesourcery.com>
24126 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24127 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24128 <bp-sym.h> and <bp-asm.h>.
24129 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24130 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24132 (memcpy): Don't use BP_SYM.
24133 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24135 (__mpn_add_n): Don't use BP_SYM.
24136 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24137 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24139 (__mpn_addmul_1): Don't use BP_SYM.
24140 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24141 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24143 (_setjmp): Don't use BP_SYM.
24144 (__novmx_setjmp): Likewise.
24145 (__GI__setjmp): Likewise.
24146 (__vmx_setjmp): Likewise.
24147 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24149 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24150 (__bzero): Don't use BP_SYM.
24151 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24152 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24153 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24154 <bp-sym.h> and <bp-asm.h>.
24155 (memcpy): Don't use BP_SYM.
24156 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24157 <bp-sym.h> and <bp-asm.h>.
24158 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24159 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24160 <bp-sym.h> and <bp-asm.h>.
24161 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24162 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24164 (__mpn_lshift): Don't use BP_SYM.
24165 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24166 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24168 (memset): Don't use BP_SYM.
24169 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24170 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24171 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24173 (__mpn_mul_1): Don't use BP_SYM.
24174 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24175 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24176 <bp-sym.h> and <bp-asm.h>.
24177 (memcmp): Don't use BP_SYM.
24178 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24179 <bp-sym.h> and <bp-asm.h>.
24180 (memcpy): Don't use BP_SYM.
24181 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24182 <bp-sym.h> and <bp-asm.h>.
24183 (memset): Don't use BP_SYM.
24184 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24185 <bp-sym.h> and <bp-asm.h>.
24186 (strncmp): Don't use BP_SYM.
24187 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24188 <bp-sym.h> and <bp-asm.h>.
24189 (memcpy): Don't use BP_SYM.
24190 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24191 <bp-sym.h> and <bp-asm.h>.
24192 (memset): Don't use BP_SYM.
24193 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24194 <bp-sym.h> and <bp-asm.h>.
24195 (__memchr): Don't use BP_SYM.
24196 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24197 <bp-sym.h> and <bp-asm.h>.
24198 (memcmp): Don't use BP_SYM.
24199 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24200 <bp-sym.h> and <bp-asm.h>.
24201 (memcpy): Don't use BP_SYM.
24202 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24203 <bp-sym.h> and <bp-asm.h>.
24204 (__mempcpy): Don't use BP_SYM.
24205 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24206 <bp-sym.h> and <bp-asm.h>.
24207 (__memrchr): Don't use BP_SYM.
24208 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24209 <bp-sym.h> and <bp-asm.h>.
24210 (memset): Don't use BP_SYM.
24211 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24212 <bp-sym.h> and <bp-asm.h>.
24213 (__rawmemchr): Don't use BP_SYM.
24214 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24215 <bp-sym.h> and <bp-asm.h>.
24216 (__STRCMP): Don't use BP_SYM.
24217 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24218 <bp-sym.h> and <bp-asm.h>.
24219 (strchr): Don't use BP_SYM.
24220 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24221 <bp-sym.h> and <bp-asm.h>.
24222 (__strchrnul): Don't use BP_SYM.
24223 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24224 <bp-sym.h> and <bp-asm.h>.
24225 (strlen): Don't use BP_SYM.
24226 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24227 <bp-sym.h> and <bp-asm.h>.
24228 (strncmp): Don't use BP_SYM.
24229 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24230 <bp-sym.h> and <bp-asm.h>.
24231 (__strnlen): Don't use BP_SYM.
24232 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24234 (__mpn_rshift): Don't use BP_SYM.
24235 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24236 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24237 <bp-sym.h> and <bp-asm.h>.
24238 (__sigsetjmp): Don't use BP_SYM.
24239 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24240 (L(start_addresses)): Don't use BP_SYM.
24241 (_start): Likewise.
24242 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24244 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24245 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24246 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24247 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24249 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24250 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24251 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24252 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24254 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24256 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24257 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24259 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
24261 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24262 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24263 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24265 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24267 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24269 (strncmp): Don't use BP_SYM,
24270 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24272 (__mpn_sub_n): Don't use BP_SYM.
24273 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24274 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24276 (__mpn_submul_1): Don't use BP_SYM.
24277 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24279 <bp-sym.h> and <bp-asm.h>.
24280 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24282 <bp-sym.h> and <bp-asm.h>.
24283 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24286 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24288 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24289 Use ZK to minimize writes to Z.
24290 (sub_magnitudes): Simplify code a bit.
24291 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24292 Use ZK to minimize writes to Z.
24293 (sub_magnitudes): Simplify code a bit.
24295 2013-02-27 Roland McGrath <roland@hack.frob.com>
24297 * csu/gmon-start.c: Add special exception to license text.
24299 2013-02-27 Richard Henderson <rth@redhat.com>
24301 * scripts/config.guess: Update from config.git.
24302 * scripts/config.sub: Likewise.
24304 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24306 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24308 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24310 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24312 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24314 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24316 2013-02-26 Roland McGrath <roland@hack.frob.com>
24318 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24319 [$(build-shared = yes].
24321 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24323 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24324 (__mul): Reduce iterations for calculating mantissa.
24326 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24328 (__mpranred): Likewise.
24331 * malloc/memusagestat.c (main): Draw graphs for heap and stack
24332 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24334 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
24336 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24337 Define __attribute__.
24339 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24341 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24343 * posix/regex_internal.h (__attribute): Remove.
24344 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24345 (re_string_context_at): Likewise.
24346 (bitset_not): Use __attribute__ and mark function as possibly
24348 (bitset_merge): Likewise.
24349 (bitset_mask): Likewise.
24350 (re_string_char_size_at): Likewise.
24351 (re_string_wchar_at): Likewise.
24352 (re_string_elem_size_at): Likewise.
24354 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24356 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24360 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24364 (denorm): Likewise.
24365 (__dbl_mp): Likewise.
24366 (add_magnitudes): Likewise.
24367 (sub_magnitudes): Likewise.
24371 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24374 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24377 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24380 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24381 up changes with default code.
24382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24385 2013-02-24 Allan McRae <allan@archlinux.org>
24387 * manual/socket.texi (The Internet Namespace): Order menu items
24388 to match that in the file.
24390 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24391 node listing of the info page menu.
24393 2013-02-21 Joseph Myers <joseph@codesourcery.com>
24396 * sysdeps/i386/bp-asm.h: Remove file.
24397 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24398 (PARMS): Do not use macros from bp-asm.h.
24402 (__mpn_add_n): Do not use BP_SYM
24403 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24405 (PARMS): Do not use macros from bp-asm.h.
24408 (__mpn_addmul_1): Do not use BP_SYM
24409 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24411 (PARMS): Do not use macros from bp-asm.h.
24412 (SIGMSK): Likewise.
24413 (_setjmp): Likewise. Do not use BP_SYM.
24414 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24416 (PARMS): Do not use macros from bp-asm.h.
24417 (SIGMSK): Likewise.
24418 (setjmp): Likewise. Do not use BP_SYM.
24419 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24421 (PARMS): Do not use macros from bp-asm.h.
24422 (__frexp): Do not use BP_SYM.
24424 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24426 (PARMS): Do not use macros from bp-asm.h.
24427 (__frexpf): Do not use BP_SYM.
24428 (frexpf): Likewise.
24429 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24431 (PARMS): Do not use macros from bp-asm.h.
24432 (__frexpl): Do not use BP_SYM.
24433 (frexpl): Likewise.
24434 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24436 (PARMS): Do not use macros from bp-asm.h.
24437 (__remquo): Do not use BP_SYM.
24438 (remquo): Likewise.
24439 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24441 (PARMS): Do not use macros from bp-asm.h.
24442 (__remquof): Do not use BP_SYM.
24443 (remquof): Likewise.
24444 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24446 (PARMS): Do not use macros from bp-asm.h.
24447 (__remquol): Do not use BP_SYM.
24448 (remquol): Likewise.
24449 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24451 (PARMS): Do not use macros from bp-asm.h.
24454 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
24455 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24457 (PARMS): Do not use macros from bp-asm.h.
24458 (strlen): Do not use BP_SYM.
24459 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24461 (PARMS): Do not use macros from bp-asm.h.
24465 (__mpn_add_n): Do not use BP_SYM.
24466 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24468 (PARMS): Do not use macros from bp-asm.h.
24471 (__mpn_addmul_1): Do not use BP_SYM.
24472 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24475 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24477 (PARMS): Do not use macros from bp-asm.h.
24480 (__mpn_lshift): Do not use BP_SYM.
24481 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24483 (PARMS): Do not use macros from bp-asm.h.
24487 (memcpy): Likewise. Do not use BP_SYM.
24488 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24489 libc_hidden_def and weak_alias.
24490 (mempcpy): Do not use BP_SYM in weak_alias.
24491 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24493 (PARMS): Do not use macros from bp-asm.h.
24496 [!BZERO_P] (CHR): Likewise.
24497 (memset): Likewise. Do not use BP_SYM.
24498 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24500 (PARMS): Do not use macros from bp-asm.h.
24503 (__mpn_mul_1): Do not use BP_SYM.
24504 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24506 (PARMS): Do not use macros from bp-asm.h.
24509 (__mpn_rshift): Do not use BP_SYM.
24510 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24512 (PARMS): Do not use macros from bp-asm.h.
24515 (strchr): Likewise. Do not use BP_SYM.
24516 (index): Do not use BP_SYM in weak_alias.
24517 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24519 (PARMS): Do not use macros from bp-asm.h.
24522 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
24523 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24525 (PARMS): Do not use macros from bp-asm.h.
24526 (strlen): Do not use BP_SYM.
24527 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24529 (PARMS): Do not use macros from bp-asm.h.
24533 (__mpn_sub_n): Do not use BP_SYM.
24534 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24536 (PARMS): Do not use macros from bp-asm.h.
24539 (__mpn_submul_1): Do not use BP_SYM.
24540 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24542 (PARMS): Do not use macros from bp-asm.h.
24546 (__mpn_add_n): Do not use BP_SYM.
24547 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24550 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24552 (PARMS): Do not use macros from bp-asm.h.
24555 (memcmp): Do not use BP_SYM.
24556 (bcmp): Do not use BP_SYM in weak_alias.
24557 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24559 (PARMS): Do not use macros from bp-asm.h.
24563 (memcpy): Likewise. Do not use BP_SYM.
24564 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24566 (PARMS): Do not use macros from bp-asm.h.
24570 (memmove): Likewise. Do not use BP_SYM.
24571 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24573 (PARMS): Do not use macros from bp-asm.h.
24577 (__mempcpy): Likewise. Do not use BP_SYM.
24578 (mempcpy): Do not use BP_SYM in weak_alias.
24579 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24581 (PARMS): Do not use macros from bp-asm.h.
24584 [!BZERO_P] (CHR): Likewise.
24585 (memset): Likewise. Do not use BP_SYM.
24586 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24588 (PARMS): Do not use macros from bp-asm.h.
24590 (strcmp): Do not use BP_SYM.
24591 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24593 (PARMS): Do not use macros from bp-asm.h.
24596 [USE_AS_STRTOK_R] (SAVE): Likewise.
24597 (FUNCTION): Likewise. Do not use BP_SYM.
24598 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24600 (strtok_r): Likewise.
24601 (__GI___strtok_r): Likewise.
24602 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24603 (PARMS): Do not use macros from bp-asm.h.
24606 (__mpn_lshift): Do not use BP_SYM.
24607 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24608 (PARMS): Do not use macros from bp-asm.h.
24611 (__memchr): Do not use BP_SYM.
24612 (memchr): Do not use BP_SYM in weak_alias.
24613 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24614 (PARMS): Do not use macros from bp-asm.h.
24617 (memcmp): Do not use BP_SYM.
24618 (bcmp): Do not use BP_SYM in weak_alias.
24619 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24620 (PARMS): Do not use macros from bp-asm.h.
24623 (__mpn_mul_1): Do not use BP_SYM.
24624 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24626 (PARMS): Do not use macros from bp-asm.h.
24629 (__rawmemchr): Do not use BP_SYM.
24630 (rawmemchr): Do not use BP_SYM in weak_alias.
24631 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24632 (PARMS): Do not use macros from bp-asm.h.
24635 (__mpn_rshift): Do not use BP_SYM.
24636 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24637 (PARMS): Do not use macros from bp-asm.h.
24638 (SIGMSK): Likewise.
24639 (__sigsetjmp): Likewise. Do not use BP_SYM.
24640 * sysdeps/i386/start.S: Do not include "bp-sym.h".
24641 (_start): Do not use BP_SYM.
24642 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24643 (PARMS): Do not use macros from bp-asm.h.
24646 (__stpcpy): Likewise. Do not use BP_SYM.
24647 (stpcpy): Do not use BP_SYM in weak_alias.
24648 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24650 (PARMS): Do not use macros from bp-asm.h.
24654 (__stpncpy): Likewise. Do not use BP_SYM.
24655 (stpncpy): Do not use BP_SYM in weak_alias.
24656 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24657 (PARMS): Do not use macros from bp-asm.h.
24660 (strchr): Likewise. Do not use BP_SYM.
24661 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24663 (PARMS): Do not use macros from bp-asm.h.
24666 (__strchrnul): Likewise. Do not use BP_SYM.
24667 (strchrnul): Do not use BP_SYM in weak_alias.
24668 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24670 (PARMS): Do not use macros from bp-asm.h.
24672 (strcspn): Do not use BP_SYM.
24673 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24675 (PARMS): Do not use macros from bp-asm.h.
24678 (strpbrk): Likewise. Do not use BP_SYM.
24679 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24681 (PARMS): Do not use macros from bp-asm.h.
24684 (strrchr): Likewise. Do not use BP_SYM.
24685 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24686 (PARMS): Do not use macros from bp-asm.h.
24688 (strspn): Do not use BP_SYM.
24689 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24690 (PARMS): Do not use macros from bp-asm.h.
24694 (FUNCTION): Likewise. Do not use BP_SYM.
24695 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24697 (strtok_r): Likewise.
24698 (__GI___strtok_r): Likewise.
24699 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24700 (PARMS): Do not use macros from bp-asm.h.
24704 (__mpn_sub_n): Do not use BP_SYM.
24705 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24707 (PARMS): Do not use macros from bp-asm.h.
24710 (__mpn_submul_1): Do not use BP_SYM.
24711 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24713 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24715 (PARMS): Do not use macros from bp-asm.h.
24720 (__clone): Do not use BP_SYM.
24721 (clone): Do not use BP_SYM in weak_alias.
24722 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24724 (PARMS): Do not use macros from bp-asm.h.
24726 (__mmap64): Do not use BP_SYM.
24727 (mmap64): Do not use BP_SYM in weak_alias.
24728 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24729 <bp-sym.h> and <bp-asm.h>.
24730 (PARMS): Do not use macros from bp-asm.h.
24731 (__posix_fadvise64_l64): Do not use BP_SYM.
24732 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24733 (PARMS): Do not use macros from bp-asm.h.
24735 (semtimedop): Do not use BP_SYM.
24736 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24739 2013-02-21 Allan McRae <allan@archlinux.org>
24741 * manual/message.texi (Charset conversion in gettext):
24742 Move @end statement to beginning of line.
24744 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24748 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24751 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24752 (denorm): Likewise.
24753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24754 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24756 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24758 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24759 tail-call to the resolved function if pltexit isn't needed.
24761 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24763 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24764 or Y being zero as being unlikely.
24765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24768 2013-02-20 Carlos O'Donell <carlos@redhat.com>
24770 * manual/nss.texi (System Databases and Name Service Switch):
24771 Remove frobnicate @pxref.
24773 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24775 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24776 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24778 2013-02-20 Petr Machata <pmachata@redhat.com>
24780 * elf/elf.h (R_ARM_TARGET1): New macro.
24781 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24782 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24783 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24784 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24785 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24786 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24787 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24788 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24789 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24790 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24791 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24792 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24793 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24794 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24795 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24796 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24797 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24798 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24799 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24800 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24801 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24802 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24803 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24804 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24805 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24806 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24807 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24808 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24809 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24810 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24811 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24812 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24813 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24814 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24815 (R_ARM_THM_GOT_BREL12): Likewise.
24816 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24817 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24818 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24819 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24820 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24821 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24822 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24823 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24824 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24826 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24828 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24829 __attribute_used__ to __attribute__ ((unused)).
24831 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24833 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24835 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24836 comment formatting.
24837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24839 2013-02-19 Joseph Myers <joseph@codesourcery.com>
24842 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24844 (ENTER): Remove both macro definitions.
24846 (CHECK_BOUNDS_LOW): Likewise.
24847 (CHECK_BOUNDS_HIGH): Likewise.
24848 (CHECK_BOUNDS_BOTH): Likewise.
24849 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24850 (RETURN_BOUNDED_POINTER): Likewise.
24851 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24852 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24853 (POP_ERRNO_LOCATION_RETURN): Likewise.
24854 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24855 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24856 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24858 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24859 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24860 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24861 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24862 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24863 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24864 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24865 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24866 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24867 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24868 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24869 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24870 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24871 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24873 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24874 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24876 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24877 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24878 * sysdeps/i386/i586/memset.S (memset): Likewise.
24879 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24880 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24881 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24883 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24884 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24885 Change uses of L(2) to L(out).
24886 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24887 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24888 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24889 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24890 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24892 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24893 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24895 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24896 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24897 (RETURN): Do not use macro LEAVE.
24898 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24899 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24900 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24901 * sysdeps/i386/i686/memset.S (memset): Likewise.
24902 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24903 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24904 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24905 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24907 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24908 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24909 L(1_2) and L(1_3) into L(1).
24910 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24911 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24912 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24913 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24914 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24915 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24916 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24917 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24918 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24920 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24921 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24922 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24923 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24924 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24925 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24926 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24927 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24928 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24929 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24930 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24931 * sysdeps/i386/strspn.S (strspn): Likewise.
24932 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24934 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24935 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24936 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24937 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24938 L(1_3) into L(1_1).
24939 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24940 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24941 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24943 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24945 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24947 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24950 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24952 * math/atest-exp.c (exp_mpn): Remove ROUND.
24953 * math/atest-exp2.c (exp_mpn): Likewise.
24954 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24956 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24957 * stdlib/tst-tls-atexit-lib.c: Likewise.
24958 * stdlib/tst-tls-atexit.c: Likewise.
24960 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24962 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24963 and __attribute_alloc_size__.
24965 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24967 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24968 __attribute_alloc_size__.
24969 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24970 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24972 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24974 * include/programs/xmalloc.h: New file.
24975 * catgets/gencat.c: Include it.
24976 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24977 * elf/pldd.c: Likewise.
24978 * iconv/iconv_charmap.c: Likewise.
24979 * iconv/iconvconfig.c: Likewise.
24980 * iconv/strtab.c: Likewise.
24981 * locale/programs/locale.c: Likewise.
24982 * locale/programs/localedef.h: Likewise.
24983 * locale/programs/simple-hash.c: Likewise.
24984 * nscd/nscd.h: Likewise.
24985 * nss/makedb.c: Likewise.
24986 * sysdeps/generic/ldconfig.h: Likewise.
24988 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24990 * Versions.def: Add GLIBC_2.18.
24991 * include/link.h (struct link_map): New member l_tls_dtor_count.
24992 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24993 (__call_tls_dtors): Likewise.
24994 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24995 __cxa_thread_atexit_impl.
24996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25004 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25010 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25012 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25013 (tests): Add test case tst-tls-atexit.
25014 (modules-names): Add shared library for tst-tls-atexit.
25015 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
25016 (GLIBC_PRIVATE): Add __call_tls_dtors.
25017 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25019 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25020 * stdlib/tst-tls-atexit.c: New test case.
25021 * stdlib/tst-tls-atexit-lib.c: New test case.
25023 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
25025 * elf/Versions (ld): Add _dl_find_dso_for_object.
25026 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25027 * elf/dl-open.c (_dl_find_dso_for_object): New function.
25028 (dl_open_worker): Use _dl_find_dso_for_object.
25029 * elf/dl-sym.c (do_sym): Likewise.
25030 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25032 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25034 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25035 Syntactic changes only.
25036 (_dl_runtime_profile): Do a tail-call to the resolved function.
25038 2013-02-17 Joseph Myers <joseph@codesourcery.com>
25041 * sysdeps/x86_64/bp-asm.h: Remove file.
25042 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25043 <bp-sym.h> and <bp-asm.h>.
25044 (__clone): Do not use BP_SYM.
25045 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25046 <bp-sym.h> and <bp-asm.h>.
25047 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25048 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25050 (_setjmp): Do not use BP_SYM.
25051 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25053 (setjmp): Do not use BP_SYM.
25054 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25056 (mempcpy): Do not use BP_SYM in weak_alias.
25057 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25059 (strchr): Do not use BP_SYM.
25060 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25062 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25063 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25064 (_start): Do not use BP_SYM.
25065 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25067 (strcat): Do not use BP_SYM.
25068 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25070 (STRCMP): Do not use BP_SYM.
25071 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25073 (STRCPY): Do not use BP_SYM.
25074 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25076 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25078 (FUNCTION): Do not use BP_SYM.
25079 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25081 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25083 2013-02-17 Andreas Jaeger <aj@suse.de>
25085 * time/Versions: Sort entries.
25086 * string/Versions: Likewise.
25087 * resolv/Versions: Likewise.
25088 * posix/Versions: Likewise.
25089 * iconv/Versions: Likewise.
25090 * elf/Versions: Likewise.
25091 * wcsmbs/Versions: Likewise.
25093 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25095 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25096 loop termination condition.
25098 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25099 variable to calculate EZ.
25102 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25103 the lower precision input.
25105 2013-02-15 Joseph Myers <joseph@codesourcery.com>
25108 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25109 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25110 (run-via-rtld-prefix): Do not handle %-bp tests.
25111 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25112 (all-object-suffixes): Remove .ob.
25113 (bppfx): Remove variable.
25114 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25115 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25116 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25117 [$(build-bounded) = yes] (libtype.ob): Likewise.
25118 * Makerules (elide-routines.ob): Remove variable.
25119 (do-tests-clean): Do not handle *-bp.out.
25120 (common-mostlyclean): Do not handle *-bp and *-bp.out.
25121 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25122 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25123 (tests): Do not include $(tests-bp.out).
25124 (xtests): Do not include $(xtests-bp.out).
25125 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25126 [$(build-bounded) = yes] ($(addprefix
25127 $(objpfx),$(binaries-bounded))): Remove rule.
25128 ($(objpfx)%-bp.out): Remove rule.
25129 * config.make.in (build-bounded): Remove variable.
25130 * crypt/Makefile [$(build-bounded) = yes]
25131 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25132 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25133 append to variable.
25134 [$(build-bounded) = yes] (install-lib): Likewise.
25135 [$(build-bounded) = yes] (generated): Likewise.
25136 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25138 * intl/Makefile [$(build-bounded) = yes]
25139 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25140 * math/Makefile [$(build-bounded) = yes]
25141 ($(tests:%=$(objpfx)%-bp): Likewise.
25142 * misc/Makefile [$(build-bounded) = yes]
25143 ($(objpfx)tst-tsearch-bp): Likewise.
25144 * nptl/Makeconfig (bounded-thread-library): Remove variable.
25145 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25147 * string/Makefile (o-objects.ob): Remove variable.
25148 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25149 (CFLAGS-.ob): Remove variable.
25150 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25151 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25152 both definitions of variable.
25153 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25154 (ASFLAGS-.ob): Remove variable.
25156 2013-02-14 Joseph Myers <joseph@codesourcery.com>
25159 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25160 Remove __BOUNDED_POINTERS__ from condition.
25161 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25162 * string/bits/string2.h [!__NO_STRING_INLINES &&
25163 !__BOUNDED_POINTERS__]: Likewise.
25164 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25166 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25167 Remove conditional code.
25168 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25169 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25170 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25174 * csu/libc-start.c: Do not include <bp-sym.h>.
25175 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25176 * elf/dl-open.c: Do not include <bp-sym.h>.
25177 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25178 * math/fegetenv.c: Do not include <bp-sym.h>.
25179 (fegetenv): Do not use BP_SYM in versioned symbols.
25180 * nptl/sysdeps/pthread/bits/libc-lockP.h
25181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25184 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25186 (__pthread_mutex_destroy): Likewise.
25187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25188 (__pthread_mutex_lock): Likewise.
25189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25190 (__pthread_mutex_trylock): Likewise.
25191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25192 (__pthread_mutex_unlock): Likewise.
25193 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25194 (__pthread_mutexattr_init): Likewise.
25195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25196 (__pthread_mutexattr_destroy): Likewise.
25197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25198 (__pthread_mutexattr_settype): Likewise.
25199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25200 (__pthread_rwlock_init): Likewise.
25201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25202 (__pthread_rwlock_destroy): Likewise.
25203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25204 (__pthread_rwlock_rdlock): Likewise.
25205 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25206 (__pthread_rwlock_tryrdlock): Likewise.
25207 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25208 (__pthread_rwlock_wrlock): Likewise.
25209 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25210 (__pthread_rwlock_trywrlock): Likewise.
25211 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25212 (__pthread_rwlock_unlock): Likewise.
25213 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25214 (__pthread_key_create): Likewise.
25215 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25216 (__pthread_setspecific): Likewise.
25217 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25218 (__pthread_getspecific): Likewise.
25219 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25221 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25222 (_pthread_cleanup_push_defer): Likewise.
25223 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25224 (_pthread_cleanup_pop_restore): Likewise.
25225 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25226 (pthread_setcancelstate): Likewise.
25227 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25229 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25230 (memchr): Do not use BP_SYM in weak_alias.
25231 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25232 (fegetenv): Do not use BP_SYM in versioned symbols.
25233 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25234 (fesetenv): Do not use BP_SYM in versioned symbols.
25235 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25236 (feupdateenv): Do not use BP_SYM in versioned symbols.
25237 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25238 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25239 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25240 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25241 (open64): Do not use BP_SYM in weak_alias.
25242 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25243 (fegetenv): Do not use BP_SYM in versioned symbols.
25244 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25245 (fesetenv): Do not use BP_SYM in versioned symbols.
25246 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25247 (feupdateenv): Do not use BP_SYM in versioned symbols.
25248 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25249 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25250 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25251 (feraiseexcept): Do not use BP_SYM in versioned symbols.
25252 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25253 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25254 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25256 (__libc_start_main): Do not use BP_SYM.
25258 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25260 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25261 redundant return line.
25263 (denorm): Likewise.
25264 (dbl_mp): Likewise.
25265 (sub_magnitudes): Likewise.
25271 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25273 (denorm): Likewise.
25274 (dbl_mp): Likewise.
25275 (sub_magnitudes): Likewise.
25282 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25284 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25285 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25288 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25289 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25290 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25291 of __mul for squares.
25292 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25294 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25296 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25297 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25299 2013-02-13 Joseph Myers <joseph@codesourcery.com>
25302 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25304 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25305 prototype or function definition. Rename ubp_* variables and
25306 parameters. Remove argv definitions conditional on
25307 [__BOUNDED_POINTERS__].
25308 * debug/backtrace.c (__backtrace): Do not use __unbounded.
25309 * elf/dl-runtime.c (_dl_fixup): Likewise.
25310 * include/set-hooks.h (RUN_HOOK): Likewise.
25311 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25313 * string/strcpy.c (strcpy): Do not use __unbounded.
25314 * sysdeps/generic/frame.h (struct layout): Likewise.
25315 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25316 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25317 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25318 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25319 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25320 (__backtrace): Likewise.
25321 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25323 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25324 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25325 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25327 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25328 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25329 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25330 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25331 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25332 Do not use __unbounded.
25333 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25334 Rename __unboundedrlimits parameter to rlimits in prototype.
25335 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25336 Do not use __unbounded.
25337 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25338 not use __ptrvalue.
25339 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25340 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25341 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25342 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25343 __ptrvalue or __unbounded.
25344 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25345 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25347 (__new_msgctl): Do not use __ptrvalue.
25348 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25350 (__libc_msgrcv): Do not use __ptrvalue.
25351 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25352 startup_info): Do not use __unbounded.
25353 (__libc_start_main): Likewise. Rename ubp_* variables and
25354 parameters. Remove argv definitions conditional on
25355 [__BOUNDED_POINTERS__].
25356 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25358 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25360 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25362 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25364 (__new_shmctl): Do not use __ptrvalue.
25365 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25366 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25368 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25369 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25370 (__libc_sigaction): Likewise.
25371 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25372 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25374 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25376 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
25378 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25380 * string/mempcpy.c: Implement by calling memcpy.
25382 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25384 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25386 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25389 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25390 values in the mantissa.
25392 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25393 minimize writes to Z.
25394 (sub_magnitudes): Simplify code a bit.
25396 2013-02-12 Roland McGrath <roland@hack.frob.com>
25398 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25399 from the message. The linker prefixes all warnings with that already.
25401 2013-02-12 Andreas Schwab <schwab@suse.de>
25404 * posix/regexec.c (extend_buffers): Add parameter min_len.
25405 (check_matching): Pass minimum needed length.
25406 (clean_state_log_if_needed): Likewise.
25407 (get_subexp): Likewise.
25408 * posix/Makefile (tests): Add bug-regex34.
25409 (bug-regex34-ENV): Define.
25410 * posix/bug-regex34.c: New file.
25413 * posix/regcomp.c (parse_bracket_exp): When looking up collating
25414 elements compare against the byte sequence of it, not its name.
25415 * posix/Makefile (tests): Add bug-regex35.
25416 (bug-regex35-ENV): Define.
25417 * posix/bug-regex35.c: New file.
25419 2013-02-11 Tom de Vries <tom@codesourcery.com>
25421 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
25423 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25424 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25425 (CHECK_EOL): Add undef.
25427 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
25429 * bits/stdlib-bsearch.h: New file.
25430 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25431 * stdlib/stdlib.h: Likewise.
25433 2013-02-11 Roland McGrath <roland@hack.frob.com>
25435 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25436 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25438 * manual/search.texi (Array Search Function): Add missing const in
25440 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25441 declaration to use rlim_t.
25442 (Basic Scheduling Functions): Remove erroneous const from
25443 sched_getparam prototype. Remove erroneous * from
25444 sched_get_priority_max and sched_get_priority_min prototypes.
25445 (Resource Usage): Fix summary @comment on vtimes to refer to
25446 sys/vtimes.h rather than vtimes.h.
25447 Add missing *s in vtimes prototype.
25448 (Limits on Resources): Fix ulimit prototype to return long int.
25449 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25450 prototypes to use long int rather than double.
25451 (BSD Random): Fix initstate and setstate to use char *, not void *.
25452 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25453 prototype to make second argument 'struct aiocb64 *const[]'.
25454 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25455 (Status of AIO Operations): Remove erroneous const in aio_return and
25456 aio_return64 prototypes.
25457 (Synchronizing I/O): Fix sync prototype to return void.
25458 * manual/startup.texi (Suboptions): Remove an erroneous const in
25459 getsubopt prototype.
25460 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25461 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25462 use size_t rather than int.
25463 (Scanning All Users): Likewise for getpwent_r.
25464 (Setting Groups): Add missing const to setgroups prototype.
25465 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25466 * manual/socket.texi (Host Names): Fix gethostbyaddr and
25467 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25468 'const void *' rather than 'const char *'.
25469 (Host Address Functions): Likewise for inet_ntop.
25470 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25471 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25472 ssize_t for return value.
25473 (Sending Data): Likewise for send, sendto, sendmsg.
25474 (Socket Option Functions): Add a missing const in setsockopt prototype.
25475 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25476 use wchar_t for the argument.
25477 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25478 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25480 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25481 double/float/long double for second argument.
25482 Fix return types of significand, significandf, significandl.
25483 * manual/filesys.texi (Setting Permissions): Use mode_t for second
25484 argument in fchmod prototype.
25485 (File Owner): Use uid_t and gid_t in fchown prototype.
25486 (File Times): Add const to utimes, futimes, and lutimes prototypes.
25487 (Making Special Files): Use mode_t and dev_t in mknod prototype.
25488 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25489 use 'const struct dirent **' as argument types to CMP function pointer
25491 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25492 (File Times): Fix summary magic @comment for struct utimbuf and utime
25493 to refer to utime.h, not time.h.
25494 * manual/string.texi (Argz Functions): Add missing const in
25495 argz_extract and argz_next prototypes.
25496 (Finding Tokens in a String): Likewise for basename.
25497 (String/Array Comparison): Fix typo in wcscasecmp prototype.
25498 (Copying and Concatenation): Fix typo in wmemmove prototype.
25499 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25500 (Signal Stack): Remove erroneous const in sigstack prototype.
25501 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25503 (Simple Calendar Time): Likewise for stime.
25504 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25506 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25507 say sys/sysctl.h instead.
25508 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25509 and vsyslog prototypes.
25511 2013-02-11 Tom de Vries <tom@codesourcery.com>
25513 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25516 2013-02-11 Roland McGrath <roland@hack.frob.com>
25518 * misc/sys/mman.h: Fix typo in mremap comment.
25520 2013-02-08 Roland McGrath <roland@hack.frob.com>
25522 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25523 the '\0' terminator.
25525 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25528 * debug/segfault.c: Don't include <bp-checks.h>.
25529 * sysdeps/generic/bp-checks.h: Remove file.
25530 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25531 (__GETDENTS): Don't use CHECK_N.
25532 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25533 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25534 (__getgroups): Don't use CHECK_N.
25535 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25536 (setgroups): Don't use CHECK_N.
25537 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25538 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25539 (__libc_msgrcv): Don't use CHECK_N.
25540 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25541 (__libc_msgsnd): Don't use CHECK_N.
25542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25544 (__libc_pread): Don't use CHECK_N.
25545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25546 include <bp-checks.h>.
25547 (__libc_pread64): Don't use CHECK_N.
25548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25549 include <bp-checks.h>.
25550 (__libc_pwrite): Don't use CHECK_N.
25551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25552 include <bp-checks.h>.
25553 (__libc_pwrite64): Don't use CHECK_N.
25554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25556 (__libc_pread): Don't use CHECK_N.
25557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25558 include <bp-checks.h>.
25559 (__libc_pread64): Don't use CHECK_N.
25560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25561 include <bp-checks.h>.
25562 (__libc_pwrite): Don't use CHECK_N.
25563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25564 include <bp-checks.h>.
25565 (__libc_pwrite64): Don't use CHECK_N.
25566 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25567 (do_pread): Don't use CHECK_N.
25568 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25569 (do_pread64): Don't use CHECK_N.
25570 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25571 (do_pwrite): Don't use CHECK_N.
25572 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25573 (do_pwrite64): Don't use CHECK_N.
25574 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25575 (__libc_readv): Don't use CHECK_N.
25576 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25577 (semop): Don't use CHECK_N.
25578 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25580 (semtimedop): Don't use CHECK_N.
25581 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25582 (__libc_pread): Don't use CHECK_N.
25583 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25585 (__libc_pread64): Don't use CHECK_N.
25586 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25588 (__libc_pwrite): Don't use CHECK_N.
25589 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25591 (__libc_pwrite64): Don't use CHECK_N.
25592 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25594 (__libc_msgrcv): Don't use CHECK_N.
25595 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25596 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
25597 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25598 (__libc_writev): Don't use CHECK_N.
25600 2013-02-08 Roland McGrath <roland@hack.frob.com>
25602 * string/strcpy.c: Removed unused variable.
25604 * Makeconfig (+sysdep-includes): Define with := rather than =.
25605 Use an existing include/ subdir of each sysdeps dir before it.
25607 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25609 * nscd/connection.c (register_traced_file): Comment function.
25610 [HAVE_INOTIFY] (union __inev): Define.
25611 [HAVE_INOTIFY] (inotify_check_files): New function.
25612 [HAVE_INOTIFY] (clear_db_cache): Likewise.
25613 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25615 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25617 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25619 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25620 loaded if not already and that a failure is permanent.
25622 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25625 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25626 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25628 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25631 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25632 (CHECK_1_NULL_OK): Likewise.
25633 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25634 (__fxstat): Do not use CHECK_1.
25635 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25637 (___fxstat64): Do not use CHECK_1.
25638 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25640 (__fxstatat): Do not use CHECK_1.
25641 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25643 (__fxstatat64): Do not use CHECK_1.
25644 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25646 (__fxstat): Do not use CHECK_1.
25647 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25649 (__fxstatat): Do not use CHECK_1.
25650 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25652 (__getresgid): Do not use CHECK_1.
25653 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25655 (__getresuid): Do not use CHECK_1.
25656 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25658 (__lxstat): Do not use CHECK_1.
25659 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25661 (__old_msgctl): Do not use CHECK_1.
25662 (__new_msgctl): Likewise.
25663 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25665 (__new_setrlimit): Do not use CHECK_1.
25666 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25668 (__old_shmctl): Do not use CHECK_1.
25669 (__new_shmctl): Likewise.
25670 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25672 (__xstat): Do not use CHECK_1.
25673 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25674 (__lxstat): Do not use CHECK_1.
25675 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25677 (___lxstat64): Do not use CHECK_1.
25678 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25679 (__old_msgctl): Do not use CHECK_1.
25680 (__new_msgctl): Likewise.
25681 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25683 (__gettimeofday): Do not use CHECK_1.
25684 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25685 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25686 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25688 (__gettimeofday): Do not use CHECK_1.
25689 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25690 (__old_shmctl): Do not use CHECK_1_NULL_OK.
25691 (__new_shmctl): Do not use CHECK_1.
25692 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25694 (do_sigtimedwait): Do not use CHECK_1.
25695 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25697 (do_sigwaitinfo): Do not use CHECK_1.
25698 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25700 (msgctl): Do not use CHECK_1.
25701 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25703 (shmctl): Do not use CHECK_1.
25704 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25705 (ustat): Do not use CHECK_1.
25706 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25708 (__fxstat): Do not use CHECK_1.
25709 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25711 (__fxstatat): Do not use CHECK_1.
25712 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25714 (__lxstat): Do not use CHECK_1.
25715 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25717 (__xstat): Do not use CHECK_1.
25718 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25719 (__xstat): Do not use CHECK_1.
25720 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25721 (___xstat64): Do not use CHECK_1.
25724 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25726 (CHECK_BOUNDS_HIGH): Likewise.
25727 * string/strcpy.c: Do not include <bp-checks.h>.
25728 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25730 2013-02-07 Roland McGrath <roland@hack.frob.com>
25732 * nscd/nscd-client.h (__nscd_drop_map_ref):
25733 Add __attribute__ ((unused)).
25734 * nis/nss-nisplus.h (niserr2nss): Likewise.
25736 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25737 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25739 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25740 Remove inline keyword.
25741 * include/rounding-mode.h (round_away): Likewise.
25742 * libio/wfileops.c (adjust_wide_data): Likewise.
25743 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25744 (__m128i_strloadu_tolower): Likewise.
25745 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25746 (__m128i_strloadu_tolower): Likewise.
25747 * time/mktime.c (ydhms_diff): Likewise.
25748 * locale/elem-hash.h (elem_hash): Likewise.
25749 * locale/setlocale.c (setdata): Likewise.
25750 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25751 (re_string_wchar_at): Likewise.
25752 (bitset_not, bitset_merge, bitset_mask): Likewise.
25753 [!(__GNUC__ > 3)] (inline): Remove macro.
25754 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25755 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25756 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25757 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25758 * string/memcmp.c (memcmp_bytes): Likewise.
25759 * locale/programs/locarchive.c (compute_hashval): Likewise.
25760 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25761 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25762 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25763 * nss/getent.c (print_rpc, print_protocols): Likewise.
25764 (print_passwd, print_group, print_aliases): Likewise.
25765 * nis/nss-nisplus.h (niserr2nss): Likewise.
25766 * nscd/connections.c (restart_p): Likewise.
25767 Change return type to bool.
25769 2013-02-05 Roland McGrath <roland@hack.frob.com>
25771 * Makeconfig (all-Depend-files): Add existing
25772 $(sorted-subdirs:=/Depend) files.
25773 (all-subdirs): Remove nss.
25774 * sysdeps/unix/inet/Subdirs: Add it here instead.
25775 * hesiod/Depend: New file.
25777 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25778 instead of calling alloca.
25780 * io/lseek.c (__lseek): Rename to __libc_lseek.
25781 Define __lseek as an alias.
25783 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25785 2013-02-04 Carlos O'Donell <carlos@redhat.com>
25787 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25788 else clause and remove check for non-standard endianness.
25790 2013-02-04 David S. Miller <davem@davemloft.net>
25792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25794 2013-02-04 Joseph Myers <joseph@codesourcery.com>
25797 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25798 (__ubp_memchr): Remove prototype.
25799 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25800 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25801 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25802 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25803 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25805 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25806 (__ubp_memchr): Likewise.
25807 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25808 (__ubp_memchr): Likewise.
25809 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25810 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25811 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25812 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25814 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25815 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25816 (__getcwd): Do not use CHECK_STRING.
25817 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25819 (__real_chown): Do not use CHECK_STRING.
25820 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25822 (fchownat): Do not use CHECK_STRING.
25823 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25825 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25827 (__lchown): Do not use CHECK_STRING.
25828 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25829 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25830 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25831 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25833 include <bp-checks.h>.
25834 (truncate64): Do not use CHECK_STRING.
25835 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25837 (__real_chown): Do not use CHECK_STRING.
25838 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25840 (__lchown): Do not use CHECK_STRING.
25841 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25843 (__chown): Do not use CHECK_STRING.
25844 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25846 (truncate64): Do not use CHECK_STRING.
25847 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25849 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25850 (__xmknod): Do not use CHECK_STRING.
25851 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25853 (__xmknodat): Do not use CHECK_STRING.
25854 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25855 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25857 2013-02-04 Andreas Schwab <schwab@suse.de>
25860 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25861 * include/netdb.h: Likewise for h_errno.
25862 * elf/tst-stackguard1.c: Include <tls.h>.
25864 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25866 * elf/link.h (struct link_map): Extend the l_addr comment.
25867 * include/link.h (struct link_map): Likewise.
25869 2013-02-01 Joseph Myers <joseph@codesourcery.com>
25872 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25873 (BOUNDED_1): Remove macro.
25874 * debug/backtrace.c: Don't include <bp-checks.h>.
25875 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25876 (__backtrace): Likewise.
25877 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25879 (__backtrace): Don't use BOUNDED_1.
25880 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25882 (__backtrace): Don't use BOUNDED_1.
25883 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25884 (__backtrace): Don't use BOUNDED_1.
25885 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25886 (shmat): Don't use BOUNDED_N.
25888 2013-01-31 Joseph Myers <joseph@codesourcery.com>
25891 * sysdeps/generic/bp-start.h: Remove file.
25892 * csu/libc-start.c: Don't include <bp-start.h>.
25893 (LIBC_START_MAIN): Set up __environ directly instead of using
25894 INIT_ARGV_and_ENVIRON.
25895 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25899 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25901 (CHECK_FCNTL): Likewise.
25902 (CHECK_N_PAGES): Likewise.
25905 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25907 (CHECK_SIGSET_NULL_OK): Likewise.
25908 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25910 (sigpending): Don't use CHECK_SIGSET.
25911 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25913 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25914 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25916 (do_sigsuspend): Don't use CHECK_SIGSET.
25917 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25919 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25920 (do_sigwait): Don't use CHECK_SIGSET.
25921 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25923 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25924 include <bp-checks.h>.
25925 (sigpending): Don't use CHECK_SIGSET.
25926 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25927 include <bp-checks.h>.
25928 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25929 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25931 (sigpending): Don't use CHECK_SIGSET.
25932 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25934 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25937 * sysdeps/generic/bp-semctl.h: Remove file.
25938 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25939 <bp-checks.h> and <bp-semctl.h>.
25940 (__old_semctl): Don't use CHECK_SEMCTL.
25941 (__new_semctl): Likewise.
25942 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25944 (__old_semctl): Don't use CHECK_SEMCTL.
25945 (__new_semctl): Likewise.
25946 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25947 <bp-checks.h> and <bp-semctl.h>.
25948 (__old_semctl): Don't use CHECK_SEMCTL.
25949 (__new_semctl): Likewise.
25950 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25951 <bp-checks.h> and <bp-semctl.h>.
25952 (semctl): Don't use CHECK_SEMCTL.
25955 * Makerules (elide-bp-thunks): Remove variable.
25956 (elide-routines.oS): Don't use $(elide-bp-thunks).
25957 (elide-routines.os): Likewise.
25958 (elide-routines.o): Likewise.
25959 (elide-routines.op): Likewise.
25960 (elide-routines.og): Likewise.
25961 (objects): Don't use $(bp-thunks).
25962 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25964 (common-generated): Do not add s-proto-bp.d.
25965 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25968 Do not generate makefile rules for bounded-pointer thunks.
25969 * sysdeps/generic/bp-thunks.h: Remove file.
25970 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25971 * sysdeps/unix/s-proto-bp.S: Likewise.
25974 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25975 parts of result separately when argument is not close to line from
25976 -i to i and one part of argument is small.
25977 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25978 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25979 * math/libm-test.inc (cacos_test): Add more tests.
25980 (casin_test): Likewise.
25981 (casinh_test): Likewise.
25982 * sysdeps/i386/fpu/libm-test-ulps: Update.
25983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25985 2013-01-31 David S. Miller <davem@davemloft.net>
25987 * po/de.po: Update from translation team.
25989 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25991 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25993 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25995 * configure.in (_AC_PROG_CC_C89): New definition.
25996 * configure: Regenerate.
25998 * configure.in (AC_PROG_CPP): New definition.
25999 * configure: Regenerate.
26001 2013-01-23 Joseph Myers <joseph@codesourcery.com>
26003 * debug/tst-backtrace.h: New file.
26004 * debug/tst-backtrace2.c: Include tst-backtrace.h.
26005 (ret): Remove variable.
26007 (FAIL): Remove macro.
26008 (NO_INLINE): Likewise.
26009 (fn1): Use match function instead of strstr.
26010 * debug/tst-backtrace3.c: Include tst-backtrace.h.
26011 (ret): Remove variable.
26013 (FAIL): Remove macro.
26014 (NO_INLINE): Likewise.
26015 (fn): Use match function instead of strstr.
26016 * debug/tst-backtrace4.c: Include tst-backtrace.h.
26017 (ret): Remove variable.
26019 (FAIL): Remove macro.
26020 (NO_INLINE): Likewise.
26021 (handle_signal): Use match function instead of strstr.
26022 * debug/tst-backtrace5.c: Include tst-backtrace.h.
26023 (ret): Remove variable.
26025 (FAIL): Remove macro.
26026 (NO_INLINE): Likewise.
26027 (handle_signal): Use match function instead of strstr.
26029 2013-01-23 Roland McGrath <roland@hack.frob.com>
26031 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26033 2013-01-23 David S. Miller <davem@davemloft.net>
26035 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26036 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26037 argument of CAS if possible.
26038 * sysdeps/sparc/sparc64/bits/atomic.h
26039 (__arch_compare_and_exchange_val_32_acq): Likewise.
26040 (__arch_compare_and_exchange_val_64_acq): Likewise.
26042 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
26044 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26045 * sysdeps/posix/ulimit.c: ... this.
26046 Include <limits.h>.
26047 * sysdeps/unix/bsd/ulimit.c: Remove file.
26049 2013-01-23 Adam Conrad <adconrad@0c3.net>
26051 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26052 (LDFLAGS-tst-array5): Likewise.
26054 2013-01-23 Joseph Myers <joseph@codesourcery.com>
26057 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26058 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26059 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26060 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26062 2013-01-21 David S. Miller <davem@davemloft.net>
26064 * sysdeps/sparc/backtrace.c: New file.
26065 * sysdeps/sparc/sparc32/backtrace.h: New file.
26066 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26067 * sysdeps/sparc/sparc64/backtrace.h: New file.
26068 * sysdeps/sparc/sparc64/backtrace.c: Delete.
26069 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26072 2013-01-21 Andreas Schwab <schwab@suse.de>
26075 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26078 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
26080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26084 2013-01-18 Joseph Myers <joseph@codesourcery.com>
26085 Mark Mitchell <mark@codesourcery.com>
26086 Tom de Vries <tom@codesourcery.com>
26087 Paul Pluzhnikov <ppluzhnikov@google.com>
26089 * debug/tst-backtrace2.c: New file.
26090 * debug/tst-backtrace3.c: Likewise.
26091 * debug/tst-backtrace4.c: Likewise.
26092 * debug/tst-backtrace5.c: Likewise.
26093 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26094 (CFLAGS-tst-backtrace3.c): Likewise.
26095 (CFLAGS-tst-backtrace4.c): Likewise.
26096 (CFLAGS-tst-backtrace5.c): Likewise.
26097 (LDFLAGS-tst-backtrace2): Likewise.
26098 (LDFLAGS-tst-backtrace3): Likewise.
26099 (LDFLAGS-tst-backtrace4): Likewise.
26100 (LDFLAGS-tst-backtrace5): Likewise.
26101 (tests): Add new tests tst-backtrace2, tst-backtrace3,
26102 tst-backtrace4 and tst-backtrace5.
26104 2013-01-18 Anton Blanchard <anton@samba.org>
26105 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26107 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26108 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26109 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26110 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26112 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26113 "+r" and remove output regs list as redundant. Add explicit inline
26114 asm to specify register of return val to work around compiler codegen
26115 bug. Remove (int) cast on return value. Add return type parameter to
26116 use in macro so that this macro does not truncate return value for
26118 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26119 pass to INTERNAL_VSYSCALL_NCS.
26120 (INLINE_VSYSCALL): Add 'long int' as return type to
26121 INTERNAL_VSYSCALL_NCS macro invocation.
26122 (INTERNAL_VSYSCALL): Add 'long int' as return type to
26123 INTERNAL_VSYSCALL_NCS macro invocation.
26124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26126 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26129 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26130 Fix application of SIMD FP exception mask.
26132 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26133 mp_no from a power of two.
26134 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26135 __mpexp_twomm1. Use __pow_mp.
26137 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26140 2013-01-17 David S. Miller <davem@davemloft.net>
26142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26144 2013-01-17 Joseph Myers <joseph@codesourcery.com>
26147 * include/complex.h: Condition contents on [!_COMPLEX_H].
26148 (__kernel_casinhf): New prototype.
26149 (__kernel_casinh): Likewise.
26150 (__kernel_casinhl): Likewise.
26151 * math/Makefile (libm_calls): Add k_casinh.
26152 * math/k_casinh.c: New file.
26153 * math/k_casinhf.c: Likewise.
26154 * math/k_casinhl.c: Likewise.
26155 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26156 finite nonzero arguments.
26157 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26158 finite nonzero arguments.
26159 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26160 finite nonzero arguments.
26161 * math/s_casinh.c: Do not include <float.h>.
26162 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26163 * math/s_casinhf.c: Do not include <float.h>.
26164 (__casinhf): Move code for finite nonzero arguments to
26166 * math/s_casinhl.c: Do not include <float.h>.
26167 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26169 (__casinhl): Move code for finite nonzero arguments to
26171 * math/libm-test.inc (cacos_test): Add more tests.
26172 * sysdeps/i386/fpu/libm-test-ulps: Update.
26173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26175 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
26177 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26178 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26179 [!HAVE_MREMAP]: Remove [defined linux] case.
26180 * malloc/arena.c: Do not include <malloc-sysdep.h>.
26182 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26184 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26186 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
26188 * elf/elf.h (R_386_SIZE32): New relocation.
26189 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26191 (elf_machine_rela): Likewise.
26192 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26193 R_X86_64_SIZE64 and R_X86_64_SIZE32.
26195 2013-01-17 Joseph Myers <joseph@codesourcery.com>
26197 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26198 (FP_FAST_FMA): Do not define.
26199 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26200 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26201 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26202 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26203 !_SOFT_FLOAT]: Likewise.
26204 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26205 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26207 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26208 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26209 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26210 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26211 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26212 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26215 2013-01-16 Andreas Schwab <schwab@suse.de>
26218 * include/stdlib.h (__mktemp): Add declaration.
26219 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26220 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26222 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26224 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26226 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26227 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26228 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26230 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26231 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26233 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26235 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26236 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26237 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26239 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26240 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26242 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26244 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26246 2013-01-15 David S. Miller <davem@davemloft.net>
26248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26249 trunc{,f} to libm-sysdep_routes.
26250 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26260 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26261 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26262 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26263 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26264 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26265 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26268 nearbyint{,f} to libm-sysdep_routes.
26269 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26280 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26282 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26283 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26285 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26286 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26287 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26289 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26290 libc_feholdexcept and libc_fesetenv.
26292 2013-01-15 Mike Frysinger <vapier@gentoo.org>
26294 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26296 2013-01-14 David S. Miller <davem@davemloft.net>
26298 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26299 (SPARC_ASM_VIS2_IFUNC): Likewise.
26300 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26302 use of 'siam' instruction.
26303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26321 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26322 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26323 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26324 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26331 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26332 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26333 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26334 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26336 routines to libm-sysdep_routines.
26337 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26340 fdim/fdimf to libm-sysdep_routines.
26341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26349 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26350 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26351 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26352 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26354 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26356 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26357 to optimize copies.
26359 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26360 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26361 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26363 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26364 local variable MPTWO.
26365 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26368 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26370 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26373 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26375 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26377 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26379 * manual/pattern.texi (glob_t): Document gl_flags.
26380 (glob64_t): Likewise.
26382 2013-01-11 David S. Miller <davem@davemloft.net>
26384 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26385 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26386 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
26387 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26388 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26389 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26390 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26391 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26392 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26393 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26394 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26395 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26396 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26398 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26399 sparc V9 rather than using V8 code.
26400 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26401 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26403 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26405 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26408 2013-01-11 Roland McGrath <roland@hack.frob.com>
26410 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26411 not in the main loop.
26412 * configure: Regenerated.
26414 2013-01-11 Joseph Myers <joseph@codesourcery.com>
26416 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26417 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26419 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
26420 [!__GLIBC_HAVE_LONG_LONG] case.
26421 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26422 condition to just #else.
26423 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26424 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26425 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26426 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26428 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26429 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26430 #elif condition to just #else.
26431 * sysdeps/unix/sysv/linux/sys/sysmacros.h
26432 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26433 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26434 #elif condition to just #else.
26436 2013-01-11 Steve Ellcey <sellcey@mips.com>
26438 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26439 (EF_MIPS_ARCH_64): Fix value.
26440 (EF_MIPS_ARCH_32R2): New.
26441 (EF_MIPS_ARCH_64R2): New.
26443 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
26445 * Makeconfig (+link-pie-before-libc): New.
26446 (+link-pie-after-libc): Likewise.
26447 (+link-pie-tests): Likewise.
26448 (+link-pie): Rewritten.
26449 (link-before-libc): Remove $(config-LDFLAGS).
26450 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26451 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26452 (config-LDFLAGS): Renamed to ...
26453 (rtld-LDFLAGS): This.
26454 (rtld-tests-LDFLAGS): New macro.
26455 (link-libc-rpath-link): Likewise.
26456 (link-libc-tests-rpath-link): Likewise.
26457 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26458 (link-libc): Prepand $(link-libc-rpath-link).
26459 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26460 (test-program-prefix): New macro.
26461 (test-via-rtld-prefix): Likewise.
26462 (test-program-cmd): Likewise.
26463 (host-test-program-cmd): Likewise.
26464 * Makefile ($(common-objpfx)testrun.sh): Replace
26465 $(run-program-prefix) with $(test-program-prefix).
26466 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26468 ($(common-objpfx)shlib.lds): Likewise.
26469 (build-module-helper): Likewise.
26470 ($(common-objpfx)format.lds): Likewise.
26471 * Rules (binaries-pie-tests): New.
26472 (binaries-pie-notests): Likewise.
26473 (binaries-pie): Rewritten.
26474 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26475 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26476 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26477 (make-test-out): Replace $(host-built-program-cmd) with
26478 $(host-test-program-cmd).
26479 * config.make.in (build-hardcoded-path-in-tests): New variable.
26480 * configure.in (--enable-hardcoded-path-in-tests): New configure
26482 (hardcoded_path_in_tests): New AC_SUBST.
26483 * configure: Regenerated.
26484 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26485 $(built-program-cmd) with $(test-program-cmd).
26486 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26487 (test_program_cmd): This.
26488 * elf/Makefile ($(objpfx)order.out): Run test with
26489 $(test-program-prefix).
26490 ($(objpfx)order2.out): Likewise.
26491 ($(objpfx)tst-initorder.out): Likewise.
26492 ($(objpfx)tst-initorder2.out): Likewise.
26493 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26494 $(test-program-cmd).
26495 ($(objpfx)tst-array1-static.out): Likewise.
26496 ($(objpfx)tst-array2.out): Likewise.
26497 ($(objpfx)tst-array3.out): Likewise.
26498 ($(objpfx)tst-array4.out): Likewise.
26499 ($(objpfx)tst-array5.out): Likewise.
26500 ($(objpfx)tst-array5-static.out): Likewise.
26501 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26502 $(test-program-cmd).
26503 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26504 $(run-program-prefix) with $(test-program-prefix).
26505 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26506 (test_program_prefix): This.
26507 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26508 $(run-program-prefix) with $(test-program-prefix).
26509 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26510 (test_program_prefix): This.
26511 * iconvdata/tst-tables.sh: Likewise.
26512 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26513 $(run-program-prefix) with $(test-program-prefix).
26514 ($(objpfx)tst-translit.out): Likewise.
26515 ($(objpfx)tst-gettext2.out): Likewise.
26516 ($(objpfx)tst-gettext4.out): Likewise.
26517 ($(objpfx)tst-gettext6.out): Likewise.
26518 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26519 (test_program_prefix): This.
26520 * intl/tst-gettext2.sh: Likewise.
26521 * intl/tst-gettext4.sh Likewise.
26522 * intl/tst-gettext6.sh: Likewise.
26523 * intl/tst-translit.sh: Likewise.
26524 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26525 with $(test-program-cmd).
26526 * libio/Makefile ($(objpfx)test-freopen.out): Replace
26527 $(run-program-prefix) with $(test-program-prefix).
26528 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26529 (test_program_prefix): This.
26530 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26531 $(run-program-prefix) with $(test-program-prefix).
26532 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26533 (test_program_prefix): This.
26534 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26535 * posix/Makefile ($(objpfx)globtest.out): Replace
26536 $(run-via-rtld-prefix) and $(test-wrapper) with
26537 $(test-program-prefix) and $(test-via-rtld-prefix).
26538 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26539 $(test-program-prefix).
26540 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26541 $(host-test-program-cmd).
26542 (tst-spawn-ARGS): Likewise.
26543 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26544 $(test-program-prefix).
26545 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26546 (test_via_rtld_prefix): This.
26547 (test_wrapper): Renamed to ...
26548 (test_program_prefix): This.
26549 (run_program_prefix): Replaced by test_program_prefix.
26550 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26551 (test_program_prefix): This.
26552 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26553 with $(host-test-program-cmd).
26554 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26555 $(run-program-prefix) with $(test-program-prefix).
26556 ($(objpfx)tst-printf.out): Likewise.
26557 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26558 $(test-program-cmd).
26559 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26560 (test_program_prefix): This.
26561 * stdio-common/tst-unbputc.sh: Likewise.
26562 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26563 $(run-program-prefix) with $(test-program-prefix).
26564 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26565 (test_program_prefix): This.
26566 * string/Makefile ($(objpfx)tst-svc.out): Replace
26567 $(built-program-cmd) with $(test-program-cmd).
26569 2013-01-11 Andreas Jaeger <aj@suse.de>
26572 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26573 value. Sync with Linux 3.7.
26575 2013-01-10 David S. Miller <davem@davemloft.net>
26577 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26578 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26579 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26581 2013-01-10 Roland McGrath <roland@hack.frob.com>
26583 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26585 * configure: Regenerated.
26587 2013-01-10 David S. Miller <davem@davemloft.net>
26589 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26590 sparc V9 rather than using V8 code.
26591 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26592 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26594 2013-01-10 Roland McGrath <roland@hack.frob.com>
26596 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26597 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26598 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26599 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26600 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26601 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26602 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26603 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26604 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26605 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26606 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26607 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26608 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26609 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26610 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26611 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26612 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26613 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26614 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26615 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26616 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26617 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26618 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26619 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26620 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26621 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26622 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26624 2013-01-10 David S. Miller <davem@davemloft.net>
26626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26628 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26630 * posix/Makefile (tests-static): New variable.
26631 (tests): Add $(tests-static).
26632 (tst-exec-static-ARGS): New variable.
26633 (tst-spawn-static-ARGS): Likewise.
26634 * posix/tst-exec-static.c: New file.
26635 * posix/tst-spawn-static.c: Likewise.
26636 * posix/tst-exec.c: Support run directly.
26637 * posix/tst-spawn.c: Likewise.
26639 2013-01-10 Joseph Myers <joseph@codesourcery.com>
26641 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26643 * math/bits/mathcalls.h (llrint): Likewise.
26644 (llround): Likewise.
26645 * stdlib/stdlib.h (struct drand48_data): Likewise.
26646 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26647 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26648 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26650 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26652 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26653 (elf_greg_t): Likewise.
26654 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26655 (__jmp_buf): Likewise.
26656 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26658 (llrint): Likewise, for all definitions.
26659 (llrintl): Likewise.
26661 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26662 Remove [__GNUC__] condition.
26663 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26664 condition to just [__USE_ISOC99].
26665 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26667 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26670 * sysdeps/unix/sysv/linux/x86/bits/environments.h
26671 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26673 (_POSIX_V6_ILP32_OFF32): Likewise.
26674 (_XBS5_ILP32_OFF32): Likewise.
26675 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26676 (__ILP32_OFFBIG_LDFLAGS): Likewise.
26678 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26680 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26682 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26683 doubles __mpexp_twomm1. Adjust usage.
26684 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26687 2013-01-10 Andreas Schwab <schwab@suse.de>
26690 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26691 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26693 2013-01-09 David S. Miller <davem@davemloft.net>
26696 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26697 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26698 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26699 (TCP_FASTOPEN): Define.
26700 (tcp_repair_opt): New structure.
26701 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26703 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26704 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26705 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26706 (tcp_cookie_transactions): New structure.
26708 2013-01-09 Anton Blanchard <anton@samba.org>
26710 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26711 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26712 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26713 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26715 2013-01-09 Joseph Myers <joseph@codesourcery.com>
26717 * include/features.h (__USE_ANSI): Remove.
26719 2013-01-09 Roland McGrath <roland@hack.frob.com>
26721 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26723 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26725 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26727 * sysdeps/s390/fpu/libm-test-ulps: Update.
26729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26731 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26735 (denorm): Likewise.
26736 (__mp_dbl): Likewise.
26737 (__dbl_mp): Likewise.
26738 (add_magnitudes): Likewise.
26739 (sub_magnitudes): Likewise.
26745 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26749 (denorm): Likewise.
26750 (__mp_dbl): Likewise.
26751 (__dbl_mp): Likewise.
26752 (add_magnitudes): Likewise.
26753 (sub_magnitudes): Likewise.
26759 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26763 (denorm): Likewise.
26764 (__mp_dbl): Likewise.
26765 (__dbl_mp): Likewise.
26766 (add_magnitudes): Likewise.
26767 (sub_magnitudes): Likewise.
26774 2013-01-08 Joseph Myers <joseph@codesourcery.com>
26776 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26777 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26778 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26779 2 && __USE_EXTERN_INLINES]: Likewise.
26781 2013-01-08 Andreas Jaeger <aj@suse.de>
26784 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26786 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26787 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26789 2013-01-07 Anton Blanchard <anton@samba.org>
26791 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26792 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26793 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26794 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26795 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26796 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26797 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26798 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26799 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26800 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26801 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26802 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26803 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26804 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26805 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26806 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26807 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26808 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26809 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26810 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26811 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26812 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26813 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26814 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26815 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26816 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26817 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26818 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26819 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26820 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26821 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26823 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26824 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26825 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26826 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26827 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26828 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26829 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26830 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26831 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26832 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26833 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26835 2013-01-07 Joseph Myers <joseph@codesourcery.com>
26837 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26838 (__MALLOC_PMT): Likewise.
26839 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26840 [__GNUC__], only on [_LIBC].
26841 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26842 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26843 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26844 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26845 forward declaration.
26846 (realloc_hook_ini): Likewise.
26847 (memalign_hook_ini): Likewise.
26848 (__libc_memalign): Do not use __MALLOC_PMT in variable
26850 (__libc_valloc): Likewise.
26851 (__libc_pvalloc): Likewise.
26852 (__libc_calloc): Likewise.
26853 (__posix_memalign): Likewise.
26856 * math/s_casinh.c: Include <float.h>.
26857 (__casinh): Do not do computation with squaring and square root
26858 for large arguments.
26859 * math/s_casinhf.c: Include <float.h>.
26860 (__casinhf): Do not do computation with squaring and square root
26861 for large arguments.
26862 * math/s_casinhl.c: Include <float.h>.
26863 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26864 (__casinhl): Do not do computation with squaring and square root
26865 for large arguments.
26866 * math/libm-test.inc (casin_test): Add more tests.
26867 (casinh_test): Likewise.
26868 * sysdeps/i386/fpu/libm-test-ulps: Update.
26869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26871 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26873 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26874 (__x86_64_raw_data_cache_size): Likewise.
26875 (__x86_64_data_cache_size_half): Likewise.
26876 (__x86_64_raw_data_cache_size_half): Likewise.
26877 (__x86_64_shared_cache_size): Likewise.
26878 (__x86_64_raw_shared_cache_size): Likewise.
26879 (__x86_64_shared_cache_size_half): Likewise.
26880 (__x86_64_raw_shared_cache_size_half): Likewise.
26881 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26883 (__x86_data_cache_size): This.
26884 (__x86_64_raw_data_cache_size): Renamed to ...
26885 (__x86_raw_data_cache_size): This.
26886 (__x86_64_data_cache_size_half): Renamed to ...
26887 (__x86_data_cache_size_half): This.
26888 (__x86_64_raw_data_cache_size_half): Renamed to ...
26889 (__x86_raw_data_cache_size_half): This.
26890 (__x86_64_shared_cache_size): Renamed to ...
26891 (__x86_shared_cache_size): This.
26892 (__x86_64_raw_shared_cache_size): Renamed to ...
26893 (__x86_raw_shared_cache_size): This.
26894 (__x86_64_shared_cache_size_half): Renamed to ...
26895 (__x86_shared_cache_size_half): This.
26896 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26897 (__x86_raw_shared_cache_size_half): This.
26898 * sysdeps/x86_64/memcpy.S: Updated.
26899 * sysdeps/x86_64/memset.S: Likewise.
26900 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26901 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26902 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26904 2013-01-04 David S. Miller <davem@davemloft.net>
26906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26908 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26910 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26911 1 to avoid redefinition warning.
26912 (__USE_GNU): Don't define.
26913 (init_signaling_nan): Protoize.
26915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26917 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26919 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26921 (__cpymn): Likewise.
26922 (norm): Remove commented code.
26923 (denorm): Likewise.
26924 (__mp_dbl): Likewise.
26926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26927 (__cpymn): Likewise.
26928 (norm): Remove commented code.
26929 (denorm): Likewise.
26930 (__mp_dbl): Likewise.
26933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26934 mp_no value for 1.0 and 2.0.
26935 (norm): Use RADIXI instead of radixi.d.
26936 (denorm): Likewise.
26937 (__mul): Use 0.0 instead of zero.d.
26938 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26939 mp_no value for 1.0 and 2.0.
26940 (norm): Use RADIXI instead of radixi.d.
26941 (denorm): Likewise.
26942 (__mul): Use 0.0 instead of zero.d.
26944 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26947 * math/s_casinh.c (__casinh): Reduce finite argument to first
26948 quadrant then set signs of results at the end.
26949 * math/s_casinhf.c (__casinhf): Likewise.
26950 * math/s_casinhl.c (__casinhl): Likewise.
26951 * math/libm-test.inc (casin_test): Add more tests.
26952 (casinh_test): Likewise.
26953 * sysdeps/i386/fpu/libm-test-ulps: Update.
26954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26956 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26958 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26960 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26962 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26964 (denorm): Likewise.
26965 (__mp_dbl): Likewise.
26968 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26969 and adjust the header comment.
26971 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26972 variable name from declaration.
26974 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26977 Initialize COMMON_CPUID_INDEX_7 element.
26978 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26979 (CPUID_RTM): Likewise.
26980 (HAS_RTM): Likewise.
26981 (COMMON_CPUID_INDEX_7): New enum.
26983 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26986 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26987 size is zero, record memory as freed.
26989 2013-01-03 Andreas Jaeger <aj@suse.de>
26991 * po/ia.po: Add new Interlingua translation.
26993 2012-01-03 Allan McRae <allan@archlinux.org>
26995 * locale/programs/localedef.c: Fix description of '--posix' flag.
26997 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26999 * NEWS: Update dates in second copyright notice.
27000 * README: Update copyright dates in example.
27001 * manual/libc.texinfo: Update copyright dates.
27002 * scripts/test-installation.pl: Update copyright date in --version
27005 * hurd/ctty-input.c: Fix copyright notice formatting.
27006 * hurd/ctty-output.c: Likewise.
27007 * hurd/dtable.c: Likewise.
27008 * hurd/hurd-raise.c: Likewise.
27009 * hurd/hurdprio.c: Likewise.
27010 * hurd/msgportdemux.c: Likewise.
27011 * misc/sys/file.h: Likewise.
27012 * misc/sys/ioctl.h: Likewise.
27013 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27014 * sysdeps/mach/hurd/chdir.c: Likewise.
27015 * sysdeps/mach/hurd/fchdir.c: Likewise.
27016 * sysdeps/mach/hurd/rename.c: Likewise.
27017 * sysdeps/mach/hurd/rmdir.c: Likewise.
27018 * sysdeps/mach/hurd/seekdir.c: Likewise.
27019 * sysdeps/mach/hurd/setsid.c: Likewise.
27020 * sysdeps/posix/wait3.c: Likewise.
27022 * All files with FSF copyright notices: Update copyright dates
27023 using scripts/update-copyrights.
27024 * intl/plural.c: Regenerated.
27025 * locale/programs/charmap-kw.h: Likewise.
27026 * locale/programs/locfile-kw.h: Likewise.
27028 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27030 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27033 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27034 calculation loop and add branch prediction.
27036 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27037 check access beyond bounds of m1np.
27039 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27041 (__inv): Remove local variable MPTWO to use the global
27043 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27044 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27046 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27047 MP3HALFS static const.
27049 2013-01-01 David S. Miller <davem@davemloft.net>
27051 * po/ca.po: Update from translation team.
27053 2013-01-01 Joseph Myers <joseph@codesourcery.com>
27055 * scripts/update-copyrights: New file.
27056 * Makeconfig: Reformat copyright notice.
27057 * ctype/ctype.h: Likewise.
27058 * debug/swprintf_chk.c: Likewise.
27059 * elf/dl-cache.c: Likewise.
27060 * elf/dl-debug.c: Likewise.
27061 * elf/dl-object.c: Likewise.
27062 * grp/initgroups.c: Likewise.
27063 * hurd/Makefile: Likewise.
27064 * hurd/hurd/signal.h: Likewise.
27065 * hurd/hurdfault.c: Likewise.
27066 * hurd/hurdioctl.c: Likewise.
27067 * hurd/hurdlookup.c: Likewise.
27068 * hurd/intr-msg.c: Likewise.
27069 * iconv/gconv_open.c: Likewise.
27070 * libio/swprintf.c: Likewise.
27071 * locale/lc-ctype.c: Likewise.
27072 * locale/nl_langinfo.c: Likewise.
27073 * mach/Machrules: Likewise.
27074 * mach/Makefile: Likewise.
27075 * malloc/obstack.h: Likewise.
27076 * manual/Makefile: Likewise.
27077 * manual/tsort.awk: Likewise.
27078 * misc/bits/stab.def: Likewise.
27079 * nis/nis_print_group_entry.c: Likewise.
27080 * nis/nis_table.c: Likewise.
27081 * nis/nss_compat/compat-pwd.c: Likewise.
27082 * nis/nss_compat/compat-spwd.c: Likewise.
27083 * po/Makefile: Likewise.
27084 * posix/fnmatch.c: Likewise.
27085 * posix/regex.h: Likewise.
27086 * resolv/Makefile: Likewise.
27087 * resolv/nss_dns/dns-network.c: Likewise.
27088 * resolv/res_hconf.c: Likewise.
27089 * scripts/gen-sorted.awk: Likewise.
27090 * soft-fp/soft-fp.h: Likewise.
27091 * stdio-common/printf.h: Likewise.
27092 * stdlib/monetary.h: Likewise.
27093 * stdlib/random.c: Likewise.
27094 * stdlib/random_r.c: Likewise.
27095 * sysdeps/generic/Makefile: Likewise.
27096 * sysdeps/gnu/Makefile: Likewise.
27097 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27098 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27099 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27100 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27101 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27102 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27103 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27104 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27105 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27106 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27107 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27108 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27109 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27110 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27111 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27112 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27113 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27114 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27115 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27116 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27117 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27118 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27119 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27120 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27121 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27122 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27123 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27124 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27125 * sysdeps/mach/hurd/errnos.awk: Likewise.
27126 * sysdeps/mach/hurd/fork.c: Likewise.
27127 * sysdeps/mach/hurd/getcwd.c: Likewise.
27128 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27129 * sysdeps/mach/hurd/mmap.c: Likewise.
27130 * sysdeps/mach/hurd/utimes.c: Likewise.
27131 * sysdeps/mach/hurd/xmknod.c: Likewise.
27132 * sysdeps/posix/profil.c: Likewise.
27133 * sysdeps/posix/readdir_r.c: Likewise.
27134 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27135 * sysdeps/powerpc/bits/setjmp.h: Likewise.
27136 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27137 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27138 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27139 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27140 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27141 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27142 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27143 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27144 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27145 * sysdeps/pthread/lio_listio.c: Likewise.
27146 * sysdeps/sparc/dl-procinfo.h: Likewise.
27147 * sysdeps/unix/i386/sysdep.S: Likewise.
27148 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27149 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27150 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27151 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27153 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27154 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27155 * sysdeps/unix/sysv/linux/speed.c: Likewise.
27156 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27157 * sysdeps/wordsize-32/divdi3.c: Likewise.
27158 * time/sys/time.h: Likewise.
27159 * wcsmbs/Makefile: Likewise.
27161 2013-01-01 David S. Miller <davem@davemloft.net>
27163 * po/fr.po: Update from translation team.
27165 * catgets/gencat.c: Update copyright year.
27166 * csu/version.c: Likewise.
27167 * debug/catchsegv.sh: Likewise.
27168 * debug/pcprofiledump.c: Likewise.
27169 * debug/xtrace.sh: Likewise.
27170 * elf/ldconfig.c: Likewise.
27171 * elf/ldd.bash.in: Likewise.
27172 * elf/pldd.c: Likewise.
27173 * elf/sotruss.ksh: Likewise.
27174 * elf/sprof.c: Likewise.
27175 * iconv/iconv_prog.c: Likewise.
27176 * iconv/iconvconfig.c: Likewise.
27177 * locale/programs/locale.c: Likewise.
27178 * locale/programs/localedef.c: Likewise.
27179 * login/programs/pt_chown.c: Likewise.
27180 * malloc/memusage.sh: Likewise.
27181 * malloc/memusagestat.c: Likewise.
27182 * malloc/mtrace.pl: Likewise.
27183 * nscd/nscd.c: Likewise.
27184 * nss/getent.c: Likewise.
27185 * nss/makedb.c: Likewise.
27186 * posix/getconf.c: Likewise.
27188 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27190 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27193 2012-12-30 Mike Frysinger <vapier@gentoo.org>
27195 * math/bits/mathcalls.h (modf): Use __nonnull.
27197 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27199 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27200 (split): Use macro CN instead of the bare value.
27201 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27203 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27204 instead of the bare value.
27205 (power1): Likewise.
27207 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27209 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27211 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27213 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27215 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27216 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27217 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27218 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27220 2012-12-28 Andreas Jaeger <aj@suse.de>
27222 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
27223 values are from Linux 3.7.
27225 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27226 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
27228 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27230 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27233 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27235 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27236 variables with preprocessor constants.
27237 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27238 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27239 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27241 2012-12-27 Bruno Haible <bruno@clisp.org>
27244 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27247 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27249 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27250 and use variable directly.
27251 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27253 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27255 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27256 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27258 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27259 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27260 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27261 include directive. Remove local variable MPONE.
27262 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27263 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27264 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27266 2012-12-25 David S. Miller <davem@davemloft.net>
27268 * version.h (RELEASE): Set to "development".
27269 (VERSION): Set to "2.17.90".
27270 * NEWS: Add 2.18 section.
27272 2012-12-21 David S. Miller <davem@davemloft.net>
27274 * po/hr.po: Update from translation team.
27276 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27278 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27280 2012-12-19 Steve Ellcey <sellcey@mips.com>
27282 * NEWS: Mention new memcpy for MIPS.
27284 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27286 * manual/contrib.texi (Contributors): Spelling correction.
27288 2012-12-15 David S. Miller <davem@davemloft.net>
27290 * po/ru.po: Update from translation team.
27292 2012-12-13 David S. Miller <davem@davemloft.net>
27294 * NEWS: Mention IFUNC testsuite enhancements.
27296 * po/pl.po: Update from translation team.
27297 * po/bg.po: Likewise.
27299 * manual/contrib.texi (Contributors): Update entries for Hongjiu
27300 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
27302 2012-12-11 David S. Miller <davem@davemloft.net>
27304 * po/sv.po: Update from translation team.
27306 * po/vi.po: Update from translation team.
27308 * po/cs.po: Update from translation team.
27310 * po/de.po: Update from translation team.
27311 * po/eo.po: Likewise.
27312 * po/nl.po: Likewise.
27314 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27317 * manual/argp.texi (Argp Helper Functions): Move node to follow
27318 Argp Parsing State.
27321 * manual/conf.texi (Limits on File System Capacity): Mention if
27322 terminating null is included in the max size.
27324 2012-12-10 Andreas Jaeger <aj@suse.de>
27326 * po/cs.po: Update from translation team.
27328 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27330 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27331 void pointer and cast to uintptr_t.
27332 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27334 * sysdeps/s390/s390-64/memcpy.S: Likewise.
27335 * sysdeps/s390/s390-64/memset.S: Likewise.
27337 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
27340 * menual/message.texi (Message Translation): Fix typos.
27341 (Helper programs for gettext): Likewise.
27343 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
27346 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27349 2012-12-07 David S. Miller <davem@davemloft.net>
27351 * po/libc.pot: Update.
27353 2012-12-07 Richard Henderson <rth@redhat.com>
27356 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27357 normal/normal case to before the switch.
27358 (_FP_DIV): Likewise.
27360 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
27361 Mike Frysinger <vapier@gentoo.org>
27363 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27364 check for __NR_fadvise64_64.
27366 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
27368 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27369 0, not just to plain "0" as a statement.
27370 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27373 2012-12-06 Joseph Myers <joseph@codesourcery.com>
27375 * NEWS: Use sourceware.org in Bugzilla URL.
27377 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27380 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27382 * stdio-common/tst-put-error.c (do_test): Add newline to the
27383 padded test to ensure flush.
27385 2012-12-05 Jeff Law <law@redhat.com>
27387 * sunrpc/etc.rpc (fedfs_admin): Add entry.
27389 2012-12-05 Joseph Myers <joseph@codesourcery.com>
27391 * README: Don't refer to ports add-on as distributed separately.
27392 Mention AArch64 in list of systems supported in the ports add-on.
27394 * LICENSES: Add more non-FSF copyright and license notices.
27396 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27399 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27401 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27402 10000 as width of padded output.
27404 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27406 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27408 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27409 variable LX with __attribute__ ((unused)).
27410 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27412 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27413 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27414 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27415 with __attribute__ ((unused)).
27417 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
27419 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27421 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27423 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27424 (CFLAGS-nldbl-acos.c): New variable.
27425 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27426 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27427 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27428 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27429 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27430 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27431 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27432 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27433 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27434 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27435 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27436 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27437 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27438 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27439 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27440 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27441 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27442 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27443 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27444 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27445 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27446 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27447 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27448 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27449 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27450 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27451 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27452 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27453 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27454 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27455 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27456 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27457 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27458 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27459 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27460 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27461 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27462 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27463 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27464 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27465 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27466 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27467 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27468 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27469 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27470 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27471 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27472 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27473 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27474 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27475 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27476 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27477 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27478 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27479 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27480 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27481 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27482 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27483 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27484 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27485 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27486 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27487 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27488 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27489 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27490 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27491 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27492 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27493 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27494 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27495 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27496 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27497 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27498 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27499 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27500 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27501 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27502 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27503 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27504 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27505 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27506 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27507 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27508 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27509 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27510 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27511 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27512 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27513 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27514 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27515 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27516 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27517 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27518 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27519 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27520 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27521 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27524 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27527 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27528 whole low double instead of just low 47 bits when splitting values
27531 2012-12-03 Allan McRae <allan@archlinux.org>
27533 * manual/stdio.texi (Predefined Printf Handlers): Remove
27534 @hsep and @vsep usage.
27536 2012-12-03 Mike Frysinger <vapier@gentoo.org>
27538 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27539 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27541 2012-12-03 Jeff Law <law@redhat.com>
27543 * time/sys/time.h (settimeofday): Do not mark TV argument
27546 2012-12-01 Mike Frysinger <vapier@gentoo.org>
27548 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27549 when currently writing and seek to current position when not.
27550 * libio/Makefile (tests): Remove bug-fclose1.
27551 * libio/bug-fclose1.c: Delete.
27553 2012-12-01 Joseph Myers <joseph@codesourcery.com>
27555 * manual/arith.texi (feenableexcept): Fix typo.
27556 (fedisableexcept): Likewise.
27558 2012-11-30 Roland McGrath <roland@hack.frob.com>
27560 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27561 second, differently-typed declaration, rather than a cast.
27563 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27565 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27566 * include/rpc/svc.h: ... here.
27568 2012-11-30 Aurelien Jarno <aurel32@debian.org>
27571 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27572 depending n and resplen2 to catch cases where answer
27575 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
27577 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27578 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27580 2012-11-29 Mike Frysinger <vapier@gentoo.org>
27582 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27584 2012-11-29 Roland McGrath <roland@hack.frob.com>
27586 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27588 2012-11-28 Jeff Law <law@redhat.com>
27591 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27592 dataset_temporary. Track alloca usage into alloca_used.
27593 If dataset is large allocate and release it via malloc/free.
27595 2012-06-04 Florian Weimer <fweimer@redhat.com>
27598 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27600 2012-11-28 David S. Miller <davem@davemloft.net>
27602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27604 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27607 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27608 of pi/2 rounded to nearest to 64 bits.
27609 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27610 nearest to 64 bits.
27611 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27614 2012-11-28 Jeff Law <law@redhat.com>
27615 Martin Osvald <mosvald@redhat.com>
27618 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27619 * sunrpc/svc.c: Include time.h.
27620 (__svc_accept_failed): New function.
27621 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27622 any reason other than EINTR, call __svc_accept_failed.
27623 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27624 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27626 2012-11-28 Andreas Schwab <schwab@suse.de>
27628 * scripts/abilist.awk: Also handle indirect functions in .opd
27631 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27634 * sysdeps/x86/fpu/powl_helper.c: New file.
27635 * sysdeps/x86/fpu/Makefile: Likewise.
27636 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27638 (__ieee754_powl): Use __powl_helper for finite arguments except
27639 integer exponents below 8.
27640 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27642 (__ieee754_powl): Use __powl_helper for finite arguments except
27643 integer exponents below 8.
27644 * math/libm-test.inc (pow_test): Add more tests and enable some
27645 previously disabled tests.
27646 * sysdeps/i386/fpu/libm-test-ulps: Update.
27647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27649 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27650 Carlos O'Donell <carlos_odonell@mentor.com>
27652 * nss/makedb.c (is_prime): Assert that input is odd and greater
27653 than 4. Note that fact in a comment too.
27654 (next_prime): Add 4 to input.
27656 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27659 * libio/Makefile (tests): Add test case tst-fwrite-error.
27660 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27661 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27662 * libio/tst-fwrite-error.c: New test case.
27664 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
27666 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27667 before casting to void *.
27668 * include/libc-internal.h (__pointer_type): New macro.
27669 (__integer_if_pointer_type_sub): Likewise.
27670 (__integer_if_pointer_type): Likewise.
27671 (cast_to_integer): Likewise.
27672 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27673 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27674 before casting to atomic64_t.
27675 (atomic_exchange_acq): Likewise.
27676 (__arch_exchange_and_add_body): Likewise.
27677 (__arch_add_body): Likewise.
27678 (atomic_add_negative): Likewise.
27679 (atomic_add_zero): Likewise.
27681 2012-11-26 Joseph Myers <joseph@codesourcery.com>
27683 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27684 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27685 (add_fdes): Likewise.
27686 (linear_search_fdes): Likewise.
27687 (binary_search_unencoded_fdes): Likewise.
27689 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
27691 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27693 2012-11-24 Adam Conrad <adconrad@0c3.net>
27695 * configure.in: Autodetect C++ header directories.
27696 * configure: Regenerated.
27698 2012-11-23 Mike Frysinger <vapier@gentoo.org>
27700 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27702 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
27704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27706 2012-11-22 Joseph Myers <joseph@codesourcery.com>
27708 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27709 LDBL_MANT_DIG == 106]: Disable some tests.
27710 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27712 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27716 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27717 input for small inputs. Return +/- pi/2 for large inputs.
27718 * math/libm-test.inc (atan_test): Add more tests.
27720 * sysdeps/generic/unwind-dw2-fde-glibc.c
27721 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27722 __attribute__ ((unused)).
27725 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27726 x * y if x and y are nonzero and z is zero.
27729 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27730 nonzero exponents with absolute value below 0x1p-117 to +/-
27734 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27735 up arguments below 2**-450, not just those below 2**-500.
27736 * math/libm-test.inc (hypot_test): Add another test.
27739 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27740 Return a+b for ratio over 2**120, not 2**60.
27741 * math/libm-test.inc (hypot_test): Add another test.
27743 * math/libm-test.inc (clog_test): Use
27744 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27745 (clog10_test): Likewise.
27748 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27750 2012-11-22 Andreas Schwab <schwab@suse.de>
27752 * sysdeps/i386/fpu/libm-test-ulps: Update.
27754 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27756 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27757 printf output with newline.
27759 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27762 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27763 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27764 -z nodlopen, -z initfirst and -z execstack support.
27765 * configure: Regenerated.
27767 * elf/elf.h (DF_1_NODIRECT): New macro.
27768 (DF_1_IGNMULDEF): Likewise.
27769 (DF_1_NOKSYMS): Likewise.
27770 (DF_1_NOHDR): Likewise.
27771 (DF_1_EDITED): Likewise.
27772 (DF_1_NORELOC): Likewise.
27773 (DF_1_SYMINTPOSE): Likewise.
27774 (DF_1_GLOBAUDIT): Likewise.
27775 (DF_1_SINGLETON): Likewise.
27776 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27777 DT_1_SUPPORTED_MASK bits.
27778 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27780 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27782 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27784 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27786 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27789 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27790 (sendmmsg): Move declarations...
27791 * socket/sys/socket.h: ... here.
27792 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27793 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27795 * socket/recvmmsg.c: ... this new file.
27796 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27797 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27798 definition of __sendmmsg hidden.
27799 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27800 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27801 Move ENOSYS stub into and include it from...
27802 * socket/sendmmsg.c: ... this new file.
27803 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27804 (sysdep_routines): Move recvmmsg and sendmmsg...
27805 * socket/Makefile (routines): ... here.
27806 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27807 (GLIBC_PRIVATE): Add __sendmmsg.
27808 * include/sys/socket.h (__sendmmsg): Add declarations.
27809 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27812 2012-11-20 Joseph Myers <joseph@codesourcery.com>
27814 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27815 variable I1 with __attribute__ ((unused)).
27816 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27818 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27820 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27821 DUMMY variables with __attribute__ ((unused)).
27823 * bits/byteswap.h: Include <bits/types.h>.
27824 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27826 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27828 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27829 string_t. Do not manually set errno.
27830 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27831 length with __strnlen. Make sure to both set errno and return it on
27834 2012-11-19 David S. Miller <davem@davemloft.net>
27836 With help from Joseph Myers.
27837 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27838 very large arguments properly.
27839 * math/libm-test.inc (atan_test): New tests.
27840 (atan2_test): New tests.
27841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27842 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27844 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27847 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27850 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27851 [POSIX] (EADDRNOTAVAIL): Likewise.
27852 [POSIX] (EAFNOSUPPORT): Likewise.
27853 [POSIX] (EALREADY): Likewise.
27854 [POSIX] (ECONNABORTED): Likewise.
27855 [POSIX] (ECONNREFUSED): Likewise.
27856 [POSIX] (ECONNRESET): Likewise.
27857 [POSIX] (EDESTADDRREQ): Likewise.
27858 [POSIX] (EDQUOT): Likewise.
27859 [POSIX] (EHOSTUNREACH): Likewise.
27860 [POSIX] (EIDRM): Likewise.
27861 [POSIX] (EISCONN): Likewise.
27862 [POSIX] (ELOOP): Likewise.
27863 [POSIX] (EMULTIHOP): Likewise.
27864 [POSIX] (ENETDOWN): Likewise.
27865 [POSIX] (ENETUNREACH): Likewise.
27866 [POSIX] (ENOBUFS): Likewise.
27867 [POSIX] (ENODATA): Likewise.
27868 [POSIX] (ENOLINK): Likewise.
27869 [POSIX] (ENOMSG): Likewise.
27870 [POSIX] (ENOPROTOOPT): Likewise.
27871 [POSIX] (ENOSR): Likewise.
27872 [POSIX] (ENOSTR): Likewise.
27873 [POSIX] (ENOTCONN): Likewise.
27874 [POSIX] (ENOTSOCK): Likewise.
27875 [POSIX] (EOPNOTSUPP): Likewise.
27876 [POSIX] (EOVERFLOW): Likewise.
27877 [POSIX] (EPROTO): Likewise.
27878 [POSIX] (EPROTONOSUPPORT): Likewise.
27879 [POSIX] (EPROTOTYPE): Likewise.
27880 [POSIX] (ESTALE): Likewise.
27881 [POSIX] (ETIME): Likewise.
27882 [POSIX] (ETXTBSY): Likewise.
27883 [POSIX] (EWOULDBLOCK): Likewise.
27884 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27885 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27886 [POSIX] (SEEK_CUR): Likewise.
27887 [POSIX] (SEEK_END): Likewise.
27888 [POSIX || UNIX98] (mode_t): Do not require.
27889 [POSIX] (off_t): Likewise.
27890 [POSIX] (pid_t): Likewise.
27891 [POSIX] (sys/stat.h): Do not allow header.
27892 [POSIX] (unistd.h): Likewise.
27893 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27894 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27895 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27896 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27898 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27899 sigevent): Specify elements.
27900 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27902 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27903 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27905 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27906 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27907 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27908 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27909 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27910 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27911 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27912 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27913 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27914 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27915 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27916 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27917 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27918 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27920 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27922 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27924 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27926 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27927 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27928 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27929 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27930 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27931 Specify lower bound on value.
27932 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27933 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27934 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27935 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27936 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27937 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27938 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27939 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27941 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27943 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27944 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27945 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27946 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27947 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27948 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27949 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27950 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27951 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27952 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27953 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27954 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27955 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27956 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27957 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27958 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27960 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27962 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27963 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27964 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27965 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27966 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27967 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27969 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27970 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27971 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27972 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27973 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27974 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27975 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27977 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27978 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27979 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27980 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27981 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27982 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27983 specify as optional.
27984 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27985 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27986 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27987 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27988 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27989 [XPG3] (NL_LANGMAX): Likewise.
27990 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27991 [POSIX || XPG3] (NL_NMAX): Likewise.
27992 [POSIX || XPG3] (NL_SETMAX): Likewise.
27993 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27994 [XPG3] (NZERO): Likewise.
27995 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27996 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27997 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27998 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27999 (REG_ERANGE): Expect.
28000 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28002 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28003 Use (void) in prototype.
28004 [POSIX] (*_t): Allow.
28005 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28006 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28007 (WRDE_BADVAL): Expect.
28009 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28011 [XPG3 || XPG4] (O_RSYNC): Likewise.
28012 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28014 [XPG3 || XPG4] (pthread_sigmask): Likewise.
28015 [XPG3 || XPG4] (sigqueue): Likewise.
28016 [XPG3 || XPG4] (sigtimedwait): Likewise.
28017 [XPG3 || XPG4] (sigwaitinfo): Likewise.
28018 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28019 [XPG3 || XPG4] (vsnprintf): Likewise.
28020 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28022 [XPG3 || XPG4] (blksize_t): Likewise.
28023 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28025 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28026 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28027 [XPG3 || XPG4] (struct itimerspec): Likewise.
28028 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28029 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28030 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28031 [XPG3 || XPG4] (clockid_t): Likewise.
28032 [XPG3 || XPG4] (timer_t): Likewise.
28033 [XPG3 || XPG4] (clock_getres): Likewise.
28034 [XPG3 || XPG4] (clock_gettime): Likewise.
28035 [XPG3 || XPG4] (clock_settime): Likewise.
28036 [XPG3 || XPG4] (nanosleep): Likewise.
28037 [XPG3 || XPG4] (timer_create): Likewise.
28038 [XPG3 || XPG4] (timer_delete): Likewise.
28039 [XPG3 || XPG4] (timer_gettime): Likewise.
28040 [XPG3 || XPG4] (timer_getoverrun): Likewise.
28041 [XPG3 || XPG4] (timer_settime): Likewise.
28042 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28043 [XPG3 || XPG4] (getlogin_r): Likewise.
28044 [XPG3 || XPG4] (pread): Likewise.
28045 [XPG3 || XPG4] (pthread_atfork): Likewise.
28046 [XPG3 || XPG4] (pwrite): Likewise.
28049 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28052 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28054 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28055 finalizing MALLSTREAM.
28057 * sysdeps/mach/hurd/syncfs.c: New file.
28059 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28062 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28063 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28064 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28065 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28066 (_nss_dns_gethostbyname4_r): Likewise.
28067 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28068 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28070 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
28073 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28075 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
28077 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28078 * elf/cache.c (print_entry): Print ",AArch64" for
28081 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28082 * elf/cache.c (print_entry): Print ",hard-float" for
28085 2012-11-18 David S. Miller <davem@davemloft.net>
28087 With help from Joseph Myers.
28088 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28090 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28092 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28093 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28095 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28096 * math/libm-test.inc (y0_test): New tests.
28097 (y1_test): New tests.
28098 * sysdeps/i386/fpu/libm-test-ulps: Update.
28099 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28102 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
28104 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28106 * configure: Regenerated.
28108 2012-11-17 David S. Miller <davem@davemloft.net>
28111 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28112 nonzero exponents with absolute value below 0x1p-128 to +/-
28115 2012-11-17 Joseph Myers <joseph@codesourcery.com>
28117 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28119 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28121 * posix/getconf-speclist.c: New file.
28122 * posix/posix-envs.def: Likewise.
28123 * posix/confstr.c (START_ENV_GROUP): New macro.
28124 (END_ENV_GROUP): Likewise.
28125 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28126 (KNOWN_PRESENT_ENV_STRING): Likewise.
28127 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28128 (UNKNOWN_ENVIRONMENT): Likewise.
28129 (confstr): Include posix-envs.def instead of handling
28130 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28131 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28132 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28133 (END_ENV_GROUP): Likewise.
28134 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28135 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28136 (UNKNOWN_ENVIRONMENT): Likewise.
28137 (__sysconf): Include posix-envs.def instead of handling associated
28138 cases directly here.
28139 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28140 preprocessing getconf-speclist.c rather than running getconf or
28141 generating empty file.
28143 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
28145 * scripts/check-local-headers.sh: Ignore 'mach' headers.
28147 2012-11-16 Andrej Lajovic <natrij@gmail.com>
28150 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28152 2012-11-16 David S. Miller <davem@davemloft.net>
28154 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28155 smaller than LDBL_EPSILON/2.0L, just return xm1.
28157 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
28159 * elf/tst-array1.c (init): Set constructor priority to 1000.
28160 (fini): Set destructor priority to 1000.
28161 * elf/tst-array2dep.c: Likewise.
28163 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28166 * libio/fileops.c (_IO_new_file_write): Correctly return error.
28167 (_IO_new_file_xsputn): Also return EOF if none of the input
28168 data was written when overflow failed.
28169 * libio/iopadn.c (_IO_padn): Likewise.
28170 * libio/iowpadn.c (_IO_wpadn): Likewise.
28171 * stdio-common/tst-put-error.c: Add copyright notice.
28172 (do_test): Add case for printing padded string.
28173 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28174 _IO_padn returned error.
28175 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28176 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28179 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28181 * libio/libioP.h: Add comment note that the references to C++
28182 bits are now obsolete.
28184 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28186 * math/libm-test.inc (check_complex): Use asprintf.
28188 2012-11-14 Joseph Myers <joseph@codesourcery.com>
28190 * debug/pcprofiledump.c (print_version): Update copyright year.
28191 * malloc/memusagestat.c (print_version): Likewise.
28193 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
28196 * elf/Makefile (tests): Add tst-audit8.
28197 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28198 ($(objpfx)tst-audit8.out): New target.
28199 (tst-audit8-ENV): New variable.
28200 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28201 audit if l_reloc_result is NULL.
28202 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28203 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28204 * elf/tst-audit8.c: New file.
28206 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28208 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28209 * misc/Makefile (CFLAGS-select.c): Define.
28210 * posix/Makefile (CFLAGS-pause.c): Define.
28212 2012-11-13 David S. Miller <davem@davemloft.net>
28214 * crypt/Makefile: Move test targets after toplevel Rules
28215 inclusion. Grab any necessary sysdep routines when linking.
28216 * crypt/md5.c (md5_process_block): Remove define, we will always
28217 name it __md5_process_block.
28218 (md5_finish_ctx): Update md5_process_block call.
28219 (md5_stream): Likewise.
28220 (md5_process_bytes): Likewise.
28221 (md5_process_block): Rename to __md5_process_block and move to ...
28222 * crypt/md5-block.c: ... here.
28223 * crypt/sha256.c (sha256_process_block): Move to ...
28224 * crypt/sha256-block.c: ... here.
28225 * crypt/sha512.c (sha512_process_block): Move to ...
28226 * crypt/sha512-block.c: ... here.
28227 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28229 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28230 * sysdeps/sparc/sparc64/multiarch/Makefile
28231 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28233 (localedef-aux): Add md5 crypto assembler when in locale subdir.
28234 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28236 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28237 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28238 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28239 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28240 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28241 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28242 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28243 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28244 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28246 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28247 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28249 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28251 2012-11-13 Joseph Myers <joseph@codesourcery.com>
28253 * timezone/tzselect.ksh: Update from tzcode git revision
28254 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28255 * timezone/zdump.c: Likewise.
28256 * timezone/zic.c: Likewise.
28257 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28258 in TZVERSION setting, not $(PKGVERSION).
28259 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
28260 REPORT_BUGS_TO settings.
28263 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28266 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28268 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28269 detection to immediately after _FP_ROUND().
28270 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28273 2012-11-11 David S. Miller <davem@davemloft.net>
28275 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28277 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28278 __close rather than their public counterparts.
28280 2012-11-10 Joseph Myers <joseph@codesourcery.com>
28282 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28284 [UNIX98] (sem_timedwait): Do not expect.
28285 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28286 [XPG4 || UNIX98] (sockatmark): Do not expect.
28287 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28288 (clock_getcpuclockid): Do not expect.
28289 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28290 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28292 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28293 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28294 [UNIX98] (vwscanf): Likewise.
28295 [UNIX98] (vswscanf): Likewise.
28297 2012-11-09 Joseph Myers <joseph@codesourcery.com>
28299 * timezone/version.h: Remove file.
28300 * timezone/README: Do not refer to version.h.
28301 * timezone/Makefile ($(objpfx)zic.o): New dependency on
28302 $(objpfx)version.h.
28303 ($(objpfx)zdump.o): Likewise.
28304 ($(objpfx)version.h): New target.
28306 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28308 * timezone/README: Don't mention modification to tzselect.ksh.
28309 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28310 work on unmodified tzselect.ksh. Substitute version numbers in
28313 * Makefile (format-me): Remove.
28314 (INSTALL): Adjust indentation. Use commands directly instead of
28315 using $(format-me).
28317 * aclocal.m4 (ACX_PKGVERSION): New macro.
28318 (ACX_BUGURL): Likewise.
28319 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28320 (PKGVERSION): New AC_DEFINE_UNQUOTED.
28321 (REPORT_BUGS_TO): Likewise.
28322 * configure: Regenerated.
28323 * config.h.in (PKGVERSION): New macro.
28324 (REPORT_BUGS_TO): Likewise.
28325 * config.make.in (PKGVERSION): New variable.
28326 (PKGVERSION_TEXI): Likewise.
28327 (REPORT_BUGS_TO): Likewise.
28328 (REPORT_BUGS_TEXI): Likewise.
28329 * Makefile (format-me): Use -I$(common-objpfx)manual.
28330 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28331 ($(common-objpfx)manual/%): New target.
28332 (manual/%): Remove target.
28333 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28334 (print_version): Use PKGVERSION.
28335 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28336 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28337 and REPORT_BUGS_TO.
28338 ($(objpfx)xtrace): Likewise.
28339 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28340 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28341 (print_version): Use PKGVERSION.
28342 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28343 (do_version): Use PKGVERSION.
28344 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28346 (common-ldd-rewrite): Likewise.
28347 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28348 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28349 (print_version): Use PKGVERSION.
28350 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28351 * elf/pldd.c (argp_program_bug_address): Remove variable.
28352 (more_help): New function.
28353 (argp): Use more_help.
28354 (print_version): Use PKGVERSION.
28355 * elf/sln.c (main): Use PKGVERSION.
28356 (usage): Use REPORT_BUGS_TO.
28357 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28358 (top level): Use PKGVERSION.
28359 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28360 (print_version): Use PKGVERSION.
28361 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28362 (print_version): Use PKGVERSION.
28363 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28364 (print_version): Use PKGVERSION.
28365 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28366 (print_version): Use PKGVERSION.
28367 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28368 (print_version): Use PKGVERSION.
28369 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28370 (print_version): Use PKGVERSION.
28371 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28373 ($(objpfx)memusage): Likewise.
28374 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28375 (do_version): Use PKGVERSION.
28376 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28377 (print_version): Use PKGVERSION.
28378 * malloc/mtrace.pl ($PACKAGE): Remove variable.
28379 ($PKGVERSION): New variable.
28380 ($REPORT_BUGS_TO): Likewise.
28381 (usage): Use $REPORT_BUGS_TO.
28382 (top level): Use $PKGVERSION.
28383 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28384 ($(objpfx)pkgvers.texi): New rule.
28385 ($(objpfx)stamp-pkgvers): Likewise.
28386 * manual/install.texi: Include pkgvers.texi.
28387 (--with-pkgversion): Document new configure option.
28388 (--with-bugurl): Likewise.
28389 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28390 than necessarily for this particular distribution. Use
28391 REPORT_BUGS_TO for where to report bugs.
28392 * INSTALL: Regenerated.
28393 * manual/libc.texinfo: Include pkgvers.texi.
28394 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28395 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28396 (print_version): Use PKGVERSION.
28397 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28398 (print_version): Use PKGVERSION.
28399 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28400 (print_version): Use PKGVERSION.
28401 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28402 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28404 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28405 (print_version): Use PKGVERSION.
28406 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28407 (print_version): Use PKGVERSION.
28408 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28411 * timezone/checktab.awk: Update from tzcode 2012i.
28412 * timezone/ialloc.c: Likewise.
28413 * timezone/private.h: Likewise.
28414 * timezone/scheck.c: Likewise.
28415 * timezone/tzfile.h: Likewise.
28416 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28417 (TZVERSION): Hardcode tzcode version number.
28418 * timezone/zdump.c: Update from tzcode 2012i.
28419 * timezone/zic.c: Likewise.
28420 * timezone/version.h: New file.
28421 * timezone/README: Describe version.h. Update upstream location.
28424 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28425 (mktemp): Enable declaration.
28426 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28427 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28428 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28429 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28431 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28433 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28435 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28437 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28439 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28443 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28444 offset in buffer as u_int32_t not u_long. Consistently use memcpy
28445 for copies of such integer values.
28446 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28447 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28449 2012-11-09 Andreas Jaeger <aj@suse.de>
28451 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28452 definitions and declarations that are provided by
28453 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28455 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28457 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28458 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28459 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28462 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28464 * elf/elf.h: Update comment before AArch64 relocations.
28466 2012-11-07 David S. Miller <davem@davemloft.net>
28468 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28469 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28470 (__start_context): Declare.
28471 (__makecontext_ret): Delete.
28472 (__makecontext): Hook up __start_context instead of
28474 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28475 (sysdep_routines): Add __start_context when in stdlib.
28477 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28479 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28480 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28481 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
28483 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
28484 (READELF): New variable. Use it instead of hardcoded "readelf".
28486 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
28488 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28489 * sysdeps/x86/Makefile: Here.
28490 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28491 * sysdeps/x86/tst-xmmymm.sh: This.
28493 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28495 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28497 [UNIX98] (pthread_barrier_t): Do not expect.
28498 [UNIX98] (pthread_barrierattr_t): Likewise.
28499 [UNIX98] (pthread_spinlock_t): Likewise.
28500 [UNIX98] (pthread_barrier_destroy): Likewise.
28501 [UNIX98] (pthread_barrier_init): Likewise.
28502 [UNIX98] (pthread_barrier_wait): Likewise.
28503 [UNIX98] (pthread_barrierattr_destroy): Likewise.
28504 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28505 [UNIX98] (pthread_barrierattr_init): Likewise.
28506 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28507 [UNIX98] (pthread_getcpuclockid): Likewise.
28508 [UNIX98] (pthread_mutex_timedlock): Likewise.
28509 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28510 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28511 [UNIX98] (pthread_sigmask): Likewise.
28512 [UNIX98] (pthread_spin_destroy): Likewise.
28513 [UNIX98] (pthread_spin_init): Likewise.
28514 [UNIX98] (pthread_spin_lock): Likewise.
28515 [UNIX98] (pthread_spin_trylock): Likewise.
28516 [UNIX98] (pthread_spin_unlock): Likewise.
28517 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28519 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28520 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28521 [XPG3 || XPG4] (pthread_cond_t): Likewise.
28522 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28523 [XPG3 || XPG4] (pthread_key_t): Likewise.
28524 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28525 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28526 [XPG3 || XPG4] (pthread_once_t): Likewise.
28527 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28528 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28529 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28530 [XPG3 || XPG4] (pthread_t): Likewise.
28532 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28534 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28536 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28537 Change function return type to int.
28539 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28540 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28541 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28542 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28543 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28544 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28545 [!POSIX] (posix_madvise): Likewise.
28546 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28548 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28549 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28550 (mode_t): Likewise.
28551 (posix_mem_offset): Likewise.
28552 (posix_typed_mem_get_info): Likewise.
28553 (posix_typed_mem_open): Likewise.
28555 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28556 Change condition to [XOPEN2K8].
28558 * conform/conformtest.pl: Preprocess allow-header data with -x c
28559 instead of from stdin.
28560 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28561 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28562 [C99-based standards] (cerfc): Likewise.
28563 [C99-based standards] (cexp2): Likewise.
28564 [C99-based standards] (cexpm1): Likewise.
28565 [C99-based standards] (clog10): Likewise.
28566 [C99-based standards] (clog1p): Likewise.
28567 [C99-based standards] (clog2): Likewise.
28568 [C99-based standards] (clgamma): Likewise.
28569 [C99-based standards] (ctgamma): Likewise.
28570 [C99-based standards] (cerff): Likewise.
28571 [C99-based standards] (cerfcf): Likewise.
28572 [C99-based standards] (cexp2f): Likewise.
28573 [C99-based standards] (cexpm1f): Likewise.
28574 [C99-based standards] (clog10f): Likewise.
28575 [C99-based standards] (clog1pf): Likewise.
28576 [C99-based standards] (clog2f): Likewise.
28577 [C99-based standards] (clgammaf): Likewise.
28578 [C99-based standards] (ctgammaf): Likewise.
28579 [C99-based standards] (cerfl): Likewise.
28580 [C99-based standards] (cerfcl): Likewise.
28581 [C99-based standards] (cexp2l): Likewise.
28582 [C99-based standards] (cexpm1l): Likewise.
28583 [C99-based standards] (clog10l): Likewise.
28584 [C99-based standards] (clog1pl): Likewise.
28585 [C99-based standards] (clog2l): Likewise.
28586 [C99-based standards] (clgammal): Likewise.
28587 [C99-based standards] (ctgammal): Likewise.
28588 * conform/data/inttypes.h-data [C99-based standards]: Include
28589 stdint.h-data. Remove all expectations for stdint.h contents.
28590 [C99-based standards] (PRI*): Do not allow.
28591 [C99-based standards] (SCN*): Likewise.
28592 [C99-based standards] (*_t): Likewise.
28593 [C99-based-standards] (PRId8): Expect macro.
28594 [C99-based-standards] (PRIi8): Likewise.
28595 [C99-based-standards] (PRIo8): Likewise.
28596 [C99-based-standards] (PRIu8): Likewise.
28597 [C99-based-standards] (PRIx8): Likewise.
28598 [C99-based-standards] (PRIX8): Likewise.
28599 [C99-based-standards] (SCNd8): Likewise.
28600 [C99-based-standards] (SCNi8): Likewise.
28601 [C99-based-standards] (SCNo8): Likewise.
28602 [C99-based-standards] (SCNu8): Likewise.
28603 [C99-based-standards] (SCNx8): Likewise.
28604 [C99-based-standards] (PRIdLEAST8): Likewise.
28605 [C99-based-standards] (PRIiLEAST8): Likewise.
28606 [C99-based-standards] (PRIoLEAST8): Likewise.
28607 [C99-based-standards] (PRIuLEAST8): Likewise.
28608 [C99-based-standards] (PRIxLEAST8): Likewise.
28609 [C99-based-standards] (PRIXLEAST8): Likewise.
28610 [C99-based-standards] (SCNdLEAST8): Likewise.
28611 [C99-based-standards] (SCNiLEAST8): Likewise.
28612 [C99-based-standards] (SCNoLEAST8): Likewise.
28613 [C99-based-standards] (SCNuLEAST8): Likewise.
28614 [C99-based-standards] (SCNxLEAST8): Likewise.
28615 [C99-based-standards] (PRIdFAST8): Likewise.
28616 [C99-based-standards] (PRIiFAST8): Likewise.
28617 [C99-based-standards] (PRIoFAST8): Likewise.
28618 [C99-based-standards] (PRIuFAST8): Likewise.
28619 [C99-based-standards] (PRIxFAST8): Likewise.
28620 [C99-based-standards] (PRIXFAST8): Likewise.
28621 [C99-based-standards] (SCNdFAST8): Likewise.
28622 [C99-based-standards] (SCNiFAST8): Likewise.
28623 [C99-based-standards] (SCNoFAST8): Likewise.
28624 [C99-based-standards] (SCNuFAST8): Likewise.
28625 [C99-based-standards] (SCNxFAST8): Likewise.
28626 [C99-based-standards] (PRId16): Likewise.
28627 [C99-based-standards] (PRIi16): Likewise.
28628 [C99-based-standards] (PRIo16): Likewise.
28629 [C99-based-standards] (PRIu16): Likewise.
28630 [C99-based-standards] (PRIx16): Likewise.
28631 [C99-based-standards] (PRIX16): Likewise.
28632 [C99-based-standards] (SCNd16): Likewise.
28633 [C99-based-standards] (SCNi16): Likewise.
28634 [C99-based-standards] (SCNo16): Likewise.
28635 [C99-based-standards] (SCNu16): Likewise.
28636 [C99-based-standards] (SCNx16): Likewise.
28637 [C99-based-standards] (PRIdLEAST16): Likewise.
28638 [C99-based-standards] (PRIiLEAST16): Likewise.
28639 [C99-based-standards] (PRIoLEAST16): Likewise.
28640 [C99-based-standards] (PRIuLEAST16): Likewise.
28641 [C99-based-standards] (PRIxLEAST16): Likewise.
28642 [C99-based-standards] (PRIXLEAST16): Likewise.
28643 [C99-based-standards] (SCNdLEAST16): Likewise.
28644 [C99-based-standards] (SCNiLEAST16): Likewise.
28645 [C99-based-standards] (SCNoLEAST16): Likewise.
28646 [C99-based-standards] (SCNuLEAST16): Likewise.
28647 [C99-based-standards] (SCNxLEAST16): Likewise.
28648 [C99-based-standards] (PRIdFAST16): Likewise.
28649 [C99-based-standards] (PRIiFAST16): Likewise.
28650 [C99-based-standards] (PRIoFAST16): Likewise.
28651 [C99-based-standards] (PRIuFAST16): Likewise.
28652 [C99-based-standards] (PRIxFAST16): Likewise.
28653 [C99-based-standards] (PRIXFAST16): Likewise.
28654 [C99-based-standards] (SCNdFAST16): Likewise.
28655 [C99-based-standards] (SCNiFAST16): Likewise.
28656 [C99-based-standards] (SCNoFAST16): Likewise.
28657 [C99-based-standards] (SCNuFAST16): Likewise.
28658 [C99-based-standards] (SCNxFAST16): Likewise.
28659 [C99-based-standards] (PRId32): Likewise.
28660 [C99-based-standards] (PRIi32): Likewise.
28661 [C99-based-standards] (PRIo32): Likewise.
28662 [C99-based-standards] (PRIu32): Likewise.
28663 [C99-based-standards] (PRIx32): Likewise.
28664 [C99-based-standards] (PRIX32): Likewise.
28665 [C99-based-standards] (SCNd32): Likewise.
28666 [C99-based-standards] (SCNi32): Likewise.
28667 [C99-based-standards] (SCNo32): Likewise.
28668 [C99-based-standards] (SCNu32): Likewise.
28669 [C99-based-standards] (SCNx32): Likewise.
28670 [C99-based-standards] (PRIdLEAST32): Likewise.
28671 [C99-based-standards] (PRIiLEAST32): Likewise.
28672 [C99-based-standards] (PRIoLEAST32): Likewise.
28673 [C99-based-standards] (PRIuLEAST32): Likewise.
28674 [C99-based-standards] (PRIxLEAST32): Likewise.
28675 [C99-based-standards] (PRIXLEAST32): Likewise.
28676 [C99-based-standards] (SCNdLEAST32): Likewise.
28677 [C99-based-standards] (SCNiLEAST32): Likewise.
28678 [C99-based-standards] (SCNoLEAST32): Likewise.
28679 [C99-based-standards] (SCNuLEAST32): Likewise.
28680 [C99-based-standards] (SCNxLEAST32): Likewise.
28681 [C99-based-standards] (PRIdFAST32): Likewise.
28682 [C99-based-standards] (PRIiFAST32): Likewise.
28683 [C99-based-standards] (PRIoFAST32): Likewise.
28684 [C99-based-standards] (PRIuFAST32): Likewise.
28685 [C99-based-standards] (PRIxFAST32): Likewise.
28686 [C99-based-standards] (PRIXFAST32): Likewise.
28687 [C99-based-standards] (SCNdFAST32): Likewise.
28688 [C99-based-standards] (SCNiFAST32): Likewise.
28689 [C99-based-standards] (SCNoFAST32): Likewise.
28690 [C99-based-standards] (SCNuFAST32): Likewise.
28691 [C99-based-standards] (SCNxFAST32): Likewise.
28692 [C99-based-standards] (PRId64): Likewise.
28693 [C99-based-standards] (PRIi64): Likewise.
28694 [C99-based-standards] (PRIo64): Likewise.
28695 [C99-based-standards] (PRIu64): Likewise.
28696 [C99-based-standards] (PRIx64): Likewise.
28697 [C99-based-standards] (PRIX64): Likewise.
28698 [C99-based-standards] (SCNd64): Likewise.
28699 [C99-based-standards] (SCNi64): Likewise.
28700 [C99-based-standards] (SCNo64): Likewise.
28701 [C99-based-standards] (SCNu64): Likewise.
28702 [C99-based-standards] (SCNx64): Likewise.
28703 [C99-based-standards] (PRIdLEAST64): Likewise.
28704 [C99-based-standards] (PRIiLEAST64): Likewise.
28705 [C99-based-standards] (PRIoLEAST64): Likewise.
28706 [C99-based-standards] (PRIuLEAST64): Likewise.
28707 [C99-based-standards] (PRIxLEAST64): Likewise.
28708 [C99-based-standards] (PRIXLEAST64): Likewise.
28709 [C99-based-standards] (SCNdLEAST64): Likewise.
28710 [C99-based-standards] (SCNiLEAST64): Likewise.
28711 [C99-based-standards] (SCNoLEAST64): Likewise.
28712 [C99-based-standards] (SCNuLEAST64): Likewise.
28713 [C99-based-standards] (SCNxLEAST64): Likewise.
28714 [C99-based-standards] (PRIdFAST64): Likewise.
28715 [C99-based-standards] (PRIiFAST64): Likewise.
28716 [C99-based-standards] (PRIoFAST64): Likewise.
28717 [C99-based-standards] (PRIuFAST64): Likewise.
28718 [C99-based-standards] (PRIxFAST64): Likewise.
28719 [C99-based-standards] (PRIXFAST64): Likewise.
28720 [C99-based-standards] (SCNdFAST64): Likewise.
28721 [C99-based-standards] (SCNiFAST64): Likewise.
28722 [C99-based-standards] (SCNoFAST64): Likewise.
28723 [C99-based-standards] (SCNuFAST64): Likewise.
28724 [C99-based-standards] (SCNxFAST64): Likewise.
28725 [C99-based-standards] (PRIdMAX): Likewise.
28726 [C99-based-standards] (PRIiMAX): Likewise.
28727 [C99-based-standards] (PRIoMAX): Likewise.
28728 [C99-based-standards] (PRIuMAX): Likewise.
28729 [C99-based-standards] (PRIxMAX): Likewise.
28730 [C99-based-standards] (PRIXMAX): Likewise.
28731 [C99-based-standards] (SCNdMAX): Likewise.
28732 [C99-based-standards] (SCNiMAX): Likewise.
28733 [C99-based-standards] (SCNoMAX): Likewise.
28734 [C99-based-standards] (SCNuMAX): Likewise.
28735 [C99-based-standards] (SCNxMAX): Likewise.
28736 [C99-based-standards] (PRIdPTR): Likewise.
28737 [C99-based-standards] (PRIiPTR): Likewise.
28738 [C99-based-standards] (PRIoPTR): Likewise.
28739 [C99-based-standards] (PRIuPTR): Likewise.
28740 [C99-based-standards] (PRIxPTR): Likewise.
28741 [C99-based-standards] (PRIXPTR): Likewise.
28742 [C99-based-standards] (SCNdPTR): Likewise.
28743 [C99-based-standards] (SCNiPTR): Likewise.
28744 [C99-based-standards] (SCNoPTR): Likewise.
28745 [C99-based-standards] (SCNuPTR): Likewise.
28746 [C99-based-standards] (SCNxPTR): Likewise.
28747 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28749 * conform/data/stdint.h-data: Update comments to clarify
28751 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28753 [C99-based standards] (INT8_MAX): Likewise.
28754 [C99-based standards] (INT16_MIN): Likewise.
28755 [C99-based standards] (INT16_MAX): Likewise.
28756 [C99-based standards] (INT32_MIN): Likewise.
28757 [C99-based standards] (INT32_MAX): Likewise.
28758 [C99-based standards] (INT64_MIN): Likewise.
28759 [C99-based standards] (INT64_MAX): Likewise.
28760 [C99-based standards] (UINT8_MAX): Likewise.
28761 [C99-based standards] (UINT16_MAX): Likewise.
28762 [C99-based standards] (UINT32_MAX): Likewise.
28763 [C99-based standards] (UINT64_MAX): Likewise.
28764 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28765 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28766 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28767 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28768 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28769 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28770 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28771 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28772 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28773 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28774 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28775 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28776 [C99-based standards] (INT_FAST8_MIN): Likewise.
28777 [C99-based standards] (INT_FAST8_MAX): Likewise.
28778 [C99-based standards] (INT_FAST16_MIN): Likewise.
28779 [C99-based standards] (INT_FAST16_MAX): Likewise.
28780 [C99-based standards] (INT_FAST32_MIN): Likewise.
28781 [C99-based standards] (INT_FAST32_MAX): Likewise.
28782 [C99-based standards] (INT_FAST64_MIN): Likewise.
28783 [C99-based standards] (INT_FAST64_MAX): Likewise.
28784 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28785 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28786 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28787 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28788 [C99-based standards] (INTPTR_MIN): Likewise.
28789 [C99-based standards] (INTPTR_MAX): Likewise.
28790 [C99-based standards] (UINTPTR_MAX): Likewise.
28791 [C99-based standards] (INTMAX_MIN): Likewise.
28792 [C99-based standards] (INTMAX_MAX): Likewise.
28793 [C99-based standards] (UINTMAX_MAX): Likewise.
28794 [C99-based standards] (PTRDIFF_MIN): Likewise.
28795 [C99-based standards] (PTRDIFF_MAX): Likewise.
28796 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28797 [C99-based standards] (SIZE_MAX): Likewise.
28798 [C99-based standards] (WCHAR_MAX): Likewise.
28799 [C99-based standards] (WINT_MAX): Likewise.
28800 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28801 constraint on value.
28802 [C99-based standards] (WCHAR_MIN): Likewise.
28803 [C99-based standards] (WINT_MIN): Likewise.
28804 [C99-based standards] (*_t): Allow.
28805 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28806 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28807 Include math.h-data and complex.h-data. Remove all expectations
28808 of math.h and complex.h contents.
28809 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28811 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28812 (struct tm): Expect tag.
28813 [C99-based-standards] (wcstof): Expect function.
28814 [C99-based-standards] (wcstold): Likewise.
28815 [C99-based-standards] (wcstoll): Likewise.
28816 [C99-based-standards] (wcstoull): Likewise.
28817 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28818 macro-int-constant. Specify type.
28819 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28820 constraint on value.
28821 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28823 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28825 [ISO C standards]: Do not allow headers.
28826 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28827 wcs[abcdefghijklmnopqrstuvwxyz]*.
28828 [ISO C standards] (*_t): Do not allow.
28829 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28831 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28832 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28834 [ISO C standards]: Do not allow headers.
28835 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28836 is[abcdefghijklmnopqrstuvwxyz]*.
28837 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28838 to[abcdefghijklmnopqrstuvwxyz]*.
28839 [ISO C standards] (*_t): Do not allow.
28840 * conform/data/stdalign.h-data: New file.
28841 * conform/data/stdbool.h-data: Likewise.
28842 * conform/data/stdnoreturn.h-data: Likewise.
28844 2012-11-07 Roland McGrath <roland@hack.frob.com>
28847 * manual/filesys.texi (Directory Entries): Typo fix.
28848 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28850 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28852 * elf/elf.h (EM_AARCH64): New macro.
28853 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28854 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28855 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28856 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28857 (R_AARCH64_TLSDESC): Likewise.
28858 (NT_ARM_TLS): Likewise.
28859 (NT_ARM_HW_BREAK): Likewise.
28860 (NT_ARM_HW_WATCH): Likewise.
28862 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28865 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28866 (__ieee754_powl): Saturate nonzero exponents with absolute value
28867 below 0x1p-79 to +/- 0x1p-79.
28868 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28869 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28870 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28871 nonzero exponents with absolute value below 0x1p-32 to +/-
28873 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28874 (__ieee754_powl): Saturate nonzero exponents with absolute value
28875 below 0x1p-79 to +/- 0x1p-79.
28876 * math/libm-test.inc (pow_test): Add more tests.
28878 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28880 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28881 _dl_s390_cap_flags with kernel. Increase string length.
28882 (_dl_s390_platforms): Add z196 and zEC12.
28884 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28886 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28887 Change XOPEN21K to XOPEN2K.
28889 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28891 * string/memmove.c: Use memcpy when possible.
28893 2012-11-06 Andreas Jaeger <aj@suse.de>
28895 * po/eo.po: Update from translation team.
28897 2012-11-06 Joseph Myers <joseph@codesourcery.com>
28900 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28901 exponent and small x and y exponents, scale x or y up. Increase
28902 by 2 the exponent used in scaling up.
28903 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28904 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28905 * math/libm-test.inc (fma_test): Add more tests.
28906 (fma_test_towardzero): Likewise.
28907 (fma_test_downward): Likewise.
28908 (fma_test_upward): Likewise.
28910 2012-11-05 Joseph Myers <joseph@codesourcery.com>
28913 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28917 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28918 namespace for names of struct fields.
28919 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28921 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28922 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28924 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28927 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28929 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28931 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28935 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28938 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28941 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28942 definitely overflow as x * y not x * y + z.
28943 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28944 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28945 * math/libm-test.inc (fma_test): Add more tests.
28946 (fma_test_towardzero): Likewise.
28947 (fma_test_downward): Likewise.
28948 (fma_test_upward): Likewise.
28950 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28954 * include/stub-tag.h: Remove file.
28955 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28957 * manual/maint.texi (Porting): Don't reference it.
28958 * Makerules ($(objpfx)stubs): Likewise.
28959 * dirent/closedir.c: Don't include <stub-tag.h>.
28960 * dirent/dirfd.c: Likewise.
28961 * dirent/fdopendir.c: Likewise.
28962 * dirent/getdents.c: Likewise.
28963 * dirent/getdents64.c: Likewise.
28964 * dirent/opendir.c: Likewise.
28965 * dirent/readdir.c: Likewise.
28966 * dirent/readdir64.c: Likewise.
28967 * dirent/readdir64_r.c: Likewise.
28968 * dirent/readdir_r.c: Likewise.
28969 * dirent/rewinddir.c: Likewise.
28970 * dirent/seekdir.c: Likewise.
28971 * dirent/telldir.c: Likewise.
28972 * gmon/profil.c: Likewise.
28973 * grp/setgroups.c: Likewise.
28974 * inet/if_index.c: Likewise.
28975 * io/access.c: Likewise.
28976 * io/chdir.c: Likewise.
28977 * io/chmod.c: Likewise.
28978 * io/chown.c: Likewise.
28979 * io/close.c: Likewise.
28980 * io/dup.c: Likewise.
28981 * io/dup2.c: Likewise.
28982 * io/dup3.c: Likewise.
28983 * io/euidaccess.c: Likewise.
28984 * io/faccessat.c: Likewise.
28985 * io/fchdir.c: Likewise.
28986 * io/fchmod.c: Likewise.
28987 * io/fchmodat.c: Likewise.
28988 * io/fchown.c: Likewise.
28989 * io/fchownat.c: Likewise.
28990 * io/fcntl.c: Likewise.
28991 * io/flock.c: Likewise.
28992 * io/fstatfs.c: Likewise.
28993 * io/fstatfs64.c: Likewise.
28994 * io/fstatvfs.c: Likewise.
28995 * io/fstatvfs64.c: Likewise.
28996 * io/futimens.c: Likewise.
28997 * io/fxstat.c: Likewise.
28998 * io/fxstat64.c: Likewise.
28999 * io/fxstatat.c: Likewise.
29000 * io/fxstatat64.c: Likewise.
29001 * io/getcwd.c: Likewise.
29002 * io/isatty.c: Likewise.
29003 * io/lchmod.c: Likewise.
29004 * io/lchown.c: Likewise.
29005 * io/link.c: Likewise.
29006 * io/linkat.c: Likewise.
29007 * io/lseek.c: Likewise.
29008 * io/lseek64.c: Likewise.
29009 * io/lxstat64.c: Likewise.
29010 * io/mkdir.c: Likewise.
29011 * io/mkdirat.c: Likewise.
29012 * io/mkfifo.c: Likewise.
29013 * io/mkfifoat.c: Likewise.
29014 * io/open.c: Likewise.
29015 * io/open64.c: Likewise.
29016 * io/openat.c: Likewise.
29017 * io/openat64.c: Likewise.
29018 * io/pipe.c: Likewise.
29019 * io/pipe2.c: Likewise.
29020 * io/poll.c: Likewise.
29021 * io/posix_fadvise.c: Likewise.
29022 * io/posix_fadvise64.c: Likewise.
29023 * io/posix_fallocate.c: Likewise.
29024 * io/posix_fallocate64.c: Likewise.
29025 * io/read.c: Likewise.
29026 * io/readlink.c: Likewise.
29027 * io/readlinkat.c: Likewise.
29028 * io/rmdir.c: Likewise.
29029 * io/sendfile.c: Likewise.
29030 * io/sendfile64.c: Likewise.
29031 * io/statfs.c: Likewise.
29032 * io/statfs64.c: Likewise.
29033 * io/statvfs.c: Likewise.
29034 * io/statvfs64.c: Likewise.
29035 * io/symlink.c: Likewise.
29036 * io/symlinkat.c: Likewise.
29037 * io/ttyname.c: Likewise.
29038 * io/ttyname_r.c: Likewise.
29039 * io/umask.c: Likewise.
29040 * io/unlink.c: Likewise.
29041 * io/unlinkat.c: Likewise.
29042 * io/utime.c: Likewise.
29043 * io/utimensat.c: Likewise.
29044 * io/write.c: Likewise.
29045 * io/xmknod.c: Likewise.
29046 * io/xmknodat.c: Likewise.
29047 * io/xstat.c: Likewise.
29048 * io/xstat64.c: Likewise.
29049 * login/getpt.c: Likewise.
29050 * login/grantpt.c: Likewise.
29051 * login/unlockpt.c: Likewise.
29052 * math/e_acoshl.c: Likewise.
29053 * math/e_acosl.c: Likewise.
29054 * math/e_asinl.c: Likewise.
29055 * math/e_atan2l.c: Likewise.
29056 * math/e_atanhl.c: Likewise.
29057 * math/e_coshl.c: Likewise.
29058 * math/e_expl.c: Likewise.
29059 * math/e_fmodl.c: Likewise.
29060 * math/e_gammal_r.c: Likewise.
29061 * math/e_hypotl.c: Likewise.
29062 * math/e_j0l.c: Likewise.
29063 * math/e_j1l.c: Likewise.
29064 * math/e_jnl.c: Likewise.
29065 * math/e_lgammal_r.c: Likewise.
29066 * math/e_log10l.c: Likewise.
29067 * math/e_log2l.c: Likewise.
29068 * math/e_logl.c: Likewise.
29069 * math/e_powl.c: Likewise.
29070 * math/e_rem_pio2l.c: Likewise.
29071 * math/e_sinhl.c: Likewise.
29072 * math/e_sqrtl.c: Likewise.
29073 * math/fclrexcpt.c: Likewise.
29074 * math/fedisblxcpt.c: Likewise.
29075 * math/feenablxcpt.c: Likewise.
29076 * math/fegetenv.c: Likewise.
29077 * math/fegetexcept.c: Likewise.
29078 * math/fegetround.c: Likewise.
29079 * math/feholdexcpt.c: Likewise.
29080 * math/fesetenv.c: Likewise.
29081 * math/fesetround.c: Likewise.
29082 * math/feupdateenv.c: Likewise.
29083 * math/fgetexcptflg.c: Likewise.
29084 * math/fraiseexcpt.c: Likewise.
29085 * math/fsetexcptflg.c: Likewise.
29086 * math/ftestexcept.c: Likewise.
29087 * math/k_cosl.c: Likewise.
29088 * math/k_rem_pio2l.c: Likewise.
29089 * math/k_sinl.c: Likewise.
29090 * math/k_tanl.c: Likewise.
29091 * math/s_asinhl.c: Likewise.
29092 * math/s_atanl.c: Likewise.
29093 * math/s_cbrtl.c: Likewise.
29094 * math/s_erfl.c: Likewise.
29095 * math/s_expm1l.c: Likewise.
29096 * math/s_log1pl.c: Likewise.
29097 * math/s_tanhl.c: Likewise.
29098 * misc/acct.c: Likewise.
29099 * misc/brk.c: Likewise.
29100 * misc/chflags.c: Likewise.
29101 * misc/chroot.c: Likewise.
29102 * misc/fchflags.c: Likewise.
29103 * misc/fgetxattr.c: Likewise.
29104 * misc/flistxattr.c: Likewise.
29105 * misc/fremovexattr.c: Likewise.
29106 * misc/fsetxattr.c: Likewise.
29107 * misc/fsync.c: Likewise.
29108 * misc/ftruncate.c: Likewise.
29109 * misc/futimes.c: Likewise.
29110 * misc/futimesat.c: Likewise.
29111 * misc/getdomain.c: Likewise.
29112 * misc/getdtsz.c: Likewise.
29113 * misc/gethostid.c: Likewise.
29114 * misc/gethostname.c: Likewise.
29115 * misc/getloadavg.c: Likewise.
29116 * misc/getpagesize.c: Likewise.
29117 * misc/getsysstats.c: Likewise.
29118 * misc/getxattr.c: Likewise.
29119 * misc/gtty.c: Likewise.
29120 * misc/ioctl.c: Likewise.
29121 * misc/lgetxattr.c: Likewise.
29122 * misc/listxattr.c: Likewise.
29123 * misc/llistxattr.c: Likewise.
29124 * misc/lremovexattr.c: Likewise.
29125 * misc/lsetxattr.c: Likewise.
29126 * misc/lutimes.c: Likewise.
29127 * misc/madvise.c: Likewise.
29128 * misc/mincore.c: Likewise.
29129 * misc/mlock.c: Likewise.
29130 * misc/mlockall.c: Likewise.
29131 * misc/mmap.c: Likewise.
29132 * misc/mprotect.c: Likewise.
29133 * misc/msync.c: Likewise.
29134 * misc/munlock.c: Likewise.
29135 * misc/munlockall.c: Likewise.
29136 * misc/munmap.c: Likewise.
29137 * misc/preadv.c: Likewise.
29138 * misc/preadv64.c: Likewise.
29139 * misc/ptrace.c: Likewise.
29140 * misc/pwritev.c: Likewise.
29141 * misc/pwritev64.c: Likewise.
29142 * misc/readv.c: Likewise.
29143 * misc/reboot.c: Likewise.
29144 * misc/remap_file_pages.c: Likewise.
29145 * misc/removexattr.c: Likewise.
29146 * misc/revoke.c: Likewise.
29147 * misc/select.c: Likewise.
29148 * misc/setdomain.c: Likewise.
29149 * misc/setegid.c: Likewise.
29150 * misc/seteuid.c: Likewise.
29151 * misc/sethostid.c: Likewise.
29152 * misc/sethostname.c: Likewise.
29153 * misc/setregid.c: Likewise.
29154 * misc/setreuid.c: Likewise.
29155 * misc/setxattr.c: Likewise.
29156 * misc/sstk.c: Likewise.
29157 * misc/stty.c: Likewise.
29158 * misc/swapoff.c: Likewise.
29159 * misc/swapon.c: Likewise.
29160 * misc/sync.c: Likewise.
29161 * misc/syncfs.c: Likewise.
29162 * misc/syscall.c: Likewise.
29163 * misc/truncate.c: Likewise.
29164 * misc/ualarm.c: Likewise.
29165 * misc/usleep.c: Likewise.
29166 * misc/ustat.c: Likewise.
29167 * misc/utimes.c: Likewise.
29168 * misc/vhangup.c: Likewise.
29169 * misc/writev.c: Likewise.
29170 * posix/_exit.c: Likewise.
29171 * posix/alarm.c: Likewise.
29172 * posix/execve.c: Likewise.
29173 * posix/fexecve.c: Likewise.
29174 * posix/fork.c: Likewise.
29175 * posix/fpathconf.c: Likewise.
29176 * posix/getaddrinfo.c: Likewise.
29177 * posix/getegid.c: Likewise.
29178 * posix/geteuid.c: Likewise.
29179 * posix/getgid.c: Likewise.
29180 * posix/getgroups.c: Likewise.
29181 * posix/getlogin.c: Likewise.
29182 * posix/getlogin_r.c: Likewise.
29183 * posix/getpgid.c: Likewise.
29184 * posix/getpid.c: Likewise.
29185 * posix/getppid.c: Likewise.
29186 * posix/getresgid.c: Likewise.
29187 * posix/getresuid.c: Likewise.
29188 * posix/getsid.c: Likewise.
29189 * posix/getuid.c: Likewise.
29190 * posix/glob64.c: Likewise.
29191 * posix/nanosleep.c: Likewise.
29192 * posix/pathconf.c: Likewise.
29193 * posix/pause.c: Likewise.
29194 * posix/posix_madvise.c: Likewise.
29195 * posix/pread.c: Likewise.
29196 * posix/pread64.c: Likewise.
29197 * posix/pwrite.c: Likewise.
29198 * posix/pwrite64.c: Likewise.
29199 * posix/sched_getaffinity.c: Likewise.
29200 * posix/sched_getp.c: Likewise.
29201 * posix/sched_gets.c: Likewise.
29202 * posix/sched_primax.c: Likewise.
29203 * posix/sched_primin.c: Likewise.
29204 * posix/sched_rr_gi.c: Likewise.
29205 * posix/sched_setaffinity.c: Likewise.
29206 * posix/sched_setp.c: Likewise.
29207 * posix/sched_sets.c: Likewise.
29208 * posix/sched_yield.c: Likewise.
29209 * posix/setgid.c: Likewise.
29210 * posix/setlogin.c: Likewise.
29211 * posix/setpgid.c: Likewise.
29212 * posix/setresgid.c: Likewise.
29213 * posix/setresuid.c: Likewise.
29214 * posix/setsid.c: Likewise.
29215 * posix/setuid.c: Likewise.
29216 * posix/sleep.c: Likewise.
29217 * posix/spawni.c: Likewise.
29218 * posix/sysconf.c: Likewise.
29219 * posix/times.c: Likewise.
29220 * posix/wait.c: Likewise.
29221 * posix/wait3.c: Likewise.
29222 * posix/wait4.c: Likewise.
29223 * posix/waitpid.c: Likewise.
29224 * resolv/gai_sigqueue.c: Likewise.
29225 * resource/getpriority.c: Likewise.
29226 * resource/getrlimit.c: Likewise.
29227 * resource/getrusage.c: Likewise.
29228 * resource/nice.c: Likewise.
29229 * resource/setpriority.c: Likewise.
29230 * resource/setrlimit.c: Likewise.
29231 * resource/ulimit.c: Likewise.
29232 * rt/aio_cancel.c: Likewise.
29233 * rt/aio_fsync.c: Likewise.
29234 * rt/aio_read.c: Likewise.
29235 * rt/aio_sigqueue.c: Likewise.
29236 * rt/aio_suspend.c: Likewise.
29237 * rt/aio_write.c: Likewise.
29238 * rt/clock_getres.c: Likewise.
29239 * rt/clock_gettime.c: Likewise.
29240 * rt/clock_nanosleep.c: Likewise.
29241 * rt/clock_settime.c: Likewise.
29242 * rt/lio_listio.c: Likewise.
29243 * rt/mq_close.c: Likewise.
29244 * rt/mq_getattr.c: Likewise.
29245 * rt/mq_notify.c: Likewise.
29246 * rt/mq_open.c: Likewise.
29247 * rt/mq_receive.c: Likewise.
29248 * rt/mq_send.c: Likewise.
29249 * rt/mq_setattr.c: Likewise.
29250 * rt/mq_timedreceive.c: Likewise.
29251 * rt/mq_timedsend.c: Likewise.
29252 * rt/mq_unlink.c: Likewise.
29253 * rt/shm_open.c: Likewise.
29254 * rt/shm_unlink.c: Likewise.
29255 * rt/timer_create.c: Likewise.
29256 * rt/timer_delete.c: Likewise.
29257 * rt/timer_getoverr.c: Likewise.
29258 * rt/timer_gettime.c: Likewise.
29259 * rt/timer_settime.c: Likewise.
29260 * setjmp/__longjmp.c: Likewise.
29261 * setjmp/setjmp.c: Likewise.
29262 * signal/kill.c: Likewise.
29263 * signal/killpg.c: Likewise.
29264 * signal/raise.c: Likewise.
29265 * signal/sigaction.c: Likewise.
29266 * signal/sigaltstack.c: Likewise.
29267 * signal/sigblock.c: Likewise.
29268 * signal/sigignore.c: Likewise.
29269 * signal/sigintr.c: Likewise.
29270 * signal/signal.c: Likewise.
29271 * signal/sigpause.c: Likewise.
29272 * signal/sigpending.c: Likewise.
29273 * signal/sigqueue.c: Likewise.
29274 * signal/sigreturn.c: Likewise.
29275 * signal/sigset.c: Likewise.
29276 * signal/sigsetmask.c: Likewise.
29277 * signal/sigstack.c: Likewise.
29278 * signal/sigsuspend.c: Likewise.
29279 * signal/sigtimedwait.c: Likewise.
29280 * signal/sigvec.c: Likewise.
29281 * signal/sigwait.c: Likewise.
29282 * signal/sigwaitinfo.c: Likewise.
29283 * signal/sysv_signal.c: Likewise.
29284 * socket/accept.c: Likewise.
29285 * socket/accept4.c: Likewise.
29286 * socket/bind.c: Likewise.
29287 * socket/connect.c: Likewise.
29288 * socket/getpeername.c: Likewise.
29289 * socket/getsockname.c: Likewise.
29290 * socket/getsockopt.c: Likewise.
29291 * socket/isfdtype.c: Likewise.
29292 * socket/listen.c: Likewise.
29293 * socket/recv.c: Likewise.
29294 * socket/recvfrom.c: Likewise.
29295 * socket/recvmsg.c: Likewise.
29296 * socket/send.c: Likewise.
29297 * socket/sendmsg.c: Likewise.
29298 * socket/sendto.c: Likewise.
29299 * socket/setsockopt.c: Likewise.
29300 * socket/shutdown.c: Likewise.
29301 * socket/sockatmark.c: Likewise.
29302 * socket/socket.c: Likewise.
29303 * socket/socketpair.c: Likewise.
29304 * stdio-common/ctermid.c: Likewise.
29305 * stdio-common/cuserid.c: Likewise.
29306 * stdio-common/remove.c: Likewise.
29307 * stdio-common/rename.c: Likewise.
29308 * stdio-common/renameat.c: Likewise.
29309 * stdio-common/tempname.c: Likewise.
29310 * stdlib/getcontext.c: Likewise.
29311 * stdlib/makecontext.c: Likewise.
29312 * stdlib/setcontext.c: Likewise.
29313 * stdlib/swapcontext.c: Likewise.
29314 * stdlib/system.c: Likewise.
29315 * streams/fattach.c: Likewise.
29316 * streams/fdetach.c: Likewise.
29317 * streams/getmsg.c: Likewise.
29318 * streams/getpmsg.c: Likewise.
29319 * streams/putmsg.c: Likewise.
29320 * streams/putpmsg.c: Likewise.
29321 * sysdeps/unix/bsd/getpt.c: Likewise.
29322 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29323 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29324 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29327 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29328 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29329 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29330 * sysvipc/msgctl.c: Likewise.
29331 * sysvipc/msgget.c: Likewise.
29332 * sysvipc/msgrcv.c: Likewise.
29333 * sysvipc/msgsnd.c: Likewise.
29334 * sysvipc/semctl.c: Likewise.
29335 * sysvipc/semget.c: Likewise.
29336 * sysvipc/semop.c: Likewise.
29337 * sysvipc/semtimedop.c: Likewise.
29338 * sysvipc/shmat.c: Likewise.
29339 * sysvipc/shmctl.c: Likewise.
29340 * sysvipc/shmdt.c: Likewise.
29341 * sysvipc/shmget.c: Likewise.
29342 * termios/tcdrain.c: Likewise.
29343 * termios/tcflow.c: Likewise.
29344 * termios/tcflush.c: Likewise.
29345 * termios/tcgetattr.c: Likewise.
29346 * termios/tcgetpgrp.c: Likewise.
29347 * termios/tcsendbrk.c: Likewise.
29348 * termios/tcsetattr.c: Likewise.
29349 * termios/tcsetpgrp.c: Likewise.
29350 * time/adjtime.c: Likewise.
29351 * time/clock.c: Likewise.
29352 * time/getitimer.c: Likewise.
29353 * time/gettimeofday.c: Likewise.
29354 * time/setitimer.c: Likewise.
29355 * time/settimeofday.c: Likewise.
29356 * time/stime.c: Likewise.
29357 * time/time.c: Likewise.
29359 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
29361 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29364 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29366 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29368 2012-11-03 Joseph Myers <joseph@codesourcery.com>
29371 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29372 FE_TONEAREST before applying Dekker multiplication and Knuth
29373 addition. Clear inexact exceptions and check for exact zero
29374 results afterwards.
29375 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29376 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29377 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29378 * math/libm-test.inc (fma_test): Add more tests.
29379 (fma_test_towardzero): Likewise.
29380 (fma_test_downward): Likewise.
29381 (fma_test_upward): Likewise.
29382 * sysdeps/generic/math_private.h (default_libc_fesetround): New
29384 (libc_fesetround): New macro.
29385 (libc_fesetroundf): Likewise.
29386 (libc_fesetroundl): Likewise.
29387 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29389 (libc_fesetround_387): Likewise.
29390 (libc_fesetroundf): New macro.
29391 (libc_fesetround): Likewise.
29392 (libc_fesetroundl): Likewise.
29393 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29395 (libc_fesetroundf): New macro.
29396 (libc_fesetround): Likewise.
29397 (libc_fesetroundl): Likewise.
29398 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29399 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29400 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29402 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29403 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29405 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29406 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29408 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29412 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29413 integer constant usable in #if and use that to give value to enum
29415 (FE_DIVBYZERO): Likewise.
29416 (FE_UNDERFLOW): Likewise.
29417 (FE_OVERFLOW): Likewise.
29418 (FE_INVALID): Likewise.
29419 (FE_INVALID_SNAN): Likewise.
29420 (FE_INVALID_ISI): Likewise.
29421 (FE_INVALID_IDI): Likewise.
29422 (FE_INVALID_ZDZ): Likewise.
29423 (FE_INVALID_IMZ): Likewise.
29424 (FE_INVALID_COMPARE): Likewise.
29425 (FE_INVALID_SOFTWARE): Likewise.
29426 (FE_INVALID_SQRT): Likewise.
29427 (FE_INVALID_INTEGER_CONVERSION): Likewise.
29428 (FE_TONEAREST): Likewise.
29429 (FE_TOWARDZERO): Likewise.
29430 (FE_UPWARD): Likewise.
29431 (FE_DOWNWARD): Likewise.
29432 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29433 (FE_DIVBYZERO): Likewise.
29434 (FE_OVERFLOW): Likewise.
29435 (FE_UNDERFLOW): Likewise.
29436 (FE_INEXACT): Likewise.
29437 (FE_TONEAREST): Likewise.
29438 (FE_DOWNWARD): Likewise.
29439 (FE_UPWARD): Likewise.
29440 (FE_TOWARDZERO): Likewise.
29441 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29442 (FE_UNDERFLOW): Likewise.
29443 (FE_OVERFLOW): Likewise.
29444 (FE_DIVBYZERO): Likewise.
29445 (FE_INVALID): Likewise.
29446 (FE_TONEAREST): Likewise.
29447 (FE_TOWARDZERO): Likewise.
29448 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29449 (FE_OVERFLOW): Likewise.
29450 (FE_UNDERFLOW): Likewise.
29451 (FE_DIVBYZERO): Likewise.
29452 (FE_INEXACT): Likewise.
29453 (FE_TONEAREST): Likewise.
29454 (FE_TOWARDZERO): Likewise.
29455 (FE_UPWARD): Likewise.
29456 (FE_DOWNWARD): Likewise.
29457 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29458 (FE_DIVBYZERO): Likewise.
29459 (FE_OVERFLOW): Likewise.
29460 (FE_UNDERFLOW): Likewise.
29461 (FE_INEXACT): Likewise.
29462 (FE_TONEAREST): Likewise.
29463 (FE_DOWNWARD): Likewise.
29464 (FE_UPWARD): Likewise.
29465 (FE_TOWARDZERO): Likewise.
29467 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
29469 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29471 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
29473 * scripts/cross-test-ssh.sh (command): Use newlines to separate
29474 commands. Quote $PWD.
29475 (blacklist_exports): Don't use remove_newlines. Replace "declare
29477 (remove_newlines): Remove.
29479 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
29481 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29482 * stdlib/stdlib.h (atof): Moved to ...
29483 * include/bits/stdlib-float.h: Here. New file.
29484 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29485 * stdlib/bits/stdlib-float.h: New file.
29486 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29488 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29491 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29493 * conform/conformtest.pl (@headers): Add fenv.h.
29494 * conform/data/fenv.h-data: New file.
29495 * include/fenv.h [_ISOMAC]: Disable all contents of file except
29496 include of <math/fenv.h>.
29498 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29499 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29500 && !UNIX98]. Enables tests for XOPEN2K8.
29501 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29502 POSIX2008]: Likewise.
29504 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29505 (struct rusage): Do not expect type or its members.
29508 * math/math.h (FP_NAN): Define macro to integer constant usable in
29509 #if and use that to give value to enum constant.
29510 (FP_INFINITE): Likewise.
29511 (FP_ZERO): Likewise.
29512 (FP_SUBNORMAL): Likewise.
29513 (FP_NORMAL): Likewise.
29515 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
29517 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29518 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29521 2012-11-02 Roland McGrath <roland@hack.frob.com>
29523 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29524 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29525 autoconf-time if not.
29526 * configure.in: Remove AC_PREREQ.
29528 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29530 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29531 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29532 of the internal implementation.
29534 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29536 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29537 except include of <misc/sys/syslog.h>.
29539 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29542 function returns with a NULL context exit with zero.
29544 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29546 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29548 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
29550 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29551 (run_program_cmd): This.
29552 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29553 (tst_langinfo): New variable. Use it.
29555 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
29557 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29558 floating point opcodes.
29560 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29562 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29565 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29567 * sysdeps/mach/hurd/powerpc: Remove directory.
29568 * sysdeps/mach/powerpc: Likewise.
29570 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29572 * scripts/check-local-headers.sh: Ignore c++ headers.
29574 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29576 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29577 __libc_cleanup_region_start argument.
29579 2012-11-01 Joseph Myers <joseph@codesourcery.com>
29583 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29584 x * y using scaling, not as x * y + z.
29585 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29586 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29587 * math/libm-test.inc (fma_test): Add more tests.
29588 (fma_test_towardzero): Likewise.
29589 (fma_test_downward): Likewise.
29590 (fma_test_upward): Likewise.
29592 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29594 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29596 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29598 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29601 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
29603 * rt/tst-shm.c (worker): Correct checking for mmap failure.
29605 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29612 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29615 Fix the order of the list for glibc 2.17.
29616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29619 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29623 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29626 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29627 for low part of x being zero before using __atanl (y).
29628 * math/libm-test.inc (atan2_test): Add another test.
29630 * manual/install.texi (Configuring and compiling): Document
29631 general use of test-wrapper and test-wrapper-env.
29632 * INSTALL: Regenerated.
29634 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29635 (__fma): Do not extract and scale down low bits on after-rounding
29636 systems when result rounded to normal precision would have normal
29638 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29639 (__fmal): Do not extract and scale down low bits on after-rounding
29640 systems when result rounded to normal precision would have normal
29642 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29643 (__fmal): Do not extract and scale down low bits on after-rounding
29644 systems when result rounded to normal precision would have normal
29646 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29648 (fma_test): Add more tests.
29649 (fma_test_towardzero): Likewise.
29650 (fma_test_downward): Likewise.
29651 (fma_test_upward): Likewise.
29653 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
29655 * sysdeps/i386/tininess.h: Renamed to ...
29656 * sysdeps/x86/tininess.h: This.
29657 * sysdeps/x86_64/tininess.h: Removed.
29659 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29661 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29662 input. Use $(build-program-cmd).
29663 ($(objpfx)tst-array1-static.out): Likewise.
29664 ($(objpfx)tst-array2.out): Likewise.
29665 ($(objpfx)tst-array3.out): Likewise.
29666 ($(objpfx)tst-array4.out): Likewise.
29667 ($(objpfx)tst-array5.out): Likewise.
29668 ($(objpfx)tst-array5-static.out): Likewise.
29670 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
29672 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29675 * nss/nsswitch.h (nss_interface_function): Provide new
29676 macro for use with NSS functions.
29677 * grp/initgroups.c: Use new macro.
29678 * nss/getXXbyYY.c: Likewise.
29679 * nss/getXXbyYY_r.c: Likewise.
29680 * nss/getXXent.c: Likewise.
29681 * nss/getXXent_r.c: Likewise.
29682 * sysdeps/posix/getaddrinfo.c: Likewise.
29684 2012-10-30 Andreas Jaeger <aj@suse.de>
29686 * po/ru.po: Update Russion translation from translation project.
29688 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29692 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29693 result and shift together with sticky bit instead of replicating
29694 round-to-nearest rounding.
29695 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29696 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29697 * math/libm-test.inc (fma_test): Add more tests. Do not permit
29698 missing underflow exceptions.
29699 (fma_test_towardzero): Add more tests.
29700 (fma_test_downward): Likewise.
29701 (fma_test_upward): Likewise.
29704 * sysdeps/generic/tininess.h: New file.
29705 * sysdeps/i386/tininess.h: Likewise.
29706 * sysdeps/sh/tininess.h: Likewise.
29707 * sysdeps/x86_64/tininess.h: Likewise.
29708 * stdlib/tst-strtod-underflow.c: Likewise.
29709 * stdlib/tst-tininess.c: Likewise.
29710 * stdlib/strtod_l.c: Include <tininess.h>.
29711 (round_and_return): Do not set errno for exact underflow cases.
29712 Force an underflow exception when setting errno for underflow.
29713 Determine underflow based on rounding to normal precision if
29714 TININESS_AFTER_ROUNDING.
29715 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29716 ERANGE for exact underflow cases.
29717 * stdlib/Makefile (tests): Add tst-tininess and
29718 tst-strtod-underflow.
29719 ($(objpfx)tst-tininess): Use $(link-libm).
29720 ($(objpfx)tst-strtod-underflow): Likewise.
29722 2012-10-30 Andreas Jaeger <aj@suse.de>
29725 * elf/Makefile (tests): Remove conditional for have-initfini-array
29726 since this is now always required and the variable does not exist
29728 (tests-static): Likewise.
29729 (modules-names): Likewise.
29731 * po/eo.po: Add Esperanto translation from translation project.
29733 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29734 merged with constructor/destructor.
29735 (init_array): Likewise.
29736 * elf/tst-array2dep.c (fini_array): Likewise.
29737 (init_array): Likewise.
29739 2012-10-29 Mike Frysinger <vapier@gentoo.org>
29741 * manual/message.texi: Delete @cartouche tags.
29743 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29745 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29747 * sysdeps/mach/hurd/fsync.c: Likewise.
29749 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29750 [_POSIX_REALTIME_SIGNALS]: Change condition to
29751 [_POSIX_REALTIME_SIGNALS > 0].
29753 2012-10-27 Andreas Jaeger <aj@suse.de>
29755 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29756 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29757 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29758 [__WORDSIZE != 64]: Likewise.
29760 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29762 * iconvdata/tst-table.sh: Remove ${SHELL}.
29763 * iconvdata/tst-tables.sh: Likewise.
29765 2012-10-25 David S. Miller <davem@davemloft.net>
29767 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29768 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29771 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29773 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29774 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29775 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29778 2012-10-25 Roland McGrath <roland@hack.frob.com>
29780 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29781 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29784 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29785 Jim Blandy <jimb@codesourcery.com>
29787 * scripts/cross-test-ssh.sh: New file.
29788 * manual/install.texi (Configuring and compiling): Document use of
29790 * INSTALL: Regenerated.
29792 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29794 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29797 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29799 * Makeconfig (run-program-prefix): Fix comment.
29801 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29802 Jim Blandy <jimb@codesourcery.com>
29804 * Makeconfig (test-wrapper): New variable,
29805 (test-wrapper-env): Likewise.
29806 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29807 (run-built-tests): Define to yes.
29808 (run-program-prefix): Use $(test-wrapper).
29809 (built-program-cmd): Likewise.
29810 * Rules (make-test-out): Use $(test-wrapper-env) and
29811 $(host-built-program-cmd).
29812 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29813 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29815 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29816 $(test-wrapper-env) to tst-rtld-load-self.sh.
29817 ($(objpfx)order2.out): Use $(test-wrapper).
29818 ($(objpfx)tst-initorder.out): Likewise.
29819 ($(objpfx)tst-initorder2.out): Likewise.
29820 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29821 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29822 (test_wrapper_env): New variable. Use it to run ld.so.
29823 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29824 Use it to run ld.so.
29825 (test_wrapper_env): Likewise.
29826 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29827 $(test-wrapper) to run-iconv-test.sh.
29828 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29829 (ICONV): Use $test_wrapper.
29830 * posix/Makefile ($(objpfx)globtest.out): Pass
29831 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29832 globtest.sh, not $(run-program-prefix).
29833 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29834 (test_wrapper): Likewise.
29835 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29836 set together with run_via_rtld_prefix.
29837 (run_program_prefix): Define in terms of test_wrapper and
29838 run_via_rtld_prefix.
29840 2012-10-24 Roland McGrath <roland@hack.frob.com>
29842 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29843 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29847 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29848 Declare __clock_getres, __clock_gettime, __clock_settime,
29849 __clock_nanosleep, and __clock_getcpuclockid.
29850 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29851 Remove librt_hidden_def (clock_gettime).
29852 * sysdeps/unix/clock_gettime.c: Likewise.
29853 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29854 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29855 * rt/clock_getres.c: Define __clock_getres as an alias.
29856 * sysdeps/posix/clock_getres.c: Likewise.
29857 * rt/clock_settime.c: Define __clock_settime as an alias.
29858 * sysdeps/unix/clock_settime.c: Likewise.
29859 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29860 * sysdeps/unix/clock_nanosleep.c: Likewise.
29861 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29862 * rt/clock-compat.c: New file.
29863 * rt/Makefile (librt-routines): Add clock-compat and move
29864 $(clock-routines) to ...
29865 (routines): ... here, new variable.
29866 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29867 Don't add get_clockfreq here.
29868 * rt/Versions (libc: GLIBC_2.17): New version set.
29869 Add clock_* symbols here.
29870 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29871 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29872 (GLIBC_2.17): Add clock_* symbols.
29873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29875 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29884 * NEWS: Mention the move.
29886 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29887 Use __open, __read, __close rather than their public counterparts.
29888 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29889 (__get_clockfreq_via_cpuinfo): Likewise.
29890 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29891 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29893 * config.h.in (HAVE_IFUNC): New #undef.
29894 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29896 * configure: Regenerated.
29898 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29900 * configure.in: Move READELF check to start of file.
29901 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29902 libc_cv_asm_gnu_indirect_function in the process.
29903 * configure: Regenerated.
29905 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29907 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29908 send the output to /dev/null.
29909 (libc_cv_cc_with_libunwind): Likewise.
29910 (libc_cv_as_noexecstack): Likewise.
29911 * configure: Regenerate.
29913 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29915 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29917 * posix/globtest.sh (TMPDIR): Do not set.
29918 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29919 (testout): Likewise.
29921 2012-10-24 Andreas Jaeger <aj@suse.de>
29923 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29924 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29925 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29926 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29927 posix_fadvise64, posix_fallocate64.
29929 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29930 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29931 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29933 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29935 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29937 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29938 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29939 <bits/fcntl-linux.h>.
29940 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29942 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29943 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29944 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29945 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29946 [__WORDSIZE != 64]: Likewise.
29948 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29950 * Makeconfig (run-built-tests): New variable.
29951 * Rules [$(cross-compiling) = yes]: Change condition to
29952 [$(run-built-tests) = no].
29953 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29954 to [$(run-built-tests) = yes].
29955 * elf/Makefile [$(cross-compiling) = no]: Likewise
29956 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29957 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29958 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29959 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29960 * io/Makefile [$(cross-compiling) = no]: Likewise.
29961 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29962 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29963 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29964 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29965 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29966 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29967 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29968 * string/Makefile [$(cross-compiling) = no]: Likewise.
29970 * posix/Makefile ($(objpfx)globtest.out): Pass
29971 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29972 $(rtld-installed-name).
29973 * posix/globtest.sh (elf_objpfx): Remove variable.
29974 (rtld_installed_name): Likewise.
29975 (library_path): Likewise.
29976 (run_program_prefix): New variable. Use for running globtest
29979 2012-10-23 Jim Blandy <jimb@codesourcery.com>
29980 Joseph Myers <joseph@codesourcery.com>
29982 * Makeconfig (host-built-program-cmd): New variable.
29983 * elf/Makefile (tst-stackguard1-ARGS): Use
29984 $(host-built-program-cmd).
29985 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29986 (tst-spawn-ARGS): Likewise.
29987 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29989 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29990 Jim Blandy <jimb@codesourcery.com>
29992 * Makeconfig (run-via-rtld-prefix): New variable.
29993 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29994 (built-program-cmd): Likewise.
29996 2012-10-22 Andreas Jaeger <aj@suse.de>
29998 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29999 __O_RSYNC if it exists, otherwise to O_SYNC.
30001 2012-10-22 Jim Blandy <jimb@codesourcery.com>
30002 Joseph Myers <joseph@codesourcery.com>
30004 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30006 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30008 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30011 2012-10-22 Andreas Jaeger <aj@suse.de>
30013 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30015 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30017 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30018 bits/fcntl-linux.h.
30020 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30021 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30023 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30025 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30028 2012-10-21 Jim Blandy <jimb@codesourcery.com>
30029 Joseph Myers <joseph@codesourcery.com>
30031 * config.make.in (NM): New variable.
30033 2012-10-21 Andreas Jaeger <aj@suse.de>
30035 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30036 definitions and declarations that are provided by
30037 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30039 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30042 * elf/Makefile (tests-static): Add tst-leaks1-static.
30043 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30044 ($(objpfx)tst-leaks1-static): New rule.
30045 ($(objpfx)tst-leaks1-static-mem): Likewise.
30046 (tst-leaks1-static-ENV): New macro.
30047 * elf/dl-open.c (dl_open_worker): Check the main application
30048 only if SHARED is defined.
30049 * elf/tst-leaks1-static.c: New file.
30051 2012-10-20 Andreas Jaeger <aj@suse.de>
30053 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30054 generic values for Linux.
30055 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30056 and declarations that are provided by <bits/fcntl-linux.h> and
30057 include <bits/fcntl-linux.h>.
30058 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30059 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30061 2012-10-20 Roland McGrath <roland@hack.frob.com>
30063 * io/fcntl.h: Move include of <bits/types.h> to the top and
30064 include it unconditionally.
30066 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30068 * wcsmbs/Makefile (tests-ifunc): New variable.
30069 (tests): Add $(tests-ifunc).
30070 * wcsmbs/test-wcschr-ifunc.c: New file.
30071 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30072 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30073 * wcsmbs/test-wcslen-ifunc.c: Likewise.
30074 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30075 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30077 * string/Makefile (tests-ifunc): New variable.
30078 (tests): Add $(tests-ifunc).
30079 * string/test-memccpy.c (TEST_NAME): New macro.
30080 * string/test-memchr.c (TEST_NAME): Likewise.
30081 * string/test-memcmp.c (TEST_NAME): Likewise.
30082 * string/test-memcpy.c (TEST_NAME): Likewise.
30083 * string/test-memmem.c (TEST_NAME): Likewise.
30084 * string/test-memmove.c (TEST_NAME): Likewise.
30085 * string/test-memset.c (TEST_NAME): Likewise.
30086 * string/test-rawmemchr.c (TEST_NAME): Likewise.
30087 * string/test-stpcpy.c (TEST_NAME): Likewise.
30088 * string/test-stpncpy.c (TEST_NAME): Likewise.
30089 * string/test-strcasecmp.c (TEST_NAME): Likewise.
30090 * string/test-strcasestr.c (TEST_NAME): Likewise.
30091 * string/test-strcat.c (TEST_NAME): Likewise.
30092 * string/test-strchr.c (TEST_NAME): Likewise.
30093 * string/test-strcmp.c(TEST_NAME): Likewise.
30094 * string/test-strcpy.c (TEST_NAME): Likewise.
30095 * string/test-strcspn.c (TEST_NAME): Likewise.
30096 * string/test-strlen.c (TEST_NAME): Likewise.
30097 * string/test-strncasecmp.c (TEST_NAME): Likewise.
30098 * string/test-strncmp.c (TEST_NAME): Likewise.
30099 * string/test-strncpy.c (TEST_NAME): Likewise.
30100 * string/test-strnlen.c (TEST_NAME): Likewise.
30101 * string/test-strpbrk.c (TEST_NAME): Likewise.
30102 * string/test-strrchr.c (TEST_NAME): Likewise.
30103 * string/test-strspn.c (TEST_NAME): Likewise.
30104 * string/test-strstr.c (TEST_NAME): Likewise.
30105 * string/test-bcopy-ifunc.c: New file.
30106 * string/test-bzero-ifunc.c: Likewise.
30107 * string/test-memccpy-ifunc.c: Likewise.
30108 * string/test-memchr-ifunc.c: Likewise.
30109 * string/test-memcmp-ifunc.c: Likewise.
30110 * string/test-memcpy-ifunc.c: Likewise.
30111 * string/test-memmem-ifunc.c: Likewise.
30112 * string/test-memmove-ifunc.c: Likewise.
30113 * string/test-mempcpy-ifunc.c: Likewise.
30114 * string/test-memset-ifunc.c: Likewise.
30115 * string/test-rawmemchr-ifunc.c: Likewise.
30116 * string/test-stpcpy-ifunc.c: Likewise.
30117 * string/test-stpncpy-ifunc.c: Likewise.
30118 * string/test-strcasecmp-ifunc.c: Likewise.
30119 * string/test-strcasestr-ifunc.c: Likewise.
30120 * string/test-strcat-ifunc.c: Likewise.
30121 * string/test-strchr-ifunc.c: Likewise.
30122 * string/test-strchrnul-ifunc.c: Likewise.
30123 * string/test-strcmp-ifunc.c: Likewise.
30124 * string/test-strcpy-ifunc.c: Likewise.
30125 * string/test-strcspn-ifunc.c: Likewise.
30126 * string/test-strlen-ifunc.c: Likewise.
30127 * string/test-strncasecmp-ifunc.c: Likewise.
30128 * string/test-strncat-ifunc.c: Likewise.
30129 * string/test-strncmp-ifunc.c: Likewise.
30130 * string/test-strncpy-ifunc.c: Likewise.
30131 * string/test-strnlen-ifunc.c: Likewise.
30132 * string/test-strpbrk-ifunc.c: Likewise.
30133 * string/test-strrchr-ifunc.c: Likewise.
30134 * string/test-strspn-ifunc.c: Likewise.
30135 * string/test-strstr-ifunc.c: Likewise.
30137 * debug/Makefile (tests-ifunc): New variable.
30138 (tests): Add $(tests-ifunc).
30139 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30140 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30141 * debug/test-stpcpy_chk-ifunc.c: New file.
30142 * debug/test-strcpy_chk-ifunc.c: Likewise.
30144 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30147 * elf/dl-load.c (open_verify): Retry read if the entire ELF
30148 header is not read in.
30150 2012-10-19 Joseph Myers <joseph@codesourcery.com>
30152 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
30153 script to $(SHELL) as $<. Pass $(common-objpfx) to script
30154 directly. Pass built executable to script as
30155 $(built-program-cmd).
30156 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
30157 $testprogram without using LD_LIBRARY_PATH and $ldso.
30159 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30160 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30161 $(rtld-installed-name).
30162 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30163 (rtld_installed_name): Likewise.
30164 (library_path): Likewise.
30165 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
30166 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30167 $(run-program-prefix) to tst-tables.sh.
30168 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
30169 it to run tst-table-from and tst-table-to.
30170 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30171 Pass it to tst-table.sh.
30172 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30173 $(run-program-prefix) to tst-gettext.sh.
30174 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30176 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30178 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
30179 to run tst-gettext.
30180 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
30181 to run tst-gettext2.
30182 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
30183 to run tst-translit.
30184 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30185 $(run-program-prefix) to tst-mtrace.sh.
30186 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
30188 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30189 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30190 $(rtld-installed-name).
30191 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30192 (rtld_installed_name): Likewise.
30193 (run_program_prefix): New variable. Use it to run wordexp-test.
30195 * Makeconfig (ARCH): Remove all definitions.
30196 (machine): Likewise.
30197 [ARCH]: Remove conditional code.
30198 [!objdir]: Give error.
30199 [!objdir] (objpfx): Remove.
30200 [!objdir] (common-objpfx): Likewise.
30201 [!objdir] (common-objdir): Likewise.
30202 * configure.in (config_makefile): Remove. Hardcode Makefile in
30203 AC_CONFIG_FILES call.
30204 * configure: Regenerated.
30207 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30209 (testout): Likewise.
30211 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30212 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30213 $(rtld-installed-name).
30214 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30215 (rtld_installed_name): Likwise.
30216 (runit): Remove function.
30217 (run_getconf): New variable, Use it for running getconf binary.
30219 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
30222 * string/test-memmem.c (check_result): New function.
30223 (do_one_test): Use it.
30224 (check1): New function.
30225 (test_main): Use it.
30227 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
30229 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30231 2012-10-18 Joseph Myers <joseph@codesourcery.com>
30233 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30234 (_G_LSEEK64): Likewise.
30235 (_G_MMAP64): Likewise.
30236 (_G_FSTAT64): Likewise.
30237 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30238 (_G_LSEEK64): Likewise.
30239 (_G_MMAP64): Likewise.
30240 (_G_FSTAT64): Likewise.
30241 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30242 unconditional. Call __mmap64 directly.
30243 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30244 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
30245 __lseek64 directly.
30246 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30247 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
30249 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30250 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
30251 __lseek64 directly.
30252 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30253 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
30254 __lseek64 directly.
30255 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30256 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
30257 __lseek64 directly.
30258 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30259 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
30260 __fxstat64 directly.
30261 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30262 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30264 (freopen64) [!_G_OPEN64]: Remove conditional code.
30265 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30267 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30268 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30270 (ftello64) [!_G_LSEEK64]: Remove conditional code.
30271 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30273 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30274 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30276 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30277 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30279 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30280 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30282 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30283 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30285 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30287 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30290 * manual/memory.texi (Malloc Tunable Parameters): Add note
30291 about free list pointers overwriting some perturb bytes.
30292 Wording suggested by Roland McGrath.
30294 2012-10-17 Joseph Myers <joseph@codesourcery.com>
30296 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30297 (lgamma_test): Likewise.
30298 (tgamma_test): Likewise.
30300 2012-10-16 Florian Weimer <fweimer@redhat.com>
30303 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30304 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30306 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
30308 * NEWS: Mention BZ #14716.
30309 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30310 when removing AVAILABLE1_USES_J macro.
30312 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
30314 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30315 (__bswap_64): __uint64_t for unsigned 64-bit int.
30317 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
30319 * include/string.h (memmem): Declare libc hidden alias.
30320 * string/memmem.c (memmem): Define libc hidden alias.
30321 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30322 __read, __close instead of open, read, close.
30324 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
30326 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30327 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30329 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30330 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30331 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30333 (__rawmemchr_sse2): Likewise.
30334 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30335 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30336 (__strchr_sse2): Likewise.
30337 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30338 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30339 (__strcasecmp_sse2): Likewise.
30340 (__strncasecmp_sse2): Likewise.
30341 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30342 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30343 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30344 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30345 (__strrchr_sse2): Likewise.
30346 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30348 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30349 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30350 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30351 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30352 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30353 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30354 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30355 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30356 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30357 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30358 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30359 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30360 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30361 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30362 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30363 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30364 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30365 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30366 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30367 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30368 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30369 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30370 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30371 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30372 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30373 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30374 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30375 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30376 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30377 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30379 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30381 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30382 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30383 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30384 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30386 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30388 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30389 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30390 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30391 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30393 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30394 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30395 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30396 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30397 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30398 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30399 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30400 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30401 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30402 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30403 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30404 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30405 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30406 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30407 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30408 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30409 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30410 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30411 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30412 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30413 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30414 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30415 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30416 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30417 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30418 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30419 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30420 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30421 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30422 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30423 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30424 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30425 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30426 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30427 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30428 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30429 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30430 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30431 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30432 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30433 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30435 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30436 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30437 * include/ifunc-impl-list.h: New file.
30438 * misc/ifunc-impl-list.c: Likewise.
30439 * misc/Makefile (routines): Add ifunc-impl-list.
30440 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30441 * string/test-string.h: Include <ifunc-impl-list.h>.
30442 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30443 TEST_NAME]: New variables.
30444 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30446 (test_init): Call __libc_ifunc_impl_list to initialize
30447 func_list if TEST_IFUNC and TEST_NAME are defined.
30449 * string/Makefile (strop-tests): Add bcopy and bzero.
30450 * string/test-bcopy.c: New file.
30451 * string/test-bzero.c: Likewise.
30452 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30454 * string/test-memset.c: Support bzero test if TEST_BZERO is
30456 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30458 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30460 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30463 2012-10-10 Joseph Myers <joseph@codesourcery.com>
30465 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30466 * configure: Regenerated.
30468 * Makeconfig (+link-static-before-libc): Don't include
30469 $(link-static-libc).
30471 * libio/libio.h (_IO_pos_t): Remove.
30473 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30475 * NEWS: Add note about FIPS mode. Wording suggested by Roland
30478 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30480 * crypt/crypt-entry.c: Include fips-private.h.
30481 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30482 * crypt/md5c-test.c (main): Tolerate disabled MD5.
30483 * sysdeps/unix/sysv/linux/fips-private.h: New file.
30484 * sysdeps/generic/fips-private.h: New file, dummy fallback.
30486 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30488 * crypt/crypt-private.h: Include stdbool.h.
30489 (_ufc_setup_salt_r): Return bool.
30490 * crypt/crypt-entry.c: Include errno.h.
30491 (__crypt_r): Return NULL with EINVAL for bad salt.
30492 * crypt/crypt_util.c (bad_for_salt): New.
30493 (_ufc_setup_salt_r): Check that salt is long enough and within
30494 the specified alphabet.
30495 * crypt/badsalttest.c: New file.
30496 * crypt/Makefile (tests): Add it.
30497 ($(objpfx)badsalttest): New.
30499 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
30501 * NEWS: Add entry for BZ #14602.
30503 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30505 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30507 * math/libm-test.inc: Update comment listing what functions and
30509 (isgreater_test): New function.
30510 (isgreaterequal_test): Likewise.
30511 (isless_test): Likewise.
30512 (islessequal_test): Likewise.
30513 (islessgreater_test): Likewise.
30514 (isunordered_test): Likewise.
30515 (main): Call the new functions.
30517 2012-10-09 Roland McGrath <roland@hack.frob.com>
30519 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30520 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30521 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30522 * sysdeps/i386/configure: Regenerated.
30523 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30524 * sysdeps/mach/configure: Regenerated.
30525 * sysdeps/mach/hurd/configure: Regenerated.
30526 * sysdeps/powerpc/configure: Regenerated.
30527 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30528 * sysdeps/powerpc/powerpc64/configure: Regenerated.
30529 * sysdeps/s390/s390-32/configure: Regenerated.
30530 * sysdeps/s390/s390-64/configure: Regenerated.
30531 * sysdeps/sh/configure: Regenerated.
30532 * sysdeps/sparc/configure: Regenerated.
30533 * sysdeps/unix/sysv/linux/configure: Regenerated.
30534 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30535 * sysdeps/x86_64/configure: Regenerated.
30537 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30538 defined. Don't check if MAP is NULL.
30540 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30542 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30543 (_G_stat64): Likewise.
30544 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30545 (_G_stat64): Likewise.
30546 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30547 instead of struct _G_stat64.
30548 * libio/fileops.c (mmap_remap_check): Likewise.
30549 (decide_maybe_mmap): Likewise.
30550 (_IO_new_file_seekoff): Likewise.
30551 (_IO_file_stat): Likewise.
30552 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30554 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30555 instead of struct _G_stat64.
30556 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30558 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
30561 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30563 (CHECK_EOL): New macro.
30564 (two_way_short_needle): Check beginning of haystack for EOL. Use
30566 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30567 Replace with CHECK_EOL.
30568 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30569 Replace with CHECK_EOL.
30571 2012-10-08 Joseph Myers <joseph@codesourcery.com>
30573 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30575 * math/libm-test.inc: Update comment listing what functions and
30577 (finite_test): New function.
30578 (isinf_test): Likewise.
30579 (isnan_test): Likewise.
30580 (fpclassify_test): Test subnormal input.
30581 (isfinite_test): Likewise.
30582 (isnormal_test): Likewise.
30583 (main): Call the new functions.
30585 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
30588 * Makerules (%.dynsym): Force C locale when running
30589 $(OBJDUMP) --dynamic-syms.
30591 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
30593 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30596 2012-10-06 David S. Miller <davem@davemloft.net>
30598 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30599 upper 32-bits of the length value in %o2 since we use branch-on-register
30600 tests which consider the entire 64-bit register.
30602 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
30604 * string/test-strstr.c (check2): Add a test for page boundary.
30606 2012-10-05 David S. Miller <davem@davemloft.net>
30608 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30609 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30611 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30613 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30614 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30615 and bzero when HWCAP_SPARC_CRYPTO is present.
30617 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
30620 * string/test-strstr.c (check2): New function.
30621 (test_main): Call check2.
30623 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30625 * string/bug-strcasestr1.c (do_test): Moved to ...
30626 * string/test-strcasestr.c (check1): Here. New function.
30627 (do_one_test): Break out result checking code into ...
30628 (check_result): This. New function.
30629 (do_one_test): Call check_result.
30630 (test_main): Call check1.
30631 * string/bug-strchr1.c (do_test): Moved to ...
30632 * string/test-strchr.c (check1): Here. New function.
30633 (do_one_test): Break out result checking code into ...
30634 (check_result): This. New function.
30635 (do_one_test): Call check_result.
30636 (test_main): Call check1.
30637 * string/bug-strstr1.c (main): Moved to ...
30638 * string/test-strstr.c (check1): Here. New function.
30639 (do_one_test): Break out result checking code into ...
30640 (check_result): This. New function.
30641 (do_one_test): Call check_result.
30642 (test_main): Call check1.
30643 * string/bug-strcasestr1.c: Removed.
30644 * string/bug-strchr1.c: Likewise.
30645 * string/bug-strstr1.c: Likewise.
30647 * elf/Makefile (dl-routines): Add hwcaps.
30648 * elf/dl-support.c (_dl_important_hwcaps): Removed.
30649 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30650 (_dl_important_hwcaps): Moved to ...
30651 * elf/dl-hwcaps.c: Here. New file.
30652 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30655 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30656 if IS_IN_rtld isn't defined.
30658 * elf/dl-support.c (_dl_sysinfo_map): New.
30659 Include "get-dynamic-info.h" and "setup-vdso.h".
30660 (_dl_non_dynamic_init): Call setup_vdso.
30661 * elf/dynamic-link.h: Don't include <assert.h>.
30662 (elf_get_dynamic_info): Moved to ...
30663 * elf/get-dynamic-info.h: Here. New file.
30664 * elf/dynamic-link.h: Include "get-dynamic-info.h".
30665 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30666 * elf/setup-vdso.h: Here. New file.
30667 * elf/rtld.c: Include "setup-vdso.h".
30668 (dl_main): Call setup_vdso.
30670 2012-10-05 Joseph Myers <joseph@codesourcery.com>
30672 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30673 creal in comment listing functions tested. List finite, isinf,
30674 isnan, isless, islessequal, isgreater, isgreaterequal,
30675 islessgreater, isunordered, lgamma_r and pow10 as functions and
30676 macros not tested. Mention which functions not tested are aliases
30677 for other functions. Fix typo. Note that signs of NaNs are not
30680 * scripts/config.guess: Update from config.git.
30681 * scripts/config.sub: Likewise.
30683 2012-10-04 Roland McGrath <roland@hack.frob.com>
30685 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30686 * misc/madvise.c (madvise): Renamed to __madvise.
30687 Make madvise a weak alias.
30688 * include/sys/mman.h: Declare __madvise.
30689 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30690 * sysdeps/unix/syscalls.list
30691 (madvise): Make __madvise the strong name, and madvise a weak alias.
30692 * sysdeps/unix/sysv/linux/syscalls.list
30693 (madvise, mmap): Remove redundant entries.
30694 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30695 * malloc/malloc.c (mtrim): Likewise.
30696 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30698 2012-10-03 Roland McGrath <roland@hack.frob.com>
30700 * sysdeps/mach/hurd/dl-cache.c: File removed.
30701 * config.h.in (USE_LDCONFIG): New #undef.
30702 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30703 * configure: Regenerated.
30704 * elf/Makefile (dl-routines): Add dl-cache only under
30705 [$(use-ldconfig) = yes].
30706 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30707 cache on [USE_LDCONFIG].
30708 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30710 * elf/rtld.c (dl_main): Likewise.
30712 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30714 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30715 _SC_LEVEL4_CACHE_LINESIZE.
30717 2012-10-03 Roland McGrath <roland@hack.frob.com>
30719 * sysdeps/unix/bsd/confstr.h: File removed.
30721 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
30723 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30726 2012-10-02 Roland McGrath <roland@hack.frob.com>
30728 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30729 Make 'mapoff' field ElfW(Off) rather than off_t.
30731 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30733 * nscd/Makefile: Remove nscd-cflags and all its users.
30734 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30735 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30738 * malloc.c (malloc_printerr): Clarify error message.
30740 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30744 Set bit_FMA_Usable if FMA is supported.
30745 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30747 (bit_FMA4_Usable): Updated.
30748 (index_FMA_Usable): New macro.
30749 (CPUID_FMA): Likewise
30750 (HAS_FMA): Defined with bit_FMA_Usable.
30752 2012-10-01 Roland McGrath <roland@hack.frob.com>
30754 * bits/types.h (__swblk_t): Type removed.
30755 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30756 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30757 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30758 (__SWBLK_T_TYPE): Likewise.
30759 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30760 (__SWBLK_T_TYPE): Likewise.
30761 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30762 (__SWBLK_T_TYPE): Likewise.
30763 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30764 (__SWBLK_T_TYPE): Likewise.
30766 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
30767 Honza Horak <hhorak@redhat.com>
30769 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30770 (xdr_mapname): Use YPMAXMAP as maxsize.
30771 (xdr_peername): Use YPMAXPEER as maxsize.
30772 (xdr_keydat): Use YPAXRECORD as maxsize.
30773 (xdr_valdat): Use YPMAXRECORD as maxsize.
30775 2012-10-01 Roland McGrath <roland@hack.frob.com>
30777 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30779 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30780 * csu/init-first.c: ... here.
30781 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30782 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30783 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30784 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30785 * sysdeps/i386/init-first.c: File removed.
30786 * sysdeps/sh/init-first.c: File removed.
30788 2012-10-01 Joseph Myers <joseph@codesourcery.com>
30791 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30792 if x * y might underflow to zero and z is zero.
30793 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30794 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30795 * math/libm-test.inc (min_subnorm_value): New variable.
30796 (fma_test): Add more tests.
30797 (fma_test_towardzero): Likewise.
30798 (fma_test_downward): Likewise
30799 (fma_test_upward): Likewise.
30800 (initialize): Set min_subnorm_value.
30802 2012-09-29 Joseph Myers <joseph@codesourcery.com>
30805 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30807 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30808 mode for addition resulting in exact zero.
30809 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30810 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30812 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30813 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30814 * math/libm-test.inc (fma_test): Add more tests.
30815 (fma_test_towardzero): New function.
30816 (fma_test_downward): Likewise.
30817 (fma_test_upward): Likewise.
30818 (main): Call the new functions.
30820 2012-09-28 David S. Miller <davem@davemloft.net>
30822 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30824 2012-09-28 Roland McGrath <roland@hack.frob.com>
30826 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30827 instead of SIGALRM.
30829 * sysdeps/gnu/_G_config.h: Moved to ...
30830 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30831 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30832 * sysdeps/generic/_G_config.h: ... here.
30834 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30836 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30838 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30839 Conditionalize target on [libnss_test1.so-version].
30841 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30843 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30844 (elfobjdir): Move out of conditionals.
30846 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30847 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30848 (__nss_lookup_function): Conditionalize label remove_from_tree on
30849 [!DO_STATIC_NSS || SHARED], matching its only use.
30851 2012-09-28 David S. Miller <davem@davemloft.net>
30853 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30854 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30856 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30858 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30859 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30860 when HWCAP_SPARC_CRYPTO is present.
30862 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30864 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30866 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30869 * stdio-common/vfprintf.c (process_string_arg): Revert
30872 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30874 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30876 * stdio-common/tst-sprintf.c: Include <locale.h>
30877 (main): Test sprintf's handling of incomplete multibyte
30880 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30882 * elf/dl-runtime.c (VERSYMIDX): Removed.
30883 * elf/dl-version.c (VERSYMIDX): Likewise.
30884 * elf/do-rel.h (VERSYMIDX): Likewise.
30885 (VALIDX): Likewise.
30886 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30887 * elf/rtld.c (VALIDX): Likewise.
30888 (ADDRIDX): Likewise.
30889 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30890 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30891 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30892 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30893 (VALIDX): Likewise.
30894 (ADDRIDX): Likewise.
30896 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30898 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30900 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30903 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30905 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30906 addresses are in the same scope as 192.0.2/24.
30907 * posix/gai.conf: Document new scope table defaults.
30909 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30912 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30913 for ftell. Compute offsets from write pointers instead.
30914 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30916 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30919 * libio/Makefile (tests): New test case tst-fseek.
30920 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30921 combination works in wide mode.
30922 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30923 state when the external buffer state changes.
30925 2012-09-27 David S. Miller <davem@davemloft.net>
30928 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30929 pass reloc->r_addend in as the 'high' argument to
30930 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30934 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30936 * rt/tst-aio2.c: Include <pthread.h>.
30937 * rt/tst-aio3.c: Likewise.
30939 2012-09-27 Steve Ellcey <sellcey@mips.com>
30941 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30943 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30945 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30946 contents on [SHARED].
30948 2012-09-26 Marek Polacek <polacek@redhat.com>
30952 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30953 for C++ and GCC <4.3 as well as for non GCC compilers.
30955 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30957 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30959 2012-09-25 Roland McGrath <roland@hack.frob.com>
30961 * Makefile.in (all, install): Declare with .PHONY.
30962 Reported by Michael Hope <michael.hope@linaro.org>.
30964 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30966 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30967 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30969 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30971 (sydep_routines): Add the new and the internal functions.
30972 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30973 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30975 (GLIBC_2.17): Add the new function.
30976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30977 (GLIBC_2.17): Likewise.
30978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30979 (GLIBC_2.17): Likewise.
30980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30981 (GLIBC_2.17): Likewise.
30982 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30984 2012-09-25 Alan Modra <amodra@gmail.com>
30986 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30987 Add release barrier before setting once_control to say
30988 initialisation is done. Add hints on lwarx. Use macro in
30990 (clear_once_control): Add release barrier.
30992 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30995 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30997 * math/s_clog10.c (__clog10): Likewise.
30998 * math/s_clog10f.c (__clog10f): Likewise.
30999 * math/s_clog10l.c (__clog10l): Likewise.
31000 * math/s_clogf.c (__clogf): Likewise.
31001 * math/s_clogl.c (__clogl): Likewise.
31002 * math/Makefile (libm-calls): Add x2y2m1.
31003 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31004 (__x2y2m1): Likewise.
31005 (__x2y2m1l): Likewise.
31006 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31007 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31008 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31009 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31010 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31011 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31012 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31013 * sysdeps/i386/fpu/libm-test-ulps: Update.
31014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31017 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31018 int as type of variable DEPTH.
31019 (glob): Use size_t instead of int as type of variables NEWCOUNT
31022 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31024 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31025 Add s_sincosf-sse2.
31026 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31027 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31028 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31029 macros for using routine as __sincosf_ia32.
31030 Use macro for function declaration and weak_alias.
31031 * sysdeps/i386/fpu/libm-test-ulps: Update.
31033 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31034 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31036 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
31037 subnormal argument.
31038 * math/s_cexpf.c (__cexpf): Likewise.
31039 * math/s_csinf.c (__csinf): Likewise.
31040 * math/s_csinhf.c (__csinhf): Likewise.
31041 * math/s_ctanf.c (__ctanf): Likewise.
31042 * math/s_ctanhf.c (__ctanhf): Likewise.
31043 * math/s_ccosh.c (__ccoshf): Likewise.
31044 * math/s_cexp.c (__cexpl): Likewise.
31045 * math/s_csin.c (__csin): Likewise.
31046 * math/s_csinh.c (__csinh): Likewise.
31047 * math/s_ctan.c (__ctan): Likewise.
31048 * math/s_ctanh.c (ctanh): Likewise.
31049 * math/s_ccoshl.c (__ccoshl): Likewise.
31050 * math/s_cexpl.c (__cexpl): Likewise.
31051 * math/s_csinl.c (__csinl): Likewise.
31052 * math/s_csinhl.c (__csinhl): Likewise.
31053 * math/s_ctanl.c (__ctanl): Likewise.
31054 * math/s_ctanhl.c (__ctanhl): Likewise.
31056 2012-09-25 Joseph Myers <joseph@codesourcery.com>
31058 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31059 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31060 (_IO_off_t): Define to __off_t, not _G_off_t.
31061 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31062 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31063 (_IO_wint_t): Define to wint_t, not _G_wint_t.
31064 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31065 type of __dummy and __dummy2 fields.
31066 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31067 (_G_ssize_t): Likewise.
31068 (_G_off_t): Likewise.
31069 (_G_pid_t): Likewise.
31070 (_G_uid_t): Likewise.
31071 (_G_wchar_t): Likewise.
31072 (_G_wint_t): Likewise.
31073 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31074 (_G_ssize_t): Likewise.
31075 (_G_off_t): Likewise.
31076 (_G_pid_t): Likewise.
31077 (_G_uid_t): Likewise.
31078 (_G_wchar_t): Likewise.
31079 (_G_wint_t): Likewise.
31080 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31081 (_G_ssize_t): Likewise.
31082 (_G_off_t): Likewise.
31083 (_G_pid_t): Likewise.
31084 (_G_uid_t): Likewise.
31085 (_G_wchar_t): Likewise.
31086 (_G_wint_t): Likewise.
31088 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31090 * malloc/arena.c: Include malloc-sysdep.h.
31091 (shrink_heap): Use check_may_shrink_heap to decide if madvise
31092 is sufficient to shrink the heap or an unmap is needed.
31093 * sysdeps/generic/malloc-sysdep.h: New file. Define
31094 new function check_may_shrink_heap.
31095 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
31096 new function check_may_shrink_heap.
31098 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31100 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31103 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
31105 * catgets/test-gencat.sh: Add "set -e".
31106 * elf/tst-pathopt.sh: Likewise.
31107 * grp/tst_fgetgrent.sh: Likewise.
31108 * iconvdata/run-iconv-test.sh: Likewise.
31109 * intl/tst-gettext.sh: Likewise.
31110 * intl/tst-gettext2.sh: Likewise.
31111 * intl/tst-gettext4.sh: Likewise.
31112 * intl/tst-gettext6.sh: Likewise.
31113 * intl/tst-translit.sh: Likewise.
31114 * io/ftwtest-sh: Likewise.
31115 * libio/test-freopen.sh: Likewise.
31116 * malloc/tst-mtrace.sh: Likewise.
31117 * posix/globtest.sh: Likewise.
31118 * posix/tst-getconf.sh: Likewise.
31119 * posix/wordexp-tst.sh: Likewise.
31120 * stdio-common/tst-printf.sh: Likewise.
31121 * stdio-common/tst-unbputc.sh: Likewise.
31122 * stdlib/tst-fmtmsg.sh: Likewise.
31123 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31124 * catgets/Makefile: Do not specify -e option when running
31125 testsuite shell scripts.
31126 * elf/Makefile: Likewise.
31127 * grp/Makefile: Likewise.
31128 * iconvdata/Makefile: Likewise.
31129 * intl/Makefile: Likewise.
31130 * io/Makefile: Likewise.
31131 * libio/Makefile: Likewise.
31132 * malloc/Makefile: Likewise.
31133 * posix/Makefile: Likewise.
31134 * stdio-common/Makefile: Likewise.
31135 * stdlib/Makefile: Likewise.
31136 * sysdeps/x86_64/Makefile: Likewise.
31138 * io/ftwtest-sh: Add copyright header.
31139 * posix/globtest.sh: Likewise.
31140 * posix/tst-getconf.sh: Likewise.
31141 * posix/wordexp-tst.sh: Likewise.
31142 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31144 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
31147 * Makeconfig (+link): Defined as $(+link-static) if
31148 $(build-shared) isn't yes.
31149 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31151 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31153 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31156 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31157 new chunk size with MALLOC_ALIGN_MASK.
31159 2012-09-24 Joseph Myers <joseph@codesourcery.com>
31162 * stdio-common/printf_fphex.c: Include <stdbool.h> and
31164 (__printf_fphex): Determine rounding using get_rounding_mode and
31166 * stdio-common/tst-printf-round.c (struct hex_test): New
31168 (hex_tests): New variable.
31169 (test_hex_in_one_mode): New function.
31170 (do_test): Also run tests for hex float output.
31172 2012-09-21 Joseph Myers <joseph@codesourcery.com>
31174 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31175 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31176 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31177 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31178 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31179 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31180 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31181 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31183 2012-09-20 Joseph Myers <joseph@codesourcery.com>
31185 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31186 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31187 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31188 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31190 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
31193 * elf/rtld.c (dl_main): Limit the check for self loading to normal
31195 * elf/tst-rtld-load-self.sh: New test.
31196 * elf/Makefile: Run it.
31198 2012-09-18 Joseph Myers <joseph@codesourcery.com>
31200 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31201 (tst-writev-ENV): Remove.
31202 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31204 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
31206 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31208 2012-09-17 Joseph Myers <joseph@codesourcery.com>
31210 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31212 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31214 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31215 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31216 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31219 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
31222 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31223 * config.make.in (have-cpp-asm-debuginfo): Removed.
31224 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31225 * configure: Regenerated.
31227 2012-09-14 Joseph Myers <joseph@codesourcery.com>
31230 * stdio-common/printf_fp.c: Include <stdbool.h> and
31232 (___printf_fp): Determine rounding using get_rounding_mode and
31234 * stdio-common/tst-printf-round.c: New file.
31235 * stdio-common/Makefile (tests): Add tst-printf-round.
31236 (link-libm): New variable.
31237 ($(objpfx)tst-printf-round): Depend in $(link-libm).
31239 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
31242 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31243 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31245 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31248 2012-09-13 Joseph Myers <joseph@codesourcery.com>
31250 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31251 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31252 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31253 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31255 2012-09-12 Joseph Myers <joseph@codesourcery.com>
31258 * include/rounding-mode.h: New file.
31259 * sysdeps/generic/get-rounding-mode.h: Likewise.
31260 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31261 * stdlib/strtod_l.c: Include <rounding-mode.h>.
31262 (MAX_VALUE): New macro.
31263 (MIN_VALUE): Likewise.
31264 (overflow_value): New function.
31265 (underflow_value): Likewise.
31266 (round_and_return): Use overflow_value and underflow_value to
31267 determine return values in overflow and underflow cases. Use
31268 round_away to determine rounding depending on rounding mode.
31269 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31270 determine return values in overflow and underflow cases.
31271 * stdlib/tst-strtod-round.c: Include <fenv.h>.
31272 (struct test_results): New structure.
31273 (struct test): Use struct test_results to store expected results
31274 for all rounding modes.
31275 (TEST): Include expected results for all rounding modes.
31276 (test_in_one_mode): New function.
31277 (do_test): Use test_in_one_mode to compute and check results.
31278 Check results for all rounding modes.
31279 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31282 2012-12-09 Allan McRae <allan@archlinux.org>
31284 * sysdeps/i386/fpu/libm-test-ulps: Update
31286 2012-09-11 Joseph Myers <joseph@codesourcery.com>
31288 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31289 (_G_int32_t): Likewise.
31290 (_G_uint16_t): Likewise.
31291 (_G_uint32_t): Likewise.
31292 (_G_HAVE_BOOL): Likewise.
31293 (_G_HAVE_ATEXIT): Likewise.
31294 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31295 (_G_HAVE_IO_FILE_OPEN): Likewise.
31296 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31297 (_G_int32_t): Likewise.
31298 (_G_uint16_t): Likewise.
31299 (_G_uint32_t): Likewise.
31300 (_G_HAVE_BOOL): Likewise.
31301 (_G_HAVE_ATEXIT): Likewise.
31302 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31303 (_G_HAVE_IO_FILE_OPEN): Likewise.
31304 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31305 (_G_int32_t): Likewise.
31306 (_G_uint16_t): Likewise.
31307 (_G_uint32_t): Likewise.
31308 (_G_HAVE_BOOL): Likewise.
31309 (_G_HAVE_ATEXIT): Likewise.
31310 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31311 (_G_HAVE_IO_FILE_OPEN): Likewise.
31313 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
31315 * csu/libc-tls.c: Update copyright years.
31317 2012-09-10 Joseph Myers <joseph@codesourcery.com>
31319 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31320 [!_G_USING_THUNKS]: Remove conditional code.
31321 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31322 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31324 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31325 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31326 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31327 (_G_VTABLE_LABEL_PREFIX): Likewise.
31328 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31329 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31330 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31331 (_G_VTABLE_LABEL_PREFIX): Likewise.
31332 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31333 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31334 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31335 (_G_VTABLE_LABEL_PREFIX): Likewise.
31336 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31338 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
31340 * libio/Makefile: Include ../Makeconfig before tests.
31341 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31342 only if $(build-shared) is yes.
31344 * iconv/gconv_db.c: Update copyright years.
31346 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31348 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31349 unwind info if defined PIC. Fix special cases description.
31350 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31352 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31354 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31356 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
31358 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31360 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31363 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31364 (LDLIBS-tst-chk4): This.
31365 (LDFLAGS-tst-chk5): Renamed to ...
31366 (LDLIBS-tst-chk5): This.
31367 (LDFLAGS-tst-chk6): Renamed to ...
31368 (LDLIBS-tst-chk6): This.
31369 (LDFLAGS-tst-lfschk4): Renamed to ...
31370 (LDLIBS-tst-lfschk4): This.
31371 (LDFLAGS-tst-lfschk5): Renamed to ...
31372 (LDLIBS-tst-lfschk5): This.
31373 (LDFLAGS-tst-lfschk6): Renamed to ...
31374 (LDLIBS-tst-lfschk6): This.
31376 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31377 on $(common-objpfx)soversions.mk.
31379 2012-09-07 Joseph Myers <joseph@codesourcery.com>
31382 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31385 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31387 * malloc/arena.c (arena_get_retry): New function that gets
31388 another arena for the caller to try its request on.
31389 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31390 current arena cannot fulfill the request.
31391 (__libc_memalign): Likewise.
31392 (__libc_memalign): Likewise.
31393 (__libc_pvalloc): Likewise.
31394 (__libc_calloc): Likewise.
31396 2012-09-05 John Tobey <john.tobey@gmail.com>
31399 * manual/arith.texi (Operations on Complex): Fix description
31400 of carg branch cut.
31402 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31405 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31409 * manual/memory.texi (Memory): Make order of menu items match
31412 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31414 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31415 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
31416 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31418 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31420 * csu/libc-tls.c (static_dtv): Renamed to ...
31421 (_dl_static_dtv): This. Make it global.
31422 (_dl_initial_dtv): Removed.
31423 (__libc_setup_tls): Updated.
31424 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31425 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31428 2012-09-06 Petr Machata <pmachata@redhat.com>
31430 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31431 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31432 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31433 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31435 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31438 * csu/libc-tls.c (_dl_initial_dtv): New variable.
31439 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31442 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31445 * Makeconfig (link-static-before-libc): Replace $(+prector)
31447 (link-static-after-libc): Replace $(+postctor) with
31449 (link-bounded): Replace $(+prector)/$(+postctor) with
31450 $(+prectorT)/$(+postctorT).
31451 (+prectorT): New macro.
31452 (+postctorT): Likewise.
31454 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31456 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31457 (round_str): Handle values above the maximum for IBM long double
31459 * stdlib/tst-strtod-round.c (tests): Regenerated.
31461 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31463 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31465 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31466 zarch_nohighgprs around the zarch optimized routines.
31467 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31468 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31469 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31472 2012-09-05 David S. Miller <davem@davemloft.net>
31474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31476 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31477 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31478 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31479 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31482 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31484 * malloc/arena.c: Fold copyright years.
31485 * malloc/mcheck.c, malloc/memusage.c: Likewise.
31487 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31489 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31491 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31493 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
31495 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31497 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31498 change internal state upon failure.
31500 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31502 * malloc/mcheck.c (mcheck_check_all): Fix typo.
31503 * malloc/memusage.c (mmap): Likewise.
31504 (mmap64, mremap): Likewise. Adjust name in comment.
31506 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31508 * libio/fileops.c: Fix typos in comments.
31509 * libio/oldfileops.c: Likewise.
31510 * libio/wfileops.c: Likewise.
31512 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31515 * malloc/Makefile (tests): Add tst-malloc-usable test case.
31516 (tst-malloc-usable-ENV): Set environment for test case.
31517 * malloc/hooks.c (malloc_check_get_size): New function to get
31519 * malloc/malloc.c (musable): Use malloc_check_get_size.
31520 * malloc/tst-malloc-usable.c: New test case.
31522 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31524 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31526 2012-09-05 Allan McRae <allan@archlinux.org>
31529 * configure.in (CXX_SYSINCLUDES): Use compiler output to
31530 determine header location.
31531 * configure: Regenerated.
31533 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31535 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31537 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31538 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31540 (test): Regenerate.
31542 2012-09-04 David S. Miller <davem@davemloft.net>
31544 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31545 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31546 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31548 2012-09-04 Florian Weimer <fweimer@redhat.com>
31550 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31553 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31555 2012-09-04 Joseph Myers <joseph@codesourcery.com>
31558 * libio/iogetdelim.c: Include <limits.h>.
31559 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31560 + len + 1 would overflow.
31562 2012-09-03 Andreas Jaeger <aj@suse.de>
31564 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31565 * sysdeps/i386/fpu/libm-test-ulps: Update.
31567 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31569 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31570 Add s_sinf-sse2, s_conf-sse2.
31572 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31573 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31574 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31575 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31577 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31578 for using routine as __sinf_ia32.
31579 Use macro for function declaration and weak_alias.
31580 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31581 for using routine as __cosf_ia32.
31582 Use macro for function declaration and weak_alias.
31584 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31585 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31587 * sysdeps/x86_64/fpu/s_sinf.S: New file.
31588 * sysdeps/x86_64/fpu/s_cosf.S: New file.
31589 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31591 * math/libm-test.inc (cos_test): Add more test cases.
31592 (sin_test): Likewise.
31593 (sincos_test): Likewise.
31595 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31597 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31598 (IFUNC_RESOLVE): Make pointers to the specialized implementations
31600 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31602 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
31605 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31606 first element of the GOT.
31607 (elf_machine_load_address): Return the difference between
31608 the runtime address of _DYNAMIC and elf_machine_dynamic ().
31610 2012-09-01 Allan McRae <allan@archlinux.org>
31613 * configure.in (AWK): Require gawk version 3.0 or later.
31614 * configure: Regenerated.
31616 2012-09-01 Joseph Myers <joseph@codesourcery.com>
31618 * sysdeps/unix/sysv/linux/kernel-features.h
31619 (__ASSUME_POSIX_CPU_TIMERS): Remove.
31620 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31621 [__NR_clock_getres]: Make code unconditional.
31622 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31623 (clock_getcpuclockid): Remove code left unreachable by removal of
31625 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31626 code unconditional.
31627 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31628 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31629 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31630 Make code unconditional.
31631 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31632 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31633 * sysdeps/unix/sysv/linux/clock_settime.c
31634 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31636 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31637 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31639 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
31642 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31643 scripts/test-installation.pl.
31645 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31646 and $ld_so_version if it is set.
31648 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31651 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31652 failure if reading from procfs failed.
31653 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31655 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31657 * sysdeps/unix/sysv/linux/kernel-features.h
31658 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31659 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31660 Remove conditional code.
31661 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31662 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31663 Remove conditional code.
31664 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31665 * sysdeps/unix/sysv/linux/i386/fxstat.c
31666 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31667 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31668 * sysdeps/unix/sysv/linux/i386/fxstatat.c
31669 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31670 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31671 * sysdeps/unix/sysv/linux/i386/lxstat.c
31672 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31673 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31674 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31675 Remove conditional code.
31676 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31677 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31678 Remove conditional code.
31679 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31680 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31681 <kernel-features.h>.
31682 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31684 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31685 Remove conditional code.
31686 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31687 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31688 Remove conditional.
31690 2012-08-27 Mike Frysinger <vapier@gentoo.org>
31693 * NEWS: Add fixed bug number.
31695 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31698 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31699 underflowing exponent in case of negative sign.
31700 * stdlib/tst-strtod-round-data: Add more tests.
31701 * stdlib/tst-strtod-round.c (tests): Regenerated.
31704 * stdlib/strtod_l.c (NDIG): Remove.
31705 (HEXNDIG): Likewise.
31706 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31707 smallest representable value.
31708 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31709 lie within an exact representation of 1/2 ulp of the result.
31710 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31712 (TENS_P9_IDX): Define unconditionally.
31713 (TENS_P9_SIZE): Likewise.
31714 (TENS_P10_IDX): Likewise.
31715 (TENS_P10_SIZE): Likewise.
31716 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31717 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31718 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31719 entries for 10^2^13 and 10^2^14.
31720 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31721 (TENS_P13_IDX): Define.
31722 (TENS_P13_SIZE): Likewise.
31723 (TENS_P14_IDX): Likewise.
31724 (TENS_P14_SIZE): Likewise.
31725 (_fpioconst_pow10): Change array size to
31726 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31728 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31729 1024]: Add entries for 10^2^13 and 10^2^14.
31730 [LAST_POW10 > _LAST_POW10]: Remove #error.
31731 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31732 (_fpioconst_pow10): Change array size to
31733 FPIOCONST_POW10_ARRAY_SIZE.
31734 * stdlib/gen-fpioconst.c: New file.
31735 * stdlib/gen-tst-strtod-round.c: Likewise.
31736 * stdlib/tst-strtod-round-data: Likewise.
31737 * stdlib/tst-strtod-round.c: Likewise.
31738 * stdlib/Makefile (tests): Add tst-strtod-round.
31741 * stdlib/strtod_l.c: Include <stdint.h>.
31742 (NDEBUG): Do not define.
31743 (round_and_return): Change EXPONENT parameter to type intmax_t.
31744 Rearrange calculations to avoid internal overflow possibilities.
31745 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31746 Rearrange calculations to avoid internal overflow possibilities.
31747 Assert that number fits inside MPNSIZE limbs.
31748 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31749 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31750 calculations and add assertions to avoid internal overflow
31751 possibilities. Add casts to avoid signed/unsigned operations.
31752 * stdlib/tst-strtod-overflow.c: New file.
31753 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31755 2012-08-25 Marek Polacek <polacek@redhat.com>
31757 * time/time.h: Fix some typos in comments.
31759 2012-08-23 Roland McGrath <roland@hack.frob.com>
31761 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31762 * posix/tst-rfc3484-2.c: Likewise.
31763 * posix/tst-rfc3484-3.c: Likewise.
31765 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31767 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31768 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31770 2012-08-23 Joseph Myers <joseph@codesourcery.com>
31772 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31773 #include of fxstatat64.c.
31775 2012-08-22 Roland McGrath <roland@hack.frob.com>
31777 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31778 * shadow/getspent_r.c: Likewise.
31779 * shadow/getspnam.c: Likewise.
31780 * shadow/getspnam_r.c: Likewise.
31781 * gshadow/getsgent.c: Likewise.
31782 * gshadow/getsgent_r.c: Likewise.
31783 * gshadow/getsgnam.c: Likewise.
31784 * gshadow/getsgnam_r.c: Likewise.
31785 * inet/getnetbyad.c: Likewise.
31786 * inet/getnetbyad_r.c: Likewise.
31787 * inet/getnetbynm.c: Likewise.
31788 * inet/getnetbynm_r.c: Likewise.
31789 * inet/getnetent.c: Likewise.
31790 * inet/getnetent_r.c: Likewise.
31791 * inet/getproto.c: Likewise.
31792 * inet/getproto_r.c: Likewise.
31793 * inet/getprtent.c: Likewise.
31794 * inet/getprtent_r.c: Likewise.
31795 * inet/getprtname.c: Likewise.
31796 * inet/getprtname_r.c: Likewise.
31797 * inet/getrpcbyname.c: Likewise.
31798 * inet/getrpcbyname_r.c: Likewise.
31799 * inet/getrpcbynumber.c: Likewise.
31800 * inet/getrpcbynumber_r.c: Likewise.
31801 * inet/getrpcent.c: Likewise.
31802 * inet/getrpcent_r.c: Likewise.
31803 * inet/getaliasent.c: Likewise.
31804 * inet/getaliasent_r.c: Likewise.
31805 * inet/getaliasname.c: Likewise.
31806 * inet/getaliasname_r.c: Likewise.
31807 * nscd/getgrgid_r.c: Likewise.
31808 * nscd/getgrnam_r.c: Likewise.
31809 * nscd/gethstbyad_r.c: Likewise.
31810 * nscd/gethstbynm3_r.c: Likewise.
31811 * nscd/getpwnam_r.c: Likewise.
31812 * nscd/getpwuid_r.c: Likewise.
31813 * nscd/getsrvbynm_r.c: Likewise.
31814 * nscd/getsrvbypt_r.c: Likewise.
31815 * nscd/gai.c: Likewise.
31817 * configure.in (build_nscd): New substituted variable, set
31818 by --disable-build-nscd and defaults to $use_nscd.
31819 * configure: Regenerated.
31820 * config.make.in (build-nscd): New substituted variable.
31821 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31822 Change conditional to require [$(build-nscd) = yes] as well.
31823 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31826 * configure.in (use_nscd): New substituted variable, set by
31827 --disable-nscd. If enabled, define USE_NSCD.
31828 * configure: Regenerated.
31829 * config.h.in: Add USE_NSCD.
31830 * config.make.in (use-nscd): New substituted variable.
31831 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31832 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31833 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31834 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31835 (CFLAGS-getgrnam_r.c): Likewise.
31836 (CFLAGS-initgroups.c): Likewise.
31837 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31838 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31840 * inet/getnetgrent_r.c
31841 (nscd_setnetgrent): New function, broken out of ...
31842 (setnetgrent): ... here. Call it.
31843 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31844 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31845 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31846 * nscd/Makefile (routines, aux): Move definitions after include of
31847 Makeconfig. Conditionalize on [$(use-nscd) != no].
31848 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31849 Conditionalize on [USE_NSCD].
31850 (is_nscd, nscd_init_cb): Likewise.
31851 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31852 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31853 * nss/nss_db/db-init.c: Likewise.
31854 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31856 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31857 (make_request): Use it.
31858 (cache_valid_p): New function.
31859 (__check_pf): Use it.
31860 * NEWS: Add item for --disable-nscd.
31862 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31864 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31865 to support sed >= 4.2.1-20-ga9bf076.
31866 * configure: Regenerated.
31868 2012-08-22 Roland McGrath <roland@hack.frob.com>
31870 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31871 Conditionalize whole body on [IREL].
31873 2012-08-22 Jeff Law <law@redhat.com>
31876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31877 if the family is PF_UNSPEC.
31879 2012-08-22 Mike Frysinger <vapier@gentoo.org>
31881 * Makerules (lib-version): Rename from V.
31882 (install-lib-nosubdir): Change V to lib-version.
31884 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31887 * powerpc32/power6/wcschr.c: New file.
31888 * powerpc32/power6/wcscpy.c: New file.
31889 * powerpc32/power6/wcsrchr.c: New file.
31890 * powerpc64/power6/wcschr.c: New file.
31891 * powerpc64/power6/wcscpy.c: New file.
31892 * powerpc64/power6/wcsrchr.c: New file.
31894 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31896 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31897 (two_way_short_needle): Use it.
31898 * string/strstr.c (AVAILABLE1_USES_J): Define.
31899 * string/strcasestr.c: Likewise.
31901 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31903 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31906 * NEWS: Add an entry.
31907 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31908 define their defaults.
31909 (two_way_short_needle): Detect end-of-string on-the-fly.
31910 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31911 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31912 * string/bug-strcasestr1.c: New test.
31913 * string/Makefile: Run it.
31915 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31918 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31919 the first character.
31921 2012-08-21 Roland McGrath <roland@hack.frob.com>
31923 * csu/elf-init.c (__libc_csu_irel): Function removed.
31924 * csu/libc-start.c (apply_irel): New function.
31925 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31927 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31929 * sysdeps/unix/sysv/linux/kernel-features.h
31930 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31931 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31932 <kernel-features.h>.
31933 [__NR_fadvise64_64]: Make code unconditional.
31934 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31935 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31936 !__NR_fadvise64_64)]: Likewise.
31937 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31938 !__NR_fadvise64_64))]: Likewise.
31939 [__NR_fadvise64]: Make code unconditional.
31940 [!__NR_fadvise64]: Remove conditional code.
31941 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31942 <kernel-features.h>.
31943 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31945 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31948 not include <kernel-features.h>.
31949 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31951 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31953 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31954 include <kernel-features.h>.
31955 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31957 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31960 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31962 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31963 slight instruction rearrangements per scrollpipe analysis.
31964 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31966 2012-08-20 Roland McGrath <roland@hack.frob.com>
31968 * manual/syslog.texi (syslog; vsyslog, closelog):
31969 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31970 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31972 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31973 DSOCAPS to match condition on defining it.
31975 2012-08-20 Joseph Myers <joseph@codesourcery.com>
31977 * sysdeps/unix/sysv/linux/kernel-features.h
31978 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31980 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31981 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31983 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31984 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31986 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31987 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31989 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31990 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31992 * sysdeps/unix/sysv/linux/kernel-features.h
31993 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31994 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31996 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31997 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31998 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31999 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32000 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32001 Make code unconditional.
32002 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32003 (__mmap64) [!__NR_mmap2]: Likewise.
32004 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32005 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32006 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32007 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32008 [__NR_mmap2]: Make code unconditional.
32009 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32010 (__mmap64) [!__NR_mmap2]: Likewise.
32012 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32014 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32016 2012-08-18 Andreas Jaeger <aj@suse.de>
32018 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32020 2012-08-18 Mike Frysinger <vapier@gentoo.org>
32022 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32023 * include/unistd.h (__have_sock_cloexec): Likewise.
32024 (__have_pipe2): Likewise.
32025 (__have_dup3): Likewise.
32027 2012-08-18 Mike Frysinger <vapier@gentoo.org>
32030 * include/unistd.h (__have_pipe2): Change define into an extern int.
32031 (__have_dup3): Likewise.
32032 * socket/have_sock_cloexec.c: Include fcntl.h.
32033 (__have_pipe2): New variable.
32034 (__have_dup3): Likewise.
32036 2012-08-17 Mike Frysinger <vapier@gentoo.org>
32038 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32040 2012-08-17 Marek Polacek <polacek@redhat.com>
32042 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32043 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32045 2012-08-17 Roland McGrath <roland@hack.frob.com>
32047 * configure.in: Add AC_SUBST for sysheaders.
32048 * configure: Regenerated.
32049 * config.make.in (sysheaders): New substituted variable.
32051 * sysdeps/unix/mkfifo.c: Moved ...
32052 * sysdeps/posix/mkfifo.c: ... here.
32053 * sysdeps/unix/mkfifoat.c: Moved ...
32054 * sysdeps/posix/mkfifoat.c: ... here.
32056 * sysdeps/unix/utime.c: Moved ...
32057 * sysdeps/posix/utime.c: ... here.
32059 * sysdeps/unix/time.c: Moved ...
32060 * sysdeps/posix/time.c: ... here.
32061 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32062 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
32064 * sysdeps/unix/nice.c: Moved ...
32065 * sysdeps/posix/nice.c: ... here.
32067 * sysdeps/unix/alarm.c: Moved ...
32068 * sysdeps/posix/alarm.c: ... here.
32070 * intl/Makefile ($(codeset_mo)): Depend on the input file.
32072 2012-08-17 Jeff Law <law@redhat.com>
32074 * intl/Makefile (codeset_mo): New variable.
32075 ($(codeset_mo)): New target.
32076 (tst-codeset.out): Depend on that. Remove explicit rule.
32077 (tst-gettext3.out, tst-gettext5.out): Likewise.
32078 (LOCPATH-ENV, tst-codeset-ENV): New variables.
32079 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32080 * intl/tst-codeset.sh: Remove.
32081 * intl/tst-gettext3.sh: Likewise.
32082 * intl/tst-gettext5.sh: Likewise.
32084 2012-08-17 Roland McGrath <roland@hack.frob.com>
32086 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
32087 * sysdeps/unix/syscalls.list: ... here.
32089 * sysdeps/posix/getaddrinfo.c
32090 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32091 (gaiconf_init, gaiconf_reload): Use them.
32092 [!_STATBUF_ST_NSEC]
32093 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32094 Define using time_t rather than struct timespec.
32096 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32097 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32099 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32101 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32102 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32105 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32106 __libc_cleanup_push argument.
32108 * bits/param.h: New file.
32109 * misc/sys/param.h: New file.
32110 * include/sys/param.h: New file.
32111 * misc/Makefile (headers): Add bits/param.h.
32112 * sysdeps/generic/sys/param.h: File removed.
32113 * sysdeps/unix/sysv/linux/bits/param.h: New file.
32114 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32115 * sysdeps/mach/hurd/bits/param.h: New file.
32116 * sysdeps/mach/hurd/sys/param.h: File removed.
32118 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32121 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32123 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32124 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32127 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32128 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32129 rather than -D_IO_MTSAFE_IO conditionally.
32130 * stdio-common/Makefile (CPPFLAGS): Likewise.
32131 * wcsmbs/Makefile (CPPFLAGS): Likewise.
32132 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32133 Use $(libio-mtsafe).
32134 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32135 of -D_IO_MTSAFE_IO.
32136 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32137 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32138 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32139 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32140 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32141 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32142 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32143 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32144 (CFLAGS-fread_u_chk.c): Likewise.
32145 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32146 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32147 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32148 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32149 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32150 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32151 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32152 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32153 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32155 * libio/Makefile: Test [$(libc-reentrant) = yes]
32156 instead of [$(filter %REENTRANT, $(defines)) nonempty].
32159 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32160 * sysdeps/pthread/configure: File removed.
32161 * sysdeps/pthread/Makeconfig: New file.
32162 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32163 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32165 2012-08-16 Gary Benson <gbenson@redhat.com>
32167 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32168 unmapping the first object in a namespace.
32170 2012-08-16 Roland McGrath <roland@hack.frob.com>
32172 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32173 (__internal_setnetgrent): ... this. Add internal_function to
32174 definition. Add libc_hidden_def.
32175 (setnetgrent): Update caller.
32176 (internal_endnetgrent): Renamed to ...
32177 (__internal_endnetgrent): ... this. Add internal_function to
32178 definition. Add libc_hidden_def.
32179 (endnetgrent): Update caller.
32180 (internal_getnetgrent_r): Renamed to ...
32181 (__internal_getnetgrent_r): ... this. Add internal_function to
32182 definition. Add libc_hidden_def.
32183 (__getnetgrent_r): Update caller.
32184 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
32186 2012-08-16 Joseph Myers <joseph@codesourcery.com>
32188 * stdlib/longlong.h: Update from GCC.
32190 2012-08-16 Roland McGrath <roland@hack.frob.com>
32192 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32193 on _QL, which is set by umul_ppmm but never used.
32194 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32195 variables, which are set by GMP macros but never used.
32196 * stdio-common/_itowa.c (_itowa): Likewise.
32197 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32198 * stdlib/mod_1.c (mpn_mod_1): Likewise.
32200 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
32202 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32203 struct La_sh_regs is not constant.
32204 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32205 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32206 and struct La_sparc64_regs are not constant.
32208 2012-08-16 Joseph Myers <joseph@codesourcery.com>
32210 * sysdeps/unix/sysv/linux/kernel-features.h
32211 (__ASSUME_POSIX_TIMERS): Remove.
32212 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32213 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32214 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32215 Make code unconditional.
32216 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32217 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32218 Make code unconditional.
32219 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32220 * sysdeps/unix/sysv/linux/clock_nanosleep.c
32221 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32222 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32223 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32224 Make code unconditional.
32225 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32226 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32227 (__libc_missing_posix_timers): Remove.
32229 2012-08-15 Roland McGrath <roland@hack.frob.com>
32231 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32232 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32234 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32236 * elf/dl-sym.c: Include <stdlib.h>.
32238 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32239 constants, which avoids warnings in 32-bit builds.
32241 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32242 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32244 * misc/lseek.c: File moved to ...
32245 * io/lseek.c: ... here.
32247 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32249 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32250 shifting LEN more than 31 bits at once.
32252 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32255 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32256 segmentation fault for a case of two empty input strings.
32257 * string/test-strncasecmp.c (check1): Renamed to...
32258 (bz12205): ...this.
32259 (bz14195): Add new testcase for two empty input strings and N > 0.
32260 (test_main): Call new testcase, adapt for renamed function.
32262 2012-08-15 Andreas Jaeger <aj@suse.de>
32265 * crypt/md5test2.c: New test, based on test supplied by Serge
32266 Belyshev <belyshev@depni.sinp.msu.ru>.
32267 * crypt/Makefile (xtests): Add md5test-giant..
32268 * crypt/Makefile ($(objpfx)md5test-giant): Add.
32270 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
32273 * crypt/md5.c (md5_process_block): Don't assume the buffer
32274 length is less than 2**32.
32275 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32276 length is less than 2**64.
32278 2012-08-15 Roland McGrath <roland@hack.frob.com>
32280 * string/str-two-way.h: Include <sys/param.h>.
32281 (MAX): Macro removed.
32283 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32284 Move #define and #undef of memmove to just before and after
32285 including <string.h>.
32287 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32288 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32289 and after including <string.h>. Move declarations of
32290 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32291 to before #include "string/memmove.c".
32293 * include/dirent.h: Declare __getdirentries.
32295 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32296 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32298 2012-08-14 Mike Frysinger <vapier@gentoo.org>
32300 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32301 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32302 * sysdeps/i386/configure: Regenerated.
32303 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32304 STABS_CURRENT_FILE, and STABS_FUN.
32305 (END): Remove call to STABS_FUN_END.
32306 (STABS_CURRENT_FILE1): Delete.
32307 (STABS_CURRENT_FILE): Likewise.
32308 (STABS_FUN): Likewise.
32309 (STABS_FUN_END): Likewise.
32310 (STABS_FUN2): Likewise.
32311 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32312 * sysdeps/x86_64/configure: Regenerated.
32314 2012-08-14 Roland McGrath <roland@hack.frob.com>
32316 * elf/dl-open.c: Include <atomic.h>.
32317 * elf/dl-lookup.c: Likewise.
32319 2012-08-14 Joseph Myers <joseph@codesourcery.com>
32321 * sysdeps/unix/sysv/linux/kernel-features.h
32322 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32323 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32325 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32327 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32328 condition on __ASSUME_CLONE_THREAD_FLAGS.
32330 2012-08-14 Andreas Jaeger <aj@suse.de>
32332 * sysdeps/i386/fpu/libm-test-ulps: Update.
32334 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
32336 * include/atomic.h (atomic_exchange_and_add): Split into ...
32337 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32340 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
32342 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32344 2012-08-13 Jeff Law <law@redhat.com>
32346 * manual/stdio.texi (snprintf): Clarify handling of the trailing
32347 null byte in the output string.
32349 2012-08-10 Joseph Myers <joseph@codesourcery.com>
32351 * sysdeps/unix/sysv/linux/kernel-features.h
32352 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32353 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32354 (__ASSUME_ARG_MAX_STACK_BASED): Define.
32355 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32356 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32357 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
32358 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32360 2012-08-09 Jeff Law <law@redhat.com>
32363 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32364 When avoid_arena is set, don't retry in the that arena. Pick the
32365 next one, whatever it might be.
32366 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32367 (arena_lock): Pass in new parameter to arena_get2.
32368 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32370 (__libc_malloc): Unify retrying after main arena failure with
32371 __libc_memalign version.
32372 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32374 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
32377 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32378 to __redirect_strstr.
32379 (__strstr_sse42): Use typeof __redirect_strstr.
32380 (__strstr_ia32): Likewise.
32381 (__libc_strstr): New prototype.
32382 (strstr): Renamed to ...
32383 (__libc_strstr): This.
32384 (strstr): New strong alias of __libc_strstr.
32385 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32386 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32389 (__libc_time): New prototype.
32390 (time_ifunc): Replace time with __libc_time.
32391 (time): New strong alias and hidden definition of __libc_time.
32392 (__GI_time): Remove strong alias.
32393 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32394 Include <stddef.h>.
32395 (memmove): Redefined to __redirect_memmove.
32396 (__memmove_sse2): Use typeof __redirect_memmove.
32397 (__memmove_ssse3): Likewise.
32398 (__memmove_ssse3_back): Likewise.
32399 (__libc_memmove): New prototype.
32400 (memmove): Renamed to ...
32401 (__libc_memmove): This.
32402 (memmove): New strong alias of __libc_memmove.
32404 2012-08-08 Mark Salter <msalter@redhat.com>
32407 (R_MN10300_TLS_GD): Define.
32408 (R_MN10300_TLS_LD): Likewise.
32409 (R_MN10300_TLS_LDO): Likewise.
32410 (R_MN10300_TLS_GOTIE): Likewise.
32411 (R_MN10300_TLS_IE): Likewise.
32412 (R_MN10300_TLS_LE): Likewise.
32413 (R_MN10300_TLS_DTPMOD): Likewise.
32414 (R_MN10300_TLS_DTPOFF): Likewise.
32415 (R_MN10300_TLS_TPOFF): Likewise.
32416 (R_MN10300_SYM_DIFF): Likewise.
32417 (R_MN10300_ALIGN): Likewise.
32418 (R_MN10300_NUM): Update.
32420 2012-08-08 Joseph Myers <joseph@codesourcery.com>
32422 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32425 2012-08-08 Roland McGrath <roland@hack.frob.com>
32427 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32429 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32430 sysdeps/unix -> sysdeps/posix move.
32431 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32433 2012-08-07 Allan McRae <allan@archlinux.org>
32436 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32437 (SUNOS_CPP): Likewise.
32438 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32440 (open_input): Call CPP using execvp.
32442 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32444 * sysdeps/unix/sysv/linux/kernel-features.h
32445 (__ASSUME_PROT_GROWSUPDOWN): Remove.
32446 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32447 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32448 (__ASSUME_WAITID_SYSCALL): Likewise.
32449 * sysdeps/unix/sysv/linux/dl-execstack.c
32450 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32451 code unconditional.
32452 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32454 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32455 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32456 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32458 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32460 [__ASSUME_WAITID_SYSCALL]: Likewise.
32461 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32463 2012-08-07 Roland McGrath <roland@hack.frob.com>
32465 * sysdeps/unix/closedir.c: Renamed to ...
32466 * sysdeps/posix/closedir.c: ... here.
32467 * sysdeps/unix/dirfd.c: Renamed to ...
32468 * sysdeps/posix/dirfd.c: ... here.
32469 * sysdeps/unix/dirstream.h: Renamed to ...
32470 * sysdeps/posix/dirstream.h: ... here.
32471 * sysdeps/unix/fdopendir.c: Renamed to ...
32472 * sysdeps/posix/fdopendir.c: ... here.
32473 * sysdeps/unix/opendir.c: Renamed to ...
32474 * sysdeps/posix/opendir.c: ... here.
32475 * sysdeps/unix/readdir.c: Renamed to ...
32476 * sysdeps/posix/readdir.c: ... here.
32477 * sysdeps/unix/readdir_r.c: Renamed to ...
32478 * sysdeps/posix/readdir_r.c: ... here.
32479 * sysdeps/unix/rewinddir.c: Renamed to ...
32480 * sysdeps/posix/rewinddir.c: ... here.
32481 * sysdeps/unix/seekdir.c: Renamed to ...
32482 * sysdeps/posix/seekdir.c: ... here.
32483 * sysdeps/unix/telldir.c: Renamed to ...
32484 * sysdeps/posix/telldir.c: ... here.
32485 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32486 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32487 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32488 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32490 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32491 * bits/fcntl.h: ... here.
32493 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32495 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32496 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32497 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32498 (struct flock): Move l_start, l_len to the beginning.
32499 Use __pid_t for l_pid.
32500 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32501 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32502 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32503 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32504 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32505 [__USE_LARGEFILE64] (struct flock64): New type.
32506 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32508 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32509 * bits/dirent.h: ... here.
32511 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32512 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32514 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32516 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32517 Change from 2.6.0 to 2.6.16.
32518 * sysdeps/unix/sysv/linux/configure: Regenerated.
32519 * sysdeps/unix/sysv/linux/kernel-features.h
32520 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32521 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32523 (__ASSUME_UTIMES): Likewise.
32524 (__ASSUME_CLONE_STOPPED): Remove.
32525 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32526 architectures, not kernel version.
32527 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32528 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32529 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32530 (__ASSUME_WAITID_SYSCALL): Likewise.
32531 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32532 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32533 * README: State 2.6.16 as minimum Linux kernel version. Do not
32534 refer to older versions.
32536 2012-08-06 Roland McGrath <roland@hack.frob.com>
32538 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32539 Define alphasort64 as an alias.
32540 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32541 Define versionsort64 as an alias.
32542 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32543 Define scandir64 as an alias.
32544 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32545 Define scandirat64 as an alias.
32546 * dirent/alphasort64.c (alphasort64):
32547 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32548 * dirent/versionsort64.c: Likewise.
32549 * dirent/scandir64.c: Likewise.
32550 * dirent/scandirat64.c: Likewise.
32551 * sysdeps/wordsize-64/alphasort.c: File removed.
32552 * sysdeps/wordsize-64/alphasort64.c: File removed.
32553 * sysdeps/wordsize-64/scandir.c: File removed.
32554 * sysdeps/wordsize-64/scandir64.c: File removed.
32555 * sysdeps/wordsize-64/scandirat.c: File removed.
32556 * sysdeps/wordsize-64/scandirat64.c: File removed.
32557 * sysdeps/wordsize-64/versionsort.c: File removed.
32558 * sysdeps/wordsize-64/versionsort64.c: File removed.
32559 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32560 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32561 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32562 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32563 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32564 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32565 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32566 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32568 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32569 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32570 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32571 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32572 [defined __arch64__ || defined __sparcv9]
32573 (__INO_T_MATCHES_INO64_T): New macro.
32574 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32575 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32576 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32577 * sysdeps/unix/sysv/linux/bits/dirent.h
32578 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32579 (_DIRENT_MATCHES_DIRENT64): New macro.
32581 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32582 Define lockf64 as an alias.
32583 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32584 Define fseeko64 as an alias.
32585 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32586 Define ftello64 as an alias.
32587 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32588 Define _IO_fgetpos64 and fgetpos64 as aliases.
32589 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32590 Define _IO_fsetpos64 and fsetpos64 as aliases.
32591 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32592 Conditionalize body on this.
32593 * libio/fseeko64.c: Likewise.
32594 * libio/ftello64.c: Likewise.
32595 * libio/iofgetpos64.c: Likewise.
32596 * libio/iofsetpos64.c: Likewise.
32597 * sysdeps/wordsize-64/lockf.c: File removed.
32598 * sysdeps/wordsize-64/lockf64.c: File removed.
32599 * sysdeps/wordsize-64/fseeko.c: File removed.
32600 * sysdeps/wordsize-64/fseeko64.c: File removed.
32601 * sysdeps/wordsize-64/ftello.c: File removed.
32602 * sysdeps/wordsize-64/ftello64.c: File removed.
32603 * sysdeps/wordsize-64/iofgetpos.c: File removed.
32604 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32605 * sysdeps/wordsize-64/iofsetpos.c: File removed.
32606 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32607 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32608 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32609 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32610 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32611 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32612 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32613 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32614 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32615 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32616 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32618 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32619 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32620 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32621 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32622 [defined __arch64__ || defined __sparcv9]
32623 (__OFF_T_MATCHES_OFF64_T): New macro.
32624 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32625 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32626 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32627 (__OFF_T_MATCHES_OFF64_T): New macro.
32629 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32631 * stdlib/secure-getenv.c (__secure_getenv): Replace
32632 GLIBC_2_16 with GLIBC_2_17.
32634 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32636 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32637 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32639 2012-08-03 David S. Miller <davem@davemloft.net>
32641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32643 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32645 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32647 (__ASSUME_CORRECT_SI_PID): Likewise.
32648 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32649 (__ASSUME_TMPFS_NAME): Likewise.
32650 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32651 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32652 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32653 (HAVE_AUX_SECURE): Make definition unconditional.
32654 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32655 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32657 2012-08-03 Roland McGrath <roland@hack.frob.com>
32659 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32660 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32661 * sysdeps/mach/hurd/eloop-threshold.h: New file.
32662 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32663 __eloop_threshold instead of SYMLOOP_MAX.
32665 * sysdeps/generic/eloop-threshold.h: New file.
32666 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32668 * elf/chroot_canon.c (chroot_canon): Likewise.
32670 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32673 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32674 Change to 2.6.0 everywhere.
32675 * sysdeps/unix/sysv/linux/configure: Regenerated.
32676 * sysdeps/unix/sysv/linux/kernel-features.h
32677 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32678 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32680 (__ASSUME_POSIX_TIMERS): Define unconditionally.
32681 (__ASSUME_FUTEX_REQUEUE): Remove.
32682 (__ASSUME_STATFS64): Define unconditionally.
32683 (__ASSUME_AT_SECURE): Likewise.
32684 (__ASSUME_CORRECT_SI_PID): Likewise.
32685 (__ASSUME_TGKILL): Define without depending on kernel version for
32687 (__ASSUME_UTIMES): Likewise.
32688 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32690 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32691 (__ASSUME_TMPFS_NAME): Likewise.
32692 * README: Update reference to Linux kernel versions.
32694 2012-08-02 Marek Polacek <polacek@redhat.com>
32697 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
32698 libc_cv_asm_type_prefix with %.
32699 * configure: Regenerated.
32700 * include/libc-symbols.h: Remove comment about
32701 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32702 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32703 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32704 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32705 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32706 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32707 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32708 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32709 * elf/tst-unique2mod1.c: Likewise.
32710 * elf/tst-unique1mod2.c: Likewise.
32711 * elf/tst-unique1mod1.c: Likewise.
32712 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32713 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32714 Replace ASM_TYPE_DIRECTIVE with .type.
32715 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32716 * sysdeps/i386/sysdep.h: Likewise.
32717 * sysdeps/x86_64/sysdep.h: Likewise.
32718 * sysdeps/sh/sysdep.h: Likewise.
32719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32720 Do not define ASM_TYPE_DIRECTIVE.
32721 * sysdeps/powerpc/sysdep.h: Likewise.
32722 * sysdeps/powerpc/powerpc32/sysdep.h:
32723 Replace ASM_TYPE_DIRECTIVE with .type.
32724 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32725 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32726 * sysdeps/i386/fpu/e_powf.S: Likewise.
32727 * sysdeps/i386/fpu/e_expl.S: Likewise.
32728 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32729 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32730 * sysdeps/i386/fpu/e_pow.S: Likewise.
32731 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32732 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32733 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32734 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32735 * sysdeps/i386/fpu/e_log2.S: Likewise.
32736 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32737 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32738 * sysdeps/i386/fpu/e_powl.S: Likewise.
32739 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32740 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32741 * sysdeps/i386/fpu/e_logl.S: Likewise.
32742 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32743 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32744 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32745 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32746 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32747 * sysdeps/i386/fpu/e_log.S: Likewise.
32748 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32749 * sysdeps/i386/fpu/e_logf.S: Likewise.
32750 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32751 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32752 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32753 * sysdeps/i386/fpu/e_log10.S: Likewise.
32754 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32755 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32756 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32757 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32758 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32759 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32760 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32761 * sysdeps/i386/i686/strtok.S: Likewise.
32762 * sysdeps/i386/i386-mcount.S: Likewise.
32763 * sysdeps/i386/strtok.S: Likewise.
32764 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32765 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32766 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32767 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32768 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32769 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32770 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32771 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32772 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32773 * sysdeps/x86_64/_mcount.S: Likewise.
32774 * sysdeps/x86_64/strtok.S: Likewise.
32775 * sysdeps/sh/_mcount.S: Likewise.
32777 2012-08-01 Roland McGrath <roland@hack.frob.com>
32779 * libio/iofopen.c: Include <fcntl.h>.
32780 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32781 (_IO_fopen64, fopen64): Define as aliases.
32782 * libio/iofopen64.c: Include <fcntl.h>.
32783 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32784 Conditionalize body on this.
32785 * sysdeps/wordsize-64/iofopen.c: File removed.
32786 * sysdeps/wordsize-64/iofopen64.c: File removed.
32788 2012-08-01 Marek Polacek <polacek@redhat.com>
32790 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32791 Use dlfcn directly instead of a variable.
32792 (binfmt-subdir): Do not define.
32795 2012-08-01 Joseph Myers <joseph@codesourcery.com>
32797 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32798 Remove all definitions.
32799 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32800 <kernel-features.h>.
32801 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32802 (miss_F_GETOWN_EX): Remove all definitions.
32803 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32805 [!__ASSUME_FCNTL64]: Remove conditional code.
32806 [__ASSUME_FCNTL64]: Make code unconditional.
32807 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32808 <kernel-features.h>.
32809 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32810 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32811 (lockf64) [__NR_fcntl64]: Make code unconditional.
32812 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32814 * sysdeps/unix/sysv/linux/kernel-features.h
32815 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32816 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32817 Make code unconditional.
32818 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32819 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32821 [__NR_vfork]: Make code unconditional.
32822 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32823 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32825 [__NR_vfork]: Make code unconditional.
32826 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32827 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32829 2012-08-01 Roland McGrath <roland@hack.frob.com>
32831 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32832 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32834 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32835 Define mkstemp64 as an alias.
32836 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32837 Define mkstemps64 as an alias.
32838 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32839 Define mkostemp64 as an alias.
32840 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32841 Define mkostemps64 as an alias.
32842 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32843 Conditionalize body on this.
32844 * misc/mkostemp64.c: Likewise.
32845 * misc/mkostemps64.c: Likewise.
32846 * misc/mkstemps64.c: Likewise.
32847 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32848 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32849 * sysdeps/wordsize-64/mkostemp.c: File removed.
32850 * sysdeps/wordsize-64/mkstemp.c: File removed.
32851 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32852 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32853 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32854 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32857 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32858 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32859 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32860 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32862 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32863 compat_symbol macros from <shlib-compat.h> rather than the underlying
32864 default_symbol_version and symbol_version macros, so that DEFAULT
32865 lines in shlib-versions are respected.
32866 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32868 2012-08-01 Florian Weimer <fweimer@redhat.com>
32870 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32871 Declare with warn_unused_result.
32872 (setgid, setregid, setegid, setresgid): Likewise.
32873 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32875 * WUR-REPORT: Remove set*id functions.
32877 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32879 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32881 2012-07-31 Roland McGrath <roland@hack.frob.com>
32884 * include/sys/socket.h (__libc_accept, __libc_accept4):
32885 Add attribute_hidden.
32886 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32888 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32890 * inet/getnetgrent_r.c (setup): Likewise.
32892 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32894 2012-07-31 David S. Miller <davem@davemloft.net>
32896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32898 2012-07-31 Joseph Myers <joseph@codesourcery.com>
32901 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32902 value between 1.0 and 2.0 and smaller part has absolute value less
32904 * math/s_clog10.c (__clog10): Likewise.
32905 * math/s_clog10f.c (__clog10f): Likewise.
32906 * math/s_clog10l.c (__clog10l): Likewise.
32907 * math/s_clogf.c (__clogf): Likewise.
32908 * math/s_clogl.c (__clogl): Likewise.
32909 * math/libm-test.inc (clog_test): Add more tests.
32910 (clog10_test): Likewise.
32911 * sysdeps/i386/fpu/libm-test-ulps: Update.
32912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32914 2012-07-31 Florian Weimer <fweimer@redhat.com>
32916 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32917 Exit with zero in case no suitable GID is found, and write a
32918 message to standard error.
32920 2012-07-30 Roland McGrath <roland@hack.frob.com>
32922 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32924 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32925 (MAXPATHLEN): Removed.
32926 (NOGROUP, NODEV): New macros.
32927 (setbit, clrbit, isset, isclr): New macros.
32928 (howmany, roundup, powerof2): New macros.
32929 (DEV_BSIZE): New macro.
32931 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32932 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32934 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32935 definition on [!__NO_LONG_DOUBLE_MATH].
32937 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32938 PTR_MANGLE and PTR_DEMANGLE.
32940 * socket/accept4.c (accept4): Rename to __libc_accept4.
32941 Define accept4 as a weak alias.
32943 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32944 on [_DIRENT_HAVE_D_TYPE].
32945 * io/ftw.c (ftw_dir): Likewise.
32947 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32949 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32951 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32952 Use the BSD numbers rather than the arbitrary ones we had.
32953 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32954 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32955 (SIGXCPU, SIGXFSZ): New macros.
32958 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32959 initializer on [_LIBC_REENTRANT].
32961 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32962 definitions inside [_POSIX_MAPPED_FILES].
32964 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32966 * dirent/opendir.c: Include <fcntl.h>.
32968 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32969 (__libc_getspecific): Likewise.
32970 (__libc_key_create): Likewise.
32972 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32973 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32974 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32975 (tmpfile64): Define as alias.
32976 * sysdeps/wordsize-64/tmpfile.c: File removed.
32977 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32978 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32979 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32981 * stdio-common/vfscanf.c: Include <stdbool.h>.
32982 * nss/makedb.c: Likewise.
32983 * stdio-common/_i18n_number.h: Likewise.
32984 * argp/argp-help.c: Likewise.
32985 * posix/wordexp.c: Likewise.
32986 * sysdeps/posix/spawni.c: Likewise.
32987 * nss/nss_files/files-initgroups.c: Likewise.
32988 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32989 * nss/nss_files/files-initgroups.c: Likewise.
32990 * nss/nss_db/db-netgrp.c: Likewise.
32991 * nss/nss_db/db-initgroups.c: Likewise.
32992 * io/fchmodat.c: Include <sys/stat.h>.
32994 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32995 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32997 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33000 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33001 Add multiple inclusion protection.
33003 2012-07-27 David S. Miller <davem@davemloft.net>
33005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33007 2012-07-27 Gary Benson <gbenson@redhat.com>
33010 * elf/rtld.c: Include <stap-probe.h>.
33011 (dl_main): Added static probes "init_start" and "init_complete".
33012 * elf/dl-load.c: Include <stap-probe.h>.
33013 (lose): Take new parameter "nsid".
33014 Added static probe "map_failed".
33015 (_dl_map_object_from_fd): Pass namespace id to lose.
33016 Added static probe "map_start".
33017 (open_verify): Pass namespace id to lose.
33018 * elf/dl-open.c: Include <stap-probe.h>.
33019 (dl_open_worker) Added static probes "map_complete", "reloc_start"
33020 and "reloc_complete".
33021 * elf/dl-close.c: Include <stap-probe.h>.
33022 (_dl_close_worker): Added static probes "unmap_start" and
33024 * elf/rtld-debugger-interface.txt: New file documenting the above.
33026 2012-07-26 Roland McGrath <roland@hack.frob.com>
33028 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33029 rather than a string variable.
33030 * sunrpc/rpc_main.c (h_output): Likewise.
33031 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33033 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
33035 * inet/check_native.c: New file.
33037 2012-07-26 Joseph Myers <joseph@codesourcery.com>
33040 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33041 if larger part has absolute value 1.0.
33042 * math/s_clog10.c (__clog10): Likewise.
33043 * math/s_clog10f.c (__clog10f): Likewise.
33044 * math/s_clog10l.c (__clog10l): Likewise.
33045 * math/s_clogf.c (__clogf): Likewise.
33046 * math/s_clogl.c (__clogl): Likewise.
33047 * math/libm-test.inc (clog_test): Add more tests.
33048 (clog10_test): Likewise.
33049 * sysdeps/i386/fpu/libm-test-ulps: Update.
33050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33052 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33053 (pltexit): Likewise.
33054 (La_regs): Likewise.
33055 (La_retval): Likewise.
33056 (int_retval): Likewise.
33057 Update #error for removed macros to refer only to definitions in
33059 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33061 (pltexit): Likewise.
33062 (La_regs): Likewise.
33063 (La_retval): Likewise.
33064 (int_retval): Likewise.
33065 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33067 (pltexit): Likewise.
33068 (La_regs): Likewise.
33069 (La_retval): Likewise.
33070 (int_retval): Likewise.
33071 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33073 (pltexit): Likewise.
33074 (La_regs): Likewise.
33075 (La_retval): Likewise.
33076 (int_retval): Likewise.
33077 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33079 (pltexit): Likewise.
33080 (La_regs): Likewise.
33081 (La_retval): Likewise.
33082 (int_retval): Likewise.
33083 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33085 (pltexit): Likewise.
33086 (La_regs): Likewise.
33087 (La_retval): Likewise.
33088 (int_retval): Likewise.
33089 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33091 (pltexit): Likewise.
33092 (La_regs): Likewise.
33093 (La_retval): Likewise.
33094 (int_retval): Likewise.
33095 * sysdeps/generic/tst-audit.h: Update comment to refer only to
33096 macro definitions in tst-audit.h.
33097 * sysdeps/i386/tst-audit.h: New file.
33098 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33099 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33100 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33101 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33102 * sysdeps/sh/tst-audit.h: Likewise.
33103 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33104 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33105 * sysdeps/x86_64/tst-audit.h: Likewise.
33107 2012-07-26 Andreas Jaeger <aj@suse.de>
33109 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33112 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33113 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33114 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33116 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33117 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33118 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33120 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33123 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33125 (si_call_addr, si_syscall, si_arch): Define new macro.
33126 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33128 (si_call_addr, si_syscall, si_arch): Define new marcro.
33129 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33131 (si_call_addr, si_syscall, si_arch): Define new macro.
33132 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33134 (si_call_addr, si_syscall, si_arch): Define new macro.
33136 2012-07-25 Joseph Myers <joseph@codesourcery.com>
33139 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33140 Change to 2.4.21 where previously 2.4.1.
33141 * sysdeps/unix/sysv/linux/configure: Regenerated.
33142 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33143 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33144 Linux kernel version.
33145 (__ASSUME_STD_AUXV): Remove.
33146 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33148 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33149 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33150 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33151 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33152 (__ASSUME_NETLINK_SUPPORT): Likewise.
33153 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33154 (__no_netlink_support): Remove conditional definition.
33155 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33157 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33158 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33159 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33160 (if_nameindex_ioctl): Remove.
33161 (if_nameindex_netlink): Do not handle __no_netlink_support.
33162 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33164 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33165 Remove conditional code.
33166 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33168 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33170 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33171 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33172 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33174 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33175 [!__ASSUME_STD_AUXV]: Remove conditional code.
33176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33177 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33178 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33180 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33181 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33183 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33185 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33186 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33188 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33190 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33193 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33196 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33197 code unconditional.
33198 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33200 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33202 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33205 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33207 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33210 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33211 code unconditional.
33212 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33214 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33216 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33219 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33220 code unconditional.
33221 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33223 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33225 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33228 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
33230 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33231 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33232 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33233 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33234 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33235 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33236 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33237 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33238 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33239 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33240 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33241 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33242 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33243 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33244 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33245 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33246 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33247 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33248 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33249 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33250 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33251 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33252 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33254 2012-07-25 Florian Weimer <fweimer@redhat.com>
33256 * Versions.def: Add GLIBC_2.17.
33257 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33258 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33259 Introduce __libc_secure_getenv.
33260 * stdlib/Versions (2.17): Add secure_getenv
33261 (GLIBC_PRIVATE): Add __libc_secure_getenv.
33262 * stdlib/secure-getenv.c: Rename __secure_getenv to
33263 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
33264 symbol __secure_getenv for GLIBC_2.0.
33265 * stdlib/tst-secure-getenv.c: New.
33266 * stdlib/Makefile (tests): Add testcase.
33267 * manual/startup.texi (Environment Access): Document
33269 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33270 __libc_secure_getenv.
33271 * inet/ruserpass.c (ruserpass): Likewise.
33272 * malloc/mtrace.c (mtrace): Likewise.
33273 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33274 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33275 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33276 * sysdeps/posix/tempname.c: Likewise. Evaluate
33277 HAVE_SECURE_GETENV.
33278 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33279 __secure_getenv to __libc_secure_getenv.
33280 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33287 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33293 2012-07-25 Joseph Myers <joseph@codesourcery.com>
33295 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33296 (struct La_i86_retval): Likewise.
33297 (struct La_x86_64_regs): Likewise.
33298 (struct La_x86_64_retval): Likewise.
33299 (struct La_x32_regs): Likewise.
33300 (struct La_x32_retval): Likewise.
33301 (struct La_ppc32_regs): Likewise.
33302 (struct La_ppc32_retval): Likewise.
33303 (struct La_ppc64_regs): Likewise.
33304 (struct La_ppc64_retval): Likewise.
33305 (struct La_sh_regs): Likewise.
33306 (struct La_sh_retval): Likewise.
33307 (struct La_s390_32_regs): Likewise.
33308 (struct La_s390_32_retval): Likewise.
33309 (struct La_s390_64_regs): Likewise.
33310 (struct La_s390_64_retval): Likewise.
33311 (struct La_sparc32_regs): Likewise.
33312 (struct La_sparc32_retval): Likewise.
33313 (struct La_sparc64_regs): Likewise.
33314 (struct La_sparc64_retval): Likewise.
33315 (struct audit_ifaces): Remove architecture-specific pltenter and
33317 * sysdeps/i386/ldsodefs.h: New file.
33318 * sysdeps/powerpc/ldsodefs.h: Likewise.
33319 * sysdeps/s390/ldsodefs.h: Likewise.
33320 * sysdeps/sh/ldsodefs.h: Likewise.
33321 * sysdeps/sparc/ldsodefs.h: Likewise.
33322 * sysdeps/x86_64/ldsodefs.h: Likewise.
33324 2012-07-25 Marek Polacek <polacek@redhat.com>
33327 * math/libm-test.inc (yn_test): Add another test.
33328 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33329 to ERANGE when the result is +-Inf.
33330 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33331 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33332 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33333 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33335 2012-07-24 Joseph Myers <joseph@codesourcery.com>
33337 * conform/data/time.h-data (NULL): Use macro-constant. Require
33339 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
33341 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
33343 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
33345 * configure.in <sysdeps resolving>: Correct printing
33347 * configure: Regenerate.
33349 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
33351 * math/w_ilogb.c: Include <limits.h>.
33352 * math/w_ilogbl.c: Likewise.
33354 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33356 * manual/lang.texi (__va_copy): Document primarily as ISO C99
33357 va_copy. Document allowing for unavailable va_copy only as
33358 pre-C99 compatibility.
33359 * manual/string.texi (Copying and Concatenation): Use va_copy
33360 instead of __va_copy in concat example.
33362 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
33364 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33365 (__sendto): Use create_address_port. Initialize APORT and deallocate
33368 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33369 with O_NOLINK passed to __file_name_lookup.
33371 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33372 with O_NOLINK passed to __file_name_lookup.
33374 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33375 negative N or less than NGIDS.
33377 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33378 type to string_t. Set ERANGE as errno and return it if NAME is not big
33379 enough. Use memcpy instead of strncpy.
33381 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33383 * elf/Makefile (check-data): Remove.
33384 (localplt.data): New vpath directive.
33385 ($(objpfx)check-localplt.out): Use localplt.data from vpath
33386 instead of $(check-data).
33387 * scripts/data/localplt-generic.data: Move to ...
33388 * sysdeps/generic/localplt.data: ... here.
33389 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33390 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33391 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33394 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33397 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33400 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33403 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33406 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33410 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33412 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33413 PPC32 and PPC64 files.
33414 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33415 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33417 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33419 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33420 __makecontext_ret to ...
33421 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33422 ... here and call exit if uc_link is NULL. New file.
33423 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33424 __makecontext_ret.S.
33425 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33426 __makecontext_ret to ...
33427 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33428 ... here and call exit if uc_link is NULL. New file.
33429 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33430 __makecontext_ret.S.
33432 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33434 * elf/elf.h (R_390_IRELATIVE): New definition.
33435 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33436 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
33437 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33438 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33439 (elf_machine_lazy_rel): Likewise.
33440 * sysdeps/s390/dl-irel.h: New file.
33441 * sysdeps/s390/s390-64/memcpy.S: New asm code.
33442 * sysdeps/s390/s390-64/memset.S: New asm code.
33443 * sysdeps/s390/s390-64/memcmp.S: New asm code.
33444 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33445 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33446 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33447 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33448 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33449 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33450 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33451 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33452 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33453 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33454 * sysdeps/s390/s390-32/memcpy.S: New asm code.
33455 * sysdeps/s390/s390-32/memset.S: New asm code.
33456 * sysdeps/s390/s390-32/memcmp.S: New asm code.
33458 2012-07-17 Marek Polacek <polacek@redhat.com>
33461 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33462 * sysdeps/s390/s390-64/configure.in: Likewise.
33463 * sysdeps/sparc/configure.in: Likewise.
33464 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33465 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33466 * sysdeps/i386/configure.in: Likewise.
33467 * sysdeps/x86_64/configure.in: Likewise.
33468 * sysdeps/sh/configure.in: Likewise.
33469 * sysdeps/s390/s390-32/configure: Regenerated.
33470 * sysdeps/s390/s390-64/configure: Likewise.
33471 * sysdeps/x86_64/configure: Likewise.
33472 * sysdeps/sh/configure: Likewise.
33473 * sysdeps/powerpc/powerpc64/configure: Likewise.
33474 * sysdeps/powerpc/powerpc32/configure: Likewise.
33475 * sysdeps/sparc/configure: Likwise.
33476 * sysdeps/i386/configure: Likewise.
33478 * elf/dl-open.c: Comment fixes.
33480 2012-07-17 Joseph Myers <joseph@codesourcery.com>
33482 * Makefile [CXX] (check-data): Remove.
33483 [CXX] (c++-types.data): New vpath directive.
33484 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33485 vpath. Do not allow for C++ type data being missing.
33486 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33487 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33488 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33489 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33490 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33491 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33492 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33495 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33498 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33501 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33504 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33507 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33510 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33513 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33516 * elf/tls-macros.h (TLS_LE): Move architecture-specific
33517 definitions to architecture-specific files.
33518 (TLS_IE): Likewise.
33519 (TLS_LD): Likewise.
33520 (TLS_GD): Likewise.
33521 * sysdeps/i386/tls-macros.h: New file.
33522 * sysdeps/powerpc/tls-macros.h: Likewise.
33523 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33524 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33525 * sysdeps/sh/tls-macros.h: Likewise.
33526 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33527 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33528 * sysdeps/x86_64/tls-macros.h: Likewise.
33530 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33532 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33533 zero value for regular exit case.
33535 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33536 (__start_context): Preserve zero value for regular exit case.
33538 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33539 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33541 * manual/setjmp.texi (setcontext): Clarify normal process
33542 termination when uc_link is the null pointer.
33543 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33546 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
33548 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33549 preprocessor. Test for each exception mask separately.
33551 2012-07-16 Andreas Jaeger <aj@suse.de>
33553 * po/ru.po: Update from translation team.
33555 2012-07-15 Joseph Myers <joseph@codesourcery.com>
33557 * conform/data/string.h-data (NULL): Use macro-constant. Require
33559 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33560 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33561 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33562 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33563 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33565 2012-07-13 Andreas Jaeger <aj@suse.de>
33567 * po/fr.po: Update from translation team.
33569 2012-07-12 Marek Polacek <polacek@redhat.com>
33572 * math/libm-test.inc (yn_test): Add test for BZ #14173.
33573 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33576 2012-07-12 Joseph Myers <joseph@codesourcery.com>
33579 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33580 Change to 2.4.1 where previously 2.4.0.
33581 * sysdeps/unix/sysv/linux/configure: Regenerated.
33582 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33583 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33585 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33586 (__ASSUME_AT_CLKTCK): Remove.
33587 (__ASSUME_AT_PAGESIZE): Likewise.
33588 (__ASSUME_AT_XID): Likewise.
33589 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33590 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33591 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33593 (HAVE_AUX_PAGESIZE): Likewise.
33594 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33595 [__ASSUME_AT_CLKTCK]: Make code unconditional.
33596 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33598 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
33601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33602 the temporary buffer used to invoke __gethostbyname2_r,
33603 __gethostbyaddr_r and gethostbyname4_r to make room for struct
33604 host_data / struct gaih_addrtuple.
33605 * resolv/nss_dns/dns-host.c (global scope): Move definition of
33606 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33607 header file nss/nsswitch.h.
33608 * nss/nsswitch.h (global scope): Add definition of implementation
33609 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33610 resolv/nss_dns/dns-host.c).
33612 2012-07-11 Andreas Jaeger <aj@suse.de>
33614 * po/fr.po: Update from translation team.
33616 * po/sv.po: Update from translation team
33617 * po/fr.po: Another update from translation team.
33619 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33621 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33622 for subnormals or multiply small sinh result by itself.
33623 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33626 2012-07-11 David S. Miller <davem@davemloft.net>
33628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33630 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
33633 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33634 (INTERNAL_MARK): Shift it here.
33636 2012-07-10 Marek Polacek <polacek@redhat.com>
33639 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
33640 libc_cv_asm_global_directive with .globl.
33641 * configure: Regenerated.
33642 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33644 * sysdeps/i386/configure: Regenerated.
33645 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33647 * sysdeps/x86_64/configure: Regenerated.
33648 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33649 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33650 * elf/tst-unique2mod2.c: Likewise.
33651 * elf/tst-unique2mod1.c: Likewise.
33652 * elf/tst-unique1mod2.c: Likewise.
33653 * elf/tst-unique1mod1.c: Likewise.
33654 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33655 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33656 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33657 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33658 * sysdeps/mach/sysdep.h: Likewise.
33659 * sysdeps/i386/sysdep.h: Likewise.
33660 * sysdeps/i386/i386-mcount.S: Likewise.
33661 * sysdeps/x86_64/_mcount.S: Likewise.
33662 * sysdeps/x86_64/sysdep.h: Likewise.
33663 * sysdeps/sh/_mcount.S: Likewise.
33664 * sysdeps/sh/sysdep.h: Likewise.
33665 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33666 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33667 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33668 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33669 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33670 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33671 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33672 * locale/localeinfo.h: Likewise.
33673 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33674 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33676 2012-07-09 Roland McGrath <roland@hack.frob.com>
33679 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33681 * manual/message.texi (The Uniforum approach): Likewise.
33682 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33683 (glibc iconv Implementation): Likewise.
33685 2012-07-09 Joseph Myers <joseph@codesourcery.com>
33688 * math/s_clog.c (__clog): Avoid scaling a value down where that
33689 could result in underflow.
33690 * math/s_clog10.c (__clog10): Likewise.
33691 * math/s_clog10f.c (__clog10f): Likewise.
33692 * math/s_clog10l.c (__clog10l): Likewise.
33693 * math/s_clogf.c (__clogf): Likewise.
33694 * math/s_clogl.c (__clogl): Likewise.
33695 * math/libm-test.inc (clog_test): Add more tests.
33696 (clog10_test): Likewise.
33697 * sysdeps/i386/fpu/libm-test-ulps: Update.
33698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33700 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
33703 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33704 by 7 not 8 to examine high bit of fractional part.
33707 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33708 for call to __mcount_internal.
33709 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33710 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33711 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33713 2012-07-06 Joseph Myers <joseph@codesourcery.com>
33716 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33717 approximation for values within 0x1p-13f of an odd multiple of
33719 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33720 exception. Add more tests.
33721 * sysdeps/i386/fpu/libm-test-ulps: Update.
33724 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33725 inputs and return -1 for them. Do not check for +Inf in case not
33726 reachable for +Inf.
33727 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33728 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33729 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33730 and return -1 for them. Do not check for +Inf in case not
33731 reachable for +Inf.
33732 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33734 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33735 and return -1 for them. Do not check for +Inf in case not
33736 reachable for +Inf.
33737 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33738 spurious underflow.
33739 * sysdeps/i386/fpu/libm-test-ulps: Update.
33740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33742 2012-07-06 Mike Frysinger <vapier@gentoo.org>
33744 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33746 2012-07-05 Joseph Myers <joseph@codesourcery.com>
33750 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33751 could result in spurious underflow. Scale down values above
33752 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33753 * math/s_csqrtf.c (__csqrtf): Likewise.
33754 * math/s_csqrtl.c (__csqrtl): Likewise.
33755 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33756 spurious underflow.
33757 * sysdeps/i386/fpu/libm-test-ulps: Update.
33758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33760 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33762 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33764 * catgets/xopen-msg.awk: New file.
33765 * catgets/xopen-msg.sed: Removed.
33767 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33769 * intl/po2test.awk: New file.
33770 * intl/po2test.sed: Removed.
33772 2012-07-04 Joseph Myers <joseph@codesourcery.com>
33775 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33776 or multiply small sinh result by itself.
33777 * math/s_ctanf.c (__ctanf): Likewise.
33778 * math/s_ctanh.c (__ctanh): Likewise.
33779 * math/s_ctanhf.c (__ctanhf): Likewise.
33780 * math/s_ctanhl.c (__ctanhl): Likewise.
33781 * math/s_ctanl.c (__ctanl): Likewise.
33782 * math/libm-test.inc (ctan_test_tonearest): New function.
33783 (ctan_test_towardzero): Likewise.
33784 (ctan_test_downward): Likewise.
33785 (ctan_test_upward): Likewise.
33786 (ctanh_test_tonearest): Likewise.
33787 (ctanh_test_towardzero): Likewise.
33788 (ctanh_test_downward): Likewise.
33789 (ctanh_test_upward): Likewise.
33790 (main): Call these new functions.
33791 * sysdeps/i386/fpu/libm-test-ulps: Update.
33792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33794 2012-07-03 Mike Frysinger <vapier@gentoo.org>
33796 * .gitignore: Delete /ports entry.
33798 2012-07-03 Andreas Jaeger <aj@suse.de>
33800 * po/bg.po: Update from translation team.
33801 * po/cs.po: Likewise.
33802 * po/de.po: Likewise.
33803 * po/hr.po: Likewise.
33804 * po/nl.pl: Likewise.
33805 * po/pl.po: Likewise.
33806 * po/vi.po: Likewise.
33808 2012-07-03 Joseph Myers <joseph@codesourcery.com>
33810 * Makeconfig [!+link] (+link-before-libc): New variable.
33811 [!+link] (+link-after-libc): Likewise.
33812 [!+link] (+link-tests): Likewise.
33813 [!+link] (+link): Define in terms of $(+link-before-libc) and
33814 $(+link-after-libc).
33815 [!+link-static] (+link-static-before-libc): New variable.
33816 [!+link-static] (+link-static-after-libc): Likewise.
33817 [!+link-static] (+link-static-tests): Likewise.
33818 [!+link-static] (+link-static): Define in terms of
33819 $(+link-static-before-libc) and $(+link-static-after-libc).
33820 [build-shared] (link-libc-before-gnulib): New variable.
33821 [build-shared] (link-libc-tests): Likewise.
33822 [build-shared] (link-libc): Define in terms of
33823 $(link-libc-before-gnulib).
33824 [!build-shared] (link-libc-tests): New variable.
33825 (link-libc-static-tests): New variable.
33826 [!gnulib] (gnulib-arch): New variable.
33827 [!gnulib] (gnulib-tests): Likewise.
33828 [!gnulib] (static-gnulib-arch): Likewise.
33829 [!gnulib] (static-gnulib-tests): Likewise.
33830 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33831 Define with "=" instead of ":=".
33832 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33833 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33834 * Rules (binaries-all-notests): New variable.
33835 (binaries-all-tests): Likewise.
33836 (binaries-static-notests): Likewise.
33837 (binaries-static-tests): Likewise.
33838 (binaries-all): Define using $(binaries-all-notests) and
33839 $(binaries-all-tests).
33840 (binaries-static): Define using $(binaries-static-notests) and
33841 $(binaries-static-tests).
33842 (binaries-shared-tests): New variable.
33843 (binaries-shared-notests): Likewise.
33844 (binaries-shared): Remove variable.
33845 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33846 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33847 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33848 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33849 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33850 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33851 * elf/Makefile (sln-modules): New variable.
33852 (extra-objs): Add $(sln-modules:=.o).
33853 (ldconfig-modules): Add static-stubs.
33854 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33855 * elf/static-stubs.c: New file.
33858 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33859 by 7 not 8 to examine high bit of fractional part. Use volatile
33860 variables when splitting into final array of floats if
33861 __FLT_EVAL_METHOD__ != 0.
33862 * math/libm-test.inc (cos_test): Add another test.
33863 (sin_test): Likewise.
33864 * sysdeps/i386/fpu/libm-test-ulps: Update.
33867 * math/libm-test.inc (cosh_test): Add more tests.
33869 * version.h (RELEASE): Set to "development".
33870 (VERSION): Set to "2.16.90".
33872 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33874 * NEWS: Update copyright. Remove last-updated date.
33875 Mention math library bug fixes and timezone data changes.
33876 * README: Mention GNU/Hurd, x32, and HPPA support status.
33878 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33880 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33882 2012-06-27 Andreas Jaeger <aj@suse.de>
33884 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33886 2012-06-25 Andreas Jaeger <aj@suse.de>
33888 * sysdeps/s390/fpu/libm-test-ulps: Update.
33890 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33891 Thomas Schwinge <thomas@codesourcery.com>
33893 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33894 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33895 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33898 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33900 * sysdeps/mach/start.c: Remove file.
33901 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33902 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33903 * sysdeps/sh/init-first.c: Likewise.
33905 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33906 registers for frame unwinding purposes, add CFI directives.
33907 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33908 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33909 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33912 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33913 __fortify_fail returning.
33914 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33916 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33917 sysdeps/sh/____longjmp_chk.S.
33918 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33919 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33920 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33921 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33923 * sysdeps/sh/abort-instr.h: New file.
33924 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33925 process in case exit returns.
33927 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33928 initialize the GOT register before use.
33930 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33931 calculation of ARGC > 4.
33933 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33934 meaningful names to some local labels.
33936 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33937 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33939 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33940 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33941 (__arch_compare_and_exchange_val_16_acq): Likewise.
33942 (__arch_compare_and_exchange_val_32_acq): Likewise.
33943 (atomic_exchange_and_add): Fix gUSA sequence.
33944 (atomic_add): Likewise.
33945 (atomic_add_negative): Likewise.
33946 (atomic_add_zero): Likewise.
33947 (atomic_bit_test_set): Likewise.
33949 2012-06-22 Andreas Schwab <schwab@redhat.com>
33952 * include/link.h (struct link_map): Add l_free_initfini.
33953 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33955 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33956 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33957 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33960 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33962 * configure.in: Use AC_LANG_SOURCE.
33963 * configure: Regenerate.
33965 2012-06-22 Roland McGrath <roland@hack.frob.com>
33967 * configure.in (libc_cv_localstatedir): New substituted variable.
33968 * configure: Regenerated.
33969 * config.make.in (localstatedir): New variable, substituted from
33970 libc_cv_localstatedir.
33971 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33972 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33973 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33974 * sysdeps/gnu/configure: Regenerated.
33976 2012-06-21 Jeff Law <law@redhat.com>
33979 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33980 free. Simplify list management for _LIBC case.
33982 2012-06-21 Joseph Myers <joseph@codesourcery.com>
33985 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33986 Clear sign bit of 64-bit integer value before comparing against
33989 * sysdeps/mach/configure: Regenerated.
33991 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33994 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33996 2012-06-21 Jeff Law <law@redhat.com>
33999 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
34000 uint16_t for elements in the "seen" array to avoid char overflows.
34001 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34002 * elf/dl-open.c (dl_open_worker): Likewise.
34004 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
34006 * scripts/list-sources.sh: Scan PORTS for translations.
34007 * po/libc.pot: Regenerated.
34009 2012-06-21 Andreas Jaeger <aj@suse.de>
34012 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34014 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34015 * bits/byteswap-16.h (__bswap_16): Likewise.
34016 * bits/byteswap.h (__bswap_constant_16): Likewise.
34018 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
34021 * sysdeps/i386/fpu_control.h: Removed.
34022 * sysdeps/x86_64/fpu_control.h: Moved to ...
34023 * sysdeps/x86/fpu_control.h: Here.
34025 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34026 (_FPU_SETCW): Likewise.
34028 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
34031 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34032 * sysdeps/x86/fpu/bits/mathinline.h: This.
34033 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34037 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34038 functions if __x86_64__ is defined.
34040 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
34042 * string/endian.h: Add !__ASSEMBLER__ condition for including
34043 conversion interfaces.
34045 2012-06-15 Joseph Myers <joseph@codesourcery.com>
34048 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34049 of ABS(x) in calculating zero to negative powers other than odd
34051 * math/libm-test.inc (pow_test): Add more tests.
34053 2012-06-15 Andreas Jaeger <aj@suse.de>
34055 * manual/contrib.texi (Contributors): Update entry of Liubov
34056 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34059 2012-06-15 Cyril Hrubis <metan@ucw.cz>
34061 * string/string.h: Add __wur to GNU version of strerror_r.
34063 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
34066 * string/Makefile (tests): Add tst-strtok_r.
34067 * string/tst-strtok_r.c: New file.
34068 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34069 RAX_LP/RDX_LP on SAVE_PTR.
34071 2012-06-14 Roland McGrath <roland@hack.frob.com>
34073 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34075 2012-06-14 Joseph Myers <joseph@codesourcery.com>
34077 * libm_test.inc (csqrt_test): Allow more spurious underflow
34079 (j0_test): Likewise.
34080 (j1_test): Likewise.
34081 (y0_test): Likewise.
34082 (y1_test): Likewise.
34084 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
34086 * po/Makefile (libc.pot): Use UTF-8 charset.
34088 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
34091 Suppress sign-conversion warning from FD_SET.
34092 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34093 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34094 not unsigned long int.
34095 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34097 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
34101 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34102 __extern_always_inline instead of __extern_inline.
34103 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34104 (__signbit): Likewise.
34105 (__signbitl): Support C++ namespace.
34106 (lrintf): New inline function.
34108 (llrintf): Likewise.
34109 (llrint): Likewise.
34119 (floorf): Likewise.
34120 (nearbyint): Likewise.
34121 (nearbyintf): Likewise.
34123 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
34125 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34126 non-default versions.
34128 2012-06-11 Roland McGrath <roland@hack.frob.com>
34131 * manual/argp.texi (Argp): Reword argp_parse description slightly.
34133 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
34135 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34136 (FE_UPWARD, FE_DOWNWARD): Don't define.
34137 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34138 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34140 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34142 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34143 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34145 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34147 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34148 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34149 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34150 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34152 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
34155 * sysdeps/i386/fpu/bits/fenv.h: Removed.
34156 * sysdeps/i386/fpu/Implies: New file.
34157 * sysdeps/x86_64/fpu/Implies: Likewise.
34158 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34159 * sysdeps/x86/fpu/bits/fenv.h: This.
34161 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34164 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34167 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34168 character 0xffff that matches the last element of the
34171 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34173 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34176 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34178 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34179 values higher than 25.6283.
34181 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34183 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34184 subnormal exponent extraction and add some __builtin_expect.
34185 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34186 Fix for subnormal mantissa calculation.
34188 2012-06-04 Mike Frysinger <vapier@gentoo.org>
34190 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34191 cpu2 is -1 and errno is not ENOSYS.
34193 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
34196 * sysdeps/i386/i486/bits/string.h: Renamed to ...
34197 * sysdeps/x86/bits/string.h: This.
34198 * sysdeps/x86_64/bits/string.h: Removed.
34200 * sysdeps/i386/i486/bits/string.h: Define inline functions only
34201 if not compiling for x86-64, but compiling for >= i486.
34203 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34204 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34206 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34207 New macro from Linux kernel 3.4.0.
34208 (FP_XSTATE_MAGIC2): Likewise.
34209 (FP_XSTATE_MAGIC2_SIZE): Likewise.
34210 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34211 (struct _fpx_sw_bytes): New struct.
34212 (struct _xsave_hdr): Likewise.
34213 (struct _ymmh_state): Likewise.
34214 (struct _xstate): Likewise.
34216 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34217 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34218 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34219 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34220 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34221 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34223 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34224 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34225 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34226 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34227 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34228 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34230 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34233 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34234 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34235 (sysdep_headers): Include sys/platform/ppc.h.
34236 * sysdeps/powerpc/test-gettimebase.c: Test for
34237 __ppc_get_timebase() to catch future ISA opcode/insn changes.
34238 * manual/Makefile (appendices): Include platform.texi.
34239 * manual/contrib.texi (Contributors): Update @node pointers.
34240 * manual/maint.texi (Maintenance): Likewise.
34241 (Platform): New node.
34242 * manual/platform.texi: New file. Document the new features.
34244 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34245 Jakub Jelinek <jakub@redhat.com>
34248 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34249 where __builtin_expect is unavailable.
34251 2012-06-03 David S. Miller <davem@davemloft.net>
34253 * stdlib/longlong.h: Updated from GCC.
34255 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
34258 * sysdeps/powerpc/powerpc32/mcount.c: New file.
34259 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34262 (GLIBC_2.16): Likewise.
34264 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34266 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34268 2012-06-01 Joseph Myers <joseph@codesourcery.com>
34270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34271 (default-abi): New variable.
34272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34273 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34275 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34277 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34279 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34282 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34283 definition. Document in comment.
34285 2012-06-01 David S. Miller <davem@davemloft.net>
34287 * stdlib/longlong.h: Updated from GCC.
34289 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34292 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34293 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34294 sys/debugreg.h sys/io.h here.
34295 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34296 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34298 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34299 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34300 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34301 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34302 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34303 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34305 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34306 Define only if __x86_64__ is defined.
34308 2012-06-01 Joseph Myers <joseph@codesourcery.com>
34311 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34312 Use int64_t for variable i.
34313 * math/libm-test.inc (fmod_test): Add more tests.
34315 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34316 z computation is not scheduled after fetestexcept.
34317 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34318 Use math_force_eval instead of asm to ensure calculation scheduled
34319 before exception test.
34320 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34321 Ensure a1 + u.d computation is not scheduled after fetestexcept.
34323 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
34325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34326 computation is not scheduled after fetestexcept.
34328 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34331 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34332 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34334 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34336 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34337 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34339 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34342 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34344 (__WCHAR_MIN): Support __WORDSIZE == 64.
34345 (__WCHAR_MAX): Likewise.
34347 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34348 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34351 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34352 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34355 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34356 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34358 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34359 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34361 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34362 Defined to 1 if __x86_64__ isn't defined.
34363 (_STAT_VER_LINUX_OLD): New.
34364 (st_atime): Remove duplicate.
34365 (st_mtime): Likewise.
34366 (st_ctime): Likewise.
34368 2012-05-31 David S. Miller <davem@davemloft.net>
34370 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34373 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
34375 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34379 * elf/dl-reloc.c: Include <_itoa.h>.
34380 (_dl_reloc_bad_type): Remove use of INTUSE.
34381 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34382 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34383 * stdio-common/psiginfo.c (psiginfo): Likewise.
34384 * stdio-common/psignal.c (psignal): Likewise.
34385 * string/strsignal.c (strsignal): Likewise.
34386 * include/signal.h (_sys_siglist): Declare hidden proto.
34387 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
34388 INTVARDEF with libc_hidden_data_def.
34389 * stdio-common/itoa-udigits.c: Likewise.
34390 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34391 (_itoa_lower_digits_internal): Remove declaration.
34392 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34393 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34394 (_sys_sigabbrev_internal): Remove aliases.
34395 (_sys_siglist): Define hidden alias.
34397 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
34399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34402 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34405 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34406 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34408 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34409 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34410 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34411 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34412 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34413 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34415 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34416 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34417 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34419 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34427 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34428 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34429 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34431 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34432 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34433 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34434 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34435 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34436 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34438 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34439 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34441 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34442 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34444 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34445 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34446 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34448 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34449 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34451 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34453 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34454 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34455 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34457 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34459 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34461 2012-05-31 Joseph Myers <joseph@codesourcery.com>
34463 * math/math.h (M_El): Use two more decimal places.
34464 (M_LOG2El): Likewise.
34465 (M_LOG10El): Likewise.
34466 (M_LN2l): Likewise.
34467 (M_LN10l): Likewise.
34469 (M_PI_2l): Likewise.
34470 (M_PI_4l): Likewise.
34471 (M_1_PIl): Likewise.
34472 (M_2_PIl): Likewise.
34473 (M_2_SQRTPIl): Likewise.
34474 (M_SQRT2l): Likewise.
34475 (M_SQRT1_2l): Likewise.
34477 2012-05-31 David S. Miller <davem@davemloft.net>
34479 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34480 values between float registers.
34481 * sysdeps/sparc/sparc64/memset.S: Likewise.
34482 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34484 2012-05-31 Mike Frysinger <vapier@gentoo.org>
34486 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34487 -D_FORTIFY_SOURCE=1.
34488 (CPPFLAGS-tst-longjmp_chk.c): Define.
34489 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34490 (CPPFLAGS-tst-longjmp_chk2.c): Define.
34491 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34492 CFLAGS-tst-wchar-h.c.
34494 2012-05-31 Marek Polacek <polacek@redhat.com>
34497 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34498 __endmntent_internal): Remove declaration.
34499 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34500 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34501 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34503 2012-05-30 David S. Miller <davem@davemloft.net>
34505 * sysdeps/sparc/sparc32/soft-fp/q_util.c
34506 (___Q_simulate_exceptions): Use real FP ops rather than writing
34508 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34511 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34514 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34515 * sysdeps/x86/bits/xtitypes.h: This.
34517 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34518 * sysdeps/x86/bits/wordsize.h: This.
34520 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34521 * sysdeps/x86/bits/huge_vall.h: This.
34523 * sysdeps/i386/bits/select.h: Removed.
34524 * sysdeps/x86_64/bits/select.h: Renamed to ...
34525 * sysdeps/x86/bits/select.h: This.
34527 * sysdeps/i386/bits/setjmp.h: Removed.
34528 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34529 * sysdeps/x86/bits/setjmp.h: This.
34531 * sysdeps/i386/bits/mathdef.h: Removed.
34532 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34533 * sysdeps/x86/bits/mathdef.h: This.
34535 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
34538 * include/sys/socket.h (__connect_internal)
34539 (__libc_sa_len_internal): Remove declaration.
34540 (__connect, __libc_sa_len): Declare hidden_proto.
34541 (SA_LEN): Remove use of INTUSE.
34542 * socket/connect.c: Add libc_hidden_def.
34543 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34544 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34545 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34547 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34548 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34549 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34550 of adding _internal alias.
34552 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34555 * sysdeps/i386/bits/link.h: Removed.
34556 * sysdeps/i386/bits/linkmap.h: Likewise.
34557 * sysdeps/x86_64/bits/link.h: Renamed to ...
34558 * sysdeps/x86/bits/link.h: This.
34559 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34560 * sysdeps/x86/bits/linkmap.h: This.
34562 * sysdeps/i386/bits/endian.h: Removed.
34563 * sysdeps/x86_64/bits/endian.h: Renamed to ...
34564 * sysdeps/x86/bits/endian.h: This.
34566 * sysdeps/i386/bits/byteswap.h: Removed.
34567 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34568 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34569 * sysdeps/x86/bits/byteswap.h: This.
34570 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34571 * sysdeps/x86/bits/byteswap-16.h: This.
34572 * sysdeps/i386/Implies: Add x86.
34573 * sysdeps/x86_64/Implies: Likewise.
34575 2012-05-30 David S. Miller <davem@davemloft.net>
34577 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34578 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34579 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34580 (FP_TRAPPING_EXCEPTIONS): Define.
34581 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34582 (FP_TRAPPING_EXCEPTIONS): Define.
34583 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34584 subnormals only when inexact has been signalled or underflow
34585 exceptions are enabled.
34586 (_FP_PACK_CANONICAL): Likewise.
34588 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34591 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34592 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34594 2012-05-30 Richard Henderson <rth@twiddle.net>
34596 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34597 with #ifndef NOT_IN_libc.
34599 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
34600 marked to avoid plt entry.
34602 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34605 * Makeconfig (default-abi): New macro.
34606 (abi-includes): Likewise.
34607 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
34608 $(abi-$(default-abi)-lib-soname) for soname if defined.
34609 ($(common-objpfx)gnu/lib-names.stmp): Generate from
34611 * Makefile (installed-stubs): Likewise.
34612 * include/stubs-biarch.h: Removed.
34613 * scripts/lib-names.awk: Only handle one library at a time.
34614 * scripts/soversions.awk: Remove WORDSIZE support.
34615 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34617 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34619 (syscall-list-default-condition): Likewise.
34620 (syscall-list-default-condition): Likewise.
34621 (syscall-list-includes): Likewise.
34622 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34623 syscall-list-* with abi-*. Handle undefined abi-variants.
34624 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34625 * sysdeps/unix/sysv/linux/i386/Implies: New file.
34626 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34627 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34628 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34629 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34631 (syscall-list-32-options): Likewise.
34632 (syscall-list-32-condition): Likewise.
34633 (syscall-list-64-options): Likewise.
34634 (syscall-list-64-condition): Likewise.
34635 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34637 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34640 (abi-64-ld-soname): New macro.
34641 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34642 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34645 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34646 * sysdeps/x86_64/x32/shlib-versions: Likewise.
34648 2012-05-30 Joseph Myers <joseph@codesourcery.com>
34650 * sysdeps/unix/sysv/linux/kernel-features.h
34651 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34652 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34653 include <kernel-features.h>.
34654 [!__NR_ftruncate64]: Remove conditional code.
34655 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34656 [__NR_ftruncate64]: Make code unconditional.
34657 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34658 * sysdeps/unix/sysv/linux/truncate64.c: Do not
34659 include <kernel-features.h>.
34660 [!__NR_ftruncate64]: Remove conditional code.
34661 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34662 [__NR_ftruncate64]: Make code unconditional.
34663 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34665 include <kernel-features.h>.
34666 [!__NR_ftruncate64]: Remove conditional code.
34667 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34668 [__NR_ftruncate64]: Make code unconditional.
34669 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34671 include <kernel-features.h>.
34672 [!__NR_ftruncate64]: Remove conditional code.
34673 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34674 [__NR_ftruncate64]: Make code unconditional.
34675 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34677 * configure.in (libc_cv_fpie): Weaken to a compile test using
34678 LIBC_TRY_CC_OPTION.
34679 * configure: Regenerated.
34681 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34696 2012-05-27 David S. Miller <davem@davemloft.net>
34698 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34700 (__Q_simulate_exceptions): Return void. Change to simulate
34701 exceptions by writing into the %fsr.
34702 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34703 (__Qp_handle_exceptions): Likewise.
34705 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34706 __Qp_handle_exceptions.
34707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34708 __Qp_handle_exceptions.
34709 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34710 as unused and give dummy FP_RND_NEAREST initializer.
34711 (FP_INHIBIT_RESULTS): Define.
34712 (___Q_simulate_exceptions): Update declaration.
34713 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34715 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34716 as unused and give dummy FP_RND_NEAREST initializer.
34717 (__Qp_handle_exceptions): Update declaration.
34718 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34721 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34723 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34724 the temporary FPU control word.
34725 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34726 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34727 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34728 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34729 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34730 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34731 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34732 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34733 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34734 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34735 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34737 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34739 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34742 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34744 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34745 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34746 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34747 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34749 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34750 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34753 2012-05-27 Ulrich Drepper <drepper@gmail.com>
34755 * po/h.po: Update from translation team.
34757 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34759 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34761 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34762 handling of denormals.
34763 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34764 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34765 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34766 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34767 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34768 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34769 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34772 2012-05-26 Marek Polacek <polacek@redhat.com>
34775 * math/libm-test.inc (fma_test): Don't always expect underflow
34778 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34781 * elf/tst-execstack.c: Include stackinfo.h.
34782 (do_test): Adjust test case to ensure that pthread_getattr_np
34783 behaviour remains the same after marking stack executable.
34785 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34787 * sysdeps/unix/sysv/linux/kernel-features.h
34788 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34789 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34791 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34792 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34793 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34795 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34796 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34798 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34800 * configure.in: Define the default includes to being none.
34801 * configure: Regenerated.
34803 2012-05-25 Roland McGrath <roland@hack.frob.com>
34805 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34806 * sysdeps/x86_64/setjmp.S: Likewise.
34807 * sysdeps/i386/bsd-setjmp.S: Likewise.
34808 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34809 * sysdeps/i386/setjmp.S: Likewise.
34810 * sysdeps/i386/__longjmp.S: Likewise.
34811 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34812 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34814 * include/stap-probe.h: New file.
34815 * configure.in: Handle --enable-systemtap.
34816 * configure: Regenerated.
34817 * config.h.in (USE_STAP_PROBE): New #undef.
34818 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34819 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34820 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34822 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34825 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34826 to 2.4.0 where earlier.
34827 * sysdeps/unix/sysv/linux/configure: Regenerated.
34828 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34829 <kernel-features.h>.
34830 [__ASSUME_32BITUIDS]: Make code unconditional.
34831 [!__ASSUME_32BITUIDS]: Remove conditional code.
34832 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34833 <kernel-features.h>.
34834 [__ASSUME_32BITUIDS]: Make code unconditional.
34835 [!__ASSUME_32BITUIDS]: Remove conditional code.
34836 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34837 [__ASSUME_32BITUIDS]: Make code unconditional.
34838 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34839 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34840 <kernel-features.h>.
34841 [__ASSUME_32BITUIDS]: Make code unconditional.
34842 [!__ASSUME_32BITUIDS]: Remove conditional code.
34843 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34844 <kernel-features.h>.
34845 [__ASSUME_32BITUIDS]: Make code unconditional.
34846 [!__ASSUME_32BITUIDS]: Remove conditional code.
34847 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34848 <kernel-features.h>.
34849 [__ASSUME_32BITUIDS]: Make code unconditional.
34850 [!__ASSUME_32BITUIDS]: Remove conditional code.
34851 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34852 <kernel-features.h>.
34853 [__ASSUME_32BITUIDS]: Make code unconditional.
34854 [!__ASSUME_32BITUIDS]: Remove conditional code.
34855 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34856 <kernel-features.h>.
34857 [__ASSUME_32BITUIDS]: Make code unconditional.
34858 [!__ASSUME_32BITUIDS]: Remove conditional code.
34859 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34860 <kernel-features.h>.
34861 [__ASSUME_32BITUIDS]: Make code unconditional.
34862 [!__ASSUME_32BITUIDS]: Remove conditional code.
34863 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34864 <kernel-features.h>.
34865 [__ASSUME_32BITUIDS]: Make code unconditional.
34866 [!__ASSUME_32BITUIDS]: Remove conditional code.
34867 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34868 <kernel-features.h>.
34869 [__ASSUME_32BITUIDS]: Make code unconditional.
34870 [!__ASSUME_32BITUIDS]: Remove conditional code.
34871 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34872 <kernel-features.h>.
34873 [__ASSUME_32BITUIDS]: Make code unconditional.
34874 [!__ASSUME_32BITUIDS]: Remove conditional code.
34875 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34876 <kernel-features.h>.
34877 [__ASSUME_32BITUIDS]: Make code unconditional.
34878 [!__ASSUME_32BITUIDS]: Remove conditional code.
34879 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34880 <kernel-features.h>.
34881 [__NR_setresgid] (__setresgid): Do not declare.
34882 [__ASSUME_32BITUIDS]: Make code unconditional.
34883 [!__ASSUME_32BITUIDS]: Remove conditional code.
34884 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34885 <kernel-features.h>.
34886 [__NR_setresuid] (__setresuid): Do not declare.
34887 [__ASSUME_32BITUIDS]: Make code unconditional.
34888 [!__ASSUME_32BITUIDS]: Remove conditional code.
34889 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34890 <kernel-features.h>.
34891 [__ASSUME_32BITUIDS]: Make code unconditional.
34892 [!__ASSUME_32BITUIDS]: Remove conditional code.
34893 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34894 <kernel-features.h>.
34895 [__ASSUME_32BITUIDS]: Make code unconditional.
34896 [!__ASSUME_32BITUIDS]: Remove conditional code.
34897 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34898 <kernel-features.h>.
34899 [__ASSUME_32BITUIDS]: Make code unconditional.
34900 [!__ASSUME_32BITUIDS]: Remove conditional code.
34901 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34902 <kernel-features.h>.
34903 [__ASSUME_32BITUIDS]: Make code unconditional.
34904 [!__ASSUME_32BITUIDS]: Remove conditional code.
34905 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34906 <kernel-features.h>.
34907 [__ASSUME_32BITUIDS]: Make code unconditional.
34908 [!__ASSUME_32BITUIDS]: Remove conditional code.
34909 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34910 <kernel-features.h>.
34911 [__ASSUME_32BITUIDS]: Make code unconditional.
34912 [!__ASSUME_32BITUIDS]: Remove conditional code.
34913 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34914 <kernel-features.h>.
34915 [__ASSUME_32BITUIDS]: Make code unconditional.
34916 [!__ASSUME_32BITUIDS]: Remove conditional code.
34917 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34918 <kernel-features.h>.
34919 [__ASSUME_32BITUIDS]: Make code unconditional.
34920 [!__ASSUME_32BITUIDS]: Remove conditional code.
34921 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34922 <kernel-features.h>.
34923 [__ASSUME_32BITUIDS]: Make code unconditional.
34924 [!__ASSUME_32BITUIDS]: Remove conditional code.
34925 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34926 <kernel-features.h>.
34927 [__ASSUME_32BITUIDS]: Make code unconditional.
34928 [!__ASSUME_32BITUIDS]: Remove conditional code.
34929 * sysdeps/unix/sysv/linux/kernel-features.h
34930 (__ASSUME_SETRESUID_SYSCALL): Remove.
34931 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34932 (__ASSUME_32BITUIDS): Likewise.
34933 (__ASSUME_LDT_WORKS): Likewise.
34934 (__ASSUME_O_DIRECTORY): Likewise.
34935 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34936 architecture but not kernel version.
34937 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34938 (__ASSUME_MMAP2_SYSCALL): Likewise.
34939 (__ASSUME_STAT64_SYSCALL): Likewise.
34940 (__ASSUME_IPC64): Likewise.
34941 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34942 <kernel-features.h>.
34943 [__ASSUME_32BITUIDS]: Make code unconditional.
34944 [!__ASSUME_32BITUIDS]: Remove conditional code.
34945 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34946 <kernel-features.h>.
34947 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34948 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34949 132096]: Remove conditional code.
34950 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34951 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34952 <kernel-features.h>.
34953 [__ASSUME_32BITUIDS]: Make code unconditional.
34954 [!__ASSUME_32BITUIDS]: Remove conditional code.
34955 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34956 <kernel-features.h>.
34957 [__ASSUME_32BITUIDS]: Make code unconditional.
34958 [!__ASSUME_32BITUIDS]: Remove conditional code.
34959 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34960 <kernel-features.h>.
34961 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34963 (__setresgid): Do not declare.
34964 [__ASSUME_32BITUIDS]: Make code unconditional.
34965 [!__ASSUME_32BITUIDS]: Remove conditional code.
34966 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34967 <kernel-features.h>.
34968 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34970 (__setresuid): Do not declare.
34971 [__ASSUME_32BITUIDS]: Make code unconditional.
34972 [!__ASSUME_32BITUIDS]: Remove conditional code.
34973 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34974 <kernel-features.h>.
34975 [__ASSUME_32BITUIDS]: Make code unconditional.
34976 [!__ASSUME_32BITUIDS]: Remove conditional code.
34977 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34978 <kernel-features.h>.
34979 [__ASSUME_32BITUIDS]: Make code unconditional.
34980 [!__ASSUME_32BITUIDS]: Remove conditional code.
34982 2012-05-25 Richard Henderson <rth@twiddle.net>
34984 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34985 dl_hwcap to ifunc resolver.
34986 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34988 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34989 dl_hwcap to ifunc resolver.
34990 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34992 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34995 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34996 for |x| <= 2**-26, not 2**-57.
34997 * math/libm-test.inc (acos_test): Do not allow spurious underflow
35000 2012-05-24 Jeff Law <law@redhat.com>
35002 * stdio-common/Makefile (tests): Add bug25.
35003 * stdio-common/bug25.c: New test.
35005 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35008 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35009 multiple of MALLOC_ALIGNMENT in size.
35010 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35012 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35014 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35016 (FILENAME_MAX): Use macro-int-constant.
35017 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
35018 (_IOFBF): Use macro-int-constant.
35019 (_IOLBF): Likewise.
35020 (_IONBF): Likewise.
35021 (SEEK_CUR): Likewise.
35022 (SEEK_END): Likewise.
35023 (SEEK_SET): Likewise.
35024 (TMP_MAX): Likewise.
35025 (EOF): Use macro-int-constant. Require < 0.
35026 (NULL): Use macro-constant. Require == 0.
35027 (stdin): Require type to be FILE *.
35028 (stdout): Likewise.
35029 (stderr): Likewise.
35030 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35031 macro-int-constant.
35032 (EXIT_SUCCESS): Likewise.
35033 (NULL): Use macro-constant. Require == 0.
35034 (RAND_MAX): Use macro-int-constant.
35035 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35036 [C99-based standards] (strtof): Require function.
35037 [C99-based standards] (strtold): Likewise.
35038 [C99-based standards] (strtoll): Likewise.
35039 [C99-based standards] (strtoull): Likewise.
35040 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35041 [ISO || ISO99 || ISO11] (limits.h): Likewise.
35042 [ISO || ISO99 || ISO11] (math.h): Likewise.
35043 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35044 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35045 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35047 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
35050 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35051 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35052 * intl/dgettext.c (DCGETTEXT): Likewise.
35053 * intl/gettext.c (DCGETTEXT): Likewise.
35054 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35055 * posix/regex_internal.h (gettext): Likewise.
35056 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35057 Remove declaration.
35058 * include/argz.h (__argz_count_internal)
35059 (__argz_stringify_internal): Remove declaration.
35060 (__argz_count, __argz_stringify): Declare hidden proto.
35061 * intl/dcgettext.c: Remove use of INTDEF.
35062 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35063 * string/argz-stringify.c: Likewise.
35064 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35065 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35066 Declare hidden proto.
35067 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35068 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35069 Declare hidden proto.
35070 * include/stdio.h (__asprintf_internal): Don't declare.
35071 (__asprintf): Don't define as macro. Declare hidden proto.
35072 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35073 (__fsetlocking): Declare hidden proto.
35074 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35075 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35077 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35078 (_IO_setlinebuf): Remove use of INTUSE.
35079 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35080 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35081 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35082 Remove declaration.
35083 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35084 (_IO_do_flush): Remove use of INTUSE.
35085 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35086 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35087 (_IO_adjust_column, _IO_least_wmarker)
35088 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35089 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35090 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35091 (_IO_default_doallocate, _IO_wdefault_doallocate)
35092 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35093 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35094 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35095 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35096 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35097 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35098 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35099 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35100 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35101 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35102 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35103 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35104 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35106 (_IO_flush_all_internal, _IO_adjust_column_internal)
35107 (_IO_default_uflow_internal, _IO_default_finish_internal)
35108 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35109 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35110 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35111 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35112 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35113 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35114 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35115 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35116 (_IO_file_close_internal, _IO_file_close_it_internal)
35117 (_IO_file_underflow_internal, _IO_file_overflow_internal)
35118 (_IO_file_init_internal, _IO_file_attach_internal)
35119 (_IO_file_fopen_internal, _IO_file_read_internal)
35120 (_IO_file_sync_internal, _IO_file_seek_internal)
35121 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35122 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35123 (_IO_str_underflow_internal, _IO_str_overflow_internal)
35124 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35125 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35126 (_IO_list_all_internal, _IO_link_in_internal)
35127 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35128 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35129 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35130 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35131 (_IO_do_write_internal, _IO_padn_internal)
35132 (_IO_getline_info_internal, _IO_getline_internal)
35133 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35134 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35135 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35136 (_IO_vfscanf_internal, _IO_vfprintf_internal)
35137 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35138 (_IO_init_internal, _IO_un_link_internal): Don't declare.
35139 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35140 with libc_hidden_ver, remove use of INTUSE.
35141 * libio/genops.c: Likewise.
35142 * libio/freopen.c: Likewise.
35143 * libio/freopen64.c: Likewise.
35144 * libio/iofclose.c: Likewise.
35145 * libio/iofdopen.c: Likewise.
35146 * libio/iofflush.c: Likewise.
35147 * libio/iofflush_u.c: Likewise.
35148 * libio/iofgets.c: Likewise.
35149 * libio/iofgets_u.c: Likewise.
35150 * libio/iofopen.c: Likewise.
35151 * libio/iofopncook.c: Likewise.
35152 * libio/iofread.c: Likewise.
35153 * libio/iofread_u.c: Likewise.
35154 * libio/ioftell.c: Likewise.
35155 * libio/iofwrite.c: Likewise.
35156 * libio/iogetline.c: Likewise.
35157 * libio/iogets.c: Likewise.
35158 * libio/iogetwline.c: Likewise.
35159 * libio/iopadn.c: Likewise.
35160 * libio/iopopen.c: Likewise.
35161 * libio/ioseekoff.c: Likewise.
35162 * libio/ioseekpos.c: Likewise.
35163 * libio/iosetbuffer.c: Likewise.
35164 * libio/iosetvbuf.c: Likewise.
35165 * libio/ioungetc.c: Likewise.
35166 * libio/ioungetwc.c: Likewise.
35167 * libio/iovdprintf.c: Likewise.
35168 * libio/iovsprintf.c: Likewise.
35169 * libio/iovsscanf.c: Likewise.
35170 * libio/memstream.c: Likewise.
35171 * libio/obprintf.c: Likewise.
35172 * libio/oldfileops.c: Likewise.
35173 * libio/oldiofclose.c: Likewise.
35174 * libio/oldiofdopen.c: Likewise.
35175 * libio/oldiofopen.c: Likewise.
35176 * libio/oldiopopen.c: Likewise.
35177 * libio/oldstdfiles.c: Likewise.
35178 * libio/putc.c: Likewise.
35179 * libio/setbuf.c: Likewise.
35180 * libio/setlinebuf.c: Likewise.
35181 * libio/stdfiles.c: Likewise.
35182 * libio/strops.c: Likewise.
35183 * libio/vasprintf.c: Likewise.
35184 * libio/vscanf.c: Likewise.
35185 * libio/vsnprintf.c: Likewise.
35186 * libio/vswprintf.c: Likewise.
35187 * libio/wfiledoalloc.c: Likewise.
35188 * libio/wfileops.c: Likewise.
35189 * libio/wgenops.c: Likewise.
35190 * libio/wmemstream.c: Likewise.
35191 * libio/wstrops.c: Likewise.
35192 * libio/__fpurge.c: Likewise.
35193 * libio/__fsetlocking.c: Likewise.
35194 * assert/assert.c: Likewise.
35195 * debug/fgets_chk.c: Likewise.
35196 * debug/fgets_u_chk.c: Likewise.
35197 * debug/fread_chk.c: Likewise.
35198 * debug/fread_u_chk.c: Likewise.
35199 * debug/gets_chk.c: Likewise.
35200 * debug/obprintf_chk.c: Likewise.
35201 * debug/vasprintf_chk.c: Likewise.
35202 * debug/vdprintf_chk.c: Likewise.
35203 * debug/vsnprintf_chk.c: Likewise.
35204 * debug/vsprintf_chk.c: Likewise.
35205 * malloc/mtrace.c: Likewise.
35206 * misc/error.c: Likewise.
35207 * misc/syslog.c: Likewise.
35208 * stdio-common/asprintf.c: Likewise.
35209 * stdio-common/fxprintf.c: Likewise.
35210 * stdio-common/getw.c: Likewise.
35211 * stdio-common/isoc99_fscanf.c: Likewise.
35212 * stdio-common/isoc99_scanf.c: Likewise.
35213 * stdio-common/isoc99_vfscanf.c: Likewise.
35214 * stdio-common/isoc99_vscanf.c: Likewise.
35215 * stdio-common/isoc99_vsscanf.c: Likewise.
35216 * stdio-common/printf-prs.c: Likewise.
35217 * stdio-common/printf_fp.c: Likewise.
35218 * stdio-common/printf_fphex.c: Likewise.
35219 * stdio-common/printf_size.c: Likewise.
35220 * stdio-common/putw.c: Likewise.
35221 * stdio-common/scanf.c: Likewise.
35222 * stdio-common/sprintf.c: Likewise.
35223 * stdio-common/tmpfile.c: Likewise.
35224 * stdio-common/vfprintf.c: Likewise.
35225 * stdio-common/vfscanf.c: Likewise.
35226 * stdlib/strfmon_l.c: Likewise.
35227 * sunrpc/openchild.c: Likewise.
35228 * sunrpc/xdr_stdio.c: Likewise.
35229 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35230 * sysdeps/mach/hurd/tmpfile.c: Likewise.
35232 2012-05-24 Roland McGrath <roland@hack.frob.com>
35234 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35236 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35237 in the third column, to generate for the shared library an IFUNC
35238 that uses _dl_vdso_vsym.
35239 * Makerules (COMPILE.c, compile-stdin.c): New variables.
35240 * Makeconfig (object-suffixes-noshared): New variable.
35242 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35243 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35244 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35245 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35248 * include/sys/time.h (__gettimeofday): Remove macro.
35249 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35250 * time/gettimeofday.c (__gettimeofday): Remove #undef.
35252 (__gettimeofday): Add libc_hidden_def.
35253 (gettimeofday): Add libc_hidden_weak.
35254 * sysdeps/mach/gettimeofday.c: Likewise.
35255 * sysdeps/posix/gettimeofday.c: Likewise.
35256 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35257 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35258 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35259 (__gettimeofday_internal): Remove strong_alias.
35260 (__gettimeofday): Add libc_hidden_def.
35261 (gettimeofday): Add libc_hidden_weak.
35262 * sysdeps/unix/syscalls.list (gettimeofday):
35263 Remove __gettimeofday_internal alias.
35265 2012-05-24 Daniel Jacobowitz <drow@false.org>
35266 H.J. Lu <hongjiu.lu@intel.com>
35269 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35270 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35271 (largebin_index_32_big): New.
35272 (largebin_index): Use it for 16-byte alignment.
35273 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
35274 correction with front_misalign.
35276 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35304 * scripts/data/c++-types-x32-linux-gnu.data: New file.
35305 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35307 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35311 * math/libm-test.inc (exp_test): Add test from bug 14036.
35312 (pow_test): Add test from bug 10846.
35314 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35316 (special_function): Do not include flags in test name.
35317 (parse_args): Likewise.
35318 * sysdeps/i386/fpu/libm-test-ulps: Update.
35319 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35320 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35321 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35324 * math/gen-libm-test.pl (%beautify): Add entries for underflow
35326 * math/libm-test.inc ("Philosophy"): Update comment about
35328 (UNDERFLOW_EXCEPTION): New macro.
35329 (UNDERFLOW_EXCEPTION_OK): Likewise.
35330 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35331 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35332 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35333 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35334 (INVALID_EXCEPTION_OK): Update value.
35335 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35336 (OVERFLOW_EXCEPTION_OK): Likewise.
35337 (IGNORE_ZERO_INF_SIGN): Likewise.
35338 (test_exceptions): Handle underflow exceptions.
35339 (acos_test): Update for underflow exception expectations.
35340 (cexp_test): Likewise.
35341 (clog_test): Likewise.
35342 (clog10_test): Likewise.
35343 (csqrt_test): Likewise.
35344 (ctan_test): Likewise.
35345 (ctanh_test): Likewise.
35346 (exp_test): Likewise.
35347 (exp10_test): Likewise.
35348 (exp2_test): Likewise.
35349 (expm1_test): Likewise.
35350 (fma_test): Likewise.
35351 (j0_test): Likewise.
35352 (jn_test): Likewise.
35353 (nexttoward_test): Likewise.
35354 (pow_test): Likewise.
35355 (scalbn_test): Likewise.
35356 (scalbln_test): Likewise.
35357 (tan_test): Likewise.
35358 (y1_test): Likewise.
35359 * sysdeps/i386/fpu/libm-test-ulps: Update.
35360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35362 2012-05-23 David S. Miller <davem@davemloft.net>
35364 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35365 (__libc_sigaction): Remove unused local variables.
35367 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35369 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35371 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
35373 mktime: avoid signed integer overflow
35374 * time/mktime.c (__mktime_internal): Do not mishandle the case
35375 where diff == INT_MIN.
35377 mktime: simplify computation of average
35378 * time/mktime.c (ranged_convert): Use new time_t_avg function
35379 instead of rolling our own (probably-slower) code.
35381 mktime: do not assume signed right shift propagates sign bit
35382 * time/mktime.c (isdst_differ): New static function.
35383 (__mktime_internal): No need to normalize tm_isdst now.
35384 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35387 mktime: merge another wrapv change from gnulib
35388 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35389 from some compilers.
35391 mktime: remove incorrect attempt at unusual arithmetics
35392 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35393 The code didn't really work on such machines anyway.
35394 (TYPE_MINIMUM): Assume two's complement.
35395 (twos_complement_arithmetic): Verify that long_int and time_t
35396 are two's complement (or unsigned, in the latter case).
35398 mktime: check signed shifts on long_int and time_t, too
35399 * time/mktime.c (SHR): Check that shifts work as desired
35400 on the types long_int and time_t too, as SHR is used on
35403 mktime: do not assume 'long' is wide enough
35404 * time/mktime.c (verify): Move decl up.
35405 (long_int): New type.
35406 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35407 to remove assumption in the code that 'long' is wide enough to
35408 store year values. This assumption is not true on x32 and on
35409 some non-glibc platforms.
35411 mktime: merge wrapv change from gnulib
35412 * time/mktime.c (WRAPV): New macro.
35413 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35414 (guess_time_tm, __mktime_internal): Do not assume that signed
35415 integer overflow wraps around; modern compilers generate code
35416 where this assumption is no longer valid.
35418 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35420 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35421 Replace "jmp L(pseudo_end)" with "ret".
35422 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35425 2012-05-23 Andreas Jaeger <aj@suse.de>
35427 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35428 * sysdeps/unix/sysv/linux/poll.c: Remove file.
35430 2012-05-23 Andreas Jaeger <aj@suse.de>
35431 Maximilian Attems <max@stro.at>
35433 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35436 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35438 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35439 code so that pseudo_end is just ret and the stack pointer is
35440 correct also for static library in error case.
35442 2012-05-23 Joseph Myers <joseph@codesourcery.com>
35444 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35445 move to syscalls.list.
35446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35451 * manual/install.texi (Running make install): Do not mention Linux
35452 kernel version for which pt_chown is not needed.
35453 (Linux): Do not mention problems with nscd with 2.0 kernels.
35454 * INSTALL: Regenerated.
35456 2012-05-23 Andreas Jaeger <aj@suse.de>
35458 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35459 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35461 * sysdeps/unix/sysv/linux/s390/bits/mman.h
35462 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35463 * sysdeps/unix/sysv/linux/sh/bits/mman.h
35464 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35465 * sysdeps/unix/sysv/linux/i386/bits/mman.h
35466 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35467 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35468 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35469 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35470 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35471 * sysdeps/unix/sysv/linux/bits/in.h
35472 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35474 2012-05-22 Roland McGrath <roland@hack.frob.com>
35476 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35477 (PREPARE_VERSION): Just use assert instead, it will be elided
35478 under [NDEBUG] anyway.
35480 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35482 * sysdeps/unix/sysv/linux/Makefile: Include
35483 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35484 (sysdep_routines): Remove sysctl.
35485 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35486 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35487 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35488 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35489 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35491 2012-05-22 Andreas Jaeger <aj@suse.de>
35493 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35494 that pseudo_end is just ret and the stack pointer is correct also
35495 for static library in error case.
35497 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35500 * nss/nsswitch.c (defconfig_entries): New variable.
35501 (__nss_database_lookup): Don't leak defconfig entries.
35502 (nss_parse_service_list): Don't leak on error paths.
35503 (free_database_entries): New function.
35504 (free_defconfig): New function.
35505 (free_mem): Move common code to free_database_entries.
35507 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35509 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35511 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35513 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35514 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35515 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35517 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35518 (INTERNAL_SYSCALL_TYPES): Likewise.
35519 (LOAD_ARGS_TYPES_[1-6]): Likewise.
35520 (LOAD_REGS_TYPES_[1-6]): Likewise.
35521 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35522 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35524 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35526 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35527 copysignl for GLIBC_2_0.
35528 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35529 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35530 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35531 logbl for GLIBC_2_0.
35532 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35533 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35535 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35537 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35538 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35540 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35543 * time/mktime.c: Update copyright years.
35545 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
35547 mktime: merge comment-quoting-style change from gnulib
35548 * time/mktime.c: Quote 'like this' in comments.
35549 The GNU coding standards suggest that we no longer quote `like this',
35550 as "`" and "'" are typically rendered asymmetrically nowadays.
35551 The typical gnulib style is to quote 'like this' when quoting
35552 code, and "like this" when quoting English.
35554 * time/mktime.c (compile-command): Add "-I.".
35556 mktime: merge mktime-internal.h change from gnulib
35557 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35559 mktime: merge time_r change from gnulib
35560 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35562 mktime: merge DEBUG change from gnulib
35563 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35564 case system <time.h> has a #define.
35566 mktime: merge <sys/types.h> change from gnulib
35567 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35568 since <time.t> is now guaranteed to define time_t.
35570 mktime: merge HAVE_CONFIG_H change from gnulib
35571 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35573 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35575 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35578 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35580 (struct rusage): Use anonymous union to pad each field to
35583 2012-05-21 David S. Miller <davem@davemloft.net>
35585 * Makefules (o-iterator): Remove .s cases.
35586 (compile-command.s): Delete.
35587 (COMPILE.s): Delete.
35588 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35590 2012-05-21 Joseph Myers <joseph@codesourcery.com>
35592 * configure.in (libc_cv_predef_stack_protector): Only consider
35593 "foobar" and "__stack_chk_fail" lines in libc_undefs.
35594 * configure: Regenerated.
35596 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35598 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35599 New macro. Use R*LP on int and pointer.
35600 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35601 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35602 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35603 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35605 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35606 [__WORDSIZE_TIME64_COMPAT32] instead of
35607 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35608 (struct utmp): Likewise.
35609 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35610 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35612 (__WORDSIZE_TIME64_COMPAT32): This.
35613 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35614 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35615 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35616 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35617 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35618 (__WORDSIZE_TIME64_COMPAT32): New macro.
35620 2012-05-21 Andreas Jaeger <aj@suse.de>
35622 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35623 only if [SHARED]. Add prototype for __wcschr_ia32.
35625 2012-05-21 Roland McGrath <roland@hack.frob.com>
35627 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35628 of %rbp unmolested in the jmp_buf while mangling the low bits.
35629 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35630 unmolested high bits of %rbp while demangling the low bits.
35631 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35633 2012-05-21 Andreas Jaeger <aj@suse.de>
35635 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35636 * sunrpc/svc_simple.c: Use it for registerrpc.
35637 * sunrpc/xcrypt.c: Use it for passwd2des.
35639 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35641 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35643 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35644 Don't define if [__SYSCALL_WORDSIZE != 32].
35645 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35648 2012-05-21 Bruno Haible <bruno@clisp.org>
35649 Andreas Jaeger <aj@suse.de>
35651 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35652 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35653 inptr and inend for must_buffer_ch.
35654 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35655 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35656 * stdio-common/Makefile (tests): Remove bug15.
35657 (bug15-ENV): Remove macro.
35658 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35661 2012-05-19 Andreas Jaeger <aj@suse.de>
35662 Roland McGrath <roland@hack.frob.com>
35664 * manual/contrib.texi: Completely rewritten. It contains now an
35665 alphabetical list of contributors and their contributions.
35667 2012-05-21 Richard Henderson <rth@twiddle.net>
35669 * misc/getauxval.c (__getauxval): Use unsigned long int.
35670 * misc/sys/auxv.h: Include <sys/cdefs.h>.
35671 (getauxval): Use unsigned long int.
35673 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35675 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35677 2012-05-21 Roland McGrath <roland@hack.frob.com>
35679 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35680 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35681 __alignof__ (long double).
35683 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35687 2012-05-20 Richard Henderson <rth@twiddle.net>
35689 * misc/getauxval.c: New file.
35690 * misc/sys/auxv.h: New file.
35691 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35692 (routines): Add getauxval.
35693 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35694 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35695 * elf/dl-sysdep.c (_dl_auxv): Remove.
35696 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35697 * elf/dl-support.c (_dl_auxv): New variable.
35698 (_dl_aux_init): Initialize it.
35699 * manual/startup.texi (Auxiliary Vector): New node.
35700 * sysdeps/generic/bits/hwcap.h: New file.
35701 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35702 * sysdeps/powerpc/sysdep.h: ... here. Include it.
35703 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35704 * sysdeps/sparc/sysdep.h: ... here. Include it.
35705 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35706 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35712 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35718 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35722 2012-05-19 David S. Miller <davem@davemloft.net>
35724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35726 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35729 * math/s_ccosh.c: Include <float.h>
35730 (__ccosh): Avoid internal overflow calculating sinh and cosh
35731 values before multiplying by sin and cos values.
35732 * math/s_ccoshf.c: Likewise.
35733 * math/s_ccoshl.c: Likewise.
35734 * math/s_csin.c: Likewise.
35735 * math/s_csinf.c: Likewise.
35736 * math/s_csinl.c: Likewise.
35737 * math/s_csinh.c: Likewise.
35738 * math/s_csinhf.c: Likewise.
35739 * math/s_csinhl.c: Likewise.
35740 * math/libm-test.inc (ccos_test): Add more tests.
35741 (ccosh_test): Likewise.
35742 (csin_test): Likewise.
35743 (csinh_test): Likewise.
35744 * sysdeps/i386/fpu/libm-test-ulps: Update.
35745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35747 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35749 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35750 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35752 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35754 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35756 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35757 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35758 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35759 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35760 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35761 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35762 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35763 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35764 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35765 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35766 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35767 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35768 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35769 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35770 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35771 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35772 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35773 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35774 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35775 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35776 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35777 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35778 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35779 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35780 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35781 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35782 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35783 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35784 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35785 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35786 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35788 2012-05-18 Andreas Jaeger <aj@suse.de>
35790 * csu/.gitignore: Delete.
35792 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35794 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35795 (timex): Use __syscall_slong_t.
35797 2012-05-18 Andreas Jaeger <aj@suse.de>
35798 Carlos O'Donell <carlos_odonell@mentor.com>
35800 * manual/install.texi (Configuring and compiling): Update
35801 description about files modified in the source directory.
35802 * INSTALL: Regenerated.
35804 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35806 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35807 value. Use "or" to set return value to -1.
35808 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35809 negate return value.
35811 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35813 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35814 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35815 failure if the compiler has Graphite support disabled.
35816 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35818 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35819 (CFLAGS-memmove.c): Likewise.
35820 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35823 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35825 * sysdeps/x86_64/x32/_itoa.h: New file.
35827 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35828 getdents system call only if kernel and user dirents have the
35829 same d_ino and d_off.
35831 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35832 LLONG_MAX != LONG_MAX.
35833 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35834 (_fitoa_word): Likewise.
35836 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35838 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35839 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35840 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35842 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35843 include <bits/wordsize.h>. Check __x86_64__ instead of
35845 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35846 if __x86_64__ is defined. Use anonymous union on fpstate.
35848 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35851 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35853 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35854 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35855 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35856 Refer to _rtld_local_ro instead of _rtld_global_ro.
35857 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35859 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35861 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35863 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35864 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35865 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35867 * sysdeps/powerpc/powerpc32/dl-machine.c
35868 (__elf_machine_runtime_setup) [PROF]: Don't reference
35871 2012-05-18 Andreas Jaeger <aj@suse.de>
35873 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35874 function only available for GCCs before 3.4 since GCC 3.4
35875 introduced a builtin.
35877 (llrintf): Likewise.
35878 (llrint): Likewise.
35885 (nearbyint): Likewise.
35886 (nearbyintf): Likewise.
35890 (floorf): Likewise.
35892 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35894 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35895 on both fields and cast pointer to __syscall_ulong_t.
35897 * bits/types.h (__fsword_t): New type.
35898 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35899 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35900 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35901 (__FSWORD_T_TYPE): Likewise.
35902 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35903 (__FSWORD_T_TYPE): Likewise.
35904 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35905 (__FSWORD_T_TYPE): Likewise.
35906 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35907 (__FSWORD_T_TYPE): Likewise.
35908 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35909 __SWORD_TYPE with __fsword_t.
35910 (statfs64): Likewise.
35912 2012-05-17 David S. Miller <davem@davemloft.net>
35914 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35916 2012-05-17 Andreas Jaeger <aj@suse.de>
35918 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35921 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35923 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35925 2012-05-17 Andreas Jaeger <aj@suse.de>
35927 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35930 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35932 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35934 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35936 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35937 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35939 2012-05-17 Andreas Jaeger <aj@suse.de>
35940 Carlos O'Donell <carlos_odonell@mentor.com>
35943 * sysdeps/x86_64/multiarch/init-arch.h
35944 (bit_YMM_Usable): Rename to...
35945 (bit_AVX_Usable): ... this.
35946 (bit_FMA4_Usable): New macro.
35947 (bit_XMM_state): New macro.
35948 (bit_YMM_state): New macro.
35949 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35950 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35951 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35952 (CPUID_OSXSAVE): New macro.
35953 (CPUID_AVX): New macro.
35954 (CPUID_FMA4): New macro.
35955 (index_YMM_Usable): Rename to...
35956 (index_AVX_Usable): ... this.
35957 (HAS_AVX): Use HAS_ARCH_FEATURE.
35958 (HAS_FMA4): Likewise.
35959 (HAS_YMM_USABLE): Remove.
35960 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35961 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35963 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35964 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35965 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35966 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35967 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35969 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35971 * math/libm-test.c: Support platforms without multiple rounding modes.
35972 * math/bug-nextafter.c: Support platforms without FP exceptions.
35973 * math/bug-nexttoward.c: Likewise.
35974 * math/test-fenv.c: Likewise.
35975 * math/test-misc.c: Likewise.
35976 * stdlib/bug-getcontext.c: Likewise.
35978 2012-05-17 Andreas Jaeger <aj@suse.de>
35980 * manual/examples/search.c (critter_cmp): Change signature to
35982 * manual/string.texi (Collation Functions): Likewise.
35984 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35986 * bits/types.h: Fold copyright years.
35987 * bits/typesizes.h: Likewise.
35988 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35989 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35990 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35991 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35992 * time/time.h: Likewise.
35994 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35997 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35998 in instead of returning them. Return void.
35999 (__libc_mallinfo): Accumulate over all arenas.
36000 (__malloc_stats): Adjust for change in int_mallinfo interface.
36002 2012-05-16 Roland McGrath <roland@hack.frob.com>
36005 * configure.in (NM): Add AC_CHECK_TOOL for it.
36006 (libc_extra_cflags): New substituted variable.
36007 Check for -fstack-protector being used implicitly.
36008 * configure: Regenerated.
36009 * config.make.in (config-extra-cflags): New variable,
36010 gets @libc_extra_cflags@.
36011 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36014 * configure.in: Check for _FORTIFY_SOURCE being predefined.
36015 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36016 * configure: Regenerated.
36017 * config.make.in (CPPUNDEFS): New substituted variable.
36018 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36019 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36020 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36022 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36024 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36025 (mq_attr): Use __syscall_slong_t.
36027 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36029 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36030 Check __x86_64__ instead of __WORDSIZE.
36031 (_STAT_VER_LINUX): Likewise.
36032 (stat): Check __x86_64__ instead of __WORDSIZE. Use
36033 __syscall_ulong_t and __syscall_slong_t.
36034 (stat64): Likewise.
36036 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36038 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36040 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36042 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36044 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36046 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36049 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36050 include <bits/wordsize.h>. Check __x86_64__ instead of
36052 (greg_t): Use "__extension__ long long int" if __x86_64__ is
36054 (mcontext_t): Replace "unsigned long" with "unsigned long long".
36056 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36057 include <bits/wordsize.h>. Check __x86_64__ instead of
36059 (user_regs_struct): Use "__extension__ unsigned long long"
36060 instead of "unsigned long" if __x86_64__ is defined.
36061 (user): Likewise. Pad after pointer field if __ILP32__ is
36064 2012-05-16 Joseph Myers <joseph@codesourcery.com>
36066 * configure.in (makeinfo): Require version 4.5 or later. Allow
36068 * configure: Regenerated.
36069 * manual/install.texi (texinfo): Increase version requirement to
36071 * INSTALL: Regenerated.
36073 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36075 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36077 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36079 * sysdeps/x86_64/x32/ffs.c: New file.
36081 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36083 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36084 defined. Use __syscall_ulong_t.
36085 (shminfo): Use __syscall_ulong_t.
36086 (shm_info): Likewise.
36088 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36091 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36093 (msgqnum_t): Use __syscall_ulong_t.
36094 (msglen_t): Likewise.
36095 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
36098 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36099 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36101 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36103 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36104 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36106 * sysvipc/sys/msg.h (msgbuf): Replace long int with
36109 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36110 include <bits/wordsize.h>. Check __x86_64__ instead of
36113 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36114 "unsigned long long int" if __x86_64__ is defined.
36115 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36117 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36118 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36119 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36121 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36123 (GET_PC): Cast to uintptr_t first.
36124 (GET_FRAME): Likewise.
36125 (GET_STACK): Likewise.
36127 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36128 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36129 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36130 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36131 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36132 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36133 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36134 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36135 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36136 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36137 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36138 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36139 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36140 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36141 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36142 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36143 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36144 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36145 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36146 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36147 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36148 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36149 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36150 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36151 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36152 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36153 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36154 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36155 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36157 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
36159 * Makerules (+depfiles): Also collect depfiles from .oS in
36161 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36162 .oS, $(libnldbl-routines)).
36164 * Makerules (native-compile-mkdep-flags): Define.
36165 * sunrpc/Makefile (extra-objs): Add $(addprefix
36166 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36167 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36168 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
36169 calling $(make-target-directory).
36171 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36173 * bits/types.h (__snseconds_t): Removed.
36174 * time/time.h (struct timespec): Replace __snseconds_t with
36176 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36177 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36179 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36180 (__SNSECONDS_T_TYPE): Likewise.
36181 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36182 (__SNSECONDS_T_TYPE): Likewise.
36183 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36184 (__SNSECONDS_T_TYPE): Likewise.
36186 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36188 * sysdeps/mach/hurd/bits/typesizes.h
36189 (__SYSCALL_SLONG_TYPE): New macro.
36190 (__SYSCALL_ULONG_TYPE): Likewise.
36192 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36194 * bits/types.h (__syscall_slong_t): New type.
36195 (__syscall_ulong_t): Likewise.
36197 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36198 (__SYSCALL_ULONG_TYPE): Likewise.
36199 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36200 (__SYSCALL_SLONG_TYPE): Likewise.
36201 (__SYSCALL_ULONG_TYPE): Likewise.
36202 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36203 (__SYSCALL_SLONG_TYPE): Likewise.
36204 (__SYSCALL_ULONG_TYPE): Likewise.
36205 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36206 (__SYSCALL_SLONG_TYPE): Likewise.
36207 (__SYSCALL_ULONG_TYPE): Likewise.
36209 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36211 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36212 Add sigaltstack-offsets.sym.
36213 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36214 <sigaltstack-offsets.h>.
36215 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
36216 longjmp_msg pointer.
36217 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
36218 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36220 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36222 2012-05-15 Joseph Myers <joseph@codesourcery.com>
36224 * elf/stackguard-macros.h: Remove file.
36225 * sysdeps/generic/stackguard-macros.h: New file.
36226 * sysdeps/i386/stackguard-macros.h: Likewise.
36227 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36228 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36229 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36230 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36231 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36232 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36233 * sysdeps/x86_64/stackguard-macros.h: Likewise.
36234 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36235 <elf/stackguard-macros.h>.
36238 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36239 __aligned__ in attribute.
36240 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36241 (gregset_t): Likewise.
36243 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36245 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36246 * sysdeps/x86_64/64/Implies-after: Here. New file.
36247 * sysdeps/x86_64/x32/Implies-after: New file.
36249 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36251 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36252 and access return value for _dl_profile_fixup. Use R10_LP to
36255 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36257 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36259 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36261 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36262 * sysdeps/x86_64/x32/sysdep.h: New file.
36264 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36266 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36267 * sysdeps/x86_64/setjmp.S: Likewise.
36269 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36271 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36272 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36273 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36274 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36275 remove unused global constant.
36277 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
36279 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36280 include of <not-cancel.h>.
36282 2012-05-15 Roland McGrath <roland@hack.frob.com>
36284 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36286 2012-05-15 Jeff Law <law@redhat.com>
36287 Andreas Jaeger <aj@suse.de>
36290 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36292 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36293 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36294 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36295 code changing __hst_map_handle.map.
36297 2012-05-15 Roland McGrath <roland@hack.frob.com>
36299 * configure.in (sysnames): Look for Implies-before and Implies-after
36301 * configure: Regenerated.
36303 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36305 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36306 8-byte data alignment with LP_SIZE alignment.
36308 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36310 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36313 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36315 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36317 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36319 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36320 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36321 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36323 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36325 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36327 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36328 (stackinfo_sub_sp): Likewise.
36330 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36332 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36335 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36337 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36340 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36342 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36345 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36347 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36349 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36351 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36352 into R11_LP and load __x86_64_shared_cache_size_half into
36355 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36357 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36360 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36362 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36364 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36366 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36368 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36369 powerpc32/power7/fpu/s_logb.c via #include.
36370 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36371 powerpc32/power7/fpu/s_logbf.c via #include.
36372 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36373 powerpc32/power7/fpu/s_logbl.c via #include.
36375 2012-05-15 Joseph Myers <joseph@codesourcery.com>
36377 * README.libm: Remove file.
36379 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36381 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36382 count for x32. Use R*_LP and omit operand-size suffix.
36384 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36386 * shlib-versions: Move x86_64-.*-linux.* entries to ...
36387 * sysdeps/x86_64/64/shlib-versions: Here. New file.
36388 * sysdeps/x86_64/x32/shlib-versions: New file.
36390 2012-05-14 Roland McGrath <roland@hack.frob.com>
36392 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36393 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36394 Use _dl_fatal_printf instead.
36396 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36398 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36399 set if not set by the user. Do not allow for being unset.
36400 * sysdeps/unix/sysv/linux/configure: Regenerated.
36402 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36404 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36405 the `q' suffix from lea and replace .quad with ASM_ADDR.
36407 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36409 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36410 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
36412 (PTR_DEMANGLE): Likewise.
36414 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36416 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36418 (ASM_ADDR): Likewise.
36419 (RAX_LP): Likewise.
36420 (RBP_LP): Likewise.
36421 (RBX_LP): Likewise.
36422 (RCX_LP): Likewise.
36423 (RDI_LP): Likewise.
36424 (RSI_LP): Likewise.
36425 (RSP_LP): Likewise.
36428 (R10_LP): Likewise.
36429 (R10_LP): Likewise.
36430 (R11_LP): Likewise.
36431 (R12_LP): Likewise.
36432 (R13_LP): Likewise.
36433 (R14_LP): Likewise.
36434 (R15_LP): Likewise.
36436 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36438 * sysdeps/x86_64/x32/dl-machine.h: New file.
36440 2012-05-14 Andreas Jaeger <aj@suse.de>
36442 * manual/Makefile (subdir): Remove export of subdir.
36443 (all): Remove target.
36444 (.PHONY): Remove all from list.
36445 (mkinstalldirs): Remove.
36446 (.PHONY): Remove installdirs from list.
36447 ($(inst_infodir)/libc.info): Use make-target-directory.
36448 (installdirs): Remove.
36449 (subdir_%): Remove.
36450 (glibc-targets): Remove.
36453 ($(objpfx)stubs ../po/manual.pot): Remove.
36454 ($(objpfx)stamp%): Remove.
36455 (make-target-directory): Remove.
36456 (subdir_install): Remove.
36457 (routines): Remove.
36464 * manual/.gitignore: Remove, it's not needed anymore.
36465 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36467 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36469 (texis): Renamed to $(objpfx)texis.
36470 (texis-path): New, contains path to generated files.
36471 (chapters.%): Use texis-path for complete path, add extra argument
36473 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36474 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36475 (summary,texi, stamp-summary): Use complete path of
36476 files. Generate files in build dir.
36477 (dir-add.texi): Build in build dir.
36478 (libm-err.texi,stamp-libm-err): Likewise.
36479 (version.texi, stamp-version): Likewise.
36480 (.%c.texi): Likewise.
36481 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36482 (mostlyclean): Remove target.
36483 (realclean): Remove target.
36484 (generated): Add new variable with contents from mostlyclean and
36485 realclean, remove entries duplicated in common-mostlyclean, add
36486 stamp-libm-err and stamp-version.
36487 (generated-dirs): Add libc directory.
36488 ($(inst_infodir)/libc.info): Install files from build dir.
36490 * manual/install.texi (Configuring and compiling): Adjust since
36491 the info files are not part of the tar ball anymore.
36493 2012-05-14 Andreas Jaeger <aj@suse.de>
36495 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36498 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36501 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36502 to 2.2.0 where earlier.
36503 * sysdeps/unix/sysv/linux/configure: Regenerated.
36504 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36505 Remove conditional code.
36506 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36507 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36508 Remove conditional code.
36509 [!__NR_lchown]: Likewise.
36510 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36511 [__NR_lchown]: Likewise.
36512 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36513 comment referencing __ASSUME_LCHOWN_SYSCALL.
36514 * sysdeps/unix/sysv/linux/i386/sigaction.c
36515 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36516 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36517 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36518 Remove conditional code.
36519 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36520 (__protocol_available): Remove #if 0 code.
36521 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36523 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36524 * sysdeps/unix/sysv/linux/kernel-features.h
36525 (__ASSUME_GETCWD_SYSCALL): Don't define.
36526 (__ASSUME_REALTIME_SIGNALS): Likewise.
36527 (__ASSUME_PREAD_SYSCALL): Likewise.
36528 (__ASSUME_PWRITE_SYSCALL): Likewise.
36529 (__ASSUME_POLL_SYSCALL): Likewise.
36530 (__ASSUME_LCHOWN_SYSCALL): Likewise.
36531 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36533 (__ASSUME_SIOCGIFNAME): Don't define.
36534 (__ASSUME_MSG_NOSIGNAL): Likewise.
36535 (__ASSUME_SENDFILE): Define unconditionally.
36536 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36537 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36539 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36540 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36541 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36542 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36543 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36544 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36545 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36547 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36548 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36550 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36551 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36553 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36554 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36556 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36557 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36559 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36560 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36562 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36563 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36565 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36566 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36568 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36569 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36570 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36571 Remove conditional code.
36572 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36573 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36574 Remove conditional code.
36575 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36576 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36577 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36578 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36579 Remove conditional code.
36580 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36581 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36582 Remove conditional code.
36583 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36584 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36585 Remove conditional code.
36586 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36587 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36588 Remove conditional code.
36589 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36590 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36591 Remove conditional code.
36592 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36593 * sysdeps/unix/sysv/linux/sh/pwrite64.c
36594 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36595 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36596 * sysdeps/unix/sysv/linux/sigaction.c
36597 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36598 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36599 * sysdeps/unix/sysv/linux/sigpending.c
36600 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36601 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36602 * sysdeps/unix/sysv/linux/sigprocmask.c
36603 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36604 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36605 * sysdeps/unix/sysv/linux/sigsuspend.c
36606 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36607 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36608 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36609 (__libc_missing_rt_sigs): Remove.
36610 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36611 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36612 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36613 Remove conditional code.
36614 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36615 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36617 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36618 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36619 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36620 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36622 2012-05-14 Andreas Jaeger <aj@suse.de>
36624 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36625 it's not used in glibc.
36626 (__coshm1): Likewise.
36627 (__acosh1p): Likewise.
36630 * manual/string.texi (Copying and Concatenation): Add missing
36631 variable in concat example.
36632 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36634 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36637 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36638 __builtin_clzl with __builtin_clzll.
36640 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36643 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36646 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36648 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36649 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36650 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36651 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36653 2012-05-14 Mike Frysinger <vapier@gentoo.org>
36655 * NEWS: Update ia64 info.
36657 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
36659 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36662 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
36664 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36665 * sysdeps/unix/syscalls.list (dup3): Likewise.
36666 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36667 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36669 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36671 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36672 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36674 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36676 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36678 (TLS_IE): Use mov/add instead of movq/addq to load thread
36680 (TLS_GD_PREFIX): New.
36683 2012-05-11 David S. Miller <davem@davemloft.net>
36685 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36686 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36687 (_FPU_SETCW): Likewise.
36689 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36691 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36692 is 32-byte aligned.
36694 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
36697 * iconvdata/gb18030.c: Update tables.
36698 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
36699 characters specially.
36700 (BODY for TO_LOOP): Add encoding of missing ranges.
36702 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
36705 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36706 * sysdeps/mach/hurd/dup3.c: Likewise.
36707 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36708 * sysdeps/powerpc/memmove.c:: Likewise.
36710 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36712 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36713 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36715 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36717 * elf/elf.h (R_X86_64_RELATIVE64): New.
36718 (R_X86_64_NUM): Updated.
36719 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36720 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36721 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36722 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36723 tst-quad1pie tst-quad2pie
36724 (modules-names): Add tst-quadmod1 tst-quadmod2.
36725 ($(objpfx)tst-quad1): New dependency.
36726 ($(objpfx)tst-quad2): Likewise.
36727 ($(objpfx)tst-quad1pie): Likewise.
36728 ($(objpfx)tst-quad2pie): Likewise.
36729 * sysdeps/x86_64/tst-quad1.c: New file.
36730 * sysdeps/x86_64/tst-quad1pie.c: New file.
36731 * sysdeps/x86_64/tst-quad2.c: Likewise.
36732 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36733 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36734 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36735 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36736 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36738 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36740 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36741 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36742 * streams/stropts.h (t_scalar_t): Define type.
36744 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36745 (_PATH_PRESERVE): Set to "/var/lib".
36746 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36748 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36751 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36752 if __dir_mkfile succeeded.
36754 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36755 checking for _hurd_dtablesize. Unlock it right after having
36756 finished _hurd_dtable allocation.
36758 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36760 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36761 * sysdeps/mach/hurd/configure: Regenerated.
36762 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36763 special-casing to...
36764 * sysdeps/gnu/configure.in: ... this new file.
36765 * sysdeps/unix/sysv/linux/configure: Regenerated.
36766 * sysdeps/gnu/configure: New generated file.
36768 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36769 for Linux: use nsec instead of usec, as well as:
36770 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36771 members of type struct timespec.
36772 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36774 (struct stat64): Likewise.
36775 (_STATBUF_ST_NSEC): New macro.
36776 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36778 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36779 __strtoul_internal rather than strtoul.
36781 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36783 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36786 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36788 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36789 which preserves existing values.
36790 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36792 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36794 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36795 TIMEOUT values. Return EINVAL for NFDS values either negative or
36796 greater than FD_SETSIZE.
36798 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36800 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36801 allocated, call __vm_protect to finish enabling the existing space, and
36802 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36803 allocate the remainder.
36805 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36807 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36808 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36810 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36812 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36813 sysdeps/mach/hurd/readlink.c.
36815 * posix/tst-sysconf.c (posix_options): Only use
36816 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36817 _POSIX_SYNCHRONIZED_IO when they are defined
36818 * sysdeps/mach/hurd/bits/posix_opt.h:
36819 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36820 (_XOPEN_REALTIME): Undefine macro.
36821 (_XOPEN_REALTIME_THREADS): Undefine macro.
36822 (_XOPEN_SHM): Undefine macro.
36823 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36825 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36827 (_POSIX_ASYNC_IO): Undefine macro.
36828 (_POSIX_PRIORITIZED_IO): Undefine macro.
36829 (_POSIX_SPIN_LOCKS): Define macro to -1.
36831 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36832 SA_NODEFER, SA_RESETHAND.
36833 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36834 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36837 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36839 * elf/Makefile (pldd-modules): Define unconditionally.
36841 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36843 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36845 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36847 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36848 Return ENOENT when name is empty.
36849 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36851 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36853 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36855 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36857 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36859 Fix mlock in all cases except non-readable pages.
36860 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36861 instead of VM_PROT_ALL as parameter to __vm_wire function.
36863 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36864 (__mkdir): When path is `/', just fail with EEXIST.
36865 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36867 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36869 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36870 <sys/uio.h> (for writev).
36871 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36872 and <sys/param.h> (for MIN).
36874 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36876 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36877 REQUESTED_TIME. Properly set the remaining time and return EINTR
36880 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36882 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36883 Depend on against $(link-rpcuserlibs).
36885 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36887 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36888 (__libc_stack_end): Do not use attribute_relro.
36889 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36890 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36891 to libthread-provided value.
36892 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36895 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36898 * bits/libc-lock.h (__libc_once_get): New macro.
36899 * sysdeps/mach/bits/libc-lock.h: Likewise.
36900 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36901 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36902 instead of using implementation details.
36904 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36905 * libio/freopen.c: Likewise.
36906 * libio/freopen64.c: Likewise.
36907 * misc/syslog.c: Likewise.
36908 * nscd/connections.c: Likewise.
36909 * nscd/netgroupcache.c: Likewise.
36910 * sysdeps/posix/getcwd.c: Likewise.
36912 2012-05-10 Roland McGrath <roland@hack.frob.com>
36914 * math/w_ilogbf.c: Add #include <limits.h>.
36916 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36918 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36919 path instead of returning without unlocking.
36921 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36922 immediate-write ioctls.
36923 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36925 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36927 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36928 __builtin_frame_address instead of making assumptions about the
36929 location of the return address relative to DATA. Force early load of
36930 the return address.
36931 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36932 __builtin_frame_address.
36935 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36936 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36937 implement dup3 and do some further code clean-ups.
36938 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36939 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36941 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36943 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36945 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36946 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36947 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36948 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36949 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36952 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36953 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36954 when handler == SIG_ERR, not when handler != SIG_ERR.
36956 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36958 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36959 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36962 accept4 for GNU Hurd.
36963 * include/sys/socket.h (__libc_accept4): New prototype.
36964 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36965 to implement __libc_accept4.
36966 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36968 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36970 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36971 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36972 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36973 signal-defines.sym.
36975 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36977 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36979 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36981 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36982 assertion on O_CLOEXEC flag.
36983 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36984 * hurd/intern-fd.c: Likewise.
36985 * hurd/port2fd.c: Likewise.
36987 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36990 * bits/in.h (IPV6_PKTINFO): Define new macro.
36991 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36993 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36998 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36999 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37000 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37001 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37002 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37003 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37004 * math/libm-test.inc (logb_test) : Additional logb tests.
37006 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
37007 Andreas Jaeger <aj@suse.de>
37009 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37010 * configure: Regenerated.
37011 * config.h.in (LINK_OBSOLETE_RPC): New macro.
37012 * config.make.in (link-obsolete-rpc): New substituted variable.
37013 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37014 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37015 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37016 (shared-only-routines): Don't set it under [link-obsolete-rpc],
37017 so that libc.a contains the symbols.
37018 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37019 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37020 * sunrpc/auth_none.c: Likewise.
37021 * sunrpc/auth_unix.c: Likewise.
37022 * sunrpc/authdes_prot.c: Likewise.
37023 * sunrpc/authuxprot.c: Likewise.
37024 * sunrpc/clnt_gen.c: Likewise.
37025 * sunrpc/clnt_perr.c: Likewise.
37026 * sunrpc/clnt_raw.c: Likewise.
37027 * sunrpc/clnt_simp.c: Likewise.
37028 * sunrpc/clnt_tcp.c: Likewise.
37029 * sunrpc/clnt_udp.c: Likewise.
37030 * sunrpc/clnt_unix.c: Likewise.
37031 * sunrpc/des_crypt.c: Likewise.
37032 * sunrpc/des_soft.c: Likewise.
37033 * sunrpc/get_myaddr.c: Likewise.
37034 * sunrpc/key_call.c: Likewise.
37035 * sunrpc/key_prot.c: Likewise.
37036 * sunrpc/netname.c: Likewise.
37037 * sunrpc/pm_getmaps.c: Likewise.
37038 * sunrpc/pm_getport.c: Likewise.
37039 * sunrpc/pmap_clnt.c: Likewise.
37040 * sunrpc/pmap_prot.c: Likewise.
37041 * sunrpc/pmap_prot2.c: Likewise.
37042 * sunrpc/pmap_rmt.c: Likewise.
37043 * sunrpc/publickey.c: Likewise.
37044 * sunrpc/rpc_cmsg.c: Likewise.
37045 * sunrpc/rpc_common.c: Likewise.
37046 * sunrpc/rpc_dtable.c: Likewise.
37047 * sunrpc/rpc_prot.c: Likewise.
37048 * sunrpc/rpc_thread.c: Likewise.
37049 * sunrpc/rtime.c: Likewise.
37050 * sunrpc/svc.c: Likewise.
37051 * sunrpc/svc_auth.c: Likewise.
37052 * sunrpc/svc_raw.c: Likewise.
37053 * sunrpc/svc_run.c: Likewise.
37054 * sunrpc/svc_tcp.c: Likewise.
37055 * sunrpc/svc_udp.c: Likewise.
37056 * sunrpc/svc_unix.c: Likewise.
37057 * sunrpc/svcauth_des.c: Likewise.
37058 * sunrpc/xcrypt.c: Likewise.
37059 * sunrpc/xdr.c: Likewise.
37060 * sunrpc/xdr_array.c: Likewise.
37061 * sunrpc/xdr_float.c: Likewise.
37062 * sunrpc/xdr_intXX_t.c: Likewise.
37063 * sunrpc/xdr_mem.c: Likewise.
37064 * sunrpc/xdr_rec.c: Likewise.
37065 * sunrpc/xdr_ref.c: Likewise.
37066 * sunrpc/xdr_sizeof.c: Likewise.
37067 * sunrpc/xdr_stdio.c: Likewise.
37069 2012-05-10 Roland McGrath <roland@hack.frob.com>
37071 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37072 change. Update copyright years.
37074 2012-05-10 Joseph Myers <joseph@codesourcery.com>
37076 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37078 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
37079 Joseph Myers <joseph@codesourcery.com>
37080 Paul Pluzhnikov <ppluzhnikov@google.com>
37083 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37085 [cross-compiling] (extra-libs): Likewise.
37086 [cross-compiling] (extra-libs-others): Likewise.
37087 [cross-compiling] (librpcsvc-routines): Likewise.
37088 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37089 [cross-compiling] (omit-deps): Likewise.
37090 (sunrpc-CPPFLAGS): New variable.
37091 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37092 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37093 (cross-rpcgen-objs): New variable.
37094 (extra-objs): Append $(cross-rpcgen-objs).
37095 ($(cross-rpcgen-objs)): New rule.
37096 ($(objpfx)cross-rpcgen): Likewise.
37097 (rpcgen-cmd): Define to use $(built-program-file). Expand
37099 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37100 ($(objpfx)x%.stmp): Likewise.
37101 * sunrpc/proto.h [IS_IN_build] (_): Define.
37102 [IS_IN_build] (_libc_intl_domainname): Likewise.
37104 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37106 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37107 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37108 and R_X86_64_TPOFF64.
37110 2012-05-10 Joseph Myers <joseph@codesourcery.com>
37112 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37113 sysdeps/unix/sysv/syscalls.list.
37116 * sysdeps/unix/sysv/syscalls.list: Remove file.
37118 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
37121 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37122 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37123 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37124 (__LC_IDENTIFICATION): Make these macros useful in #if
37125 expressions, as required by C99.
37127 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
37129 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37130 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
37133 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
37135 * stdlib/longlong.h: Updated from GCC.
37137 2012-05-09 Andreas Jaeger <aj@suse.de>
37139 * nscd/nscd.c (run_modes): Make named enum, reorder so that
37140 default is first entry.
37141 (run_mode): Set type.
37142 (main): Remove informal message about syslog.
37143 (options): Fix typo.
37146 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37149 (llrintf): Likewise.
37150 (llrint): Likewise.
37153 (nearbyint): Likewise.
37154 (nearbyintf): Likewise.
37156 2012-05-09 Andreas Jaeger <aj@suse.de>
37157 Pedro Alves <palves@redhat.com>
37159 * nscd/nscd.c (run_mode): Use enum.
37160 (main): Cleanup coding style issue.
37162 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
37163 Andreas Jaeger <aj@suse.de>
37165 * nscd/nscd.c (go_background): Replaced with...
37166 (run_mode): ... this.
37167 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37168 (options): Add -F --foreground.
37169 (main): Implement it.
37170 (parse_opt): Parse it.
37172 2012-05-09 Andreas Jaeger <aj@suse.de>
37175 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37176 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37177 -Wconversion warning.
37178 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37181 2012-05-09 Joseph Myers <joseph@codesourcery.com>
37183 * conform/data/locale.h-data (NULL): Use macro-constant. Require
37185 (LC_ALL): Use macro-int-constant.
37186 (LC_COLLATE): Likewise.
37187 (LC_CTYPE): Likewise.
37188 (LC_MESSAGES): Likewise.
37189 (LC_MONETARY): Likewise.
37190 (LC_NUMERIC): Likewise.
37191 (LC_TIME): Likewise.
37192 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37193 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37194 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37195 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37197 [C99-based standards] (float_t): Expect type.
37198 [C99-based standards] (double_t): Expect type.
37199 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
37201 [C99-based standards] (HUGE_VALL): Likewise.
37202 [C99-based standards] (INFINITY): Likewise.
37203 [C99-based standards] (NAN): Likewise.
37204 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37205 [C99-based standards] (FP_NAN): Likewise.
37206 [C99-based standards] (FP_NORMAL): Likewise.
37207 [C99-based standards] (FP_SUBNORMAL): Likewise.
37208 [C99-based standards] (FP_ZERO): Likewise.
37209 [C99-based standards] (FP_FAST_FMA): Use
37210 optional-macro-int-constant. Specify type. Require == 1.
37211 [C99-based standards] (FP_FAST_FMAF): Likewise.
37212 [C99-based standards] (FP_FAST_FMAL): Likewise.
37213 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37214 [C99-based standards] (FP_ILOGBNAN): Likewise.
37215 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37217 [C99-based standards] (MATH_ERREXCEPT): Likewise.
37218 [C99-based standards] (math_errhandling): Specify type.
37219 [ISO99 || ISO11] (signgam): Do not allow.
37220 [non-C99-based standards] (copysignf): Do not allow.
37221 [non-C99-based standards] (exp2f): Likewise.
37222 [non-C99-based standards] (log2f): Likewise.
37223 [non-C99-based standards] (modff): Allow.
37224 [non-C99-based standards] (erff): Do not allow.
37225 [non-C99-based standards] (erfcf): Likewise.
37226 [non-C99-based standards] (gammaf): Likewise.
37227 [non-C99-based standards] (hypotf): Likewise.
37228 [non-C99-based standards] (j0f): Likewise.
37229 [non-C99-based standards] (j1f): Likewise.
37230 [non-C99-based standards] (jnf): Likewise.
37231 [non-C99-based standards] (lgammaf): Likewise.
37232 [non-C99-based standards] (tgammaf): Likewise.
37233 [non-C99-based standards] (y0f): Likewise.
37234 [non-C99-based standards] (y1f): Likewise.
37235 [non-C99-based standards] (ynf): Likewise.
37236 [non-C99-based standards] (isnanf): Likewise.
37237 [non-C99-based standards] (acoshf): Likewise.
37238 [non-C99-based standards] (asinhf): Likewise.
37239 [non-C99-based standards] (atanhf): Likewise.
37240 [non-C99-based standards] (cbrtf): Likewise.
37241 [non-C99-based standards] (expm1f): Likewise.
37242 [non-C99-based standards] (ilogbf): Likewise.
37243 [non-C99-based standards] (log1pf): Likewise.
37244 [non-C99-based standards] (logbf): Likewise.
37245 [non-C99-based standards] (nextafterf): Likewise.
37246 [non-C99-based standards] (remainderf): Likewise.
37247 [non-C99-based standards] (rintf): Likewise.
37248 [non-C99-based standards] (scalbf): Likewise.
37249 [non-C99-based standards] (copysignl): Likewise.
37250 [non-C99-based standards] (exp2l): Likewise.
37251 [non-C99-based standards] (log2l): Likewise.
37252 [non-C99-based standards] (modfl): Allow.
37253 [non-C99-based standards] (erfl): Do not allow.
37254 [non-C99-based standards] (erfcl): Likewise.
37255 [non-C99-based standards] (gammal): Likewise.
37256 [non-C99-based standards] (hypotl): Likewise.
37257 [non-C99-based standards] (j0l): Likewise.
37258 [non-C99-based standards] (j1l): Likewise.
37259 [non-C99-based standards] (jnl): Likewise.
37260 [non-C99-based standards] (lgammal): Likewise.
37261 [non-C99-based standards] (tgammal): Likewise.
37262 [non-C99-based standards] (y0l): Likewise.
37263 [non-C99-based standards] (y1l): Likewise.
37264 [non-C99-based standards] (ynl): Likewise.
37265 [non-C99-based standards] (isnanl): Likewise.
37266 [non-C99-based standards] (acoshl): Likewise.
37267 [non-C99-based standards] (asinhl): Likewise.
37268 [non-C99-based standards] (atanhl): Likewise.
37269 [non-C99-based standards] (cbrtl): Likewise.
37270 [non-C99-based standards] (expm1l): Likewise.
37271 [non-C99-based standards] (ilogbl): Likewise.
37272 [non-C99-based standards] (log1pl): Likewise.
37273 [non-C99-based standards] (logbl): Likewise.
37274 [non-C99-based standards] (nextafterl): Likewise.
37275 [non-C99-based standards] (remainderl): Likewise.
37276 [non-C99-based standards] (rintl): Likewise.
37277 [non-C99-based standards] (scalbl): Likewise.
37278 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37279 [non-C99-based standards] (FP_*): Do not allow.
37280 [C99-based standards] (FP_*): Change to
37281 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37282 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37284 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37285 (SIG_ERR): Likewise.
37286 [X/Open-based standards] (SIG_HOLD): Likewise.
37287 (SIG_IGN): Likewise.
37288 (SIGABRT): Use macro-int-constant. Specify type. Require
37290 (SIGFPE): Likewise.
37291 (SIGILL): Likewise.
37292 (SIGINT): Likewise.
37293 (SIGSEGV): Likewise.
37294 (SIGTER): Likewise.
37295 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37296 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37297 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37298 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37299 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37300 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37301 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37302 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37303 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37304 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37305 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37306 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37307 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37308 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37309 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37310 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37311 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37312 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37313 [X/Open-based standards] (SIGTRAP): Likewise.
37314 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37315 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37316 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37317 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37318 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37321 2012-05-08 Ian Wienand <ianw@vmware.com>
37324 * time/tzset.c (__tzset_parse_tz): Update default rules for
37325 daylight time changes in the Energy Policy Act of 2005.
37327 2012-05-09 Andreas Jaeger <aj@suse.de>
37330 * elf/ldconfig.c (parse_conf): Change string to make clear that
37331 ldconfig only issued a warning if ld.so.conf does not exist.
37333 2012-05-08 David S. Miller <davem@davemloft.net>
37335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37336 movxtod instead of popping the value on the stack.
37338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37340 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
37342 * config.h.in: Add HAVE_ARM_PCS_VFP.
37344 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
37347 * include/features.h: Warn if user requests __FORTIFY_SOURCE
37348 checking but the checks are disabled for any reason.
37350 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
37352 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37353 and ELF64_R_TYPE with ELFW(R_TYPE).
37355 2012-05-08 Joseph Myers <joseph@codesourcery.com>
37357 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37358 (ulimit): Likewise.
37360 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37361 (settimeofday): Likewise.
37363 2012-05-08 Mike Frysinger <vapier@gentoo.org>
37365 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
37366 a struct th_u2 inside the union, and move tu_block/tu_code into
37367 a new th_u3 union of tu_block/tu_code inside of that. Move
37368 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
37369 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
37370 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37371 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37372 (th_stuff): Change to th_u1.tu_stuff.
37374 (th_msg): Change to th_u1.th_u2.tu_data.
37376 2012-05-07 David S. Miller <davem@davemloft.net>
37378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37381 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37382 (SETUP_PIC_REG): Use it.
37383 (SETUP_PIC_REG_LEAF): Use it.
37385 2012-05-07 Joseph Myers <joseph@codesourcery.com>
37389 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37391 (EXPL_FINITE): Likewise.
37392 (FLDLOG): Likewise.
37393 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37394 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37396 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37398 (EXPL_FINITE): Likewise.
37399 (FLDLOG): Likewise.
37400 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37401 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37403 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
37404 test of -max_value argument for long double.
37405 * sysdeps/i386/fpu/libm-test-ulps: Update.
37406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37408 2012-05-06 David S. Miller <davem@davemloft.net>
37410 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37411 quad soft-float symbols whose references which are compiler
37413 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37415 2012-05-06 Joseph Myers <joseph@codesourcery.com>
37419 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37421 (EXPL_FINITE): Likewise.
37422 (FLDLOG): Likewise.
37425 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37426 Adjust comments for base varying.
37427 (__expl_finite): Change alias to EXPL_FINITE.
37428 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37430 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37431 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37432 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37433 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37434 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37436 (EXPL_FINITE): Likewise.
37437 (FLDLOG): Likewise.
37440 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37441 Adjust comments for base varying.
37442 (__expl_finite): Change alias to EXPL_FINITE.
37443 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
37445 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37448 * math/libm-test.inc (check_float_internal): Correct ulp
37449 calculation for subnormal expected results.
37451 2012-05-06 Andreas Jaeger <aj@suse.de>
37453 * Makeconfig (+math-flags): New, set to -frounding-math.
37454 (+cflags): Add +math-flags so that all of glibc gets compiled with
37457 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37459 2012-05-05 Joseph Myers <joseph@codesourcery.com>
37461 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37467 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37468 (__ieee754_expl): Allow for and saturate large arguments.
37469 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37470 (u_threshold): Likewise.
37471 (__exp): Call __ieee754_exp before checking for overflow and
37473 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37474 (u_threshold): Likewise.
37475 (__expf): Call __ieee754_expf before checking for overflow and
37477 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37478 (u_threshold): Likewise.
37479 (__expl): Call __ieee754_expl before checking for overflow and
37481 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37482 (__ieee754_expl): Allow for and saturate large arguments.
37483 * math/libm-test.inc (exp_test): Add another test. Do not allow
37484 missing overflow exception on overflow.
37485 (expm1_test): Do not allow missing overflow exception on overflow.
37487 * sysdeps/i386/fpu/e_expl.c: Move to ...
37488 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
37489 rather than using inline asm.
37490 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37491 * sysdeps/x86_64/fpu/e_expl.S: Copy from
37492 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37494 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37497 (signal): Likewise.
37501 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37503 * sysdeps/unix/syscalls.list (adjtime): Add entry from
37504 sysdeps/unix/common/syscalls.list.
37505 (fchmod): Likewise.
37506 (fchown): Likewise.
37507 (ftruncate): Likewise.
37508 (getrusage): Likewise.
37509 (gettimeofday): Likewise.
37510 (setpgid): Likewise.
37511 (setregid): Likewise.
37512 (setreuid): Likewise.
37513 (sigaction): Likewise.
37514 (truncate): Likewise.
37515 (vhangup): Likewise.
37516 * sysdeps/unix/common/syscalls.list: Remove file.
37517 * sysdeps/unix/bsd/Implies: Don't include unix/common.
37518 * sysdeps/unix/sysv/linux/Implies: Likewise.
37520 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
37522 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37524 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37528 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37531 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37534 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37537 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37539 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37540 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37543 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37546 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37550 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37554 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37557 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37561 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37565 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37567 * sysdeps/unix/common/bits/dirent.h: Remove file.
37568 * sysdeps/unix/common/bits/fcntl.h: Likewise.
37570 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37571 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37572 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37573 * sysdeps/unix/bsd/isatty.c: Likewise.
37574 * sysdeps/unix/bsd/tcdrain.c: Likewise.
37575 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37576 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37578 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37581 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37582 long double comparison inaccuracies.
37583 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37586 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
37588 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37589 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37591 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37594 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37595 nonzero digits before rounding a hex value.
37596 * stdlib/tst-strtod.c (tests): Add another test.
37598 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37600 * sysdeps/s390/fpu/libm-test-ulps: Update.
37602 2012-05-03 Andreas Jaeger <aj@suse.de>
37604 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37605 does not get optimized out.
37606 (malloc_opt_barrier): New.
37608 2012-05-03 Andreas Jaeger <aj@suse.de>
37609 Roland McGrath <roland@hack.frob.com>
37611 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37612 intermediate file deletion.
37613 (generated): Add .symlist files.
37615 2012-05-03 Joseph Myers <joseph@codesourcery.com>
37618 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37619 Redirect under this condition.
37620 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37621 [__USE_GNU] (__dprintf_chk): Not under this condition.
37622 [__USE_GNU] (__vdprintf_chk): Likewise.
37623 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37624 under this condition.
37625 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37626 [__USE_XOPEN2K8] (dprintf): Define under this condition.
37627 [__USE_XOPEN2K8] (vdprintf): Likewise.
37628 [__USE_GNU] (__dprintf_chk): Not under this condition.
37629 [__USE_GNU] (__vdprintf_chk): Likewise.
37630 [__USE_GNU] (dprintf): Likewise.
37631 [__USE_GNU] (vdprintf): Likewise.
37633 2012-05-03 Roland McGrath <roland@hack.frob.com>
37635 * elf/Makefile (common-generated): Set this instead of generated for
37636 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
37637 $(all-built-dso)-derived lists.
37639 2012-05-03 Andreas Jaeger <aj@suse.de>
37641 * sysdeps/i386/fpu/libm-test-ulps: Update.
37644 * FAQ.in: Likewise.
37645 * scripts/gen-FAQ.pl: Likewise.
37646 * manual/install.texi (Installation): Point to online location of
37648 * Makefile (files-for-dist): Remove FAQ.
37651 2012-05-02 Allan McRae <allan@archlinux.org>
37653 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37654 (LDFLAGS-reldepmod5.so): Likewise.
37655 (LDFLAGS-reldep6mod1.so): Likewise.
37656 (LDFLAGS-reldep6mod4.so): Likewise.
37657 (LDFLAGS-reldep8mod3.so): Likewise.
37658 (LDFLAGS-unload4mod1.so): Likewise.
37659 (LDFLAGS-unload4mod2.so): Likewise.
37660 (LDFLAGS-tst-initorder): Likewise.
37661 (LDFLAGS-tst-initordera2.so): Likewise.
37662 (LDFLAGS-tst-initordera3.so): Likewise.
37663 (LDFLAGS-tst-initordera4.so): Likewise.
37664 (LDFLAGS-tst-initorderb2.so): Likewise.
37665 (LDFLAGS-noload): Likewise.
37666 (LDFLAGS-next): Likewise.
37667 (LDFLAGS-order2mod1.so): Likewise.
37668 (LDFLAGS-order2mod2.so): Likewise.
37669 (LDFLAGS-tst-initorder2): Likewise.
37670 (LDFLAGS-tst-initorder2a.so): Likewise.
37671 (LDFLAGS-tst-initorder2b.so): Likewise.
37672 (LDFLAGS-tst-initorder2c.so): Likewise.
37673 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37675 2012-05-02 David S. Miller <davem@davemloft.net>
37677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37679 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37682 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37684 2012-05-02 Andreas Jaeger <aj@suse.de>
37686 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37687 since we manipulate rounding mode.
37688 (CPPFLAGS-test-idouble.c): Likewise.
37689 (CPPFLAGS-test-ifloat.c): Likewise.
37690 (CFLAGS-test-ldouble.c): Likewise.
37691 (CFLAGS-test-double.c): Likewise.
37692 (CFLAGS-test-float.c): Likewise.
37693 (CFLAGS-test-misc.c): Likewise.
37694 (CFLAGS-test-test-fenv.c): Likewise.
37696 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37700 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37701 comparisons to determine direction to adjust input.
37703 2012-05-01 Roland McGrath <roland@hack.frob.com>
37705 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37706 output to the target.
37708 * scripts/localplt.awk: New file.
37709 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37710 (check-localplt-CFLAGS): Variable removed.
37711 ($(all-built-dso:=.jmprel)): New static pattern rule.
37712 (generated): Add those targets.
37713 (localplt-built-dso): New variable.
37714 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37716 * elf/check-localplt.c: File removed.
37718 * scripts/check-execstack.awk: New file.
37719 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37720 (check-execstack-CFLAGS): Variable removed.
37721 ($(objpfx)check-execstack.h): Target removed.
37722 ($(objpfx)execstack-default): New target.
37723 (generated): Add that instead of check-execstack.h.
37724 ($(all-built-dso:=.phdr)): New static pattern rule.
37725 (generated): Add those targets.
37726 * elf/check-execstack.c: File removed.
37728 * scripts/check-textrel.awk: New file.
37729 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37730 (check-textrel-CFLAGS): Variable removed.
37731 (all-built-dso): Use := to define.o
37732 ($(all-built-dso:=.dyn)): New static pattern rule.
37733 (generated): Add those targets.
37734 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37735 * config.make.in (READELF): New substituted variable.
37736 * elf/check-textrel.c: File removed.
37738 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37740 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37742 * conform/data/ctype.h-data [C99-based standards] (isblank):
37744 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37745 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37746 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37747 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37748 Specify type. Require positive value.
37749 (EILSEQ): Likewise.
37750 (ERANGE): Likewise.
37751 [ISO || POSIX] (EILSEQ): Do not expect.
37752 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37753 Specify type. Require positive value.
37754 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37755 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37756 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37757 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37758 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37759 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37760 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37761 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37762 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37763 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37764 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37765 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37766 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37767 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37768 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37769 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37770 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37771 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37772 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37773 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37774 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37775 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37776 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37777 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37778 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37779 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37780 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37781 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37782 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37783 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37784 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37785 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37786 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37787 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37788 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37789 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37790 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37791 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37792 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37793 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37794 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37795 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37796 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37797 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37798 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37799 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37800 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37801 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37802 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37803 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37804 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37805 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37806 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37807 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37808 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37809 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37810 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37811 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37812 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37813 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37814 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37815 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37816 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37817 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37818 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37819 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37820 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37821 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37822 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37823 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37824 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37825 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37826 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37827 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37828 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37829 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37830 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37832 (FLT_ROUNDS): Expect as macro, not constant.
37833 (FLT_MANT_DIG): Use macro-int-constant.
37834 (DBL_MANT_DIG): Likewise.
37835 (LDBL_MANT_DIG): Likewise.
37836 (FLT_DIG): Likewise.
37837 (DBL_DIG): Likewise.
37838 (LDBL_DIG): Likewise.
37839 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37840 (DBL_MIN_EXP): Likewise.
37841 (LDBL_MIN_EXP): Likewise.
37842 (FLT_MAX_EXP): Use macro-int-constant.
37843 (DBL_MAX_EXP): Likewise.
37844 (LDBL_MAX_EXP): Likewise.
37845 (FLT_MAX_10_EXP): Likewise.
37846 (DBL_MAX_10_EXP): Likewise.
37847 (LDBL_MAX_10_EXP): Likewise.
37848 (FLT_MAX): Use macro-constant.
37849 (DBL_MAX): Likewise.
37850 (LDBL_MAX): Likewise.
37851 (FLT_EPSILON): Use macro-constant. Give upper bound.
37852 (DBL_EPSILON): Likewise.
37853 (LDBL_EPSILON): Likewise.
37854 (FLT_MIN): Likewise.
37855 (DBL_MIN): Likewise.
37856 (LDBL_MIN): Likewise.
37857 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37858 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37859 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37860 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37861 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37862 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37863 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37864 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37865 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37866 [ISO11] (FLT_TRUE_MIN): Likewise.
37867 [ISO11] (LDBL_TRUE_MIN): Likewise.
37868 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37869 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37870 (SCHAR_MIN): Use macro-int-constant. Specify type.
37871 (SCHAR_MAX): Likewise.
37872 (UCHAR_MAX): Likewise.
37873 (CHAR_MIN): Likewise.
37874 (CHAR_MAX): Likewise.
37875 (MB_LEN_MAX): Use macro-int-constant.
37876 (SHRT_MIN): Use macro-int-constant. Specify type.
37877 (SHRT_MAX): Likewise.
37878 (USHRT_MAX): Likewise.
37879 (INT_MAX): Likewise.
37880 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37882 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37884 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37886 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37887 bound negative. Suffix upper bound with "L".
37888 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37890 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37892 [C99-based standards] (LLONG_MAX): Likewise.
37893 [C99-based standards] (ULLONG_MAX): Likewise.
37894 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37896 [ISO11] (max_align_t): Require type.
37897 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37899 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37900 from $CFLAGS, without defining away __attribute__ calls.
37901 (checknamespace): Use $CFLAGS_namespace.
37903 * conform/conformtest.pl (@keywords): Only include C99 keywords
37904 for standards based on C99 or C11.
37906 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37908 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37911 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37912 usability of symbols in #if.
37914 * conform/conformtest.pl: If macro or constant types start
37915 "promoted:", expect the symbol to be of the following type
37916 promoted by the integer promotions.
37918 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37919 in one place. Also handle "macro-constant".
37921 * conform/conformtest.pl: Only accept expected macro values with
37922 "==". Parse all "macro" lines in one place.
37923 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37925 * conform/conformtest.pl: Handle braced types on "constant" lines
37926 instead of handling "typed-constant".
37927 * conform/data/signal.h-data: Use "constant" instead of
37930 * conform/conformtest.pl: Handle "optional-" at start of lines in
37931 one place rather than duplicating several cases. Handle each
37932 format of "macro" line with initial "optional-".
37934 * conform/conformtest.pl: Only accept expected constant or
37935 optional-constant values with "==". Parse all "constant" lines in
37936 one place. Parse all "optional-constant" lines in one place.
37937 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37938 * conform/data/fmtmsg.h-data: Likewise.
37939 * conform/data/netinet/in.h-data: Likewise.
37940 * conform/data/tar.h-data: Likewise.
37941 * conform/data/limits.h-data: Use "==" form on "constant" and
37942 "optional-constant" lines.
37944 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37945 Use -std=c99 for XOPEN2K.
37946 (@knownproblems): Remove.
37947 (newtoken): Don't check %isknown.
37949 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37950 Do not expect macro.
37951 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37952 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37953 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37954 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37955 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37956 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37957 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37958 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37959 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37960 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37961 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37962 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37963 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37964 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37965 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37966 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37967 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37968 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37969 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37970 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37971 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37972 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37973 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37974 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37975 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37976 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37977 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37978 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37979 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37980 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37981 [XPG3] (acosh): Likewise.
37982 [XPG3] (asinh): Likewise.
37983 [XPG3] (atanh): Likewise.
37984 [XPG3] (cbrt): Likewise.
37985 [XPG3] (expm1): Likewise.
37986 [XPG3] (ilogb): Likewise.
37987 [XPG3] (log1p): Likewise.
37988 [XPG3] (logb): Likewise.
37989 [XPG3] (nextafter): Likewise.
37990 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37991 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37992 [XPG3] (remainder): Likewise.
37993 [XPG3] (rint): Likewise.
37994 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37995 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37996 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37997 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37998 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37999 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38000 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38001 [UNIX98 || XOPEN2K] (scalb): Expect.
38002 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38003 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38004 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38005 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38006 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38007 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38008 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38009 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38010 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38011 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38012 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38013 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38014 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38015 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38016 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38017 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38018 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38019 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38020 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38021 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38022 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38023 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38024 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38025 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38026 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38027 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38028 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38029 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38030 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38031 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38032 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38033 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38034 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38035 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38036 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38037 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38038 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38039 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38040 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38041 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38042 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38043 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38044 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38045 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38046 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38047 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38048 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38049 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38050 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38051 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38052 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38053 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38054 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38055 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38056 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38057 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38058 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38059 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38060 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38061 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38062 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38063 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38064 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38065 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38066 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38067 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38068 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38069 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38070 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38071 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38072 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38073 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38074 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38075 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38076 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38077 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38078 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38079 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38080 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38081 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38082 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38083 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38084 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38085 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38086 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38087 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38088 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38089 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38090 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38091 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38092 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38093 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38094 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38095 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38096 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38097 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38098 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38099 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38100 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38101 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38102 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38103 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38104 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38105 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38106 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38107 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38108 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38109 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38110 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38111 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38112 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38113 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38114 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38115 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38116 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38117 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38118 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38119 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38120 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38121 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38122 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38123 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38124 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38125 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38126 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38127 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38128 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38129 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38130 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38131 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38132 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38133 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38134 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38135 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38136 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38137 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38138 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38140 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38141 _XOPEN_SOURCE_EXTENDED for XPG4.
38143 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38145 * Makeconfig (localtime): Remove variable.
38146 (inst_localtime-file): Likewise.
38148 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38169 2012-05-01 Joseph Myers <joseph@codesourcery.com>
38173 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38174 comparisons to determine direction to adjust input.
38175 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38176 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38177 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38179 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38181 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38183 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38184 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38186 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38188 * math/libm-test.inc (nexttoward_test): Add more tests.
38190 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38193 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38194 in version GLIBC_2.1, not GLIBC_2.0.
38195 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38198 2012-04-30 Joseph Myers <joseph@codesourcery.com>
38201 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38203 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38204 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38205 * math/libm-test.inc (acos_test): Add more tests.
38206 (asin_test): Likewise.
38207 * sysdeps/i386/fpu/libm-test-ulps: Update.
38208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38211 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38213 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38214 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38215 * math/libm-test.inc (acos_test_tonearest): New function.
38216 (acos_test_towardzero): Likewise.
38217 (acos_test_downward): Likewise.
38218 (acos_test_upward): Likewise.
38219 (asin_test_tonearest): Likewise.
38220 (asin_test_towardzero): Likewise.
38221 (asin_test_downward): Likewise.
38222 (asin_test_upward): Likewise.
38223 (main): Call the new functions.
38224 * sysdeps/i386/fpu/libm-test-ulps: Update.
38225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38229 * math/e_exp10.c: Include <float.h>.
38230 (__ieee754_exp10): Handle underflow here rather than multiplying
38231 large negative argument by M_LN10.
38232 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38234 * math/e_exp10l.c: Include <float.h>.
38235 (__ieee754_exp10l): Handle underflow here rather than multiplying
38236 large negative argument by M_LN10l.
38237 * math/libm-test.inc (exp10_test): Add another test. Do not allow
38238 spurious overflow exception on underflow.
38240 2012-04-29 Marek Polacek <polacek@redhat.com>
38242 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38243 (__fortify_function): New macro.
38244 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38245 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38246 __extern_always_inline.
38247 * libio/bits/stdio2.h: Likewise.
38248 * libio/bits/stdio.h: Likewise.
38249 * string/string.h: Likewise.
38250 * string/bits/string3.h: Likewise.
38251 * include/stdio.h: Likewise.
38252 * stdlib/bits/stdlib.h: Likewise.
38253 * stdlib/stdlib.h: Likewise.
38254 * rt/bits/mqueue2.h: Likewise.
38255 * rt/mqueue.h: Likewise.
38256 * posix/bits/unistd.h: Likewise.
38257 * posix/unistd.h: Likewise.
38258 * io/bits/poll2.h: Likewise.
38259 * io/bits/fcntl2.h: Likewise.
38260 * io/fcntl.h: Likewise.
38261 * io/sys/poll.h: Likewise.
38262 * misc/bits/syslog.h: Likewise.
38263 * misc/bits/syslog-ldbl.h: Likewise.
38264 * misc/sys/syslog.h: Likewise.
38265 * socket/bits/socket2.h: Likewise.
38266 * socket/sys/socket.h: Likewise.
38267 * debug/tst-chk1.c: Likewise.
38268 * wcsmbs/bits/wchar2.h: Likewise.
38269 * wcsmbs/bits/wchar-ldbl.h: Likewise.
38270 * wcsmbs/wchar.h: Likewise.
38272 2012-04-29 Andreas Jaeger <aj@suse.de>
38274 * Makerules (tests): Remove enable-check-abi protection.
38275 (check-abi-warn): Remove.
38276 (check-abi-%): Remove check-abi-warn usage.
38278 * configure.in: Remove check-abi configure option.
38279 * configure: Regenerated.
38280 * config.make.in (enable-check-abi): Remove.
38282 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
38285 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38286 double functions to double *_finite functions.
38289 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38290 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38292 * stdio-common/Makefile (tests): Add tst-sprintf3.
38293 * stdio-common/tst-sprintf3.c: New file.
38295 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38296 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38298 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38300 * conform/conformtest.pl: Remove duplicate typed-constant
38303 2012-04-28 David S. Miller <davem@davemloft.net>
38305 * Makerules (%.abilist): Add vpath on sysdep_dirs.
38306 (check-abi-%): Remove AWK script prerequisite and explicit
38308 (check-abi): Rewrite to just diff the symlist with the abilist.
38309 (config-tls, config-abi-config): Delete, no longer used.
38310 (update-abi-%): Remove AWK script and explicit abilist directory.
38311 (update-abi): Rewrite to simply compare and conditionally copy the
38312 symlist and the sysdep abilist file. Remove update-abi-config
38314 * abilist/ld.abilist: Remove.
38315 * abilist/libBrokenLocale.abilist: Remove.
38316 * abilist/libanl.abilist: Remove.
38317 * abilist/libcrypt.abilist: Remove.
38318 * abilist/libdl.abilist: Remove.
38319 * abilist/librt.abilist: Remove.
38320 * abilist/libthread_db.abilist: Remove.
38321 * abilist/libutil.abilist: Remove.
38322 * scripts/extract-abilist.awk: Remove.
38323 * scripts/merge-abilist.awk: Remove.
38324 * sysdeps/generic/libcidn.abilist: New file.
38325 * sysdeps/generic/libnss_compat.abilist: New file.
38326 * sysdeps/generic/libnss_db.abilist: New file.
38327 * sysdeps/generic/libnss_dns.abilist: New file.
38328 * sysdeps/generic/libnss_files.abilist: New file.
38329 * sysdeps/generic/libnss_hesiod.abilist: New file.
38330 * sysdeps/generic/libnss_nis.abilist: New file.
38331 * sysdeps/generic/libnss_nisplus.abilist: New file.
38332 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38333 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38334 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38336 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38337 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38338 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38339 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38340 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38341 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38342 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38343 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38344 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38346 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38347 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38348 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38349 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38351 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38352 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38353 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38354 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38355 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38356 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38358 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38359 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38360 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38362 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38363 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38365 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38367 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38369 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38371 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38373 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38375 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38377 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38379 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38381 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38383 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38385 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38387 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38465 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38466 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38467 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38469 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38470 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38471 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38472 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38473 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38474 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38475 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38476 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38477 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38478 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38530 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38532 * conform/conformtest.pl: Fix typo in handling typed-constant from
38535 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38537 * README: Cut down references to pre-2.6 Linux kernels and
38538 Linuxthreads. Update lists of configurations in libc and ports
38539 and sort alphabetically. Say "or newer" with Linux kernel version
38542 * config.h.in [IS_IN_build]: Allow compiling without optimization.
38544 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38547 * math/libm-test.inc (logb_test_downward): New test to expose
38548 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38551 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38554 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38556 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38557 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38559 2012-04-26 Joseph Myers <joseph@codesourcery.com>
38561 * sysdeps/unix/i386/brk.S: Remove file.
38562 * sysdeps/unix/i386/dl-brk.S: Likewise.
38563 * sysdeps/unix/i386/pipe.S: Likewise.
38564 * sysdeps/unix/i386/sigreturn.S: Likewise.
38565 * sysdeps/unix/i386/syscall.S: Likewise.
38566 * sysdeps/unix/i386/vfork.S: Likewise.
38567 * sysdeps/unix/i386/wait.S: Likewise.
38569 * sysdeps/unix/common/tcsendbrk.c: Move to ...
38570 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38572 * configure.in (arm*-none*): Do not allow without
38573 --enable-hacker-mode.
38574 (netbsd*): Remove case setting base_os.
38575 (386bsd*): Likewise.
38576 (freebsd*): Likewise.
38579 (sunos*): Likewise.
38580 (ultrix*): Likewise.
38581 (newsos*): Likewise.
38582 (dynix*): Likewise.
38588 (minix*): Likewise.
38589 (irix4*): Likewise.
38590 (irix6*): Likewise.
38591 (solaris[2-9]*): Likewise.
38593 * configure: Regenerated.
38595 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38598 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38599 overflow or cancellation in calculating denominator.
38600 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38601 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38602 down expression to avoid unexpected rounding in newer GCCs.
38603 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38605 2012-04-26 David S. Miller <davem@davemloft.net>
38607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38608 long-double compat symbols.
38609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38623 2012-04-25 David S. Miller <davem@davemloft.net>
38625 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38626 HWCAP_* values only after the memory barriers have been defined.
38627 (atomic_full_barrier): Define.
38628 (atomic_read_barrier): Define.
38629 (atomic_write_barrier): Define.
38631 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38633 * shlib-versions: Add libgcc_s version information.
38634 * sysdeps/generic/libgcc_s.h: Remove.
38635 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38637 * sysdeps/gnu/unwind-resume.c: Likewise.
38638 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38640 2012-04-25 David S. Miller <davem@davemloft.net>
38642 * sysdeps/unix/sparc/brk.S: Delete.
38643 * sysdeps/unix/sparc/dl-brk.S: Delete.
38644 * sysdeps/unix/sparc/pipe.S: Delete.
38645 * sysdeps/unix/sparc/sysdep.S: Delete.
38646 * sysdeps/unix/sparc/sysdep.h: Delete.
38647 * sysdeps/unix/sparc/vfork.S: Delete.
38648 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38649 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38650 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38651 (ret_ERRVAL, r0, r1, MOVE): Define.
38652 (JUMPTARGET): Remove.
38653 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38654 sysdeps/unix/sparc/sysdep.h
38655 (ENTRY, END): Remove.
38656 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38658 2012-04-25 Joseph Myers <joseph@codesourcery.com>
38660 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38661 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38664 * timezone/README: Update upstream location and email address for
38666 * timezone/zdump.c: Update from tzcode 2012b.
38667 * timezone/zic.c: Likewise.
38669 * configure.in (libc_cv_as_needed): Remove test.
38670 * configure: Regenerated.
38671 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38672 conditional definition.
38673 [$(have-as-needed) != yes] (no-as-needed): Likewise.
38674 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38675 * config.make.in (have-as-needed): Remove variable.
38677 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38678 Paul Pluzhnikov <ppluzhnikov@google.com>
38680 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38683 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
38685 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38686 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38687 * sysdeps/sh/strlen.S: Likewise.
38689 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38691 * sysdeps/unix/fork.S: Remove file.
38692 * sysdeps/unix/i386/fork.S: Likewise.
38693 * sysdeps/unix/sparc/fork.S: Likewise.
38695 * sysdeps/unix/system.c: Remove file.
38696 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38698 * sysdeps/unix/getegid.S: Remove file.
38699 * sysdeps/unix/geteuid.S: Likewise.
38701 2012-04-24 Roland McGrath <roland@hack.frob.com>
38703 * scripts/check-localplt.awk: New file.
38704 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38706 * scripts/data/localplt-generic.data: Add a comment.
38708 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38709 NODE when __dir_mkfile failed.
38710 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38711 Reported by Ludovic Courtès <ludo@gnu.org>.
38713 2012-04-24 Andreas Jaeger <aj@suse.de>
38715 * Makerules (common-clean): Also remove gen-as-const-headers
38718 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38720 * Makerules (native-compile): Do not change working directory for
38721 build. Use $(OUTPUT_OPTION) in command.
38722 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38724 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38727 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38728 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38729 * math/libm-test.inc (floor_test): Add more tests.
38730 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38732 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38734 * sysdeps/unix/getdents.c: Remove file.
38735 * sysdeps/unix/sysv/getdents.c: Likewise.
38736 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38738 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38739 sysdeps/unix/mman/syscalls.list.
38741 (mprotect): Likewise.
38743 (munmap): Likewise.
38744 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38745 * sysdeps/unix/mman/syscalls.list: Remove.
38746 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38748 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38749 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38750 * configure: Regenerated.
38751 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38752 $(libgcc_s_suffix).
38753 * config.make.in (libgcc_s_suffix): Remove variable.
38755 2012-04-23 Joseph Myers <joseph@codesourcery.com>
38757 * sysdeps/unix/sysv/gethostname.c: Move to ...
38758 * sysdeps/posix/gethostname.c: ... here.
38760 * sysdeps/unix/execve.S: Remove file.
38762 * sysdeps/unix/_exit.S: Remove file.
38764 2012-04-23 Andreas Jaeger <aj@suse.de>
38767 * manual/Makefile: Remove make dist support, there's no
38768 need for a stand-alone documentation tar ball.
38769 (TEXI2DVI): Define always, it's not in Makeconfig.
38772 (edition): Removed.
38773 (glibc-doc-$(edition).tar): Removed
38777 (ETAGS): Remove, it's in Makeconfig.
38778 (move-if-change): Remove, it's in Makeconfig.
38780 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
38783 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38784 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38785 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38786 (strtod_l, strtof_l, strtold_l): Remove __wur.
38787 It is not necessarily an error to ignore strtol's return value.
38788 One can reliably look at the stored endptr to decide whether
38789 the number had valid syntax.
38791 2012-04-21 Andreas Jaeger <aj@suse.de>
38794 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38796 2012-04-21 Joseph Myers <joseph@codesourcery.com>
38798 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38799 * sysdeps/unix/sysv/Versions: Remove file.
38801 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38806 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
38809 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38810 version from __vm86.
38812 2012-04-20 Joseph Myers <joseph@codesourcery.com>
38814 * sysdeps/unix/common/lxstat.c: Remove file.
38815 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38817 * sysdeps/unix/sysv/Makefile: Remove file.
38819 * sysdeps/unix/sysv/direct.h: Remove file.
38821 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38822 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38823 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38824 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38825 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38826 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38827 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38829 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38831 * sysdeps/unix/xmknod.c: Remove file.
38832 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38834 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38836 * sysdeps/unix/sysv/i386/time.S: Remove file.
38838 * sysdeps/unix/fxstat.c: Remove file.
38839 * sysdeps/unix/xstat.c: Likewise.
38840 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38842 * sysdeps/unix/sysv/sigaction.c: Remove file.
38844 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38845 (sysdep_headers): Remove variable.
38846 [termio.h not in sysdep_headers] (generated): Likewise.
38847 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38848 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38849 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38850 * sysdeps/unix/sysv/tcflow.c: Likewise.
38851 * sysdeps/unix/sysv/tcflush.c: Likewise.
38852 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38853 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38854 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38855 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38856 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38858 * sysdeps/unix/siglist.c: Remove file.
38860 * sysdeps/unix/getppid.S: Remove file.
38862 * sysdeps/unix/mkdir.c: Remove file.
38863 * sysdeps/unix/rmdir.c: Likewise.
38865 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38867 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38869 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38870 errlist-compat value.
38872 2012-04-18 David S. Miller <davem@davemloft.net>
38874 * sysdeps/generic/memcopy.h (reg_char): Delete.
38875 * debug/strcat_chk.c: Use char, not reg_char.
38876 * debug/strcpy_chk.c: Likewise.
38877 * debug/strncat_chk.c: Likewise.
38878 * debug/strncpy_chk.c: Likewise.
38879 * string/memchr.c: Likewise.
38880 * string/memrchr.c: Likewise.
38881 * string/rawmemchr.c: Likewise.
38882 * string/strcat.c: Likewise.
38883 * string/strchr.c: Likewise.
38884 * string/strchrnul.c: Likewise.
38885 * string/strcmp.c: Likewise.
38886 * string/strcpy.c: Likewise.
38887 * string/strncat.c: Likewise.
38888 * string/strncmp.c: Likewise.
38889 * string/strncpy.c: Likewise.
38891 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38893 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38894 __builtin_memcopy is called when src and dest ranges are known to not
38897 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38899 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38900 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38901 fwd_align_merge macro call.
38902 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38903 bwd_align_merge macro call.
38904 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38906 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38908 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38909 bwd_align_merge macros.
38910 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38911 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38912 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38914 2012-04-18 David S. Miller <davem@davemloft.net>
38916 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38918 2012-04-18 Andreas Jaeger <aj@suse.de>
38921 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38922 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38923 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38925 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38926 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38927 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38929 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38930 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38931 Adjust for changed ldbl-128 files.
38933 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38934 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38935 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38937 2012-04-17 David S. Miller <davem@davemloft.net>
38939 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38941 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38943 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38944 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38945 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38946 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38947 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38948 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38950 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38953 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38954 * math/libm-test.inc: Add ilogb errno and exception tests.
38955 * math/w_ilogb.c: New file: ilogb wrapper.
38956 * math/w_ilogbf.c: New file: ilogbf wrapper.
38957 * math/w_ilogbl.c: New file: ilogbl wrapper.
38958 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38959 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38960 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38961 exception being thrown with 0.0 as argument.
38962 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38963 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38964 exception being thrown with 0.0 as argument.
38965 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38966 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38967 exception being thrown with 0.0 as argument.
38968 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38969 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38970 exception being thrown with 0.0 as argument.
38971 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38972 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38973 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38974 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38975 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38976 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38977 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38978 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38979 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38981 2012-04-17 Petr Baudis <pasky@ucw.cz>
38983 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38986 2012-04-16 Marek Polacek <polacek@redhat.com>
38988 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38990 2012-04-16 Marek Polacek <polacek@redhat.com>
38992 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38993 operands of fdivp instruction.
38995 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38997 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38998 * elf/tst-auditmod3b.c: Likewise.
38999 * elf/tst-auditmod4b.c: Likewise.
39000 * elf/tst-auditmod5b.c: Likewise.
39001 * elf/tst-auditmod6b.c: Likewise.
39002 * elf/tst-auditmod6c.c: Likewise.
39003 * elf/tst-auditmod7b.c: Likewise.
39004 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39005 * sysdeps/x86_64/preconfigure.in: Likewise.
39006 * sysdeps/x86_64/preconfigure: Regenerated.
39008 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39010 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39013 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
39015 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39016 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39018 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
39021 * locale/iso-639.def: Fix gl language name. Spotted by
39024 2012-04-12 Roland McGrath <roland@hack.frob.com>
39027 * libio/libio.h (__io_write_fn): Update comment.
39029 2012-04-12 Petr Baudis <pasky@ucw.cz>
39032 * stdio.texi (Hook Functions): The user provided writer function
39033 is not allowed to return -1.
39035 2012-04-11 David S. Miller <davem@davemloft.net>
39037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39039 2012-04-11 Mike Frysinger <vapier@gentoo.org>
39041 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39042 Add a leading slash to rtkaio.
39044 2012-04-11 Jim Meyering <meyering@redhat.com>
39047 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39048 It is not necessarily an error to ignore fwrite's return
39049 value. One can reliably use ferror to test for errors after
39052 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39054 * bits/types.h (__snseconds_t): New type.
39055 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39057 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39058 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39059 (__SNSECONDS_T_TYPE): Likewise.
39060 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39061 (__SNSECONDS_T_TYPE): Likewise.
39062 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39063 (__SNSECONDS_T_TYPE): Likewise.
39065 2012-04-10 Andreas Jaeger <aj@suse.de>
39068 * manual/time.texi (Processor Time): Return type of times is
39069 elapsed real time since an arbitrary point in the past.
39070 (CPU Time): Move CLK_TCK from here...
39071 (Processor Time): ...to here. Correct description.
39072 * manual/conf.texi (Constants for Sysconf): Correct description of
39075 2012-04-10 David S. Miller <davem@davemloft.net>
39078 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39079 where the is a gap between DT_REL(A) and DT_JMPREL.
39081 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39083 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39084 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39085 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39087 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39089 * elf/dl-support.c (_dl_inhibit_cache): New variable.
39090 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39091 (dl_main): Handle --inhibit-cache.
39092 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39094 * elf/dl-load.c (_dl_map_object): Use it.
39095 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39097 2012-04-09 Joseph Myers <joseph@codesourcery.com>
39100 * sysdeps/i386/fpu/e_powl.S (p78): New object.
39101 (__ieee754_powl): Saturate large exponents rather than testing for
39102 overflow of y*log2(x).
39103 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39104 * math/libm-test.inc (pow_test): Do not permit spurious overflow
39108 * math/s_ctan.c: Include <float.h>.
39109 (__ctan): Avoid internal overflow or cancellation in calculating
39111 * math/s_ctanf.c: Likewise.
39112 * math/s_ctanl.c: Likewise.
39113 * math/s_ctanh.c: Likewise.
39114 * math/s_ctanhf.c: Likewise.
39115 * math/s_ctanhl.c: Likewise.
39116 * math/libm-test.inc (ctan_test): Add more tests.
39117 (ctanh_test): Likewise.
39118 * sysdeps/i386/fpu/libm-test-ulps: Update.
39119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39121 2012-04-09 Andreas Jaeger <aj@suse.de>
39124 * manual/filesys.texi (Directory Entries): Mention that d_namlen
39125 is an optional BSD extension.
39128 * manual/stdio.texi (Opening Streams): Document additional fopen
39131 2012-04-09 Roland McGrath <roland@hack.frob.com>
39133 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39134 %eax without telling the compiler.
39136 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
39139 * manual/install.texi: Use sourceware.org.
39141 2012-04-09 Joseph Myers <joseph@codesourcery.com>
39144 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39145 (__ieee754_pow): Generate overflow and underflow using huge*huge
39146 and tiny*tiny rather than just returning constant infinity or zero
39147 for large exponents.
39148 * math/libm-test.inc (pow_test): Require overflow exceptions for
39149 applicable cases of large exponents.
39152 * sysdeps/i386/fpu/e_pow.S (p10): New object.
39153 (__ieee754_pow): Use iterative multiplication algorithm only for
39154 integer exponents with absolute value below 1024. Check for odd
39155 integer exponents when using algorithm for real exponents.
39156 * math/libm-test.inc (pow_test): Add more tests.
39157 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39159 2012-04-08 Joseph Myers <joseph@codesourcery.com>
39162 * math/libm-test.inc (exp_test): Do not allow overflow exception
39165 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
39168 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39169 instead of __kernel_standard_f.
39171 2012-04-08 Mike Frysinger <vapier@gentoo.org>
39173 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39174 * sysdeps/x86_64/memset_chk.S: Likewise.
39176 2012-04-08 Andreas Jaeger <aj@suse.de>
39179 * manual/startup.texi (Environment Access): Describe return value
39180 for putenv and setenv.
39183 * manual/filesys.texi (Directory Entries): Add description for
39187 * manual/filesys.texi (Directory Entries): Clarify that it's file
39188 system not operating system in the description of DT_UNKNOWN.
39191 * manual/syslog.texi (closelog): Fix reference, it's openlog.
39193 2012-04-08 Stephen Compall <s11@member.fsf.org>
39196 * manual/llio.texi (Opening and Closing Files): Add cross
39197 reference to explain mode argument.
39199 2012-04-07 Mike Frysinger <vapier@gentoo.org>
39201 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39202 * sysdeps/x86_64/memset_chk.S: Likewise.
39204 2012-04-07 David S. Miller <davem@davemloft.net>
39206 * elf/elf.h (R_SPARC_WDISP10): Define.
39207 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39209 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39210 R_SPARC_SIZE64 and R_SPARC_H34.
39212 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
39214 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39215 conditions and remove no longer applicable assertion.
39217 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39219 * bits/byteswap.h: Include <features.h>.
39220 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39221 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39223 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39225 * bits/byteswap.h (__bswap_16): Removed.
39226 Include <bits/byteswap-16.h> to get __bswap_16.
39227 * sysdeps/i386/bits/byteswap.h: Likewise.
39228 * sysdeps/s390/bits/byteswap.h: Likewise.
39229 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39230 * bits/byteswap-16.h: New file.
39231 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39232 * sysdeps/s390/bits/byteswap-16.h: Likewise.
39233 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39234 * string/Makefile (headers): Add bits/byteswap-16.h.
39236 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39239 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39241 * nss/Makefile (tests-static, tests): Add tst-nss-static.
39242 * nss/tst-nss-static.c: New.
39244 2012-04-06 Robert Millan <rmh@gnu.org>
39247 * manual/llio.texi (File Position Primitive): lseek
39248 refers to WHENCE when it really means OFFSET.
39250 2012-04-06 Andreas Jaeger <aj@suse.de>
39252 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39253 strncmp declarations.
39255 * abilist/libc.abilist: Add __poll and __ppoll.
39257 2012-04-05 David S. Miller <davem@davemloft.net>
39259 * scripts/check-local-headers.sh: Accept a host triplet in the
39260 path matched by the exclude regexp.
39262 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39264 * sysdeps/powerpc/powerpc32/dl-machine.h
39265 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39266 * sysdeps/s390/s390-32/dl-machine.h
39267 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39268 * sysdeps/sparc/sparc32/dl-machine.h
39269 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39270 * sysdeps/sparc/sparc64/dl-machine.h
39271 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39273 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39275 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39276 undefined symbol errors.
39278 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39281 2012-04-05 Michael Matz <matz@suse.de>
39284 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39286 2012-04-05 Andreas Jaeger <aj@suse.de>
39289 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39292 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39294 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39295 which ROUND is no valid rounding mode.
39297 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39299 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39301 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39303 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39305 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39306 an exception using FPU order intentionally.
39308 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39310 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39311 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39312 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39313 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39315 2012-04-05 Simon Josefsson <simon@josefsson.org>
39318 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39319 EINVAL when BUFLEN is too smal.
39321 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
39324 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39325 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39327 2012-04-03 Andreas Jaeger <aj@suse.de>
39330 * manual/setjmp.texi (System V contexts): Fix sentence.
39333 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39334 New macro for this case.
39335 [!__GNUC__] (__bswap_64): New inline function for this case.
39336 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39337 * bits/byteswap.h: Likewise.
39338 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39339 ull, guard with __GLIBC_HAVE_LONG_LONG.
39341 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39342 __GLIBC_HAVE_LONG_LONG.
39344 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39345 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39347 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39350 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39351 inptr and inend, rather than using last_ch.
39353 2012-04-02 David S. Miller <davem@davemloft.net>
39355 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39356 * stdio-common/printf-parse.h (read_int): Change return type to
39357 'int', return -1 on INT_MAX overflow.
39358 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39359 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
39360 overflows INT_MAX. Check for overflow of in-format-string precision
39361 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
39362 SIZE_MAX not INT_MAX for integer overflow test.
39363 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39364 skip the construct in the format string but do not record anything.
39365 * stdio-common/bug22.c: Adjust to test both width/prevision
39366 INT_MAX overflow as well as total length INT_MAX overflow. Check
39367 explicitly for proper errno values.
39369 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
39371 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39373 * string/test-strcmp.c [! WIDE]: Likewise.
39374 * time/tst-mktime2.c: Likewise for INT_MAX.
39375 * string/test-string.h: #include <sys/param.h> for MIN.
39377 * csu/init-first.c (__libc_init_first): Call __ctype_init.
39378 * sysdeps/i386/init-first.c (init): Likewise.
39379 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39380 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39381 * sysdeps/sh/init-first.c (init): Likewise.
39383 2012-04-01 Ulrich Drepper <drepper@gmail.com>
39385 * po/ru.po: Update from translation team.
39386 * po/vi.po: Likewise.
39388 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39390 * resolv/nss_dns/dns-host.c: Merge copyright years.
39392 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39394 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39395 Optimize memcpy with prefetch if
39396 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
39397 src, dst pointers have unequal 16 byte alignments.
39399 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39402 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39403 from a CNAME entry and return the minimum ttl for the query.
39404 (gaih_getanswer_slice): Likewise.
39406 2012-03-30 Jeff Law <law@redhat.com>
39408 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39410 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39411 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39413 * resolv/nss_dns/dns-host.c: Update copyright year.
39415 2012-03-30 Ulrich Drepper <drepper@gmail.com>
39417 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39418 requests to save a system call. Fix check that all bytes are sent.
39420 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39421 comments for sendmmsg.
39423 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39426 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39427 with only 1 character between 0x0041 and 0x01b0.
39428 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39429 * wcsmbs/tst-mbsnrtowcs.c: New file.
39431 2012-03-29 David S. Miller <davem@davemloft.net>
39433 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39434 small copies by hand.
39436 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39439 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39440 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39443 2012-03-28 David S. Miller <davem@davemloft.net>
39445 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39446 that branches into memcpy.
39447 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39448 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39449 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39450 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39451 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39453 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39454 implementation too.
39455 * sysdeps/sparc/mempcpy.S: New file.
39457 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39458 the IFUNC routine in the libc case.
39459 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39461 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39462 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39463 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39464 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39465 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39466 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39467 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39468 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39470 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39471 loop to 256 bytes instead of 64 bytes and fix test signedness.
39473 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39474 * sysdeps/sparc/sparc32/Makefile: rather than here...
39475 * sysdeps/sparc/sparc64/Makefile: and here.
39477 2012-03-28 Ulrich Drepper <drepper@gmail.com>
39479 * malloc/mallocbug.c: Avoid warnings about unused variables.
39481 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39484 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39485 in the right place. Discard and retry query if response is
39486 larger than input buffer size.
39488 2012-03-28 Joseph Myers <joseph@codesourcery.com>
39493 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39494 x for large integer exponent.
39495 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39496 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39497 sign of result as needed afterwards.
39498 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39499 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39500 result for underflowing pow the same as for overflow.
39501 (__kernel_standard_l): Handle powl overflow and underflow here
39502 rather than calling __kernel_standard.
39503 * math/libm-test.inc (pow_test): Add more tests.
39518 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39519 * sysdeps/ieee754/k_standard.c: Include <float.h>.
39520 (__kernel_standard_l): New function.
39521 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39523 * math/w_acosl.c (__acosl): Likewise.
39524 * math/w_asinl.c (__asinl): Likewise.
39525 * math/w_atan2l.c (__atan2l): Likewise.
39526 * math/w_atanhl.c (__atanhl): Likewise.
39527 * math/w_coshl.c (__coshl): Likewise.
39528 * math/w_exp10l.c (__exp10l): Likewise.
39529 * math/w_exp2l.c (__exp2l): Likewise.
39530 * math/w_fmodl.c (__fmodl): Likewise.
39531 * math/w_hypotl.c (__hypotl): Likewise.
39532 * math/w_j0l.c (__j0l, __y0l): Likewise.
39533 * math/w_j1l.c (__j1l, __y1l): Likewise.
39534 * math/w_jnl.c (__jnl, __ynl): Likewise.
39535 * math/w_lgammal.c (__lgammal): Likewise.
39536 * math/w_log10l.c (__log10l): Likewise.
39537 * math/w_log2l.c (__log2l): Likewise.
39538 * math/w_logl.c (__logl): Likewise.
39539 * math/w_powl.c (__powl): Likewise.
39540 * math/w_remainderl.c (__remainderl): Likewise.
39541 * math/w_scalbl.c (sysv_scalbl): Likewise.
39542 * math/w_sinhl.c (__sinhl): Likewise.
39543 * math/w_sqrtl.c (__sqrtl): Likewise.
39544 * math/w_tgammal.c (__tgammal): Likewise.
39545 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39546 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39547 * math/libm-test.inc (acos_test): Add more tests.
39548 (acosh_test): Likewise.
39549 (asin_test): Likewise.
39550 (atanh_test): Likewise.
39551 (exp_test): Likewise.
39552 (exp10_test): Likewise.
39553 (exp2_test): Likewise.
39554 (expm1_test): Likewise.
39555 (lgamma_test): Likewise.
39556 (log_test): Likewise.
39557 (log10_test): Likewise.
39558 (log1p_test): Likewise.
39559 (log2_test): Likewise.
39560 (pow_test): Do not allow some spurious overflow exceptions.
39561 (sqrt_test): Add more tests.
39562 (tgamma_test): Likewise.
39563 (y0_test): Likewise.
39564 (y1_test): Likewise.
39565 (yn_test): Likewise.
39567 2012-03-27 Anton Blanchard <anton@samba.org>
39569 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39571 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39572 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39573 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39575 2012-03-27 David S. Miller <davem@davemloft.net>
39577 * conform/Makefile: Run run-conformtest.sh using $(BASH).
39579 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39580 have-as-vis3 check.
39582 2012-03-27 Andreas Jaeger <aj@suse.de>
39584 * sysdeps/x86_64/elf/configure.in: Moved to ...
39585 * sysdeps/x86_64/configure.in: ... here.
39586 * sysdeps/x86_64/elf/start.S: Moved to ...
39587 * sysdeps/x86_64/start.S: ... here.
39588 * sysdeps/x86_64/elf/configure: Delete.
39590 * sysdeps/x86_64/configure.in: Merge contents from
39591 sysdeps/i386/configure.in (without i686 check).
39593 * sysdeps/i386/elf/Versions: Merge into ...
39594 * sysdeps/i386/Versions: ... this.
39595 * sysdeps/i386/elf/Versions: Delete file.
39596 * sysdeps/i386/elf/start.S: Moved to ...
39597 * sysdeps/i386/start.S: ...here.
39598 * sysdeps/i386/elf/configure.in: Merge into...
39599 * sysdeps/i386/configure.in: ...here.
39600 * sysdeps/i386/elf/configure.in: Delete file.
39601 * sysdeps/i386/elf/configure: Delete file.
39603 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39604 * debug/backtracesyms.c: ... here.
39605 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39606 * debug/backtracesymsfd.c: ... here.
39607 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39608 * sysdeps/generic/ifunc-sel.h: ... here.
39610 * sysdeps/unix/i386/start.c: Delete file.
39611 * sysdeps/unix/sparc/start.c: Delete file.
39612 * sysdeps/unix/start.c: Delete file.
39614 * sysdeps/sh/elf/configure.in: Moved to ...
39615 * sysdeps/sh/configure.in: ... here.
39616 * sysdeps/sh/elf/start.S: Moved to ...
39617 * sysdeps/sh/start.S: ... here.
39618 * sysdeps/sh/elf/configure: Delete file.
39620 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39621 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39622 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39623 * sysdeps/powerpc/powerpc64/entry.h: ... here.
39624 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39625 * sysdeps/powerpc/powerpc64/start.S: here.
39626 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39627 * sysdeps/powerpc/powerpc64/Makefile: ... this.
39628 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39629 * sysdeps/powerpc/powerpc64/configure.in: ... this.
39630 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39632 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39633 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39634 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39635 * sysdeps/powerpc/powerpc32/start.S: ... here.
39636 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39637 * sysdeps/powerpc/powerpc32/configure.in: ... this.
39638 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39640 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39641 * sysdeps/powerpc/ifunc-sel.h: ... here.
39642 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39643 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39645 * sysdeps/sparc/elf/configure.in: Moved to ...
39646 * sysdeps/sparc/configure.in: ... here.
39647 * sysdeps/sparc/elf/configure: Delete file.
39648 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39649 * sysdeps/sparc/sparc32/start.S: ... here.
39650 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39651 * sysdeps/sparc/sparc64/start.S: ... here.
39652 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39653 * sysdeps/sparc/sparc32/Makefile: ... this.
39654 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39655 * sysdeps/sparc/sparc64/Makefile: ... this.
39657 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39658 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39659 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39660 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39661 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39662 * sysdeps/s390/s390-32/setjmp.S: ... here.
39663 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39664 * sysdeps/s390/s390-32/configure.in: ... here.
39665 * sysdeps/s390/s390-32/elf/configure: Delete file.
39666 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39667 * sysdeps/s390/s390-32/start.S: ... here.
39669 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39670 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39671 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39672 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39673 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39674 * sysdeps/s390/s390-64/setjmp.S: ... here.
39675 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39676 * sysdeps/s390/s390-64/configure.in: ... here
39677 * sysdeps/s390/s390-64/elf/configure: Delete file.
39678 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39679 * sysdeps/s390/s390-64/start.S: ... here.
39680 * sysdeps/s390/s390-64/elf/configure: Delete.
39682 * configure.in: Remove support for elf directories in sysdeps.
39684 * configure: Regenerated.
39685 * sysdeps/i386/configure: Regenerated.
39686 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39687 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39688 * sysdeps/s390/s390-32/configure: Regenerated.
39689 * sysdeps/s390/s390-64/configure: Regenerated.
39690 * sysdeps/sh/configure: Regenerated.
39691 * sysdeps/sparc/configure: Regenerated.
39692 * sysdeps/x86_64/configure: Regenerated.
39694 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
39696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39698 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39699 denormal result into account.
39701 2012-03-25 Roland McGrath <roland@hack.frob.com>
39703 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39704 Reported by Allan McRae <allan@archlinux.org>.
39706 2012-03-23 Jeff Law <law@redhat.com>
39708 * nss/getnssent.c (__nss_getent): Fix typo.
39710 2012-03-23 David S. Miller <davem@davemloft.net>
39712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39714 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39716 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39717 to pad to uint64_t for each field.
39718 (dl_tls_index): Replace unsigned long with uint64_t.
39720 2012-03-23 Daniel Jacobowitz <dmj@google.com>
39721 Paul Pluzhnikov <ppluzhnikov@google.com>
39724 * grp/Makefile (otherlibs): Don't set it.
39725 * inet/Makefile (otherlibs): Likewise.
39726 * login/Makefile (otherlibs): Likewise.
39727 * nscd/Makefile (otherlibs): Likewise.
39728 * posix/Makefile (otherlibs): Likewise.
39729 * pwd/Makefile (otherlibs): Likewise.
39730 * rt/Makefile (otherlibs): Likewise.
39731 * sunrpc/Makefile (otherlibs): Likewise.
39732 * nss/Makefile (otherlibs): Likewise.
39733 Add libnss_files to routines and static-only-routines.
39734 ($(objpfx)getent): Remove rule.
39735 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39736 static-only-routines.
39738 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39741 * math/s_cexp.c: Include <float.h>.
39742 (__cexp): Handle exp result overflowing not necessarily
39743 overflowing both real and imaginary parts of result.
39744 * math/s_cexpf.c: Likewise.
39745 * math/s_cexpl.c: Likewise.
39746 * math/libm-test.inc (cexp_test): Add more tests.
39747 * sysdeps/i386/fpu/libm-test-ulps: Update.
39748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39750 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39752 * include/link.h (ELFW): New macro.
39753 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39754 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39756 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39758 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39761 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39763 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39765 (struct La_x32_retval): Likewise.
39767 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39769 * sysdeps/x86_64/preconfigure.in: New file.
39770 * sysdeps/x86_64/preconfigure: New generated file.
39772 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39775 * math/e_exp2l.c: Include <float.h>.
39776 (__ieee754_exp2l): Handle overflow and underflow cases
39777 separately. Only pass fractional part of argument to
39779 * math/libm-test.inc (exp2_test): Add more tests.
39781 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39782 negating x to take absolute value.
39783 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39785 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39786 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39788 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39789 computing low part if x was negated.
39790 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39792 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39794 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39795 la_x32_gnu_pltexit.
39796 (pltexit): Cast int_retval to ptrdiff_t.
39797 * elf/tst-auditmod3b.c: Likewise.
39798 * elf/tst-auditmod4b.c: Likewise.
39799 * elf/tst-auditmod5b.c: Likewise.
39800 * elf/tst-auditmod6b.c: Likewise.
39801 * elf/tst-auditmod6c.c: Likewise.
39802 * elf/tst-auditmod7b.c: Likewise.
39804 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39805 and x32_gnu_pltexit.
39807 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39808 __ELF_NATIVE_CLASS.
39809 (La_x32_regs): New macro.
39810 (La_x32_retval): Likewise.
39811 (la_x32_gnu_pltenter): New function prototype.
39812 (la_x32_gnu_pltexit): Likewise.
39814 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39816 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39821 * configure.in (libc_cv_cc_nofma): Check for option to disable
39822 generation of FMA instructions.
39823 * configure: Regenerate.
39824 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39825 * sysdeps/ieee754/dbl-64/Makefile: New file.
39826 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39827 Remove brandred-fma4.
39828 (CFLAGS-brandred-fma4.c): Remove.
39829 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39830 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39832 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39835 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39837 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39838 LLONG_MAX != LONG_MAX.
39839 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39840 (_fitoa_word): Likewise.
39841 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39842 LLONG_MAX != LONG_MAX.
39843 * stdio-common/_itowa.h: Include <_itoa.h>.
39844 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39845 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39846 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39847 only if not defined.
39848 (_ITOA_WORD_TYPE): Likewise.
39849 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39850 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39852 2012-03-21 David S. Miller <davem@davemloft.net>
39854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39856 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39858 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39859 of x86_64 when setting libc_cv_slibdir, libdir and
39861 * sysdeps/unix/sysv/linux/configure: Regenerated.
39863 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39865 * manual/lang.texi (Old Varargs): Remove section.
39866 (How Variadic): Update menu.
39867 (va_start): Do not mention varargs.h.
39869 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39870 Joseph Myers <joseph@codesourcery.com>
39872 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39874 * configure: Regenerated.
39876 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39878 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39879 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39882 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39885 * Makefile (files-for-dist): Remove NOTES.
39886 (NOTES): Remove rule.
39887 * README: Don't refer to NOTES.
39888 * manual/creature.texi: Don't include macros.texi.
39889 * manual/intro.texi (creature.texi): Remove comment referring to
39892 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39893 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39894 * configure: Regenerated.
39895 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39896 LIBC_TRY_CC_OPTION.
39897 (libc_cv_as_i686): Likewise.
39898 (libc_cv_cc_avx): Likewise.
39899 (libc_cv_cc_sse2avx): Likewise.
39900 (libc_cv_cc_fma4): Likewise.
39901 (libc_cv_cc_novzeroupper): Likewise.
39902 * sysdeps/i386/configure: Regenerated.
39905 * sysdeps/i386/fpu/s_cexp.S: Remove.
39906 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39907 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39908 * math/libm-test.inc (cexp_test): Add more tests.
39909 * sysdeps/i386/fpu/libm-test-ulps: Update.
39910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39912 2012-03-21 Allan McRae <allan@archlinux.org>
39914 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39916 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39919 * math/w_exp2.c: Do not include <float.h>.
39920 (o_threshold, u_threshold): Remove.
39921 (__exp2): Calculate result before checking finiteness and calling
39923 * math/w_exp2f.c: Likewise.
39924 * math/w_exp2l.c: Likewise.
39925 * math/libm-test.inc (exp2_test): Require overflow exception for
39929 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39930 range of signed 64-bit integers before using fistpll. Remove
39931 checks for whether integers fit in mantissa bits.
39932 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39933 the range of signed 32-bit integers before using fistpl. Remove
39934 checks for whether integers fit in mantissa bits.
39935 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39936 (__ieee754_powl): Test for y outside the range of signed 64-bit
39937 integers before using fistpll. Reduce 64-bit values to 63-bit
39939 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39940 divide-by-zero is raised for zero to large negative powers.
39941 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39942 (__ieee754_powl): Test for y outside the range of signed 64-bit
39943 integers before using fistpll. Reduce 64-bit values to 63-bit
39945 * math/libm-test.inc (pow_test): Add more tests.
39947 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39949 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39950 <stdio-common/_itoa.h>.
39951 * debug/segfault.c: Likewise.
39952 * elf/dl-cache.c: Likewise.
39953 * elf/dl-minimal.c: Likewise.
39954 * elf/dl-misc.c: Likewise.
39955 * elf/dl-sysdep.c: Likewise.
39956 * elf/dl-version.c: Likewise.
39957 * elf/rtld.c: Likewise.
39958 * hurd/hurdsock.c: Likewise.
39959 * hurd/lookup-retry.c: Likewise.
39960 * malloc/malloc.c: Likewise.
39961 * malloc/mtrace.c: Likewise.
39962 * nscd/nscd_getgr_r.c: Likewise.
39963 * nscd/nscd_getpw_r.c: Likewise.
39964 * nscd/nscd_getserv_r.c: Likewise.
39965 * posix/getopt_init.c: Likewise.
39966 * posix/wordexp.c: Likewise.
39967 * stdio-common/_itoa.c: Likewise.
39968 * stdio-common/printf_fphex.c: Likewise.
39969 * stdio-common/vfprintf.c: Likewise.
39970 * string/_strerror.c: Likewise.
39971 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39972 * sysdeps/i386/i686/hp-timing.h: Likewise.
39973 * sysdeps/mach/_strerror.c: Likewise.
39974 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39975 * sysdeps/mach/hurd/sethostid.c: Likewise.
39976 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39977 * sysdeps/mach/xpg-strerror.c: Likewise.
39978 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39979 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39980 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39981 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39982 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39983 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39984 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39985 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39986 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39987 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39988 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39989 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39990 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39991 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39992 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39993 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39994 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39995 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39996 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39997 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39998 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40000 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40002 * stdio-common/_itoa.h: Moved to ...
40003 * sysdeps/generic/_itoa.h: Here.
40005 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40007 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40008 instead of "_itoa.h" and "_itowa.h".
40009 * stdio-common/vfprintf.: Likewise.
40011 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40013 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40015 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40016 (__signbit): Likwise.
40017 (llrintf): Likwise.
40020 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40022 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40025 2012-03-20 Joseph Myers <joseph@codesourcery.com>
40027 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40028 OVERFLOW_EXCEPTION_OK.
40029 * math/libm-test.inc ("Philosophy"): Update comment about
40031 (OVERFLOW_EXCEPTION): Define.
40032 (OVERFLOW_EXCEPTION_OK): Likewise.
40033 (INVALID_EXCEPTION_OK): Renumber.
40034 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40035 (IGNORE_ZERO_INF_SIGN): Likewise.
40036 (test_exceptions): Handle FE_OVERFLOW.
40037 (exp10_test): Expect overflow exceptions.
40038 (exp2_test): Likewise.
40039 (expm1_test): Likewise.
40040 (nextafter_test): Likewise.
40041 (pow_test): Likewise.
40042 (scalbn_test): Likewise.
40043 (scalbln_test): Likewise.
40045 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40047 * sysdeps/x86_64/bits/atomic.h
40048 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40050 (atomic_exchange_acq): Likewise.
40051 (__arch_exchange_and_add_body): Likewise.
40052 (__arch_add_body): Likewise.
40053 (atomic_add_negative): Likewise.
40054 (atomic_add_zero): Likewise.
40056 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40058 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
40059 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40061 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40063 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40064 Check __x86_64__ instead of __WORDSIZE.
40066 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40068 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40070 2012-03-19 David S. Miller <davem@davemloft.net>
40072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40074 * sysdeps/sparc/fpu/fenv_private.h: New file.
40075 * sysdeps/sparc/fpu/math_private.h: Use it.
40076 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40078 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
40079 (libc_feholdexcept_setroundl): Remove.
40080 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40082 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40083 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40085 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40087 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40088 int64_t instead of long int.
40089 (INSERT_WORDS64): Likwise.
40091 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40093 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40094 _Unwind_GetCFA return to _Unwind_Ptr first.
40096 2012-03-19 Joseph Myers <joseph@codesourcery.com>
40099 * math/s_clog.c: Include <float.h>.
40100 (__clog): Scale large or subnormal inputs.
40101 * math/s_clogf.c: Likewise.
40102 * math/s_clogl.c: Likewise.
40103 * math/s_clog10.c: Include <float.h>.
40104 (M_LOG10_2): Define.
40105 (__clog10): Scale large or subnormal inputs.
40106 * math/s_clog10f.c: Likewise.
40107 * math/s_clog10l.c: Likewise.
40108 * math/libm-test.inc (clog_test): Add more tests.
40109 (clog10_test): Likewise.
40110 * sysdeps/i386/fpu/libm-test-ulps: Update.
40111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40114 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40116 * math/libm-test.inc (atan2_test): Add another test.
40118 * Makerules (common-objdir-compile): Remove.
40119 * sysdeps/unix/Makefile (config-generated): Do not add
40120 $(unix-generated) to variable.
40121 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40122 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40124 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40126 [generic bits/local_lim.h] (before-compile): Do not append to
40128 [generic bits/local_lim.h] (common-generated): Likewise.
40129 [generic sys/param.h] (before-compile): Do not append to variable.
40130 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40131 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40132 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40133 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40135 [generic sys/param.h] (sys/param.h-includes): Remove variable.
40136 [generic sys/param.h] (sys/param.h-includes): Remove rule.
40137 [generic sys/param.h] ($(addprefix
40138 $(common-objpfx),$(sys/param.h-includes))): Likewise.
40139 [generic sys/param.h] (common-generated): Do not append to
40141 [generic sys/param.h] (sysdep_headers): Likewise.
40142 [generic bits/errno.h] (before-compile): Do not append to
40144 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40146 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40147 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40148 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40149 [generic bits/errno.h] (common-generated): Do not append to
40151 [generic bits/ioctls.h] (before-compile): Do not append to
40153 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40155 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40156 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40157 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40159 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40160 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40161 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40162 [generic bits/ioctls.h] (common-generated): Do not append to
40164 [generic sys/syscall.h] (syscall.h): Remove variable.
40165 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40167 [generic sys/syscall.h] (before-compile): Do not append to
40169 [generic sys/syscall.h] (common-generated): Likewise.
40170 * sysdeps/unix/errnos-tmpl.c: Remove file.
40171 * sysdeps/unix/errnos.awk: Likewise.
40172 * sysdeps/unix/ioctls-tmpl.c: Likewise.
40173 * sysdeps/unix/ioctls.awk: Likewise.
40174 * sysdeps/unix/mk-local_lim.c: Likewise.
40175 * sysdeps/unix/snarf-ioctls: Likewise.
40177 2012-03-19 Richard Henderson <rth@twiddle.net>
40179 * sysdeps/i386/fpu/fenv_private.h: New file.
40180 * sysdeps/i386/fpu/math_private.h: Use it.
40181 (math_opt_barrier, math_force_eval): Remove.
40182 (libc_feholdexcept_setround_53bit): Remove.
40183 (libc_feupdateenv_53bit): Remove.
40184 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40185 (math_opt_barrier, math_force_eval): Remove.
40186 (libc_feholdexcept): Remove.
40187 (libc_feholdexcept_setround): Remove.
40188 (libc_fetestexcept, libc_fesetenv): Remove.
40189 (libc_feupdateenv_test): Remove.
40190 (libc_feupdateenv, libc_feholdsetround): Remove.
40191 (libc_feresetround): Remove.
40193 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40194 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40196 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40197 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40198 (libc_feupdateenv_testl): New.
40199 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40200 (libc_feupdateenv_testf): New.
40201 (libc_feupdateenv): Use libc_feupdateenv_test.
40202 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40203 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40205 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40206 (libc_feholdsetroundf, libc_feholdsetroundl): New.
40207 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40208 (libc_feresetround_noex): New.
40209 (libc_feresetround_noexf): New.
40210 (libc_feresetround_noexl): New.
40211 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40212 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40213 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40214 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40216 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40217 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40219 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40220 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40221 SET_RESTORE_ROUND_NOEX.
40222 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40223 SET_RESTORE_ROUND_NOEXF.
40224 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40225 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40226 (libc_feholdsetroundf): New.
40227 (libc_feresetround, libc_feresetroundf): New.
40229 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40230 (libc_feholdexcept_setround_53bit): Convert from macro to function.
40231 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
40233 * sysdeps/generic/math_private.h: Include <fenv.h>.
40234 (default_libc_feholdexcept): New.
40235 (default_libc_feholdexcept_setround): New.
40236 (default_libc_fesetenv, default_libc_feupdateenv): New.
40237 (libc_feholdexcept): Only define if undefined.
40238 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40239 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40240 (libc_feholdexcept_setroundl): Likewise.
40241 (libc_feholdexcept_setround_53bit): Likewise.
40242 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40243 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40244 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40245 (libc_feupdateenv_53bit): Likewise.
40246 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40247 (libc_feholdexcept): Convert from macro to inline function.
40248 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40249 (libc_fesetenv, libc_feupdateenv): Likewise.
40251 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40252 not previously defined.
40253 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40254 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40255 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40256 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40257 * sysdeps/ieee754/flt-32/math_private.h: New file.
40258 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40259 math_private.h below SET_FLOAT_WORD.
40260 (__isnan, __isinf_ns, __finite): Remove.
40261 (__isnanf, __isinf_nsf, __finitef): Remove.
40263 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
40265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40267 2012-03-17 David S. Miller <davem@davemloft.net>
40270 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40273 2012-03-16 David S. Miller <davem@davemloft.net>
40275 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40279 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40281 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40282 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40283 sysdep_routines when subdir is sysvipc.
40284 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40285 __getshmlba helper.
40287 * sysdeps/sparc/fpu/libm-test/ulps: Update.
40289 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40291 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40294 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40296 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40297 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40298 (__lround): Renamed to ...
40299 (__llround): This. Replace long int with long long int.
40300 Define lround functions as aliases of llround functions.
40301 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40303 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40305 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40306 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
40307 adresses to uintptr_t. Replace "long int" and "unsigned long
40308 int" with "greg_t" on va_arg.
40310 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40312 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40313 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40315 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40316 Move e_machine check before EI_CLASS check. Handle x32
40317 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40318 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40319 SKIP_EM_IA_64 and include
40320 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40322 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40323 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40324 (add_system_dir): New macro.
40326 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40327 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40329 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40340 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40342 * math/w_j0f.c (j0f): Likewise.
40344 * math/w_j0l.c (__j0l): Likewise.
40346 * math/w_j1.c (j1): Likewise.
40348 * math/w_j1f.c (j1f): Likewise.
40350 * math/w_j1l.c (__j1l): Likewise.
40352 * math/w_jn.c (jn): Likewise.
40354 * math/w_jnf.c (jnf): Likewise.
40356 * math/w_jnl.c (__jnl): Likewise.
40358 * math/libm-test.inc (j0_test): Add more tests.
40359 (j1_test): Likewise.
40360 (jn_test): Likewise. Add trailing semicolon to existing test.
40361 (y0_test): Likewise.
40362 (y1_test): Likewise.
40363 * sysdeps/i386/fpu/libm-test-ulps: Update.
40364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40368 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40369 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40370 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40371 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40372 (__tanl): Set errno for infinite argument.
40373 * sysdeps/i386/fpu/mptan.c: Remove.
40374 * sysdeps/i386/fpu/s_tan.S: Likewise.
40375 * sysdeps/i386/fpu/s_tanl.S: Likewise.
40376 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40377 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40378 * math/libm-test.inc (tan_test): Add more tests and enable more
40379 tests for double and long double.
40380 * sysdeps/i386/fpu/libm-test-ulps: Update.
40381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40383 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
40385 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40386 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40388 2012-03-16 Roland McGrath <roland@hack.frob.com>
40390 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40391 * configure.in: Use it for both main tree and add-ons.
40392 * configure: Regenerated.
40394 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40396 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40398 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40400 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40404 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40405 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40406 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40407 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40408 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40410 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40411 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40412 != 0 for prec == 2.
40413 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40414 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40415 * sysdeps/i386/fpu/s_cosl.S: Likewise.
40416 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40417 * sysdeps/i386/fpu/s_sinl.S: Likewise.
40418 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40419 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40420 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40421 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40422 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40423 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40424 * math/libm-test.inc (cos_test): Add more tests and enable more
40425 tests for long double.
40426 (sin_test): Likewise.
40427 (sincos_test): Likewise.
40428 * sysdeps/i386/fpu/libm-test-ulps: Update.
40429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40431 2012-03-16 David S. Miller <davem@davemloft.net>
40433 * sysdeps/sparc/fpu/math_private.h: New file.
40435 2012-03-15 David S. Miller <davem@davemloft.net>
40437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40446 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40447 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40451 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40452 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40454 * sysdeps/sparc/sparc-ifunc.h: New file.
40455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40479 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40480 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40481 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40482 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40483 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40484 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40487 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40489 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40491 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40492 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40493 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40494 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40495 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40496 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40497 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40498 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40500 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40502 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40506 2012-03-15 Andreas Jaeger <aj@suse.de>
40509 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40510 ieee754/flt-32 implementation for sin, cos and sincos.
40511 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40512 * sysdeps/i386/fpu/s_cosf.S: Likewise.
40513 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40514 * sysdeps/i386/fpu/s_sinf.S: Likewise.
40515 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40516 ieee754/flt-32 implementation for tan.
40518 * math/libm-test.inc (cos_test): Enable some large input tests for
40520 (sin_test): Likewise.
40521 (sincos_test): Likewise.
40522 (tan_test): Add tests for large input.
40524 * sysdeps/i386/fpu/libm-test-ulps: Update.
40526 2012-03-15 Andreas Jaeger <aj@suse.de>
40529 * math/libm-test.inc (cos_test): Add more test cases.
40530 (sin_test): Likewise.
40531 (sincos_test): Likewise.
40533 2012-03-15 Andreas Jaeger <aj@suse.de>
40536 * math/libm-test.inc (cos_test): Add a test case for large input
40538 (sin_test): Likewise.
40539 (sincos_test): Likewise.
40541 2012-03-15 Andreas Jaeger <aj@suse.de>
40542 Joseph Myers <joseph@codesourcery.com>
40545 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40546 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40547 * sysdeps/i386/fpu/branred.c: Likewise.
40548 * sysdeps/i386/fpu/dosincos.c: Likewise.
40549 * sysdeps/i386/fpu/mpa.c: Likewise.
40550 * sysdeps/i386/fpu/s_cos.S: Likewise.
40551 * sysdeps/i386/fpu/s_sin.S: Likewise.
40552 * sysdeps/i386/fpu/s_sincos.S: Likewise.
40553 * sysdeps/i386/fpu/sincos32.c: Likewise.
40555 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40557 (libc_feupdateenv_53bit): Define.
40558 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40560 (libc_feupdateenv_53bit): Define.
40562 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40563 53 bit (without extend i386 double precision).
40565 * math/libm-test.inc (sincos_test): Add tests for large input.
40569 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40571 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40575 2012-03-15 David S. Miller <davem@davemloft.net>
40577 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40578 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40579 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40580 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40604 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40605 fmin/fmax sysdep routines.
40606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40608 2012-03-14 David S. Miller <davem@davemloft.net>
40610 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40612 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40613 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40614 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40615 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40616 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40617 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40618 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40619 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40620 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40621 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40622 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40623 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40624 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40625 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40630 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40631 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40632 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40633 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40634 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40635 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40636 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40637 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40638 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40682 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40687 * sysdeps/sparc/configure.in: New file.
40688 * sysdeps/sparc/configure: Generate.
40689 * configure.in (libc_cv_sparc_as_vis3): Substitute.
40690 * configure: Regenerate.
40691 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40692 * config.make.in (have-as-vis3): New.
40693 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40694 available use -Av9d instead of -Av9a.
40695 * sysdeps/sparc/sparc64/Makefile: Likewise.
40696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40705 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40706 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40707 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40708 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40709 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40711 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40712 fzeros/fnegs to load 0x80000000 into a float register instead of
40714 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40716 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40718 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40720 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40721 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40722 ($(inst_includedir)/bits/syscall.h): Remove rule.
40723 ($(objpfx)bits/syscall.d): Include instead of
40724 $(objpfx)syscall-list.d.
40725 (generated): Change syscall-list.h and syscall-list.d to
40726 bits/syscall.h and bits/syscall.d.
40728 2012-03-14 Roland McGrath <roland@hack.frob.com>
40731 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40733 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40736 * math/s_csqrt.c: Include <float.h>.
40737 (__csqrt): Scale large or subnormal inputs.
40738 * math/s_csqrtf.c: Likewise.
40739 * math/s_csqrtl.c: Likewise.
40740 * math/libm-test.inc (csqrt_test): Add more tests.
40741 * sysdeps/i386/fpu/libm-test-ulps: Update.
40742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40745 * math/libm-test.inc (hypot_test): Add more tests.
40747 2012-03-13 David S. Miller <davem@davemloft.net>
40750 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40751 double-precision for the calculation instead of scaling.
40753 2012-03-13 Joseph Myers <joseph@codesourcery.com>
40755 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40756 manipulate bits before adding and subtracting TWO52[sx].
40757 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40758 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40760 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40762 2012-03-13 David S. Miller <davem@davemloft.net>
40764 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40765 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40766 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40767 rtld-global-offsets.h
40768 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40770 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40773 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40775 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40776 'err' in the ifdef scope in which it is actually used.
40778 * nss/nss_db/db-init.c: Include string.h
40780 2012-03-12 David S. Miller <davem@davemloft.net>
40782 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40783 masking out of the most significant byte of random value used.
40784 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40785 Fix coding style in previous change.
40787 * sysdeps/unix/sysv/linux/kernel-features.h
40788 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40789 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40791 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40794 2012-03-11 David S. Miller <davem@davemloft.net>
40796 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40797 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40798 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40799 for 'resultvar' otherwise things get truncated on 64-bit.
40801 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40802 Fix masking out of the most significant byte of random value used.
40804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40806 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40810 2012-03-09 David S. Miller <davem@davemloft.net>
40812 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40813 variables with appropriate CPP guards.
40814 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40815 from the frame pointer, not the stack pointer. Correct layout
40816 comments. Fix test on resulting framesize and the management of
40817 the outregs buffer for pltexit. Preserve floating point return
40818 values across _dl_call_pltexit call.
40819 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40820 framesize and the management of the outregs buffer for pltexit.
40821 Preserve floating point return values across _dl_call_pltexit
40823 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40824 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40825 (la_sparc64_gnu_pltexit): New functions.
40826 (print_exit): Fix format string for return register value.
40828 2012-03-10 Joseph Myers <joseph@codesourcery.com>
40830 * sunrpc/Makefile (others): Add rpcgen.
40831 ($(objpfx)rpcgen): Remove special build rule and dependency on
40833 * sunrpc/rpcgen.c: New file.
40835 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40838 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40839 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40840 * sysdeps/i386/crti.S: Likewise.
40841 * sysdeps/i386/crtn.S: Likewise.
40842 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40843 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40844 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40845 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40846 * sysdeps/sh/crti.S: Likewise.
40847 * sysdeps/sh/crtn.S: Likewise.
40848 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40851 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40853 * locale/programs/locfile-kw.gperf: Likewise.
40854 * locale/programs/charmap-kw.h: Regenerated.
40855 * locale/programs/locfile-kw.h: Likewise.
40858 * intl/plural.y: Replace FSF snail mail address with URL.
40859 * intl/plural.c: Regenerated.
40861 2012-03-09 Richard Henderson <rth@twiddle.net>
40863 * include/math_private.h: Remove file.
40864 * math/math_private.h: Move file ...
40865 * sysdeps/generic/math_private.h: ... here.
40867 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40868 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40869 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40871 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40872 and <math_private.h>.
40873 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40874 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40875 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40876 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40877 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40878 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40879 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40880 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40881 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40882 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40883 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40884 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40885 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40886 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40887 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40888 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40889 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40890 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40891 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40892 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40893 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40894 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40895 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40896 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40897 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40898 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40899 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40900 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40901 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40902 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40903 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40904 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40905 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40906 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40907 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40908 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40909 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40910 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40911 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40912 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40913 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40914 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40915 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40916 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40917 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40918 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40919 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40920 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40921 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40922 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40923 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40924 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40925 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40926 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40927 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40928 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40929 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40930 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40931 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40932 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40933 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40934 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40935 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40936 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40937 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40938 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40939 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40940 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40941 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40942 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40943 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40944 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40945 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40946 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40947 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40948 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40949 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40950 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40951 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40952 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40953 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40954 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40955 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40956 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40957 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40958 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40959 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40960 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40961 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40962 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40963 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40964 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40965 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40966 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40967 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40968 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40969 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40970 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40971 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40972 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40973 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40974 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40975 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40976 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40977 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40978 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40979 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40980 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40981 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40982 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40983 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40984 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40985 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40986 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40987 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40988 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40989 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40990 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40991 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40992 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40993 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40994 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40995 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40996 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40997 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40998 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40999 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41000 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41001 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41002 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41003 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41004 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41005 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41006 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41007 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41008 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41009 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41010 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41011 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41012 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41013 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41014 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41015 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41016 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41017 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41018 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41019 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41020 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41021 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41022 * sysdeps/ieee754/k_standard.c: Likewise.
41023 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41024 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41025 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41026 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41027 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41028 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41029 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41030 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41031 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41032 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41033 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41034 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41035 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41036 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41037 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41038 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41039 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41040 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41041 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41042 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41043 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41044 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41045 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41046 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41047 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41048 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41049 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41050 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41051 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41052 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41053 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41054 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41055 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41056 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41057 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41058 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41059 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41060 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41061 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41062 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41063 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41064 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41065 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41066 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41067 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41068 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41069 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41070 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41071 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41072 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41073 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41074 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41075 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41076 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41077 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41078 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41079 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41080 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41081 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41082 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41083 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41084 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41085 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41086 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41087 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41088 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41089 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41090 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41091 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41092 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41093 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41094 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41095 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41096 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41097 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41098 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41099 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41100 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41101 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41102 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41103 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41104 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41105 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41106 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41107 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41108 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41109 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41110 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41111 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41112 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41113 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41114 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41115 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41116 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41117 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41118 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41119 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41120 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41121 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41122 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41123 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41124 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41125 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41126 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41127 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41128 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41129 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41130 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41131 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41132 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41133 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41134 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41135 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41136 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41137 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41138 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41139 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41140 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41141 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41142 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41143 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41144 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41145 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41146 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41147 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41148 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41149 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41150 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41151 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41152 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41153 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41154 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41155 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41156 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41157 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41158 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41159 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41160 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41161 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41162 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41163 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41164 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41165 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41166 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41167 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41168 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41169 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41170 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41171 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41172 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41173 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41174 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41175 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41176 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41177 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41178 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41179 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41180 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41181 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41182 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41183 * sysdeps/ieee754/s_lib_version.c: Likewise.
41184 * sysdeps/ieee754/s_matherr.c: Likewise.
41185 * sysdeps/ieee754/s_signgam.c: Likewise.
41186 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41187 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41188 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41189 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41190 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41191 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41192 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41193 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41194 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41195 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41196 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41197 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41198 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41199 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41200 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41201 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41202 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41203 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41204 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41205 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41206 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41208 2012-03-09 Joseph Myers <joseph@codesourcery.com>
41210 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41211 * sunrpc/rpc_main.c: Likewise.
41212 * sunrpc/rpc_svcout.c: Likewise.
41214 2012-03-09 David S. Miller <davem@davemloft.net>
41216 * include/math_private.h: New file.
41218 2012-03-09 Joseph Myers <joseph@codesourcery.com>
41220 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41221 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41222 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41223 from <bits/socket_type.h>.
41224 (enum __socket_type): Don't define here.
41225 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41226 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41227 bits/socket_type.h.
41230 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41231 checking __USE_GNU.
41233 * Makerules ($(inst_includedir)/%.h): New rule.
41234 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41235 (install-others): Remove variable setting.
41236 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41238 2012-03-08 Richard Henderson <rth@twiddle.net>
41240 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41241 from macro to inline function; merge with the
41242 !__LIBC_INTERNAL_MATH_INLINES version.
41243 (__ieee754_sqrtf): Likewise.
41245 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41246 to inline function.
41247 (__rintf, __floor, __floorf): Likewise.
41249 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41250 macro to inline function.
41251 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41253 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41254 not <math/math_private.h>.
41256 2012-03-08 David S. Miller <davem@davemloft.net>
41258 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41260 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41262 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
41264 * resolv/gai_misc.c (handle_requests): Fix struct timespec
41266 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41267 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41269 2012-03-08 Ulrich Drepper <drepper@gmail.com>
41271 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
41272 be defined individually, they must be defined as a block. Define
41273 S for printing a string instead of hidint the different by using a
41274 macro for adding the 'l'.
41275 * stdio-common/tst-fphex-wide.c: Adjust.
41277 2012-03-07 Marek Polacek <polacek@redhat.com>
41279 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41281 2012-03-08 Marek Polacek <polacek@redhat.com>
41284 * stdio-common/Makefile (tests): Add tst-fphex-wide.
41285 * stdio-common/tst-fphex.c: Define a few macros to make the
41286 test reusable. Use them.
41287 * stdio-common/tst-fphex-wide.c: New file.
41289 2012-03-08 Joseph Myers <joseph@codesourcery.com>
41292 * manual/macros.texi (gnusystems): New macro.
41293 (nongnusystems): Likewise.
41294 (gnulinuxhurdsystems): Likewise.
41295 (gnuhurdsystems): Likewise..
41296 (gnulinuxsystems): Likewise.
41297 * manual/charset.texi: Use new macros or @theglibc{} to refer to
41298 variants of the GNU system, not "GNU system".
41299 * manual/conf.texi: Likewise.
41300 * manual/errno.texi: Likewise. Update example of errno macro
41302 * manual/filesys.texi: Likewise.
41303 (getumask): Document as specific to GNU/Hurd.
41304 * manual/install.texi: Likewise. Reword some references to
41306 * manual/intro.texi: Likewise.
41307 * manual/io.texi: Likewise.
41308 (File Name Portability): Detail which constraints are inapplicable
41309 to all GNU systems and which are only inapplicable to GNU/Hurd.
41310 * manual/job.texi: Likewise.
41311 * manual/llio.texi: Likewise.
41312 (O_NOCTTY): Document as present on GNU/Linux.
41313 * manual/maint.texi: Likewise.
41314 * manual/memory.texi: Likewise.
41315 * manual/pattern.texi: Likewise.
41316 * manual/pipe.texi: Likewise.
41317 * manual/process.texi: Likewise.
41318 * manual/resource.texi: Likewise.
41319 (RUSAGE_CHILDREN): Remove statement about specifying a particular
41321 * manual/setjmp.texi: Likewise.
41322 * manual/signal.texi: Likewise.
41323 * manual/startup.texi: Likewise.
41324 * manual/stdio.texi: Likewise.
41325 * manual/terminal.texi: Likewise.
41326 (ONLCR): Document as POSIX.
41327 (OXTABS): Document availability on GNU/Linux as XTABS.
41328 (ONOEOT): Document availability separately from other bits.
41329 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41330 * manual/time.texi: Likewise.
41331 * manual/users.texi: Likewise.
41332 * INSTALL: Regenerated.
41333 * sysdeps/gnu/errlist.c: Regenerated.
41335 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41336 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41337 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
41339 * configure: Regenerated.
41341 2012-03-07 Joseph Myers <joseph@codesourcery.com>
41343 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41344 default includes instead of AC_HEADER_CHECK.
41345 * sysdeps/i386/configure: Regenerated.
41348 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41349 * math/s_cacoshf.c (__cacoshf): Likewise.
41350 * math/s_cacoshl.c (__cacoshl): Likewise.
41351 * math/s_casinh.c (__casinh): Set signs of result from argument.
41352 * math/s_casinhf.c (__casinhf): Likewise.
41353 * math/s_casinhl.c (__casinhl): Likewise.
41354 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41355 (casinh_test): Add more tests.
41356 * sysdeps/i386/fpu/libm-test-ulps: Update.
41357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41359 2012-03-07 Ulrich Drepper <drepper@gmail.com>
41361 * po/zh_TW.po: Update from translation team.
41363 * login/Makefile (distribute): Remove variable.
41364 * catgets/Makefile: Likewise.
41365 * mach/Makefile: Likewise.
41366 * malloc/Makefile: Likewise.
41367 * misc/Makefile: Likewise.
41368 * iconv/Makefile: Likewise.
41369 * nscd/Makefile: Likewise.
41370 * hurd/Makefile: Likewise.
41371 * manual/Makefile: Likewise.
41372 * locale/Makefile: Likewise.
41373 * intl/Makefile: Likewise.
41374 * conform/Makefile: Likewise.
41375 * nss/Makefile: Likewise.
41376 * time/Makefile: Likewise.
41377 * soft-fp/Makefile: Likewise.
41378 * dirent/Makefile: Likewise.
41379 * gmon/Makefile: Likewise.
41380 * po/Makefile: Likewise.
41381 * rt/Makefile: Likewise.
41382 * socket/Makefile: Likewise.
41383 * math/Makefile: Likewise.
41384 * signal/Makefile: Likewise.
41385 * debug/Makefile: Likewise.
41386 * elf/Makefile: Likewise.
41387 * timezone/Makefile: Likewise.
41388 * stdlib/Makefile: Likewise.
41389 * iconvdata/Makefile: Likewise.
41390 * sunrpc/Makefile: Likewise.
41391 * io/Makefile: Likewise.
41392 * argp/Makefile: Likewise.
41393 * inet/Makefile: Likewise.
41394 * hesiod/Makefile: Likewise.
41395 * grp/Makefile: Likewise.
41396 * csu/Makefile: Likewise.
41397 * wctype/Makefile: Likewise.
41398 * crypt/Makefile: Likewise.
41399 * libio/Makefile: Likewise.
41400 * string/Makefile: Likewise.
41401 * nis/Makefile: Likewise.
41402 * resolv/Makefile: Likewise.
41403 * stdio-common/Makefile: Likewise.
41404 * wcsmbs/Makefile: Likewise.
41405 * dlfcn/Makefile: Likewise.
41406 * posix/Makefile: Likewise.
41409 * timezone/Makefile: Don't install timezone files, just the programs
41412 2012-03-06 Ulrich Drepper <drepper@gmail.com>
41414 * nss/databases.def: Add missing gshadow entry.
41416 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
41418 2012-03-06 Marek Polacek <polacek@redhat.com>
41421 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41422 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41423 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41424 * stdio-common/tst-long-dbl-fphex.c: New file.
41426 2012-03-06 David S. Miller <davem@davemloft.net>
41428 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41429 (set_obp_int): New function.
41430 (get_obp_int): New function.
41431 (__get_clockfreq_via_dev_openprom): Likewise.
41432 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41433 Avoid unused variable warnings on 'val' and use builtin_expect.
41434 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41436 (INLINE_CLONE_SYSCALL): Likewise.
41438 2012-03-05 David S. Miller <davem@davemloft.net>
41440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41442 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
41444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41446 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41447 only for |x| >= 40.
41448 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41450 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
41452 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41453 Replace gettimeofday with __vdso_gettimeofday.
41455 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41456 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41457 __vdso_clock_gettime and __vdso_getcpu.
41459 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41460 time with __vdso_time.
41462 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41464 * manual/lang.texi (size_t): Note types to which size_t may be
41465 equivalent with the GNU C Library, but do not describe when
41466 differences between them are significant.
41468 2012-03-05 Andreas Jaeger <aj@suse.de>
41470 * sysdeps/i386/fpu/libm-test-ulps: Update.
41472 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41475 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41476 (__ieee754_pow): Save and restore rounding mode and use
41477 round-to-nearest for main computations.
41478 * math/libm-test.inc (pow_test_tonearest): New function.
41479 (pow_test_towardzero): Likewise.
41480 (pow_test_downward): Likewise.
41481 (pow_test_upward): Likewise.
41482 (main): Call the new functions.
41483 * sysdeps/i386/fpu/libm-test-ulps: Update.
41484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41487 * math/libm-test.inc (cosh_test_tonearest): New function.
41488 (cosh_test_towardzero): Likewise.
41489 (cosh_test_downward): Likewise.
41490 (cosh_test_upward): Likewise.
41491 (sinh_test_tonearest): Likewise.
41492 (sinh_test_towardzero): Likewise.
41493 (sinh_test_downward): Likewise.
41494 (sinh_test_upward): Likewise.
41495 (main): Call the new functions.
41496 * sysdeps/i386/fpu/libm-test-ulps: Update.
41497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41499 2012-03-05 Tom de Vries <tom@codesourcery.com>
41501 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41502 default stack guard is set in last bytes.
41503 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41505 2012-03-05 Kees Cook <keescook@chromium.org>
41507 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41510 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41511 possibly allocate from heap instead of stack.
41512 * stdio-common/bug-vfprintf-nargs.c: New file.
41513 * stdio-common/Makefile (tests): Add nargs overflow test.
41515 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
41517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41519 2012-03-03 Marek Polacek <polacek@redhat.com>
41521 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41522 * math/math_private.h: Likewise.
41523 * stdlib/tst-strtod.c: Likewise.
41524 * sysdeps/i386/i486/bits/atomic.h: Likewise.
41525 * sysdeps/x86_64/bits/atomic.h: Likewise.
41527 2012-03-02 David S. Miller <davem@davemloft.net>
41529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41533 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41534 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41535 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41536 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41538 2012-03-02 Roland McGrath <roland@hack.frob.com>
41541 * manual/examples/README: New file, says the example source files
41542 can be used under GPL>=2.
41543 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41544 line containing just "*/".
41545 * manual/examples/add.c: Add copyright header (GPL>=2).
41546 * manual/examples/argp-ex1.c: Likewise.
41547 * manual/examples/argp-ex2.c: Likewise.
41548 * manual/examples/argp-ex3.c: Likewise.
41549 * manual/examples/argp-ex4.c: Likewise.
41550 * manual/examples/atexit.c: Likewise.
41551 * manual/examples/db.c: Likewise.
41552 * manual/examples/dir.c: Likewise.
41553 * manual/examples/dir2.c: Likewise.
41554 * manual/examples/execinfo.c: Likewise.
41555 * manual/examples/filecli.c: Likewise.
41556 * manual/examples/filesrv.c: Likewise.
41557 * manual/examples/fmtmsgexpl.c: Likewise.
41558 * manual/examples/genpass.c: Likewise.
41559 * manual/examples/inetcli.c: Likewise.
41560 * manual/examples/inetsrv.c: Likewise.
41561 * manual/examples/isockad.c: Likewise.
41562 * manual/examples/longopt.c: Likewise.
41563 * manual/examples/memopen.c: Likewise.
41564 * manual/examples/memstrm.c: Likewise.
41565 * manual/examples/mkfsock.c: Likewise.
41566 * manual/examples/mkisock.c: Likewise.
41567 * manual/examples/mygetpass.c: Likewise.
41568 * manual/examples/pipe.c: Likewise.
41569 * manual/examples/popen.c: Likewise.
41570 * manual/examples/rprintf.c: Likewise.
41571 * manual/examples/search.c: Likewise.
41572 * manual/examples/select.c: Likewise.
41573 * manual/examples/setjmp.c: Likewise.
41574 * manual/examples/sigh1.c: Likewise.
41575 * manual/examples/sigusr.c: Likewise.
41576 * manual/examples/stpcpy.c: Likewise.
41577 * manual/examples/strdupa.c: Likewise.
41578 * manual/examples/strftim.c: Likewise.
41579 * manual/examples/strncat.c: Likewise.
41580 * manual/examples/subopt.c: Likewise.
41581 * manual/examples/swapcontext.c: Likewise.
41582 * manual/examples/termios.c: Likewise.
41583 * manual/examples/testopt.c: Likewise.
41584 * manual/examples/testpass.c: Likewise.
41585 * manual/examples/timeval_subtract.c: Likewise.
41588 * manual/time.texi (Elapsed Time): Move timeval_subtract example
41590 * manual/timeval_subtract.c.texi: ... here, new file.
41592 2012-03-02 David S. Miller <davem@davemloft.net>
41594 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41596 2012-03-02 Joseph Myers <joseph@codesourcery.com>
41599 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41600 (__sin): Save and restore rounding mode and use round-to-nearest
41601 for all computations.
41602 (__cos): Save and restore rounding mode and use round-to-nearest
41603 for all computations.
41604 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41606 (tan): Save and restore rounding mode and use round-to-nearest for
41608 * math/libm-test.inc (cos_test_tonearest): New function.
41609 (cos_test_towardzero): Likewise.
41610 (cos_test_downward): Likewise.
41611 (cos_test_upward): Likewise.
41612 (sin_test_tonearest): Likewise.
41613 (sin_test_towardzero): Likewise.
41614 (sin_test_downward): Likewise.
41615 (sin_test_upward): Likewise.
41616 (tan_test_tonearest): Likewise.
41617 (tan_test_towardzero): Likewise.
41618 (tan_test_downward): Likewise.
41619 (tan_test_upward): Likewise.
41620 (main): Call the new functions.
41621 * sysdeps/i386/fpu/libm-test-ulps: Update.
41622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41625 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41626 small n, then large n, before computing and testing k+n.
41627 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41628 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41630 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41632 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41633 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41634 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41635 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41636 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41637 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41638 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41639 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41640 * math/libm-test.inc (scalbn_test): Add more tests.
41641 (scalbln_test): Likewise.
41643 * manual/filesys.texi (mode_t): Describe constraints on size and
41644 signedness, not exact equivalence to a particular type.
41646 (ino64_t): Likewise.
41648 (nlink_t): Likewise.
41649 (blkcnt_t): Likewise.
41650 (blkcnt64_t): Likewise.
41651 * manual/llio.texi (off_t): Likewise.
41654 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41655 (__ieee754_exp): Save and restore rounding mode and use
41656 round-to-nearest for all computations.
41657 * math/libm-test.inc (exp_test_tonearest): New function.
41658 (exp_test_towardzero): Likewise.
41659 (exp_test_downward): Likewise.
41660 (exp_test_upward): Likewise.
41661 (main): Call the new functions.
41662 * sysdeps/i386/fpu/libm-test-ulps: Update.
41663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41665 2012-03-01 Chris Demetriou <cgd@google.com>
41667 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41668 have predictable order.
41670 2012-03-01 David S. Miller <davem@davemloft.net>
41672 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41674 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41675 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41676 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41677 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41679 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41680 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41681 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41683 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41684 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41685 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41686 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41687 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41691 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41692 * sysdeps/sparc/fpu/libm-test-ulps: to here.
41693 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41695 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41696 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41697 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41698 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41699 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41700 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41701 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41702 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41703 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41704 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41705 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41706 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41707 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41708 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41709 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41710 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41711 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41712 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41713 * sysdeps/sparc/elf/configure: Regenerated.
41715 2012-03-01 Joseph Myers <joseph@codesourcery.com>
41717 * configure.in (AS, LD): Require binutils 2.20 or later.
41718 * configure: Regenerated.
41719 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41720 as required minimum version.
41721 * INSTALL: Regenerated.
41725 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41726 before squaring exponent.
41727 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41728 bottom long double and 27 bits of top long double before squaring
41730 * math/libm-test.inc (erfc_test): Add more tests.
41731 * sysdeps/i386/fpu/libm-test-ulps: Update.
41732 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41735 2012-03-01 Kai Tietz <ktietz@redhat.com>
41737 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41738 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41739 containing bit-fields.
41740 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41741 * soft-fp/single.h (_FP_UNION_S): Likewise.
41742 * soft-fp/double.h (_FP_UNION_D): Likewise.
41744 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41747 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41748 not include ../strcmp.S.
41749 [USE_AS_STRNCASECMP_L]: Likewise.
41750 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41751 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41752 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41753 (__strncasecmp_l_ia32): Define as alias to
41754 __strncasecmp_l_nonascii.
41757 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41758 * sysdeps/i386/fpu/libm-test-ulps: Update.
41759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41761 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41764 2012-02-29 Jeff Law <law@redhat.com>
41766 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41767 out of bounds read.
41769 2012-02-29 Marek Polacek <polacek@redhat.com>
41772 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41773 * elf/Makefile: Add rules to run tst-unused-dep.out.
41775 2012-02-28 David S. Miller <davem@davemloft.net>
41777 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41778 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41779 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41780 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41781 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41782 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41784 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41786 * math/libm-test.inc (llround_test): Move one test from
41787 lround_test. Use TEST_f_L in moved test.
41788 (lround_test): Move misplaced test to llround_test. Add testcase
41791 2012-02-28 Ulrich Drepper <drepper@gmail.com>
41793 * sysdeps/x86_64/fpu/e_expf.S: New file.
41794 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41796 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41799 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41800 of remain_len that may cause incomplete multi-byte character and
41802 * posix/bug-regex33.c: New file.
41803 * posix/Makefile (tests): Add bug-regex33.
41805 2012-02-28 Joseph Myers <joseph@codesourcery.com>
41807 * manual/macros.texi: New file.
41808 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41809 * manual/libc.texinfo: Include macros.texi.
41810 * manual/creatute.texi: Likewise.
41811 * manual/install.texi: Likewise.
41812 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41813 @glibcadj{} in references to the GNU C Library.
41814 * manual/charset.texi: Likewise.
41815 * manual/conf.texi: Likewise.
41816 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41817 when not using those macros.
41818 * manual/creature.texi: Likewise.
41819 * manual/crypt.texi: Likewise.
41820 * manual/errno.texi: Likewise.
41821 * manual/filesys.texi: Likewise.
41822 * manual/header.texi: Likewise.
41823 * manual/install.texi: Likewise.
41824 * manual/intro.texi: Likewise.
41825 * manual/io.texi: Likewise.
41826 * manual/job.texi: Likewise.
41827 * manual/lang.texi: Likewise.
41828 * manual/libc.texiinfo: Likewise.
41829 * manual/llio.texi: Likewise.
41830 * manual/locale.texi: Likewise.
41831 * manual/maint.texi: Likewise.
41832 * manual/math.texi: Likewise.
41833 * manual/memory.texi: Likewise.
41834 * manual/message.texi: Likewise.
41835 * manual/nss.texi: Likewise.
41836 * manual/pattern.texi: Likewise.
41837 * manual/process.texi: Likewise.
41838 * manual/resource.texi: Likewise.
41839 * manual/search.texi: Likewise.
41840 * manual/setjmp.texi: Likewise.
41841 * manual/signal.texi: Likewise.
41842 * manual/socket.texi: Likewise.
41843 * manual/startup.texi: Likewise.
41844 * manual/stdio.texi: Likewise.
41845 * manual/string.texi: Likewise.
41846 * manual/sysinfo.texi: Likewise.
41847 * manual/syslog.texi: Likewise.
41848 * manual/terminal.texi: Likewise.
41849 * manual/time.texi: Likewise.
41850 * manual/users.texi: Likewise.
41851 * INSTALL: Regenerated.
41852 * NOTES: Regenerated.
41853 * sysdeps/gnu/errlist.c: Regenerated.
41855 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41857 * include/dirent.h: Include <dirstream.h> before
41860 2012-02-28 David S. Miller <davem@davemloft.net>
41862 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41863 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41864 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41865 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41867 2012-02-27 David S. Miller <davem@davemloft.net>
41869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41871 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41872 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41875 frame pointer instead of stack pointer relative arg slot.
41876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41877 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41878 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41880 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41883 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41885 2012-02-27 David S. Miller <davem@davemloft.net>
41887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41891 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41892 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41893 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41894 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41896 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41898 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41899 later. Allow versions 5-9.
41900 * configure: Regenerated.
41901 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41902 required minimum version and 4.6 as recommended version. Do not
41903 mention bugs in GCC 2.7 and 2.8.
41904 * INSTALL: Regenerated.
41906 2012-02-27 David S. Miller <davem@davemloft.net>
41908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41912 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41913 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41914 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41915 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41917 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41918 manipulate bits before adding and subtracting TWO112[sx].
41919 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41921 2012-02-27 Roland McGrath <roland@hack.frob.com>
41924 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41925 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41926 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41927 being in POSIX, because they are in 1003.1-2008.
41929 * rt/tst-aio.c: Include <fcntl.h>.
41930 * rt/tst-aio7.c: Likewise.
41931 * rt/tst-aio64.c: Likewise.
41933 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41935 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41937 * manual/install.texi (--with-headers): Describe headers as
41938 interface headers, not private headers.
41939 (Specific advice for GNU/Linux systems): Describe use of headers
41940 from "make headers_install", not private headers from older
41942 * INSTALL: Regenerated.
41943 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41945 * sysdeps/unix/sysv/linux/configure: Regenerated.
41947 * manual/llio.texi (fclean): Remove documentation.
41949 * manual/Makefile (libc-texi-generated): New variable. Include
41951 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41952 $(libc-texi-generated), not duplicated list of files.
41953 (version.texi, stamp-version): New rules.
41954 (realclean): Remove $(libc-texi-generated), not individual files
41955 from that list. Do not remove dir-add.texinfo.
41956 * manual/libc.texinfo: Comment out uses of edition numbers and
41957 references to printed manual. Remove last-updated dates.
41958 (EDITION): Comment out.
41960 (VERSION, UPDATED): Remove.
41961 (version.texi): Include.
41963 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41965 * sysdeps/posix/spawni.c: Include <signal.h>.
41966 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41967 * sysdeps/pthread/aio_fsync.c: Likewise.
41969 2012-02-26 Ulrich Drepper <drepper@gmail.com>
41971 * conform/Makefile (tests): Run only when not cross-compiling and
41972 when fast-check is not defined.
41974 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41975 * conform/data/limits.h-data: Fixes for POSIX2008.
41976 * conform/run-conformtest.sh: Run all tests.
41977 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41979 * include/bits/dlfcn.h: Likewise.
41980 * include/langinfo.h: Likewise.
41981 * include/monetary.h: Likewise.
41982 * include/sys/poll.h: Likewise.
41984 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41986 * posix/spawn.h: Define __need_sigset_t.
41987 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41988 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41989 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41990 to get sigevent_t only.
41991 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41992 only for __USE_GNU.
41993 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41994 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41995 process_vm_writev only for __USE_GNU.
41996 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41998 * conform/Makefile: For now ignore errors from run-conformtest.
41999 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
42000 POSIX to avoid namespace pollution. Don't prepend headers.
42001 * conform/data/aio.h-data: Fixes for POSIX testing.
42002 * conform/data/fcntl.h-data: Likewise.
42003 * conform/data/glob.h-data: Likewise.
42004 * conform/data/grp.h-data: Likewise.
42005 * conform/data/pthread.h-data: Likewise.
42006 * conform/data/pwd.h-data: Likewise.
42007 * conform/data/signal.h-data: Likewise.
42008 * conform/data/spawn.h-data: Likewise.
42009 * conform/data/stdio.h-data: Likewise.
42010 * conform/data/stdlib.h-data: Likewise.
42011 * conform/data/stropts.h-data: Likewise.
42012 * conform/data/sys/mman.h-data: Likewise.
42013 * conform/data/sys/stat.h-data: Likewise.
42014 * conform/data/sys/types.h-data: Likewise.
42015 * conform/data/sys/wait.h-data: Likewise.
42016 * conform/data/time.h-data: Likewise.
42017 * conform/data/unistd.h-data: Likewise.
42018 * conform/data/utime.h-data: Likewise.
42020 * io/sys/stat.h: fchmod was always in POSIX.
42021 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42022 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42023 * rt/aio.h: Define __need_timespec before including <time.h>.
42024 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42025 struct. Add forward declaration of pthread_attr_t and use it in
42027 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42028 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42029 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42030 always remove CLK_TCK definition.
42032 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
42034 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42036 2012-02-25 Ulrich Drepper <drepper@gmail.com>
42038 * conform/run-conformtest.sh: New file.
42039 * conform/Makefile: Run run-conformtest for tests.
42040 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
42043 * conform/data/uchar.h-data: New file.
42044 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42045 * conform/data/arpa/inet.h-data: Likewise.
42046 * conform/data/assert.h-data: Likewise.
42047 * conform/data/complex.h-data: Likewise.
42048 * conform/data/cpio.h-data: Likewise.
42049 * conform/data/ctype.h-data: Likewise.
42050 * conform/data/dirent.h-data: Likewise.
42051 * conform/data/dlfcn.h-data: Likewise.
42052 * conform/data/errno.h-data: Likewise.
42053 * conform/data/fcntl.h-data: Likewise.
42054 * conform/data/float.h-data: Likewise.
42055 * conform/data/fmtmsg.h-data: Likewise.
42056 * conform/data/fnmatch.h-data: Likewise.
42057 * conform/data/ftw.h-data: Likewise.
42058 * conform/data/glob.h-data: Likewise.
42059 * conform/data/grp.h-data: Likewise.
42060 * conform/data/iconv.h-data: Likewise.
42061 * conform/data/inttypes.h-data: Likewise.
42062 * conform/data/langinfo.h-data: Likewise.
42063 * conform/data/libgen.h-data: Likewise.
42064 * conform/data/limits.h-data: Likewise.
42065 * conform/data/locale.h-data: Likewise.
42066 * conform/data/math.h-data: Likewise.
42067 * conform/data/monetary.h-data: Likewise.
42068 * conform/data/mqueue.h-data: Likewise.
42069 * conform/data/ndbm.h-data: Likewise.
42070 * conform/data/net/if.h-data: Likewise.
42071 * conform/data/netdb.h-data: Likewise.
42072 * conform/data/netinet/in.h-data: Likewise.
42073 * conform/data/nl_types.h-data: Likewise.
42074 * conform/data/poll.h-data: Likewise.
42075 * conform/data/pthread.h-data: Likewise.
42076 * conform/data/pwd.h-data: Likewise.
42077 * conform/data/regex.h-data: Likewise.
42078 * conform/data/sched.h-data: Likewise.
42079 * conform/data/search.h-data: Likewise.
42080 * conform/data/semaphore.h-data: Likewise.
42081 * conform/data/setjmp.h-data: Likewise.
42082 * conform/data/signal.h-data: Likewise.
42083 * conform/data/spawn.h-data: Likewise.
42084 * conform/data/stdarg.h-data: Likewise.
42085 * conform/data/stdio.h-data: Likewise.
42086 * conform/data/stdlib.h-data: Likewise.
42087 * conform/data/string.h-data: Likewise.
42088 * conform/data/strings.h-data: Likewise.
42089 * conform/data/stropts.h-data: Likewise.
42090 * conform/data/sys/ipc.h-data: Likewise.
42091 * conform/data/sys/mman.h-data: Likewise.
42092 * conform/data/sys/msg.h-data: Likewise.
42093 * conform/data/sys/resource.h-data: Likewise.
42094 * conform/data/sys/select.h-data: Likewise.
42095 * conform/data/sys/sem.h-data: Likewise.
42096 * conform/data/sys/shm.h-data: Likewise.
42097 * conform/data/sys/socket.h-data: Likewise.
42098 * conform/data/sys/stat.h-data: Likewise.
42099 * conform/data/sys/statvfs.h-data: Likewise.
42100 * conform/data/sys/time.h-data: Likewise.
42101 * conform/data/sys/timeb.h-data: Likewise.
42102 * conform/data/sys/times.h-data: Likewise.
42103 * conform/data/sys/types.h-data: Likewise.
42104 * conform/data/sys/uio.h-data: Likewise.
42105 * conform/data/sys/un.h-data: Likewise.
42106 * conform/data/sys/utsname.h-data: Likewise.
42107 * conform/data/sys/wait.h-data: Likewise.
42108 * conform/data/syslog.h-data: Likewise.
42109 * conform/data/tar.h-data: Likewise.
42110 * conform/data/termios.h-data: Likewise.
42111 * conform/data/utime.h-data: Likewise.
42112 * conform/data/utmpx.h-data: Likewise.
42113 * conform/data/varargs.h-data: Likewise.
42114 * conform/data/wchar.h-data: Likewise.
42115 * conform/data/wctype.h-data: Likewise.
42116 * conform/data/wordexp.h-data: Likewise.
42118 * include/stropts.h: New file.
42119 * include/uchar.h: New file.
42120 * include/aio.h: Changes to allow conformtest.pl to use the headers.
42121 * include/assert.h: Likewise.
42122 * include/ctype.h: Likewise.
42123 * include/dirent.h: Likewise.
42124 * include/dlfcn.h: Likewise.
42125 * include/fcntl.h: Likewise.
42126 * include/fnmatch.h: Likewise.
42127 * include/glob.h: Likewise.
42128 * include/grp.h: Likewise.
42129 * include/libio.h: Likewise.
42130 * include/locale.h: Likewise.
42131 * include/math.h: Likewise.
42132 * include/net/if.h: Likewise.
42133 * include/netdb.h: Likewise.
42134 * include/netinet/in.h: Likewise.
42135 * include/pthread.h: Likewise.
42136 * include/pwd.h: Likewise.
42137 * include/regex.h: Likewise.
42138 * include/sched.h: Likewise.
42139 * include/search.h: Likewise.
42140 * include/setjmp.h: Likewise.
42141 * include/signal.h: Likewise.
42142 * include/stdio.h: Likewise.
42143 * include/stdlib.h: Likewise.
42144 * include/string.h: Likewise.
42145 * include/sys/cdefs.h: Likewise.
42146 * include/sys/mman.h: Likewise.
42147 * include/sys/msg.h: Likewise.
42148 * include/sys/resource.h: Likewise.
42149 * include/sys/select.h: Likewise.
42150 * include/sys/socket.h: Likewise.
42151 * include/sys/stat.h: Likewise.
42152 * include/sys/statvfs.h: Likewise.
42153 * include/sys/time.h: Likewise.
42154 * include/sys/times.h: Likewise.
42155 * include/sys/uio.h: Likewise.
42156 * include/sys/utsname.h: Likewise.
42157 * include/sys/wait.h: Likewise.
42158 * include/termios.h: Likewise.
42159 * include/time.h: Likewise.
42160 * include/ulimit.h: Likewise.
42161 * include/unistd.h: Likewise.
42162 * include/utime.h: Likewise.
42163 * include/wchar.h: Likewise.
42164 * include/wctype.h: Likewise.
42165 * include/wordexp.h: Likewise.
42167 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42169 * time/time.h: TIME_UTC must be a macro.
42170 Make timespec_get available for ISO C11 only as well.
42172 2012-02-24 Ulrich Drepper <drepper@gmail.com>
42174 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42175 Reported by Peng Haitao <penght@cn.fujitsu.com>.
42177 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42179 * configure.in: Use -o not -a in test for unsupported multi-arch.
42181 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42183 * manual/texinfo.tex: Update to version 2012-01-19.16.
42185 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42187 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42189 2012-02-24 Roland McGrath <roland@hack.frob.com>
42192 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42193 * manual/fdl-1.3.texi: New file.
42194 * manual/fdl-1.1.texi: File removed.
42197 * manual/libc.texinfo (FDL_VERSION): New @set.
42198 Use it for mention of FDL in cover text.
42199 (Documentation License): Use it in @include file name.
42201 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42202 Roland McGrath <roland@hack.frob.com>
42205 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42206 (not LONG_LONG_MAX and LONG_LONG_MIN.
42207 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42208 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
42210 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42212 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42216 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42217 manipulate bits before adding and subtracting TWO23[sx].
42218 * math/libm-test.inc (nearbyint_test): Add more tests.
42220 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42223 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42224 bits before adding and subtracting TWO23[sx].
42225 * math/libm-test.inc (rint_test): Add more tests.
42226 (rint_test_tonearest): Likewise.
42227 (rint_test_towardzero): Likewise.
42228 (rint_test_downward): Likewise.
42229 (rint_test_upward: Likewise.
42231 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42234 * include/stdc-predef.h: New file. Extracted from features.h.
42235 * include/features.h: Include stdc-predef.h.
42236 * Makefile (headers): Add stdc-predef.h.
42237 * CONFORMANCE (Compiler limitations): Update.
42239 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42241 * manual/libc.texinfo (VERSION, UPDATED): Revert.
42243 2012-02-21 David S. Miller <davem@davemloft.net>
42245 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42246 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42248 2012-02-20 David S. Miller <davem@davemloft.net>
42250 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42251 using a normal save/restore sequence, rather than allocating a
42252 dummy stack frame just to store a frame pointer and restore.
42253 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42255 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42257 * manual/install.texi: Fix stray word in line-wrapped comment.
42259 2012-02-20 David S. Miller <davem@davemloft.net>
42261 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42262 both binutils and gcc support GOTDATA.
42264 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42265 "rd %pc" in the PIC register setup sequences.
42267 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42268 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42269 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42270 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42271 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42272 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42273 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42274 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42275 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42276 (SYSCALL_ERROR_HANDLER): Likewise.
42277 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42278 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42279 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42280 (SYSCALL_ERROR_HANDLER): Likewise.
42282 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42283 (HAVE_GCC_GOTDATA): New.
42284 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42285 relocation support in both binutils and gcc.
42286 * sysdeps/sparc/elf/configure: Regenerate.
42288 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42289 * sysdeps/sparc/sparc32/elf/configure: Delete.
42290 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42291 * sysdeps/sparc/sparc64/elf/configure: Delete.
42292 * sysdeps/sparc/elf/configure.in: New file.
42293 * sysdeps/sparc/elf/configure: Generate.
42295 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42296 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42297 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42298 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42299 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42301 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42303 * manual/install.texi: Do not mention specific glibc version
42305 * manual/libc.texinfo (VERSION, UPDATED): Update.
42306 (@copying): Use @copyright{} and range of years.
42308 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42311 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42312 [crti.S not in sysdirs] (generated): Do not append.
42313 [crti.S not in sysdirs] (omit-deps): Likewise.
42314 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42315 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42316 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42317 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42318 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42320 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42321 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42322 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42323 * csu/defs.awk: Remove file.
42324 * sysdeps/generic/initfini.c: Likewise.
42325 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42327 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42330 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42332 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42333 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42334 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42335 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42336 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42337 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42339 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42340 (__EPOLL_PACKED): Define to empty if not defined by
42342 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42343 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42346 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42348 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42349 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42350 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42351 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42353 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42354 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42357 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42359 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42361 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42362 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42363 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42366 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
42368 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42369 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42371 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
42373 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42374 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42376 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42378 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42381 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
42383 * math/w_acos.c: Use non-signaling floating-point comparisons.
42384 * math/w_acosf.c: Likewise.
42385 * math/w_acosh.c: Likewise.
42386 * math/w_acoshf.c: Likewise.
42387 * math/w_acoshl.c: Likewise.
42388 * math/w_acosl.c: Likewise.
42389 * math/w_asin.c: Likewise.
42390 * math/w_asinf.c: Likewise.
42391 * math/w_asinl.c: Likewise.
42392 * math/w_atanh.c: Likewise.
42393 * math/w_atanhf.c: Likewise.
42394 * math/w_atanhl.c: Likewise.
42395 * math/w_exp2.c: Likewise.
42396 * math/w_exp2f.c: Likewise.
42397 * math/w_exp2l.c: Likewise.
42398 * math/w_j0.c: Likewise.
42399 * math/w_j0f.c: Likewise.
42400 * math/w_j0l.c: Likewise.
42401 * math/w_j1.c: Likewise.
42402 * math/w_j1f.c: Likewise.
42403 * math/w_j1l.c: Likewise.
42404 * math/w_jn.c: Likewise.
42405 * math/w_jnf.c: Likewise.
42406 * math/w_log.c: Likewise.
42407 * math/w_log10.c: Likewise.
42408 * math/w_log10f.c: Likewise.
42409 * math/w_log10l.c: Likewise.
42410 * math/w_log2.c: Likewise.
42411 * math/w_log2f.c: Likewise.
42412 * math/w_log2l.c: Likewise.
42413 * math/w_logf.c: Likewise.
42414 * math/w_logl.c: Likewise.
42415 * math/w_sqrt.c: Likewise.
42416 * math/w_sqrtf.c: Likewise.
42417 * math/w_sqrtl.c: Likewise.
42418 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42419 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42420 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42421 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42422 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42424 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42427 * manual/string.texi (strnlen): Use correct parameter name in
42428 equivalent expression.
42430 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42433 * manual/users.texi (seteuid): Consistently use neweuid for
42436 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42439 * manual/nss.texi (Services in the NSS configuration): Correct
42440 list of services in example configuration file.
42442 2012-02-19 Nick Bowler <nbowler@draconx.ca>
42445 * manual/arith.texi: Remove statements about negative zero
42446 behaving identically to zero.
42448 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42451 * manual/install.texi: Do not document upgrading from libc5.
42453 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42456 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42458 2012-02-18 David S. Miller <davem@davemloft.net>
42460 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42461 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42462 %o7 across the call.
42463 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42465 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42466 SETUP_PIC_REG_LEAF.
42467 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42468 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42469 * sysdeps/sparc/crtn.S: Likewise.
42471 2012-02-17 Ulrich Drepper <drepper@gmail.com>
42473 * aout/Makefile: Remove.
42475 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
42478 * manual/examples/argp-ex1.c (main): Format definition in GNU
42480 * manual/examples/argp-ex2.c (main): Likewise.
42481 * manual/examples/argp-ex3.c (main): Likewise.
42482 * manual/examples/argp-ex4.c (main): Likewise.
42483 * manual/examples/longopt.c (main): Use new-style prototype
42485 * manual/examples/strncat.c (main): Specify return type and use
42486 (void) for arguments.
42487 * manual/examples/subopt.c (main): Use char **argv argument.
42489 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42492 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42495 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
42498 * manual/string.texi (strchr): Change when strchrnul is
42501 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
42504 * manual/locale.texi (setlocale): Document LOCPATH.
42506 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42509 * manual/process.texi (execle): Move @dots{} before last argument.
42511 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
42514 * manual/charset.texi (Generic Charset Conversion): Fix typo
42515 (LC_TYPE -> LC_CTYPE).
42517 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
42520 * manual/arith.texi (scalbn): Use @var{} on parameter names.
42521 (scalbnf): Likewise.
42522 (scalbnl): Likewise.
42523 (scalbln): Likewise.
42524 (scalblnf): Likewise.
42525 (scalblnl): Likewise.
42526 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42527 (vwarnx): Likewise.
42530 * manual/filesys.texi (telldir): Use braces around return type.
42531 * manual/llio.texi (mmap): Add space after comma.
42532 (mmap64): Likewise.
42533 * manual/math.texi (jn): Use @var{} on parameter names.
42539 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42541 * manual/resource.texi (ulimit): Use @dots{} instead of literal
42543 (sched_get_priority_min): Remove semicolon on @deftypefun line.
42544 (sched_get_priority_max): Likewise.
42545 * manual/signal.texi (sigvec): Add space after comma.
42546 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42548 (if_indextoname): Likewise.
42549 (if_freenameindex): Likewise.
42550 (sendto): Use ',' instead of '.' in prototype.
42551 * manual/startup.texi (syscall): Use @dots{} instead of literal
42553 * manual/stdio.texi (__fpending): Separate initial words of
42554 paragraph from @deftypefun line.
42555 * manual/syslog.texi (syslog): Use @dots{} instead of literal
42557 (vsyslog): Use @var{} on parameter names.
42558 * manual/terminal.texi (stty): Use @var{} on parameter names.
42559 * manual/users.texi (getutmp): Use @var{} on parameter names.
42560 (getutmpx): Likewise.
42562 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42565 * manual/stdio.texi (fopen): Fix typos in description of
42568 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
42571 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42572 get clock_id definition.
42574 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
42577 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42578 (madvise): Cast every argument to void on its own.
42580 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42583 * manual/startup.texi (Exit Status): Fix typo.
42585 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42588 * manual/examples/argp-ex1.c: Include <stdlib.h>.
42589 * manual/examples/argp-ex2.c: Likewise.
42590 * manual/examples/argp-ex3.c: Likewise.
42592 2012-02-16 Richard Henderson <rth@redhat.com>
42594 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42595 * sysdeps/s390/s390-32/initfini.c: Remove.
42596 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42597 * sysdeps/s390/s390-64/initfini.c: Remove.
42599 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42601 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42602 compiler output for sysdeps/generic/initfini.c.
42603 * sysdeps/sh/elf/initfini.c: Remove file.
42605 2012-02-16 David S. Miller <davem@davemloft.net>
42608 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42610 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42611 * sysdeps/sparc/crti.S: New file.
42612 * sysdeps/sparc/crtn.S: New file.
42613 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42614 * sysdeps/sparc/sparc64/Makefile: Likewise.
42616 2012-02-15 Mike Frysinger <vapier@gentoo.org>
42619 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42621 2012-02-15 Roland McGrath <roland@hack.frob.com>
42624 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42626 * mach/devstream.c (cookie_io_functions_t): Macro removed.
42627 (write, read, close): Likewise.
42628 Patch by Aurelien Jarno <aurelien@aurel32.net>.
42630 2012-02-15 Joseph Myers <joseph@codesourcery.com>
42632 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42633 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42634 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42635 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42637 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42638 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42641 2012-02-14 Marek Polacek <polacek@redhat.com>
42643 * sysdeps/x86_64/crti.S: New file.
42644 * sysdeps/x86_64/crtn.S: New file.
42645 * sysdeps/x86_64/elf/initfini.c: Remove file.
42647 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42649 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42650 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42651 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42652 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42654 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42655 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42658 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42660 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42661 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42662 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42663 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42665 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42669 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
42671 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42672 __feraiseexcept instead of feraiseexcept.
42674 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42675 nanosleep invocations.
42676 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42677 strings, and add error checking for a nanosleep invocations.
42679 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
42681 Replace FSF snail mail address with URLs, as per GNU coding standards.
42682 Most of the snail mail addresses were wrong anyway, and omitting
42683 them makes the source code easier to maintain. Almost all of the
42684 changes are to license notices and to locale LC_IDENTIFICATION
42685 addresses, except for this one:
42686 * manual/libc.texinfo: In "Published by", give the FSF's URL,
42687 not its snail mail address.
42689 2012-02-09 Richard Henderson <rth@twiddle.net>
42691 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42692 of kernel-features.h.
42694 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42696 2012-02-08 Marek Polacek <polacek@redhat.com>
42698 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42699 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42700 * sysdeps/gnu/_G_config.h: Likewise.
42701 * sysdeps/generic/_G_config.h: Likewise.
42703 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
42705 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42709 * sysdeps/powerpc/powerpc32/crti.S: New file.
42710 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42711 * sysdeps/powerpc/powerpc64/crti.S: New file.
42712 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42714 * Makeconfig (have-initfini): Don't set.
42715 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42716 * configure.in (nopic_initfini): Don't substitute.
42717 * config.h.in (HAVE_INITFINI): Don't #undef.
42718 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42719 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42721 2012-02-08 Joseph Myers <joseph@codesourcery.com>
42723 Support crti.S and crtn.S provided directly by architectures.
42724 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42725 [crti.S in sysdirs] (omit-deps): Likewise.
42726 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42727 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42728 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42729 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42730 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42731 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42732 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42733 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42734 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42735 compiler output for sysdeps/generic/initfini.c.
42736 * sysdeps/i386/elf/Makefile: Remove file.
42737 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42739 2012-02-07 Marek Polacek <polacek@redhat.com>
42741 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42742 * sysdeps/gnu/_G_config.h: Likewise.
42743 * sysdeps/mach/hurd/_G_config.h: Likewise.
42745 2012-02-07 Marek Polacek <polacek@redhat.com>
42747 * math/Makefile (tests): Add tst-CMPLX2.
42748 * math/tst-CMPLX2.c: New file.
42750 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42752 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42754 * math/libm-test.inc (jn_test): Add missing L suffix.
42756 2012-02-06 Marek Polacek <polacek@redhat.com>
42758 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42759 * sysdeps/i386/fpu/e_powf.S: Likewise.
42760 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42761 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42762 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42763 * sysdeps/i386/fpu/e_pow.S: Likewise.
42764 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42765 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42766 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42767 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42768 * sysdeps/i386/fpu/e_log2.S: Likewise.
42769 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42770 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42771 * sysdeps/i386/fpu/e_powl.S: Likewise.
42772 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42773 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42774 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42775 * sysdeps/i386/fpu/e_logl.S: Likewise.
42776 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42777 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42778 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42779 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42780 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42781 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42782 * sysdeps/i386/fpu/e_log.S: Likewise.
42783 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42784 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42785 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42786 * sysdeps/i386/fpu/e_logf.S: Likewise.
42787 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42788 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42789 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42790 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42791 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42792 * sysdeps/i386/fpu/e_log10.S: Likewise.
42793 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42794 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42795 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42796 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42797 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42798 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42799 * sysdeps/i386/asm-syntax.h: Likewise.
42800 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42801 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42802 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42803 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42804 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42805 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42806 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42807 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42808 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42809 * sysdeps/powerpc/sysdep.h: Likewise.
42810 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42811 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42813 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42816 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42818 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42820 * sysdeps/i386/sysdep.h: Include <features.h>.
42821 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42824 2012-02-05 Joseph Myers <joseph@codesourcery.com>
42826 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42828 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42831 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42833 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42834 (SETUP_PIC_REG): Use GET_PC_THUNK.
42835 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42838 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42840 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42841 for non-PIC compilation.
42842 (SETUP_PIC_REG): Add .p2align directive.
42843 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42844 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42845 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42846 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42847 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42848 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42849 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42850 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42851 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42852 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42853 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42854 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42855 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42856 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42857 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42858 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42859 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42860 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42861 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42862 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42863 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42864 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42865 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42866 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42867 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42868 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42869 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42870 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42871 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42872 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42873 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42874 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42875 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42876 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42877 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42878 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42879 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42880 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42881 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42882 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42883 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42885 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42887 * math/tst-CMPLX.c: Include <stdio.h>.
42889 2012-01-31 Joseph Myers <joseph@codesourcery.com>
42891 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42893 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42894 * sysdeps/sparc/bits/mathdef.h: Likewise.
42896 2012-01-31 Marek Polacek <polacek@redhat.com>
42898 * libio/libio.h: Don't define _PARAMS.
42899 * locale/programs/config.h: Don't define PARAMS.
42900 * stdlib/strtol_l.c: Likewise.
42901 (__strtol_l): Remove PARAMS from the prototype.
42903 2012-01-31 Ulrich Drepper <drepper@gmail.com>
42905 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42906 names. Just use the correct names. Remove unnecessary wrapper
42908 * malloc/arena.c: Likewise.
42909 * malloc/hooks.c: Likewise.
42911 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42912 ARENA_TEST says not to. Simplify test for creation of a new arena.
42913 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42915 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42917 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42919 (update_get_addr): New function.
42920 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42921 GET_ADDR_MODULE parameter.
42923 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42925 * crypt/cert.c: Remove __STDC__ conditionals.
42926 * crypt/crypt-entry.c: Likewise.
42927 * crypt/crypt_util.c: Likewise.
42928 * libio/filedoalloc.c: Likewise.
42929 * libio/fileops.c: Likewise.
42930 * libio/genops.c: Likewise.
42931 * libio/iofclose.c: Likewise.
42932 * libio/iofdopen.c: Likewise.
42933 * libio/iofopen.c: Likewise.
42934 * libio/iofopen64.c: Likewise.
42935 * libio/iogetdelim.c: Likewise.
42936 * libio/iopopen.c: Likewise.
42937 * libio/obprintf.c: Likewise.
42938 * libio/oldfileops.c: Likewise.
42939 * libio/oldiofclose.c: Likewise.
42940 * libio/oldiofdopen.c: Likewise.
42941 * libio/oldiofopen.c: Likewise.
42942 * libio/oldiopopen.c: Likewise.
42943 * libio/wfiledoalloc.c: Likewise.
42944 * libio/wgenops.c: Likewise.
42945 * locale/programs/xmalloc.c: Likewise.
42946 * misc/syslog.c: Likewise.
42947 * stdio-common/xbug.c: Likewise.
42948 * string/memchr.c: Likewise.
42949 * string/memcmp.c: Likewise.
42950 * string/memrchr.c: Likewise.
42951 * string/rawmemchr.c: Likewise.
42952 * sysdeps/posix/getcwd.c: Likewise.
42953 * time/strftime_l.c: Likewise.
42955 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42957 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42958 * config.make.in (config-cflags-sse2avx): Define.
42959 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42962 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42964 * scripts/config.guess: Update from upstream config git repository.
42965 * scripts/config.sub: Likewise.
42967 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42969 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42971 (R_TILEPRO_*, R_TILEGX_*): New macros.
42973 * scripts/firstversions.awk: Fix bug in version range handling.
42975 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42977 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42979 * include/sys/epoll.h: New file.
42980 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42983 2012-01-28 Ulrich Drepper <drepper@gmail.com>
42985 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42986 Avoid unnecessary __WORDSIZE == 64 test.
42987 (fmaxf): Use VEX format if possible.
42992 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42993 * math/math_private.h: Remove libc_fegetround* and
42995 * sysdeps/i386/configure.in: Check for -msse2avx.
42996 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42997 also if SSE2AVX is defined.
42998 Remove libc_fegetround* and libc_fesetround*.
42999 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43000 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
43001 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43003 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43004 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43005 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43006 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43007 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43009 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43011 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43013 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43015 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43017 2012-01-27 Ulrich Drepper <drepper@gmail.com>
43020 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43022 * Makeconfig (libm): Define.
43023 * elf/Makefile: Add rules to build and run tst-relsort1.
43024 * elf/tst-relsort1.c: New file.
43025 * elf/tst-relsort1mod1.c: New file.
43026 * elf/tst-relsort1mod2.c: New file.
43028 2012-01-27 Joseph Myers <joseph@codesourcery.com>
43030 * math/s_ldexp.c: Remove __STDC__ conditionals.
43031 * math/s_ldexpf.c: Likewise.
43032 * math/s_ldexpl.c: Likewise.
43033 * math/s_nextafter.c: Likewise.
43034 * math/s_nexttowardf.c: Likewise.
43035 * math/s_significand.c: Likewise.
43036 * math/s_significandf.c: Likewise.
43037 * math/s_significandl.c: Likewise.
43038 * math/w_jnl.c: Likewise.
43039 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43040 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43041 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43042 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43043 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43044 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43045 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43046 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43047 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43048 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43049 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43050 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43051 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43052 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43053 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43054 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43055 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43056 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43057 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43058 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43059 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43060 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43061 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43062 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43063 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43064 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43065 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43066 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43067 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43068 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43069 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43070 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43071 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43072 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43073 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43074 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43075 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43076 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43077 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43078 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43079 * sysdeps/ieee754/k_standard.c: Likewise.
43080 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43081 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43082 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43083 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43084 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43085 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43086 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43087 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43088 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43089 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43090 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43091 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43092 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43093 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43094 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43095 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43096 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43097 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43098 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43099 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43100 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43101 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43102 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43103 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43104 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43105 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43106 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43107 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43108 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43109 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43110 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43111 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43112 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43113 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43114 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43115 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43116 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43117 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43118 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43119 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43120 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43121 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43122 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43123 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43124 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43125 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43126 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43127 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43128 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43129 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43130 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43131 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43132 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43133 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43134 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43135 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43136 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43137 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43138 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43139 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43140 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43141 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43142 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43143 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43144 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43145 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43146 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43147 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43148 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43149 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43150 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43151 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43152 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43153 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43154 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43155 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43156 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43157 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43158 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43159 * sysdeps/ieee754/s_matherr.c: Likewise.
43160 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43161 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43162 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43163 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43165 2012-01-26 Joseph Myers <joseph@codesourcery.com>
43167 * crypt/md5.h: Remove __STDC__ conditionals.
43168 * libio/libioP.h: Likewise.
43169 * locale/programs/config.h: Likewise.
43170 * sysdeps/generic/sysdep.h: Likewise.
43171 * sysdeps/i386/asm-syntax.h: Likewise.
43172 * sysdeps/s390/asm-syntax.h: Likewise.
43173 * sysdeps/unix/sysdep.h: Likewise.
43174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43177 2012-01-26 Joseph Myers <joseph@codesourcery.com>
43179 * libio/libio.h: Remove __STDC__ conditionals.
43180 * malloc/obstack.h: Likewise.
43181 * math/complex.h: Likewise.
43182 * math/math.h: Likewise.
43183 * sysdeps/generic/_G_config.h: Likewise.
43184 * sysdeps/gnu/_G_config.h: Likewise.
43185 * sysdeps/mach/hurd/_G_config.h: Likewise.
43186 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43187 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43188 * sysdeps/sparc/bits/mathdef.h: Likewise.
43190 2012-01-26 Ulrich Drepper <drepper@gmail.com>
43193 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43194 Clean up HAS_* macros.
43195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43196 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43198 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43200 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43201 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43202 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43203 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43204 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43206 2012-01-25 Joseph Myers <joseph@codesourcery.com>
43208 * elf/tst-unique3.cc (gets): Remove declaration.
43209 * elf/tst-unique3lib.cc (gets): Likewise.
43210 * elf/tst-unique3lib2.cc (gets): Likewise.
43211 * elf/tst-unique4.cc (gets): Likewise.
43213 2012-01-24 Ulrich Drepper <drepper@gmail.com>
43215 * include/stdio.h: Add C++ protection. Add gets declarations and
43217 * debug/tst-chk1.c: Don't declare gets here.
43218 * stdio-common/tst-gets.c: Likewise.
43220 2012-01-24 Joseph Myers <joseph@codesourcery.com>
43222 * posix/glob: Remove directory.
43224 2012-01-24 Joseph Myers <joseph@codesourcery.com>
43226 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43228 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
43230 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43231 of the non-standard EPFNOSUPPORT.
43233 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
43235 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43236 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43237 ANYWHERE set to 1 only on KERN_NO_SPACE error.
43239 2012-01-21 Ulrich Drepper <drepper@gmail.com>
43241 * wcsmbs/uchar.h: Test __STDC_VERSION__.
43243 2012-01-20 Ulrich Drepper <drepper@gmail.com>
43245 * nscd/aicache.c (addhstaiX): Do not cache negative results of
43247 * nscd/grpcache.c (cache_addgr): Likewise.
43248 * nscd/hstcache.c (cache_addhst): Likewise.
43249 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43250 * nscd/pwdcache.c (cache_addpw): Likewise.
43251 * nscd/servicescache.c (cache_addserv): Likewise.
43253 2012-01-16 Ulrich Drepper <drepper@gmail.com>
43255 * malloc/malloc.c: Various cleanups.
43256 * malloc/hooks.c: Likewise.
43258 * stdlib/Makefile (tests): Add bug-fmtmsg1.
43259 * stdlib/bug-fmtmsg1.c: New file.
43261 * stdlib/fmtmsg.c (init): Add missing unlock.
43262 Patch by Peng Haitao <penght@cn.fujitsu.com>.
43264 2012-01-12 Marek Polacek <polacek@redhat.com>
43266 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43269 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43271 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43272 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43273 macro to ensure uniqueness of label name.
43274 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43275 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43277 2012-01-11 Ulrich Drepper <drepper@gmail.com>
43279 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43281 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43282 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43283 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43284 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43286 2012-01-10 Ulrich Drepper <drepper@gmail.com>
43288 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43290 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43291 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43292 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43294 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43296 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43297 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43298 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43299 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43301 * math/bits/math-finite.h: Add ldexp support.
43303 2012-01-10 Marek Polacek <polacek@redhat.com>
43305 * locale/programs/localedef.h (show_archive_content): Add noreturn
43308 2012-01-09 Ulrich Drepper <drepper@gmail.com>
43310 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43312 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43314 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43316 * io/Makefile (headers): Add bits/poll2.h.
43318 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
43320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43321 typo #include statement.
43323 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43325 * include/sys/cdefs.h: Define __attribute_alloc_size.
43326 * catgets/gencat.c: Add alloc_size attribute and apply consistently
43327 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43328 * elf/pldd.c: Likewise.
43329 * iconv/iconv_charmap.c: Likewise.
43330 * iconv/iconvconfig.c: Likewise.
43331 * iconv/strtab.c: Likewise.
43332 * locale/programs/locale.c: Likewise.
43333 * locale/programs/localedef.h: Likewise.
43334 * locale/programs/simple-hash.c: Likewise.
43335 * nscd/nscd.h: Likewise.
43336 * nss/makedb.c: Likewise.
43337 * sysdeps/generic/ldconfig.h: Likewise.
43338 * locale/programs/localedef.c: Remove xmalloc prototype.
43339 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43341 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43343 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43346 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43348 * math/Makefile (tests): Add tst-CMPLX.
43349 * math/tst-CMPLX.c: New file.
43351 * math/complex.h (CMPLXL): Fix typo.
43353 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43354 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43356 * debug/tst-chk1.c: Add poll and ppoll tests.
43357 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43358 * include/sys/poll.h: Add hidden proto for ppoll.
43359 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43360 * sysdeps/mach/hurd/ppoll.c: Likewise.
43361 * io/ppoll.c: Likewise.
43362 * debug/poll_chk.c: New file.
43363 * debug/ppoll_chk.c: New file.
43364 * include/bits/poll2.h: New file.
43365 * io/bits/poll2.h: New file.
43368 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43370 * configure.in: static is always set to yes. Remove.
43371 * config.make.in: Don't set build-static.
43372 * Makeconfig: Remove use of build-static.
43373 * dlfcn/Makefile: Likewise.
43374 * elf/Makefile: Likewise.
43375 * math/Makefile: Likewise.
43376 * misc/Makefile: Likewise.
43377 * nptl/Makefile: Likewise.
43378 * sysdeps/mach/hurd/Makefile: Likewise.
43380 * configure.in: PWD_P is not used anymore.
43381 * config.make.in: Remove PWD_P entry.
43383 * configure.in: Remove last remnants of RANLIB.
43384 No need to check for signed size_t anymore.
43385 Don't set libc_commonpagesize and libc_relro_required here for Alpha
43387 Remove __builtin_expect test because we require at least gcc 3.4.
43388 * aclocal.m4: Likewise.
43390 * wcsmbs/mbrtoc16.c: Implement using towc function.
43391 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43392 * wcsmbs/wcsmbsload.c: Likewise.
43393 * iconv/gconv_simple.c: Likewise.
43394 * iconv/gconv_int.h: Likewise.
43395 * iconv/gconv_builtin.h: Likewise.
43396 * iconv/iconv_prog.c: Remove CHAR16 handling.
43398 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43400 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43402 * configure.in: Remove --with-elf and --enable-bounded options.
43403 Dont set base_machine for ia64. More non-ELF conditions removed.
43404 Remove testing and setting of leading underscore information.
43405 * config.make.in (build-bounded): Set to no.
43406 * config.h.in: Remove NO_UNDERSCORES entry.
43407 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
43409 * csu/start.c: Remove !NO_UNDERSCORE code.
43410 * locale/localeinfo.h: Likewise.
43411 * sysdeps/generic/machine-gmon.h: Likewise.
43412 * sysdeps/generic/sysdep.h: Likewise.
43413 * sysdeps/i386/sysdep.h: Likewise.
43414 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43415 * sysdeps/mach/sysdep.h: Likewise.
43416 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43417 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43418 * sysdeps/sh/sysdep.h: Likewise.
43419 * sysdeps/sparc/sparc32/alloca.S: Likewise.
43420 * sysdeps/unix/i386/sysdep.S: Likewise.
43421 * sysdeps/unix/sparc/start.c: Likewise.
43422 * sysdeps/unix/sparc/sysdep.S: Likewise.
43423 * sysdeps/unix/sparc/sysdep.h: Likewise.
43424 * sysdeps/unix/start.c: Likewise.
43425 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43426 * sysdeps/x86_64/sysdep.h: Likewise.
43428 2012-01-07 Ulrich Drepper <drepper@gmail.com>
43431 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43433 * argp/argp-fmtstream.h: Use const instead __const.
43434 * argp/argp.h: Likewise.
43435 * assert/assert.h: Likewise.
43436 * bits/fenv.h: Likewise.
43437 * bits/sched.h: Likewise.
43438 * bits/sigset.h: Likewise.
43439 * bits/sigthread.h: Likewise.
43440 * catgets/nl_types.h: Likewise.
43441 * conform/data/pthread.h-data: Likewise.
43442 * crypt/crypt-private.h: Likewise.
43443 * crypt/crypt.h: Likewise.
43444 * crypt/crypt_util.c: Likewise.
43445 * ctype/ctype.h: Likewise.
43446 * debug/execinfo.h: Likewise.
43447 * debug/mbsnrtowcs_chk.c: Likewise.
43448 * debug/mbsrtowcs_chk.c: Likewise.
43449 * debug/wcsnrtombs_chk.c: Likewise.
43450 * debug/wcsrtombs_chk.c: Likewise.
43451 * debug/wcstombs_chk.c: Likewise.
43452 * dirent/dirent.h: Likewise.
43453 * dlfcn/dlfcn.h: Likewise.
43454 * elf/neededtest4.c: Likewise.
43455 * grp/grp.h: Likewise.
43456 * gshadow/gshadow.h: Likewise.
43457 * iconv/gconv.h: Likewise.
43458 * iconv/gconv_int.h: Likewise.
43459 * iconv/gconv_simple.c: Likewise.
43460 * iconv/iconv.h: Likewise.
43461 * iconv/loop.c: Likewise.
43462 * iconv/skeleton.c: Likewise.
43463 * include/aio.h: Likewise.
43464 * include/aliases.h: Likewise.
43465 * include/argz.h: Likewise.
43466 * include/arpa/inet.h: Likewise.
43467 * include/assert.h: Likewise.
43468 * include/dirent.h: Likewise.
43469 * include/dlfcn.h: Likewise.
43470 * include/execinfo.h: Likewise.
43471 * include/fcntl.h: Likewise.
43472 * include/fenv.h: Likewise.
43473 * include/glob.h: Likewise.
43474 * include/grp.h: Likewise.
43475 * include/libintl.h: Likewise.
43476 * include/mntent.h: Likewise.
43477 * include/netdb.h: Likewise.
43478 * include/pwd.h: Likewise.
43479 * include/rpc/netdb.h: Likewise.
43480 * include/sched.h: Likewise.
43481 * include/search.h: Likewise.
43482 * include/shadow.h: Likewise.
43483 * include/signal.h: Likewise.
43484 * include/stdio.h: Likewise.
43485 * include/stdlib.h: Likewise.
43486 * include/string.h: Likewise.
43487 * include/sys/socket.h: Likewise.
43488 * include/sys/stat.h: Likewise.
43489 * include/sys/statfs.h: Likewise.
43490 * include/sys/statvfs.h: Likewise.
43491 * include/sys/syslog.h: Likewise.
43492 * include/sys/time.h: Likewise.
43493 * include/sys/uio.h: Likewise.
43494 * include/time.h: Likewise.
43495 * include/unistd.h: Likewise.
43496 * include/utmp.h: Likewise.
43497 * include/wchar.h: Likewise.
43498 * include/wctype.h: Likewise.
43499 * inet/aliases.h: Likewise.
43500 * inet/arpa/inet.h: Likewise.
43501 * inet/netinet/ether.h: Likewise.
43502 * inet/netinet/in.h: Likewise.
43503 * intl/libintl.h: Likewise.
43504 * io/bits/fcntl2.h: Likewise.
43505 * io/fcntl.h: Likewise.
43506 * io/ftw.h: Likewise.
43507 * io/sys/poll.h: Likewise.
43508 * io/sys/stat.h: Likewise.
43509 * io/sys/statfs.h: Likewise.
43510 * io/sys/statvfs.h: Likewise.
43511 * io/utime.h: Likewise.
43512 * libio/bits/stdio.h: Likewise.
43513 * libio/bits/stdio2.h: Likewise.
43514 * libio/libio.h: Likewise.
43515 * libio/libioP.h: Likewise.
43516 * libio/stdio.h: Likewise.
43517 * locale/lc-ctype.c: Likewise.
43518 * locale/locale.h: Likewise.
43519 * login/utmp.h: Likewise.
43520 * malloc/arena.c: Likewise.
43521 * malloc/malloc.c: Likewise.
43522 * malloc/malloc.h: Likewise.
43523 * malloc/mcheck.c: Likewise.
43524 * malloc/mtrace.c: Likewise.
43525 * math/bits/mathcalls.h: Likewise.
43526 * math/fenv.h: Likewise.
43527 * math/math_private.h: Likewise.
43528 * misc/bits/error.h: Likewise.
43529 * misc/bits/syslog.h: Likewise.
43530 * misc/err.h: Likewise.
43531 * misc/error.h: Likewise.
43532 * misc/fstab.h: Likewise.
43533 * misc/mntent.h: Likewise.
43534 * misc/regexp.h: Likewise.
43535 * misc/search.h: Likewise.
43536 * misc/sgtty.h: Likewise.
43537 * misc/sys/mman.h: Likewise.
43538 * misc/sys/syslog.h: Likewise.
43539 * misc/sys/uio.h: Likewise.
43540 * misc/sys/xattr.h: Likewise.
43541 * misc/ttyent.h: Likewise.
43542 * nis/rpcsvc/ypclnt.h: Likewise.
43543 * nss/nss.h: Likewise.
43544 * posix/bits/unistd.h: Likewise.
43545 * posix/fnmatch.h: Likewise.
43546 * posix/glob.h: Likewise.
43547 * posix/sched.h: Likewise.
43548 * posix/spawn.h: Likewise.
43549 * posix/sys/wait.h: Likewise.
43550 * posix/unistd.h: Likewise.
43551 * posix/wordexp.h: Likewise.
43552 * pwd/pwd.h: Likewise.
43553 * resolv/netdb.h: Likewise.
43554 * resource/sys/resource.h: Likewise.
43555 * rt/aio.h: Likewise.
43556 * rt/bits/mqueue2.h: Likewise.
43557 * rt/mqueue.h: Likewise.
43558 * shadow/shadow.h: Likewise.
43559 * signal/signal.h: Likewise.
43560 * socket/send.c: Likewise.
43561 * socket/sendto.c: Likewise.
43562 * socket/sys/socket.h: Likewise.
43563 * stdio-common/printf.h: Likewise.
43564 * stdlib/bits/stdlib.h: Likewise.
43565 * stdlib/fmtmsg.h: Likewise.
43566 * stdlib/monetary.h: Likewise.
43567 * stdlib/stdlib.h: Likewise.
43568 * stdlib/ucontext.h: Likewise.
43569 * streams/stropts.h: Likewise.
43570 * string/argz.h: Likewise.
43571 * string/bits/string2.h: Likewise.
43572 * string/string.h: Likewise.
43573 * string/strings.h: Likewise.
43574 * sunrpc/rpc/auth.h: Likewise.
43575 * sunrpc/rpc/auth_des.h: Likewise.
43576 * sunrpc/rpc/clnt.h: Likewise.
43577 * sunrpc/rpc/netdb.h: Likewise.
43578 * sunrpc/rpc/pmap_clnt.h: Likewise.
43579 * sunrpc/rpc/xdr.h: Likewise.
43580 * sysdeps/generic/inttypes.h: Likewise.
43581 * sysdeps/generic/net/if.h: Likewise.
43582 * sysdeps/generic/sys/swap.h: Likewise.
43583 * sysdeps/gnu/net/if.h: Likewise.
43584 * sysdeps/gnu/utmpx.h: Likewise.
43585 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43586 * sysdeps/i386/i486/bits/string.h: Likewise.
43587 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43588 * sysdeps/s390/bits/string.h: Likewise.
43589 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43590 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43591 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43592 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43593 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43594 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43595 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43596 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43597 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43598 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43599 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43600 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43601 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43602 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43603 * sysdeps/unix/sysv/linux/readv.c: Likewise.
43604 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43605 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43606 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43607 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43608 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43609 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43610 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43611 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43612 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43613 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43614 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43615 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43616 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43617 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43618 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43619 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43620 * sysvipc/sys/ipc.h: Likewise.
43621 * sysvipc/sys/msg.h: Likewise.
43622 * sysvipc/sys/sem.h: Likewise.
43623 * sysvipc/sys/shm.h: Likewise.
43624 * termios/termios.h: Likewise.
43625 * time/sys/time.h: Likewise.
43626 * time/time.h: Likewise.
43627 * wcsmbs/bits/wchar2.h: Likewise.
43628 * wcsmbs/uchar.h: Likewise.
43629 * wcsmbs/wchar.h: Likewise.
43630 * wctype/wctype.h: Likewise.
43633 * Makeconfig: Remove all but ELF support including AIX support.
43634 * Makerules: Likewise.
43635 * config.h.in: Likewise.
43636 * config.make.in: Likewise.
43637 * configure: Likewise.
43638 * configure.in: Likewise.
43639 * csu/Makefile: Likewise.
43640 * csu/version.c: Likewise.
43641 * debug/Makefile: Likewise.
43642 * dlfcn/Makefile: Likewise.
43643 * elf/Makefile: Likewise.
43644 * extra-lib.mk: Likewise.
43645 * iconv/Makefile: Likewise.
43646 * include/libc-symbols.h: Likewise.
43647 * include/shlib-compat.h: Likewise.
43648 * resolv/Makefile: Likewise.
43649 * resolv/res_libc.c: Likewise.
43650 * rt/Makefile: Likewise.
43651 * sysdeps/i386/asm-syntax.h: Likewise.
43652 * sysdeps/i386/sysdep.h: Likewise.
43653 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43654 * sysdeps/mach/sysdep.h: Likewise.
43655 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43656 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43657 * sysdeps/s390/asm-syntax.h: Likewise.
43658 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43659 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43660 * sysdeps/sh/sysdep.h: Likewise.
43661 * sysdeps/unix/sparc/sysdep.h: Likewise.
43662 * sysdeps/wordsize-32/divdi3.c: Likewise.
43663 * sysdeps/x86_64/sysdep.h: Likewise.
43665 * argp/Versions: Remove _argp_unlock_xxx.
43668 * abilist/ld.abilist: Update. Adjust for removal of tls option.
43669 * abilist/libBrokenLocale.abilist: Likewise.
43670 * abilist/libanl.abilist: Likewise.
43671 * abilist/libc.abilist: Likewise.
43672 * abilist/libcrypt.abilist: Likewise.
43673 * abilist/libdl.abilist: Likewise.
43674 * abilist/libm.abilist: Likewise.
43675 * abilist/libnsl.abilist: Likewise.
43676 * abilist/libpthread.abilist: Likewise.
43677 * abilist/libresolv.abilist: Likewise.
43678 * abilist/librt.abilist: Likewise.
43679 * abilist/libthread_db.abilist: Likewise.
43680 * abilist/libutil.abilist: Likewise.
43681 * abilist/libnss_db.abilist: New file.
43683 * scripts/abilist.awk: Add support for indirect functions.
43685 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43687 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43689 * shlib-versions: Remove entries for ports architectures.
43691 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
43693 * elf/stackguard-macros.h: Remove support for IA-64.
43694 * elf/tst-auditmod1.c: Likewise.
43695 * sysdeps/generic/ldsodefs.h: Likewise.
43697 * sysdeps/unix/sysv/linux/configure.in: Ports should define
43698 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43702 * configure.in: Remove --enable-omitfp support.
43704 * config.make.in: Likewise.
43705 * Makeconfig: Likewise.
43706 * manual/install.texi: Likewise.
43708 In case anyone cares, the IA-64 architecture could move to ports.
43709 * sysdeps/ia64/*: Removed.
43710 * sysdeps/unix/sysv/linux/ia64/*: Removed.
43711 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43714 * configure.in: Remove entries for unsupported architectures.
43717 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43718 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43720 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43721 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43722 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43723 fall back to using wcrtomb.
43724 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43725 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43727 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43728 * wcsmbs/tst-c16c32-1.c: New file.
43730 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43733 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43735 * elf/tst-unique3.cc: Add explicit declaration of gets.
43736 * elf/tst-unique3lib.cc: Likewise.
43737 * elf/tst-unique3lib2.cc: Likewise.
43738 * elf/tst-unique4.cc: Likewise.
43740 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43742 2012-01-06 Joseph Myers <joseph@codesourcery.com>
43745 * assert/assert.h (static_assert): Don't define for C++.
43746 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43747 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43749 2012-01-03 Ulrich Drepper <drepper@gmail.com>
43751 * iconv/loop.c (single loop): Fix assertion in storing of
43754 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43756 2012-01-01 Ulrich Drepper <drepper@gmail.com>
43758 * posix/getconf.c: Update copyright year.
43759 * nss/getent.c: Likewise.
43760 * nss/makedb.c: Likewise.
43761 * iconv/iconvconfig.c: Likewise.
43762 * iconv/iconv_prog.c: Likewise.
43763 * elf/ldconfig.c: Likewise.
43764 * elf/pldd.c: Likewise.
43765 * elf/sotruss.ksh: Likewise.
43766 * catgets/gencat.c: Likewise.
43767 * csu/version.c: Likewise.
43768 * elf/ldd.bash.in: Likewise.
43769 * elf/sprof.c (print_version): Likewise.
43770 * locale/programs/locale.c: Likewise.
43771 * locale/programs/localedef.c: Likewise.
43772 * login/programs/pt_chown.c: Likewise.
43773 * nscd/nscd.c (print_version): Likewise.
43774 * debug/xtrace.sh: Likewise.
43775 * malloc/memusage.sh: Likewise.
43776 * malloc/mtrace.pl: Likewise.
43777 * debug/catchsegv.sh: Likewise.
43779 2011-12-30 Jakub Jelinek <jakub@redhat.com>
43781 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43784 2011-12-24 Ulrich Drepper <drepper@gmail.com>
43787 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43788 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43790 * iconv/gconv_int.h: Likewise.
43791 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43792 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43793 from libc for GLIBC_2.16.
43794 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43795 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43796 * wcsmbs/uchar.h: Really define mbstate_t.
43797 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43798 * wcsmbs/c16rtomb.c: New file.
43799 * wcsmbs/mbrtoc16.c: New file.
43800 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43801 for C/POSIX locale.
43802 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43803 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43805 * wcsmbs/wchar.h: Add missing __restrict.
43807 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43810 * time/Makefile (routines): Add timespec_get.
43811 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43812 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43813 timespec for ISO C11.
43814 * time/timespec_get.c: New file.
43815 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43816 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43819 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43820 * stdlib/stdlib.h: Declare aligned_alloc.
43821 * Versions.def: Add GLIBC_2.16 for libc.
43822 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43825 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43828 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43832 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43835 * assert/assert.h (static_assert): Define.
43837 * version.h: Update for 2.16 development version.
43840 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43843 * version.h (RELEASE): Bump for 2.15 release.
43844 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43846 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43847 Patch by Marek Polacek <mpolacek@redhat.com>.
43849 * bits/byteswap.h: Protect long long constants with __extension__.
43850 * sysdeps/i386/bits/byteswap.h: Likewise.
43851 * sysdeps/ia64/bits/byteswap.h: Likewise.
43852 * sysdeps/s390/bits/byteswap.h: Likewise.
43853 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43855 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43858 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43859 destination buffer.
43860 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43862 2011-12-23 Marek Polacek <polacek@redhat.com>
43864 * elf/dl-addr.c (determine_info): Add inline keyword.
43865 * elf/tst-auditmod4b.c (check_avx): Likewise.
43866 * elf/tst-auditmod6b.c (check_avx): Likewise.
43867 * elf/tst-auditmod6c.c (check_avx): Likewise.
43868 * elf/tst-auditmod7b.c (check_avx): Likewise.
43870 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43872 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43875 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43878 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43879 processing for last bytes.
43881 2011-08-06 Bruno Haible <bruno@clisp.org>
43884 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43885 U+0385, not to U+1FEE.
43888 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43889 entry for U+00A5 U+0301.
43891 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43894 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43895 buffer for the output is too small.
43897 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43901 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43902 SSE flags if possible.
43904 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43907 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43908 processing for last bytes.
43910 2011-12-22 Joseph Myers <joseph@codesourcery.com>
43912 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43913 (syscall-list-default-options, syscall-list-default-condition)
43914 (syscall-list-includes): Define.
43915 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43916 list of ABIs and options and #if conditions for each ABI. Do not
43917 handle common syscalls between ABIs specially.
43918 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43920 (syscall-list-variants, syscall-list-32bit-options)
43921 (syscall-list-32bit-condition, syscall-list-64bit-options)
43922 (syscall-list-64bit-condition): Define.
43923 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43924 (syscall-list-variants, syscall-list-32bit-options)
43925 (syscall-list-32bit-condition, syscall-list-64bit-options)
43926 (syscall-list-64bit-condition): Define.
43927 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43929 (syscall-list-variants, syscall-list-32bit-options)
43930 (syscall-list-32bit-condition, syscall-list-64bit-options)
43931 (syscall-list-64bit-condition): Define.
43932 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43934 (syscall-list-variants, syscall-list-32bit-options)
43935 (syscall-list-32bit-condition, syscall-list-64bit-options)
43936 (syscall-list-64bit-condition): Define.
43938 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43940 * locale/iso-639.def: Add brx entry.
43943 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43944 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43946 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43947 __feraiseexcept_renamed.
43949 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43952 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43953 EPOLLET with unsigned values.
43954 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43955 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43957 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43958 to large cancellation.
43959 * math/s_cacoshf.c: Likewise.
43960 * math/s_cacoshl.c: Likewise.
43962 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43966 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43967 * math/s_cacoshf.c: Likewise.
43968 * math/s_cacoshl.c: Likewise.
43970 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43973 * iconv/gconv.h: Define __GCONV_SWAP.
43974 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43975 * iconvdata/utf-16.c: Likewise.
43976 * iconvdata/utf-32.c: Likewise.
43978 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43981 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43982 numerator after shifting it by one limb.
43984 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43986 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43987 under [__USE_EXTERN_INLINES].
43989 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43992 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43994 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43996 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43997 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43999 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44000 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44001 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44002 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44003 for strncasecmp/strncasecmp_l compilation.
44004 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44005 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44007 2011-12-08 Marek Polacek <mpolacek@redhat.com>
44010 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44013 2011-12-17 Ulrich Drepper <drepper@gmail.com>
44016 * time/tzfile.c (__tzfile_read): Check values from file header.
44018 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
44020 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44021 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44022 * powerpc/powerpc32/dl-start.S: Likewise.
44023 * powerpc/powerpc32/elf/start.S: Likewise.
44024 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44025 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44026 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44027 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44028 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44029 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44030 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44031 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44032 * powerpc/powerpc32/fpu/s_round.S: Likewise.
44033 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44034 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44035 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44036 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44037 * powerpc/powerpc32/memset.S: Likewise.
44038 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44039 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44040 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44041 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44042 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44043 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44044 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44045 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44046 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44047 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44048 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44049 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44050 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44052 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44054 * math/libm-test.inc: Added more nearbyint tests.
44055 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44056 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44057 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44058 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44060 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
44062 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44065 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44067 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44068 Add wcscpy-ssse3 wcscpy-c.
44069 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44070 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44071 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44072 * sysdeps/x86_64/wcschr.S: New file.
44073 * sysdeps/x86_64/wcsrchr.S: New file.
44074 * string/test-strcmp.c: Remove checking of wcscmp function for
44076 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44077 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44078 wcsrchr-sse2 wcsrchr-c.
44079 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44080 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44081 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44082 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44083 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44084 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44085 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44086 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44087 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44088 * wcsmbc/wcschr.c (WCSCHR): New macro.
44090 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44092 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44093 * wcsmbs/test-wcsrchr.c: New file.
44094 * string/test-strrchr.c: Add wcsrchr support.
44096 * wcsmbs/test-wcscpy.c: New file.
44097 * string/test-strcpy.c: Add wcscpy support.
44100 2011-12-10 Ulrich Drepper <drepper@gmail.com>
44102 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44105 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
44108 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44110 2011-12-04 Ulrich Drepper <drepper@gmail.com>
44112 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44113 Minor optimizations.
44115 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44116 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44117 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44119 2011-12-03 Ulrich Drepper <drepper@gmail.com>
44121 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44122 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44123 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44124 for gcc to avoid warnings.
44125 * inet/Makefile (tests): Add tst-checks.
44126 * inet/tst-checks.c: New file.
44128 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44131 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44134 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44135 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44137 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44139 2011-12-02 Ulrich Drepper <drepper@gmail.com>
44141 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44144 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44146 2011-11-29 Joseph Myers <joseph@codesourcery.com>
44148 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44149 conditional on GCC version.
44150 (__arch_compare_and_exchange_val_8_acq)
44151 (__arch_compare_and_exchange_val_16_acq)
44152 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44153 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44154 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44156 2011-12-02 Joseph Myers <joseph@codesourcery.com>
44158 * sysdeps/sh/backtrace.c: New file.
44160 2011-12-02 Andreas Schwab <schwab@redhat.com>
44162 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
44165 2011-12-01 Andreas Schwab <schwab@redhat.com>
44167 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44168 falling back to utime.
44170 2011-11-30 Andreas Schwab <schwab@redhat.com>
44172 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44173 expectations for float.
44175 2011-11-29 Andreas Schwab <schwab@redhat.com>
44177 * locale/weight.h (findidx): Add parameter len.
44178 * locale/weightwc.h (findidx): Likewise.
44179 * posix/fnmatch_loop.c (FCT): Adjust caller.
44180 * posix/regcomp.c (build_equiv_class): Likewise.
44181 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44182 * posix/regexec.c (check_node_accept_bytes): Likewise.
44183 * string/strcoll_l.c (STRCOLL): Likewise.
44184 * string/strxfrm_l.c (STRXFRM): Likewise.
44186 2011-11-17 Ulrich Drepper <drepper@gmail.com>
44188 * Makefile.in: Remove CVSOPT handling.
44189 * configure.in: Remove use of AC_REVISION.
44190 * iconvdata/Makefile (distribute): No need to filter out CVS.
44191 * scripts/list-sources.sh: Remove CVS, subversion and monotone
44194 2011-11-16 Andreas Schwab <schwab@redhat.com>
44196 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44197 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44198 [USE_AS_STRNCASECMP_L]: Likewise.
44199 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44200 NO_TLS_DIRECT_SEG_REFS.
44201 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44202 Fix argument offsets for non-PIC.
44203 [USE_AS_STRNCASECMP_L]: Likewise.
44204 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44205 NO_TLS_DIRECT_SEG_REFS.
44207 2011-11-15 Ulrich Drepper <drepper@gmail.com>
44209 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44211 * locale/loadlocale.c (_nl_load_locale): Likewise.
44213 2011-11-15 Andreas Schwab <schwab@redhat.com>
44215 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44216 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44217 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44218 (SYSCALL_GETTIME): Set errno on error.
44220 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44221 count references to noai6ai_cached.
44223 2011-11-15 Ulrich Drepper <drepper@gmail.com>
44225 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44227 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44228 FD_CLOEXEC for /proc/self/maps.
44230 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44231 FD_CLOEXEC for /proc/meminfo.
44233 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44236 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
44237 FD_CLOEXEC for given file.
44239 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44241 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44242 FD_CLOEXEC for /etc/hosts.
44243 (_gethtent): Likewise.
44245 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44247 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44248 cancellation and set FD_CLOEXEC for /etc/netgroup.
44250 * nss/nss_files/files-key.c (search): Don't allow cancellation when
44251 reading /etc/publickey.
44253 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44254 allow cancellation when reading /etc/group.
44256 * nss/nss_files/files-alias.c (internal_setent): Don't allow
44258 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
44260 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44261 when using data file.
44263 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44265 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44266 (write_nis_obj): Use "c" and "e" in fopen.
44268 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44270 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44272 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44274 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44276 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44279 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44281 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44283 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44285 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44286 file parsing and set FD_CLOEXEC.
44288 2011-11-14 Ulrich Drepper <drepper@gmail.com>
44290 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44292 2011-11-14 Andreas Schwab <schwab@redhat.com>
44294 * malloc/arena.c (arena_get2): Don't call reused_arena when
44295 _int_new_arena failed.
44297 2011-11-14 Ulrich Drepper <drepper@gmail.com>
44299 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44300 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44301 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44302 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44303 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44304 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44305 to compile strcasecmp and strncasecmp.
44306 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44307 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44309 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44311 2011-11-13 Ulrich Drepper <drepper@gmail.com>
44313 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44314 locale-defines.sym to gen-as-const-headers.
44315 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44316 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44317 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44318 to compile strcasecmp and strncasecmp.
44319 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44320 strcasecmp_l and strncasecmp_l.
44321 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44322 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44323 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44324 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44325 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44326 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44327 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44328 * sysdeps/i386/i686/multiarch/strncase.S: New file.
44329 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44330 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44331 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44333 2011-11-12 Ulrich Drepper <drepper@gmail.com>
44335 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44336 result of SYSDEP_GETTIME_CPU to retval.
44337 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44338 parameter list to macro. Remove trailing semicolon. Adjust users.
44340 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44343 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44345 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44347 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44348 from unused variable.
44350 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44352 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44355 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44358 * sunrpc/rpc_prot.c (rejected): Fix case value.
44360 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44361 unsigned long long int to avoid warnings in shift.
44363 * posix/regex_internal.c (re_string_reconstruct): Actually use result
44365 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44368 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44369 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44370 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44372 * nis/nis_table.c (nis_list): Use variable of correct type for
44373 result of __follow_path call.
44375 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44377 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44378 of math functions ceil, trunc, floor, round, and sqrt, when
44379 avaliable on the platform.
44380 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44382 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44383 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44384 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44386 2011-10-30 Marek Polacek <mpolacek@redhat.com>
44388 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44389 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44391 2011-11-11 Roland McGrath <roland@hack.frob.com>
44393 * include/unistd.h: Fix __readlink return type.
44394 Reported by Chris Metcalf <cmetcalf@tilera.com>.
44396 2011-11-11 Ulrich Drepper <drepper@gmail.com>
44398 * stdlib/ucontext.h: Undo last change for makecontext.
44400 2011-11-11 Andreas Schwab <schwab@redhat.com>
44402 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44404 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44405 * setjmp/setjmp.h: Mark functions as non-leaf.
44406 * setjmp/bits/setjmp2.h: Likewise.
44407 * stdlib/ucontext.h: Likewise.
44409 2011-11-10 Andreas Schwab <schwab@redhat.com>
44411 * malloc/arena.c (_int_new_arena): Don't increment narenas.
44412 (reused_arena): Don't check arena limit.
44413 (arena_get2): Atomically check arena limit.
44415 2011-11-08 Ulrich Drepper <drepper@gmail.com>
44417 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44418 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44420 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44423 2011-11-07 Andreas Schwab <schwab@redhat.com>
44425 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44426 handler when locking.
44428 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44429 Fix size of allocated buffer.
44431 2011-11-04 Andreas Schwab <schwab@redhat.com>
44434 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44435 declarations for long double functions.
44436 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44438 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44440 2011-11-03 Andreas Schwab <schwab@redhat.com>
44442 * nscd/nscd.c (main): Don't start AVC thread until credentials are
44445 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44448 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
44450 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44452 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
44454 * include/alloca.h (stackinfo_alloca_round): Define.
44455 (extend_alloca): Use it.
44456 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44457 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44460 * scripts/check-local-headers.sh: Ignore libaudit.h.
44462 * nscd/Makefile (extra-objs): Make recursively expanded.
44464 2011-11-01 Ulrich Drepper <drepper@gmail.com>
44466 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44467 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44469 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44470 * posix/tst-rfc3484-2.c: Likewise.
44471 * posix/tst-rfc3484-3.c: Likewise.
44473 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44475 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44477 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44478 process_vm_writev from libc using GLIBC_2.15 version.
44480 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44482 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
44484 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44487 2011-10-31 Ulrich Drepper <drepper@gmail.com>
44490 * nss/getent.c (initgroups_keys): Show error message in case no group
44493 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44494 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44495 __bump_nl_timestamp.
44496 * nscd/connections (nscd_init): When host database is served open
44497 netlink socket and request notification about configuration changes.
44498 (main_loop_poll): Track netlink file descriptor and bump timestamp
44499 in case data becomes available.
44500 (main_loop_epoll): Likewise.
44501 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44502 (database_pers_head): Add extra_data fileds.
44503 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44504 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44505 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44507 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44508 in6ai data, call __free_in6ai.
44509 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44510 Add -DHAVE_NETLINK.
44511 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
44512 interface information. Reuse previous data if netlink timestamp
44514 (__bump_nl_timestamp): New function.
44515 (__free_in6ai): New function.
44517 2011-10-30 Ulrich Drepper <drepper@gmail.com>
44519 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44520 close_not_cancel_no_status here.
44521 (__check_pf): Reorganize code a bit to not call close twice if OOM.
44523 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44526 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44529 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44530 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44531 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44533 2011-07-03 Andreas Jaeger <aj@suse.de>
44536 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44537 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44538 * math/libm-test.inc (sin_test): Add test case.
44540 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44543 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44544 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44546 * elf/chroot_canon.c (chroot_canon): Cleanups.
44548 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44551 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44552 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44554 * string/test-strchr.c: Make usable for strchrnul testing.
44555 * string/test-strchrnul.c: New file.
44556 * string/Makefile (strop-tests): Add strchrnul.
44558 * po/it.po: Update from translation team.
44559 * po/es.po: Likewise.
44561 2011-10-28 Ulrich Drepper <drepper@gmail.com>
44563 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44564 the three constants needed as parameters. Drop the others.
44565 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44566 __m128i_strloadu_tolower.
44567 Create and initialize variable zero and use it in all the places
44568 where _mm_setzero_si128 was used.
44570 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44571 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44572 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44573 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44575 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44576 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44577 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44578 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44579 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44580 __mpranred, __mptan.
44581 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44582 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44583 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44584 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44585 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44586 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44587 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44588 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44589 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44591 2011-10-28 Andreas Schwab <schwab@redhat.com>
44593 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44594 redefine if SHARED.
44595 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44597 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44598 wide char related routines to wcsmbs subdir.
44600 2011-10-27 Andreas Schwab <schwab@redhat.com>
44603 * misc/sys/cdefs.h (__THROWNL): Define.
44604 * posix/unistd.h: Use __THREADNL instead of __THREAD
44605 for memory synchronization functions.
44607 2011-10-26 Roland McGrath <roland@hack.frob.com>
44610 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44612 * manual/stdio.texi (Obstack Streams): Node removed.
44614 2011-10-26 Andreas Schwab <schwab@redhat.com>
44616 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44617 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44618 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44620 * math/math_private.h (math_force_eval): Allow non-addressable
44622 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44624 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44626 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44627 file is not needed.
44629 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44630 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44631 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44632 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44633 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44634 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44635 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44636 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44638 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44639 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44640 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44641 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44642 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44643 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44644 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44645 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44646 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44647 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44648 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44649 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44650 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44651 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44652 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44653 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44654 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44655 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44656 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44658 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44659 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
44661 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44662 place. Use VEX encoding when compiling for AVX.
44664 2011-10-25 Andreas Schwab <schwab@redhat.com>
44666 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44667 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44669 * string/test-strchr.c (do_test): Don't generate NUL bytes.
44671 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44673 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44674 useless if() expression.
44675 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44676 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44677 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44678 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44679 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44680 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44681 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44682 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44683 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44684 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44685 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44686 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44687 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44688 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44689 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44690 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44691 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44692 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44693 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44695 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44697 2011-10-25 Andreas Schwab <schwab@redhat.com>
44699 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44701 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44703 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44705 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44706 .text section. Avoid duplicate constants.
44707 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44708 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44709 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44710 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44711 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44712 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44713 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44714 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44715 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44716 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44717 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44718 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44719 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44720 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44721 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44722 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44723 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44724 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44725 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44726 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44727 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44728 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44729 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44730 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44731 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44732 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44733 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44734 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44735 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44736 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44737 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44738 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44739 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44740 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44741 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44742 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44743 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44744 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44745 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44746 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44747 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44748 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44749 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44750 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44751 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44753 2011-10-24 Ulrich Drepper <drepper@gmail.com>
44755 * sysdeps/x86_64/dla.h: Move to ...
44756 * sysdeps/x86_64/fpu/dla.h: ...here.
44757 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44758 situations. Use __builtin_fma only for gcc 4.6 and up.
44760 * config.make.in: Add have-mfma4 entry.
44761 * configure.in: Substitute libc_cv_cc_fma4.
44762 * math/Makefile (dbl-only-routines): Add sincostab.
44763 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44764 Use __sincostab not sincos.
44765 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44767 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44768 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44769 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44770 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44772 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44773 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44774 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44775 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44777 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44778 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44780 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44781 define aliases when function name is a macro.
44782 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44783 sysdeps/ieee754/dbl-64/sincos.tbl.
44784 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44785 fma4-enabled routines.
44786 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44787 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44788 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44789 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44790 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44791 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44792 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44793 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44794 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44795 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44796 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44797 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44798 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44799 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44800 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44801 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44802 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44803 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44804 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44805 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44806 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44807 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44808 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44809 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44810 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44811 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44812 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44813 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44814 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44815 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44817 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44819 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44820 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44821 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44822 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44823 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44824 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44825 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44826 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44828 2011-10-24 Andreas Schwab <schwab@redhat.com>
44830 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44832 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44834 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44836 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44838 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44840 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44841 Remove unused variable magic_bits.
44842 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44844 * string/strnlen.c: Define and use STRNLEN macro.
44845 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44846 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44847 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44848 * wcsmbs/wcslen.c: Define and use WCSLEN.
44849 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44850 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44851 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44852 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44853 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44854 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44855 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44857 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44859 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44860 strnlen-sse2-no-bsf.
44861 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44862 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44863 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44864 Add strnlen support.
44865 (USE_AS_STRNLEN): New macro.
44866 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44867 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44868 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44869 * sysdeps/x86_64/wcslen.S: New file.
44871 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44873 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44874 XMM-moves are used for copying on small sizes.
44876 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44878 * wcsmbs/Makefile (strop-tests): Add wcschr.
44879 * wcsmbs/test-wcschr.c: New file.
44880 * string/test-strchr.c: Update.
44881 Add wcschr support.
44884 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44886 * wcsmbs/Makefile (strop-tests): Add wcslen.
44887 * wcsmbs/test-wcslen.c: New file.
44888 * string/test-strlen.c: Update.
44889 Add wcslen support.
44892 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44894 * po/it.po: Update from translation team.
44896 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44898 * sysdeps/x86_64/wcscmp.S: Update.
44899 Fix wrong comparison semantics.
44900 wcscmp shall use signed comparison not unsigned.
44901 Don't use substraction to avoid overflow bug.
44902 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44903 * wcsmbc/wcscmp.c: Likewise.
44904 * string/test-strcmp.c: Likewise.
44905 Add new tests to check cases with negative values.
44907 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44909 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44910 * sysdeps/x86_64/dla.h: ...here. New file.
44911 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44912 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44913 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44914 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44915 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44916 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44917 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44918 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44919 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44921 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44923 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44924 __ynl_finite aliases.
44926 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44928 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44930 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44932 [DLA_FMA] (EMULV): Use DLA_FMA.
44933 [DLA_FMA] (MUL12): Use EMULV.
44934 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44935 that are not needed.
44936 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44937 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44938 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44939 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44940 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44941 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44942 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44944 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44946 * math/s_nan.c: Undef __nan.
44947 * math/s_nanf.c: Undef __nanf.
44948 * math/s_nanl.c: Undef __nanl.
44949 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44952 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44954 * math/s_catan.c: Add branch predictions.
44955 * math/s_catanf.c: Likewise.
44956 * math/s_catanh.c: Likewise.
44957 * math/s_catanhf.c: Likewise.
44958 * math/s_catanhl.c: Likewise.
44959 * math/s_catanl.c: Likewise.
44960 * math/s_cexp.c: Likewise.
44961 * math/s_cexpf.c: Likewise.
44962 * math/s_cexpl.c: Likewise.
44963 * math/s_clog.c: Likewise.
44964 * math/s_clog10.c: Likewise.
44965 * math/s_clog10f.c: Likewise.
44966 * math/s_clog10l.c: Likewise.
44967 * math/s_clogf.c: Likewise.
44968 * math/s_clogl.c: Likewise.
44969 * math/s_csqrt.c: Likewise.
44970 * math/s_csqrtf.c: Likewise.
44971 * math/s_csqrtl.c: Likewise.
44972 * math/s_ctanf.c: Likewise.
44973 * math/s_ctanh.c: Likewise.
44974 * math/s_ctanhf.c: Likewise.
44975 * math/s_ctanhl.c: Likewise.
44976 * math/s_ctanl.c: Likewise.
44978 * math/math_private.h: Define __nan, __nanf, __nanl.
44979 * math/s_cacosh.c: Include <math_private.h>.
44980 * math/s_cacoshl.c: Likewise.
44981 * math/s_casinh.c: Likewise.
44982 * math/s_casinhf.c: Likewise.
44983 * math/s_casinhl.c: Likewise.
44984 * math/s_ccos.c: Rely entire on ccosh.
44985 * math/s_ccosf.c: Rely entire on ccoshf.
44986 * math/s_ccosl.c: Rely entirely on ccoshl.
44987 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44988 Remove tests for FE_INVALID.
44989 * math/s_ccoshf.c: Likewise.
44990 * math/s_ccoshl.c: Likewise.
44991 * math/s_csin.c: Likewise.
44992 * math/s_csinf.c: Likewise.
44993 * math/s_csinh.c Likewise.
44994 * math/s_csinhf.c: Likewise.
44995 * math/s_csinhl.c: Likewise.
44996 * math/s_csinl.c: Likewise.
44997 * math/s_ctan.c: Likewise.
44998 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44999 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45000 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45002 2011-10-21 Ulrich Drepper <drepper@gmail.com>
45004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45005 compilation problems.
45007 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45010 2011-10-20 Ulrich Drepper <drepper@gmail.com>
45012 * sysdeps/i386/configure.in: Test for -mfma4 option.
45013 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45014 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45015 COMMON_CPUID_INDEX_80000001.
45016 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45017 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45018 use it if FMA3 is not supported.
45019 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45021 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45022 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45024 2011-10-20 Andreas Schwab <schwab@redhat.com>
45027 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45028 it would create a cycle with a link time dependency.
45030 2011-10-19 Ulrich Drepper <drepper@gmail.com>
45032 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45034 * string/Makefile (strop-tests): Add rawmemchr.
45035 * string/test-rawmemchr.c: New file.
45037 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45038 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
45039 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
45040 when compiling str{,n}casecmp and when AVX is available. Hook up
45041 new optimized code in initializers.
45043 2011-10-19 Andreas Schwab <schwab@redhat.com>
45045 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45046 __feraiseexcept instead of feraiseexcept.
45048 2011-10-18 Ulrich Drepper <drepper@gmail.com>
45050 * math/math_private.h: Define defaults for libc_fetestexcept and
45052 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45053 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45054 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45055 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45056 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45057 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45058 libc_fetestexcept and libc_feupdateenv.
45060 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45061 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45062 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45063 * sysdeps/x86_64/fpu/math_private.h: Define special version of
45064 libc_feholdexcept_setround.
45066 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45067 Add s_nearbyint-c and s_nearbyintf-c.
45068 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45069 nearbyintf inlines.
45070 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45071 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45072 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45073 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45075 * math/math_private.h: Define defaults for libc_fegetround,
45076 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45077 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45078 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45079 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45080 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45081 standard functions.
45082 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45083 Remove comments and hacks for old compiler versions.
45084 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45085 libc_fegetround, libc_fesetround, libc_feholdexcept, and
45086 libc_feholdexceptl.
45088 2011-10-18 Andreas Schwab <schwab@redhat.com>
45090 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45091 (__feraiseexcept_renamed): Add __NTH.
45092 (feraiseexcept): Add __NTH. Rename local variables to fix
45093 namespace violations.
45095 2011-10-17 Ulrich Drepper <drepper@gmail.com>
45097 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45099 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45101 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45102 recently added interfaces.
45103 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45105 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45106 about macro parameter expansion.
45108 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45109 __NO_MATH_INLINES is defined. Cleanups.
45111 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45112 and __floorf is target has SSE4.1.
45113 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45114 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45115 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45116 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45118 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45120 (floorf): Likewise.
45122 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45124 2011-10-17 Andreas Schwab <schwab@redhat.com>
45126 * misc/sys/cdefs.h: Fix last change.
45128 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45131 2011-10-16 Ulrich Drepper <drepper@gmail.com>
45133 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45135 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45136 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45137 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45138 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45139 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45140 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45141 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45142 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45143 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45144 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45145 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45146 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45147 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45148 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45149 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45150 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45151 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45152 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45153 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45154 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45155 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45156 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45158 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45159 ceil, ceilf, floor, floorf.
45161 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45162 Perform IRELATIVE relocations last.
45164 * elf/do-rel.h: Add another parameter nrelative, replacing the
45165 local variable with the same name. Change name of the function
45166 to end in Rel or Rela (uppercase).
45167 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45168 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
45169 elf_dynamic_do_##reloc function.
45171 2011-10-15 Ulrich Drepper <drepper@gmail.com>
45173 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45174 is sufficient, at least on modern CPUs.
45176 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45178 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45179 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45181 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45183 * math/bits/math-finite.h: Add entries for exp.
45184 * math/e_expl.c: Add __*_finite alias.
45185 * sysdeps/i386/fpu/e_exp.S: Likewise.
45186 * sysdeps/i386/fpu/e_expf.S: Likewise.
45187 * sysdeps/i386/fpu/e_expl.c: Likewise.
45188 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45189 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45190 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45191 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45192 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45193 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45194 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45196 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45197 is sufficient, at least on modern CPUs.
45199 * ctype/ctype-info.c (__ctype_init): Define.
45200 * include/ctype.h (__ctype_init): Declare.
45201 (__ctype_b_loc): The variable is always initialized.
45202 (__ctype_toupper_loc): Likewise.
45203 (__ctype_tolower_loc): Likewise.
45204 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45205 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45207 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
45209 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45211 * configure.in: Also look in $cxxmachine/include for C++ system
45214 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45216 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45217 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45218 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45219 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
45220 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45221 (USE_AS_WMEMCMP): New macro.
45223 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45224 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45225 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45226 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45227 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45228 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45229 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45230 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45231 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45232 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45233 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45234 (USE_AS_WMEMCMP): New macro.
45235 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45236 * sysdeps/string/test-memcmp.c: Update.
45237 Fix simple_wmemcmp.
45239 * wcsmbs/wmemcmp.c: Update.
45240 (WMEMCMP): New macro.
45243 2011-10-12 Andreas Jaeger <aj@suse.de>
45246 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45248 2011-10-15 Ulrich Drepper <drepper@gmail.com>
45250 * libio/iofwide.c (do_length): Avoid warning.
45252 * ctype/ctype.h (__isctype_f): Add missing __THROW.
45254 2011-10-14 Ulrich Drepper <drepper@gmail.com>
45256 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45258 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45259 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45260 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45261 * sysdeps/i386/i686/fpu/e_log.S: New file.
45262 * sysdeps/i386/i686/fpu/e_logf.S: New file.
45263 * sysdeps/i386/i686/fpu/e_logl.S: New file.
45265 * ctype/ctype.h: Add support for inlined isXXX functions when
45266 compiling C++ code.
45268 2011-10-14 Andreas Schwab <schwab@redhat.com>
45270 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45272 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45274 2011-10-13 Roland McGrath <roland@hack.frob.com>
45277 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45279 2011-10-13 Andreas Schwab <schwab@redhat.com>
45281 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45282 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45285 * sysdeps/x86_64/memrchr.S: Check for zero size.
45287 * string/stratcliff.c: Add memrchr tests.
45289 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45291 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45292 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45293 rawmemchr-sse2 rawmemchr-sse2-bsf.
45294 * sysdeps/i386/i686/multiarch/memchr.S: New file.
45295 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45296 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45297 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45298 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45299 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45300 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45301 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45302 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45303 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45304 * string/memrchr.c (MEMRCHR): New macro.
45306 2011-10-12 Ulrich Drepper <drepper@gmail.com>
45308 Add integration with gcc's -ffinite-math-only and optimize wrapper
45310 * Versions.def: Define GLIBC_2.15 version for libm.
45311 * math/Makefile (headers): Add bits/math-finite.h.
45312 * math/bits/math-finite.h: New file.
45313 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45314 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45315 * math/e_acoshl.c: Add __*_finite alias.
45316 * math/e_acosl.c: Likewise.
45317 * math/e_asinl.c: Likewise.
45318 * math/e_atan2l.c: Likewise.
45319 * math/e_atanhl.c: Likewise.
45320 * math/e_coshl.c: Likewise.
45321 * math/e_exp10.c: Likewise.
45322 * math/e_exp10f.c: Likewise.
45323 * math/e_exp10l.c: Likewise.
45324 * math/e_exp2l.c: Likewise.
45325 * math/e_fmodl.c: Likewise.
45326 * math/e_gammal_r.c: Likewise.
45327 * math/e_hypotl.c: Likewise.
45328 * math/e_j0l.c: Likewise.
45329 * math/e_j1l.c: Likewise.
45330 * math/e_jnl.c: Likewise.
45331 * math/e_lgammal_r.c: Likewise.
45332 * math/e_log10l.c: Likewise.
45333 * math/e_log2l.c: Likewise.
45334 * math/e_logl.c: Likewise.
45335 * math/e_powl.c: Likewise.
45336 * math/e_sinhl.c: Likewise.
45337 * math/e_sqrtl.c: Likewise.
45338 * math/e_scalb.c: Completely rewritten and optimized.
45339 * math/e_scalbf.c: Likewise.
45340 * math/e_scalbl.c: Likewise.
45341 * math/w_acos.c: Likewise.
45342 * math/w_acosf.c: Likewise.
45343 * math/w_acosl.c: Likewise.
45344 * math/w_acosh.c: Likewise.
45345 * math/w_acoshf.c: Likewise.
45346 * math/w_acoshl.c: Likewise.
45347 * math/w_asin.c: Likewise.
45348 * math/w_asinf.c: Likewise.
45349 * math/w_asinl.c: Likewise.
45350 * math/w_atan2.c: Likewise.
45351 * math/w_atan2f.c: Likewise.
45352 * math/w_atan2l.c: Likewise.
45353 * math/w_atanh.c: Likewise.
45354 * math/w_atanhf.c: Likewise.
45355 * math/w_atanhl.c: Likewise.
45356 * math/w_exp10.c: Likewise.
45357 * math/w_exp10f.c: Likewise.
45358 * math/w_exp10l.c: Likewise.
45359 * math/w_fmod.c: Likewise.
45360 * math/w_fmodf.c: Likewise.
45361 * math/w_fmodl.c: Likewise.
45362 * math/w_j0.c: Likewise.
45363 * math/w_j0f.c: Likewise.
45364 * math/w_j0l.c: Likewise.
45365 * math/w_j1.c: Likewise.
45366 * math/w_j1f.c: Likewise.
45367 * math/w_j1l.c: Likewise.
45368 * math/w_jn.c: Likewise.
45369 * math/w_jnf.c: Likewise.
45370 * math/w_log.c: Likewise.
45371 * math/w_logf.c: Likewise.
45372 * math/w_logl.c: Likewise.
45373 * math/w_log10.c: Likewise.
45374 * math/w_log10f.c: Likewise.
45375 * math/w_log10l.c: Likewise.
45376 * math/w_log2.c: Likewise.
45377 * math/w_log2f.c: Likewise.
45378 * math/w_log2l.c: Likewise.
45379 * math/w_pow.c: Likewise.
45380 * math/w_powf.c: Likewise.
45381 * math/w_powl.c: Likewise.
45382 * math/w_remainder.c: Likewise.
45383 * math/w_remainderf.c: Likewise.
45384 * math/w_remainderl.c: Likewise.
45385 * math/w_scalb.c: Likewise.
45386 * math/w_scalbf.c: Likewise.
45387 * math/w_scalbl.c: Likewise.
45388 * math/w_sqrt.c: Likewise.
45389 * math/w_sqrtf.c: Likewise.
45390 * math/w_sqrtl.c: Likewise.
45391 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45392 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
45394 * math/math_private.h: Declare __kernel_standard_f.
45395 * math/w_cosh.c: Remove cruft and optimize a bit.
45396 * math/w_coshf.c: Likewise.
45397 * math/w_coshl.c: Likewise.
45398 * math/w_exp2.c: Likewise.
45399 * math/w_exp2f.c: Likewise.
45400 * math/w_exp2l.c: Likewise.
45401 * math/w_hypot.c: Likewise.
45402 * math/w_hypotf.c: Likewise.
45403 * math/w_hypotl.c: Likewise.
45404 * math/w_lgamma.c: Likewise.
45405 * math/w_lgamma_r.c: Likewise.
45406 * math/w_lgammaf.c: Likewise.
45407 * math/w_lgammaf_r.c: Likewise.
45408 * math/w_lgammal.c: Likewise.
45409 * math/w_lgammal_r.c: Likewise.
45410 * math/w_sinh.c: Likewise.
45411 * math/w_sinhf.c: Likewise.
45412 * math/w_sinhl.c: Likewise.
45413 * math/w_tgamma.c: Likewise.
45414 * math/w_tgammaf.c: Likewise.
45415 * math/w_tgammal.c: Likewise.
45416 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45417 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45418 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45419 Minor optimizations. Pretty printing. Remove cruft.
45420 * sysdeps/i386/fpu/e_acosf.S: Likewise.
45421 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45422 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45423 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45424 * sysdeps/i386/fpu/e_acosl.c: Likewise.
45425 * sysdeps/i386/fpu/e_asin.S: Likewise.
45426 * sysdeps/i386/fpu/e_asinf.S: Likewise.
45427 * sysdeps/i386/fpu/e_atan2.S: Likewise.
45428 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45429 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45430 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45431 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45432 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45433 * sysdeps/i386/fpu/e_exp10.S: Likewise.
45434 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45435 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45436 * sysdeps/i386/fpu/e_exp2.S: Likewise.
45437 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45438 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45439 * sysdeps/i386/fpu/e_fmod.S: Likewise.
45440 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45441 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45442 * sysdeps/i386/fpu/e_hypot.S: Likewise.
45443 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45444 * sysdeps/i386/fpu/e_log.S: Likewise.
45445 * sysdeps/i386/fpu/e_log10.S: Likewise.
45446 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45447 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45448 * sysdeps/i386/fpu/e_log2.S: Likewise.
45449 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45450 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45451 * sysdeps/i386/fpu/e_logf.S: Likewise.
45452 * sysdeps/i386/fpu/e_logl.S: Likewise.
45453 * sysdeps/i386/fpu/e_pow.S: Likewise.
45454 * sysdeps/i386/fpu/e_powf.S: Likewise.
45455 * sysdeps/i386/fpu/e_powl.S: Likewise.
45456 * sysdeps/i386/fpu/e_remainder.S: Likewise.
45457 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45458 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45459 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45460 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45461 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45462 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45463 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45464 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45465 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45466 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45467 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45468 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45469 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45470 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45471 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45472 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45473 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45474 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45475 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45476 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45477 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45478 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45479 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45480 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45481 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45482 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45483 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45484 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45485 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45486 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45487 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45488 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45489 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45490 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45491 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45492 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45493 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45494 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45495 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45496 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45497 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45498 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45499 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45500 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45501 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45502 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45503 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45504 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45505 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45506 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45507 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45508 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45509 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45510 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45511 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45512 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45513 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45514 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45515 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45516 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45517 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45518 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45519 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45520 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45521 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45522 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45523 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45524 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45525 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45526 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45527 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45528 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45529 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45530 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45531 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45532 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45533 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45534 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45535 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45536 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45537 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45538 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45539 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45540 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45541 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45542 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45543 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45544 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45545 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45546 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45547 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45548 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45549 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45550 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45551 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45552 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45553 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45554 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45555 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45556 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45557 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45558 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45559 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45560 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45561 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45562 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45563 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45564 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45565 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45566 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45567 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45568 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45569 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45570 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45571 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45572 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45573 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45574 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45575 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
45576 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45577 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45578 (__isnanf): Likewise.
45579 (__isinf_ns): Likewise.
45580 (__isinf_nsf): Likewise.
45581 (__finite): Likewise.
45582 (__finitef): Likewise.
45583 (__ieee754_sqrt): Define as macro.
45584 (__ieee754_sqrtf): Define as macro.
45585 (__ieee754_sqrtl): Define as macro.
45586 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45588 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45589 __FINITE_MATH_ONLY__ consistent.
45590 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45592 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
45594 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45597 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45599 2011-10-09 Ulrich Drepper <drepper@gmail.com>
45601 * po/ja.po: Update from translation team.
45603 2011-10-08 Roland McGrath <roland@hack.frob.com>
45605 * locale/programs/locarchive.c (prepare_address_space): New function.
45606 (create_archive, enlarge_archive, open_archive): Use it.
45608 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45609 inside [SHARED], where it is used.
45611 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45613 * nss/getent.c (netgroup_keys): Remove unused variable.
45614 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45616 2011-10-08 Ulrich Drepper <drepper@gmail.com>
45618 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45619 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45620 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45621 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45622 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45623 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45624 * math/Makefile (libm-calls): Add s_isinf_ns.
45625 * math/divtc3.c: Use __isinf_nsl instead of isinf.
45626 * math/multc3.c: Likewise.
45627 * math/s_casin.c: Likewise.
45628 * math/s_casinf.c: Likewise.
45629 * math/s_casinl.c: Likewise.
45630 * math/s_ccos.c: Likewise.
45631 * math/s_ccosf.c: Likewise.
45632 * math/s_ccosl.c: Likewise.
45633 * math/s_ctan.c: Likewise.
45634 * math/s_ctanf.c: Likewise.
45635 * math/s_ctanh.c: Likewise.
45636 * math/s_ctanhf.c: Likewise.
45637 * math/s_ctanhl.c: Likewise.
45638 * math/s_ctanl.c: Likewise.
45639 * math/w_fmod.c: Likewise.
45640 * math/w_fmodf.c: Likewise.
45641 * math/w_fmodl.c: Likewise.
45642 * math/w_remainder.c: Likewise.
45643 * math/w_remainderf.c: Likewise.
45644 * math/w_remainderl.c: Likewise.
45645 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45646 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45647 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45648 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45649 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45650 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45651 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45652 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45654 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45656 * stdio-common/printf_fphex.c: Likewise.
45657 * stdio-common/printf_size.c: Likewise.
45659 * math/e_exp10.c: Include math_private.h using <...> not "...".
45660 * math/e_exp10f.c: Likewise.
45661 * math/e_exp10l.c: Likewise.
45662 * math/e_exp2l.c: Likewise.
45663 * math/e_j0l.c: Likewise.
45664 * math/e_j1l.c: Likewise.
45665 * math/e_jnl.c: Likewise.
45666 * math/e_lgammal_r.c: Likewise.
45667 * math/e_rem_pio2l.c: Likewise.
45668 * math/e_scalb.c: Likewise.
45669 * math/e_scalbf.c: Likewise.
45670 * math/e_scalbl.c: Likewise.
45671 * math/k_cosl.c: Likewise.
45672 * math/k_sinl.c: Likewise.
45673 * math/k_tanl.c: Likewise.
45674 * math/s_cacoshf.c: Likewise.
45675 * math/s_catan.c: Likewise.
45676 * math/s_catanf.c: Likewise.
45677 * math/s_catanh.c: Likewise.
45678 * math/s_catanhf.c: Likewise.
45679 * math/s_catanhl.c: Likewise.
45680 * math/s_catanl.c: Likewise.
45681 * math/s_ccosh.c: Likewise.
45682 * math/s_ccoshf.c: Likewise.
45683 * math/s_ccoshl.c: Likewise.
45684 * math/s_cexp.c: Likewise.
45685 * math/s_cexpf.c: Likewise.
45686 * math/s_cexpl.c: Likewise.
45687 * math/s_clog.c: Likewise.
45688 * math/s_clog10.c: Likewise.
45689 * math/s_clog10f.c: Likewise.
45690 * math/s_clog10l.c: Likewise.
45691 * math/s_clogf.c: Likewise.
45692 * math/s_clogl.c: Likewise.
45693 * math/s_csin.c: Likewise.
45694 * math/s_csinf.c: Likewise.
45695 * math/s_csinh.c: Likewise.
45696 * math/s_csinhf.c: Likewise.
45697 * math/s_csinhl.c: Likewise.
45698 * math/s_csinl.c: Likewise.
45699 * math/s_csqrt.c: Likewise.
45700 * math/s_csqrtf.c: Likewise.
45701 * math/s_csqrtl.c: Likewise.
45702 * math/s_ctan.c: Likewise.
45703 * math/s_ctanf.c: Likewise.
45704 * math/s_ctanh.c: Likewise.
45705 * math/s_ctanhf.c: Likewise.
45706 * math/s_ctanhl.c: Likewise.
45707 * math/s_ctanl.c: Likewise.
45708 * math/s_ldexp.c: Likewise.
45709 * math/s_ldexpf.c: Likewise.
45710 * math/s_ldexpl.c: Likewise.
45711 * math/s_significand.c: Likewise.
45712 * math/s_significandf.c: Likewise.
45713 * math/s_significandl.c: Likewise.
45714 * math/w_acos.c: Likewise.
45715 * math/w_acosf.c: Likewise.
45716 * math/w_acosh.c: Likewise.
45717 * math/w_acoshf.c: Likewise.
45718 * math/w_acoshl.c: Likewise.
45719 * math/w_acosl.c: Likewise.
45720 * math/w_asin.c: Likewise.
45721 * math/w_asinf.c: Likewise.
45722 * math/w_asinl.c: Likewise.
45723 * math/w_atan2.c: Likewise.
45724 * math/w_atan2f.c: Likewise.
45725 * math/w_atan2l.c: Likewise.
45726 * math/w_atanh.c: Likewise.
45727 * math/w_atanhf.c: Likewise.
45728 * math/w_atanhl.c: Likewise.
45729 * math/w_cosh.c: Likewise.
45730 * math/w_coshf.c: Likewise.
45731 * math/w_coshl.c: Likewise.
45732 * math/w_dremf.c: Likewise.
45733 * math/w_exp10.c: Likewise.
45734 * math/w_exp10f.c: Likewise.
45735 * math/w_exp10l.c: Likewise.
45736 * math/w_exp2.c: Likewise.
45737 * math/w_exp2f.c: Likewise.
45738 * math/w_fmod.c: Likewise.
45739 * math/w_fmodf.c: Likewise.
45740 * math/w_fmodl.c: Likewise.
45741 * math/w_hypot.c: Likewise.
45742 * math/w_hypotf.c: Likewise.
45743 * math/w_hypotl.c: Likewise.
45744 * math/w_j0.c: Likewise.
45745 * math/w_j0f.c: Likewise.
45746 * math/w_j0l.c: Likewise.
45747 * math/w_j1.c: Likewise.
45748 * math/w_j1f.c: Likewise.
45749 * math/w_j1l.c: Likewise.
45750 * math/w_jn.c: Likewise.
45751 * math/w_jnf.c: Likewise.
45752 * math/w_jnl.c: Likewise.
45753 * math/w_lgamma.c: Likewise.
45754 * math/w_lgamma_r.c: Likewise.
45755 * math/w_lgammaf.c: Likewise.
45756 * math/w_lgammaf_r.c: Likewise.
45757 * math/w_lgammal.c: Likewise.
45758 * math/w_lgammal_r.c: Likewise.
45759 * math/w_log.c: Likewise.
45760 * math/w_log10.c: Likewise.
45761 * math/w_log10f.c: Likewise.
45762 * math/w_log10l.c: Likewise.
45763 * math/w_log2.c: Likewise.
45764 * math/w_log2f.c: Likewise.
45765 * math/w_log2l.c: Likewise.
45766 * math/w_logf.c: Likewise.
45767 * math/w_logl.c: Likewise.
45768 * math/w_pow.c: Likewise.
45769 * math/w_powf.c: Likewise.
45770 * math/w_powl.c: Likewise.
45771 * math/w_remainder.c: Likewise.
45772 * math/w_remainderf.c: Likewise.
45773 * math/w_remainderl.c: Likewise.
45774 * math/w_scalb.c: Likewise.
45775 * math/w_scalbf.c: Likewise.
45776 * math/w_scalbl.c: Likewise.
45777 * math/w_sinh.c: Likewise.
45778 * math/w_sinhf.c: Likewise.
45779 * math/w_sinhl.c: Likewise.
45780 * math/w_sqrt.c: Likewise.
45781 * math/w_sqrtf.c: Likewise.
45782 * math/w_sqrtl.c: Likewise.
45783 * math/w_tgamma.c: Likewise.
45784 * math/w_tgammaf.c: Likewise.
45785 * math/w_tgammal.c: Likewise.
45787 * po/ja.po: Update from translation team.
45789 2011-09-29 Andreas Jaeger <aj@suse.de>
45792 * sunrpc/netname.c (netname2host): Fix logic.
45796 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45798 * math/w_remainder.c (__remainder): Likewise.
45799 * math/w_remainderf.c (__remainderf): Likewise.
45800 * math/libm-test.inc (remainder_test): Add test cases.
45802 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45804 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45807 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45809 * string/test-memcmp.c: Avoid unncessary #defines.
45810 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45812 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45814 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45815 Use new sse2 version for core i3 - i7 as it's faster
45816 than sse42 version.
45817 (bit_Prefer_PMINUB_for_stringop): New.
45818 * sysdeps/x86_64/rawmemchr.S: Update.
45819 Replace with faster SSE2 version.
45820 * sysdeps/x86_64/memrchr.S: New file.
45821 * sysdeps/x86_64/memchr.S: Update.
45822 Replace with faster SSE2 version.
45824 2011-09-12 Marek Polacek <mpolacek@redhat.com>
45826 * elf/dl-load.c (lose): Add cast to avoid warning.
45828 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45830 * po/ca.po: Update from translation team.
45832 * inet/getnetgrent_r.c: Hook up nscd.
45833 * nscd/Makefile (routines): Add nscd_netgroup.
45834 (nscd-modules): Add netgroupcache.
45835 (CFLAGS-netgroupcache.c): Define.
45836 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45837 (cache_search): Add const to second parameter.
45838 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45840 (dbs): Add netgrdb entry.
45841 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45842 (verify_persistent_db): Handle netgrdb.
45843 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45844 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45846 (netgroup_response_header): Define.
45847 (innetgroup_response_header): Define.
45848 (datahead): Add netgroup_response_header and innetgroup_response_header
45850 * nscd/nscd.conf: Add entries for netgroup cache.
45851 * nscd/nscd.h (dbtype): Add netgrdb.
45852 (_PATH_NSCD_NETGROUP_DB): Define.
45853 (netgroup_iov_disabled): Declare.
45854 (xmalloc, xcalloc, xrealloc): Move declarations here.
45855 (cache_search): Adjust prototype.
45856 Add netgroup-related prototypes.
45857 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45858 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45859 (__nscd_innetgr): Declare.
45860 * nscd/selinux.c (perms): Use access_vector_t as element type and
45861 add netgroup-related initializers.
45862 * nscd/netgroupcache.c: New file.
45863 * nscd/nscd_netgroup.c: New file.
45864 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45865 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45866 For four parameters use innetgr.
45867 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45868 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45869 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45870 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45872 * nscd/connections.c (register_traced_file): Don't register file
45873 for disabled databases.
45875 2011-10-06 Ulrich Drepper <drepper@gmail.com>
45877 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45879 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45880 from tree and freeing node.
45882 2011-09-25 Jiri Olsa <jolsa@redhat.com>
45884 * nss/nsswitch.c (__nss_database_lookup): Handle
45885 nss_parse_service_list out of memory case.
45887 2011-09-15 Jiri Olsa <jolsa@redhat.com>
45889 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45890 out of memory case.
45892 2011-10-04 Andreas Schwab <schwab@redhat.com>
45894 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45895 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45897 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45898 elf_machine_rela, elf_machine_lazy_rel.
45899 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45900 (ELF_DYNAMIC_DO_REL): Likewise.
45901 (ELF_DYNAMIC_DO_RELA): Likewise.
45902 (ELF_DYNAMIC_RELOCATE): Likewise.
45903 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45904 to ELF_DYNAMIC_DO_REL.
45905 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45906 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45907 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45909 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45910 skip_ifunc, don't call ifunc function if non-zero.
45911 (elf_machine_rela): Likewise.
45912 (elf_machine_lazy_rel): Likewise.
45913 (elf_machine_lazy_rela): Likewise.
45914 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45915 (elf_machine_lazy_rel): Likewise.
45916 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45918 (elf_machine_lazy_rel): Likewise.
45919 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45921 (elf_machine_lazy_rel): Likewise.
45922 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45923 (elf_machine_lazy_rel): Likewise.
45924 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45925 (elf_machine_lazy_rel): Likewise.
45926 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45927 (elf_machine_lazy_rel): Likewise.
45928 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45929 (elf_machine_lazy_rel): Likewise.
45930 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45931 (elf_machine_lazy_rel): Likewise.
45932 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45933 (elf_machine_lazy_rel): Likewise.
45935 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45937 * nss/nss_files/files-init.c (_nss_files_init): Use static
45938 initialization for all the *_traced_file variables.
45940 2011-09-28 Andreas Schwab <schwab@redhat.com>
45942 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45944 2011-09-27 Roland McGrath <roland@hack.frob.com>
45947 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45949 2011-09-27 Andreas Schwab <schwab@redhat.com>
45951 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45952 Reread the line before reparsing it.
45954 2011-09-26 Andreas Schwab <schwab@redhat.com>
45956 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45958 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45959 Maxim Kuvyrkov <maxim@codesourcery.com>
45960 Joseph Myers <joseph@codesourcery.com>
45962 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45963 if needed for __stack_chk_guard.
45965 2011-09-19 Roland McGrath <roland@hack.frob.com>
45967 * sysdeps/posix/spawni.c (script_execute): Always define it.
45968 It will be optimized away if unused.
45969 (maybe_script_execute): New function.
45970 (__spawni): Call it.
45972 * Makerules: Don't include tls.make.
45973 (config-tls): Always set to thread.
45974 * tls.make.c: File removed.
45976 2011-09-19 Mike Frysinger <vapier@gentoo.org>
45978 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45979 * config.make.in (CPPFLAGS-config): New substituted variable.
45981 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45983 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45986 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45987 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45989 2011-09-15 Roland McGrath <roland@hack.frob.com>
45991 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45992 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45993 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45994 (CALL_FAIL): Likewise.
45995 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45996 (CALL_FAIL): Macro removed.
45997 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45999 2011-09-15 Ulrich Drepper <drepper@gmail.com>
46001 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46002 for __FINITE_MATH_ONLY__ == 1.
46004 2011-09-15 Andreas Schwab <schwab@redhat.com>
46006 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46007 __ieee754_sqrt instead of sqrt.
46008 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46009 __ieee754_sqrtf instead of sqrtf.
46010 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46011 __floorf instead of floorf.
46012 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46013 __floorf, __truncf instead of floorf, truncf.
46015 2011-09-14 Ulrich Drepper <drepper@gmail.com>
46017 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46019 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46020 __extern_always_inline.
46021 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46024 2011-09-14 Andreas Schwab <schwab@redhat.com>
46026 * elf/rtld.c (dl_main): Also relocate in dependency order when
46027 doing symbol dependency testing.
46029 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
46031 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46032 Always define `refsym'.
46034 2011-09-13 Andreas Schwab <schwab@redhat.com>
46036 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46037 (__FD_ELT): Renamed from __FDELT.
46038 * misc/bits/select2.h (__FD_ELT): Likewise.
46039 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46040 __FD_MASK instead of __FDELT, __FDMASK.
46041 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46043 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46046 * elf/Makefile (gen-ldd): Fix pattern.
46048 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46049 (init_tls): Likewise.
46051 2011-09-12 Ulrich Drepper <drepper@gmail.com>
46053 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46055 2011-09-12 Andreas Schwab <schwab@redhat.com>
46057 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46058 `struct cmsghdr *' instead of `void *'.
46059 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46062 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
46064 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46066 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46067 ldd_rewrite_script.
46069 2011-09-11 Ulrich Drepper <drepper@gmail.com>
46071 * configure.in: Remove --with-tls option.
46072 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46073 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46074 out in case it is missing.
46075 * sysdeps/ia64/elf/configure.in: Likewise.
46076 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46077 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46078 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46079 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46080 * sysdeps/sh/elf/configure.in: Likewise.
46081 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46082 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46083 * sysdeps/x86_64/elf/configure.in: Likewise.
46084 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46085 * sysdeps/mach/hurd/tls.h: Likewise.
46088 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46091 * configure.in: Fix use of AC_INIT.
46093 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46095 2011-09-10 Ulrich Drepper <drepper@gmail.com>
46097 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46099 * malloc/hooks.c: Likewise.
46102 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
46103 variables statically.
46104 (narenas): Initialize.
46105 (list_lock): Initialize.
46106 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
46107 initializtion of main_arena and list_lock. Small cleanups.
46108 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46109 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
46110 Add initializers to main_arena and mp_.
46111 (malloc_state): Remove pagesize member. Change all users to use
46114 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46115 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
46116 is always initialized.
46118 * malloc/malloc.c: Removed unused configurations and dead code.
46119 * malloc/arena.c: Likewise.
46120 * malloc/hooks.c: Likewise.
46121 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46123 * include/tls.h: Removed. USE___THREAD must always be defined.
46124 * bits/libc-tsd.h: Don't handle !USE___THREAD.
46125 * elf/dl-libc.c: Likewise.
46126 * elf/dl-tsd.c: Likewise.
46127 * include/errno.h: Likewise.
46128 * include/netdb.h: Likewise.
46129 * include/resolv.h: Likewise.
46130 * inet/herrno-loc.c: Likewise.
46131 * inet/herrno.c: Likewise.
46132 * malloc/arena.c: Likewise.
46133 * malloc/hooks.c: Likewise.
46134 * malloc/malloc.c: Likewise.
46135 * resolv/res-state.c: Likewise.
46136 * resolv/res_libc.c: Likewise.
46137 * sysdeps/i386/dl-machine.h: Likewise.
46138 * sysdeps/ia64/dl-machine.h: Likewise.
46139 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46140 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46141 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46142 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46143 * sysdeps/sh/dl-machine.h: Likewise.
46144 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46145 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46146 * sysdeps/unix/i386/sysdep.S: Likewise.
46147 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46148 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46149 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46150 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46151 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46152 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46153 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46154 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46155 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46157 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46158 * sysdeps/x86_64/dl-machine.h: Likewise.
46159 * tls.make.c: Likewise.
46161 * configure.in: Remove --with-__thread option. Make tests for
46162 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46163 tls_model attribute fail if no support is available. Remove
46165 * Makeconfig: Adjust for dropped configure option. All features are
46167 * Makerules: Likewise.
46168 * Versions.def: Likewise.
46169 * argp/argp-fmtstream.c: Likewise.
46170 * argp/argp-fmtstream.h: Likewise.
46171 * argp/argp-help.c: Likewise.
46172 * assert/assert.c: Likewise.
46173 * config.h.in: Likewise.
46174 * config.make.in: Likewise.
46175 * configure: Likewise.
46176 * configure.in: Likewise.
46177 * csu/Versions: Likewise.
46178 * csu/init.c: Likewise.
46179 * elf/tst-audit2.c: Likewise.
46180 * elf/tst-tls10.c: Likewise.
46181 * elf/tst-tls10.h: Likewise.
46182 * elf/tst-tls11.c: Likewise.
46183 * elf/tst-tls12.c: Likewise.
46184 * elf/tst-tls14.c: Likewise.
46185 * elf/tst-tlsmod11.c: Likewise.
46186 * elf/tst-tlsmod12.c: Likewise.
46187 * elf/tst-tlsmod13.c: Likewise.
46188 * elf/tst-tlsmod13a.c: Likewise.
46189 * elf/tst-tlsmod14a.c: Likewise.
46190 * elf/tst-tlsmod15b.c: Likewise.
46191 * elf/tst-tlsmod16a.c: Likewise.
46192 * elf/tst-tlsmod16b.c: Likewise.
46193 * elf/tst-tlsmod7.c: Likewise.
46194 * elf/tst-tlsmod8.c: Likewise.
46195 * elf/tst-tlsmod9.c: Likewise.
46196 * gmon/gmon.c: Likewise.
46197 * grp/fgetgrent_r.c: Likewise.
46198 * grp/putgrent.c: Likewise.
46199 * hurd/fopenport.c: Likewise.
46200 * include/libc-symbols.h: Likewise.
46201 * include/tls.h: Likewise.
46202 * intl/gettextP.h: Likewise.
46203 * intl/loadinfo.h: Likewise.
46204 * locale/global-locale.c: Likewise.
46205 * locale/localeinfo.h: Likewise.
46206 * mach/devstream.c: Likewise.
46207 * malloc/arena.c: Likewise.
46208 * malloc/set-freeres.c: Likewise.
46209 * misc/err.c: Likewise.
46210 * misc/getttyent.c: Likewise.
46211 * misc/mntent_r.c: Likewise.
46212 * posix/getopt.c: Likewise.
46213 * posix/wordexp.c: Likewise.
46214 * pwd/fgetpwent_r.c: Likewise.
46215 * resolv/Versions: Likewise.
46216 * resolv/res_hconf.c: Likewise.
46217 * shadow/fgetspent_r.c: Likewise.
46218 * shadow/putspent.c: Likewise.
46219 * stdio-common/printf_fphex.c: Likewise.
46220 * stdio-common/tmpfile.c: Likewise.
46221 * stdlib/abort.c: Likewise.
46222 * stdlib/fmtmsg.c: Likewise.
46223 * sunrpc/auth_unix.c: Likewise.
46224 * sunrpc/clnt_perr.c: Likewise.
46225 * sunrpc/clnt_tcp.c: Likewise.
46226 * sunrpc/clnt_udp.c: Likewise.
46227 * sunrpc/clnt_unix.c: Likewise.
46228 * sunrpc/openchild.c: Likewise.
46229 * sunrpc/svc_simple.c: Likewise.
46230 * sunrpc/svc_tcp.c: Likewise.
46231 * sunrpc/svc_udp.c: Likewise.
46232 * sunrpc/svc_unix.c: Likewise.
46233 * sunrpc/xdr.c: Likewise.
46234 * sunrpc/xdr_array.c: Likewise.
46235 * sunrpc/xdr_rec.c: Likewise.
46236 * sunrpc/xdr_ref.c: Likewise.
46237 * sunrpc/xdr_stdio.c: Likewise.
46239 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46241 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46243 2011-07-03 Andreas Jaeger <aj@suse.de>
46245 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46246 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46247 regenerate with gen-libm-tests.pl.
46249 2010-05-12 Petr Baudis <pasky@suse.cz>
46252 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46253 around j0() zero points by switching to j1().
46254 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46255 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46256 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46257 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46259 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46261 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46263 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46265 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46266 Patch in part by Pavel Roskin <proski@gnu.org>.
46269 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46271 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
46272 Free memory block if necessary.
46275 * libio/genops.c (INTDEF): For string streams the _lock pointer can
46276 be NULL. Don't lock in this case.
46278 2011-09-09 Roland McGrath <roland@hack.frob.com>
46280 * elf/elf.h (ELFOSABI_GNU): New macro.
46281 (ELFOSABI_LINUX): Define to that.
46283 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
46285 * string/strncat.c (strncat): Undef the symbol in case it has been
46286 defined in bits/string.h.
46288 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46290 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46292 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46295 2011-08-17 Andreas Jaeger <aj@suse.de>
46297 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46299 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
46300 Ian Lance Taylor <iant@google.com>
46302 * math/libm-test.inc (lround_test): New testcase.
46303 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46305 2011-09-08 Ulrich Drepper <drepper@gmail.com>
46307 * Makefile: Remove support for automatic cvs check-ins.
46308 * Makerules: Likewise.
46309 * config.make.in: Likewise.
46310 * configure.in: Likewise.
46311 * intl/Makefile: Likewise.
46312 * locale/Makefile: Likewise.
46313 * po/Makefile: Likewise.
46314 * posix/Makefile: Likewise.
46315 * sysdeps/gnu/Makefile: Likewise.
46316 * sysdeps/mach/hurd/Makefile: Likewise.
46317 * sysdeps/sparc/sparc32/Makefile: Likewise.
46320 * posix/Makefile (bug-regex32-ENV): Define.
46321 Patch by John Stanley <jpsinthemix@verizon.net>.
46323 * misc/Makefile (headers): Add bits/select2.h.
46324 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46325 * misc/bits/select2.h: New file.
46326 * include/bits/select2.h: New file.
46327 * debug/Makefile (routines): Add fdelt_chk.
46328 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46329 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46331 * debug/fdelt_chk.c: New file.
46333 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
46334 * wcsmbs/test-wmemcmp.c: Likewise.
46335 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46336 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46338 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46340 * string/Makefile (strop-tests): Add memcmp.
46341 * string/test-wmemcmp.c: New file.
46342 * string/test-memcmp.c: Add wmemcmp support.
46344 2011-09-08 Roland McGrath <roland@hack.frob.com>
46347 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46350 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46351 garbage value in a __mach_port_mod_refs call in the cases of the
46352 task-self and thread-self ports.
46354 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46356 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46358 2011-09-08 Andreas Schwab <schwab@redhat.com>
46360 * elf/dl-load.c (lose): Check for non-null L.
46362 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46364 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46366 * elf/dl-libc.c (dlerror_run): Pass back error code from
46370 * elf/dl-load.c (lose): Free l_origin if it is valid.
46372 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46374 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46375 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46376 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46377 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46378 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46379 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46381 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46383 * sysdeps/powerpc/fpu/e_hypot.c: New file.
46384 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46385 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46386 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46387 * sysdeps/powerpc/fpu/k_cosf.c: New file.
46388 * sysdeps/powerpc/fpu/k_sinf.c: New file.
46389 * sysdeps/powerpc/fpu/s_cosf.c: New file.
46390 * sysdeps/powerpc/fpu/s_sinf.c: New file.
46391 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46392 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46394 2011-08-15 Alan Modra <amodra@gmail.com>
46397 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46398 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46399 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
46400 ppc_mcount to static-only-routines.
46401 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46403 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46404 __mcount_internal with usual JUMPTARGET. Remove useless nop.
46406 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
46408 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46409 for finite and infinity parameters.
46411 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46413 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46414 and add nop instructions for throughput optimization.
46415 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46417 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
46419 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46420 aligned copy for power7 with vector-scalar instructions.
46421 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46423 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
46425 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46428 2011-09-07 Andreas Schwab <schwab@redhat.com>
46431 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46434 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46436 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46437 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46438 syscall wrapper around clock_gettime in __vdso_clock_gettime.
46439 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46442 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46444 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46445 Forgot to demangle the pointer.
46447 * sysdeps/i386/sysdep.h: Define atom_text_section.
46448 * sysdeps/x86_64/sysdep.h: Likewise.
46449 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46450 section with atom_text_section.
46451 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46452 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46453 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46454 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46455 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46457 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46458 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46459 already be defined. Change to take two parameters and don't assign
46460 result to variable. Adjust all users.
46461 Define INTERNAL_GETTIME if not already defined.
46462 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46464 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46465 HAVE_CLOCK_GETTIME_VSYSCALL.
46466 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46468 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46469 gettimeofday vsyscall, just use time.
46471 2011-09-06 Andreas Schwab <schwab@redhat.com>
46473 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46476 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46478 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46480 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46482 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46483 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46484 syscall if possible.
46486 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46488 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46489 e_ident. Don't pass to find_mapsXX.
46490 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46492 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46494 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46495 strchr-sse2-no-bsf strrchr-sse2-no-bsf
46496 * sysdeps/x86_64/multiarch/strchr.S: Update.
46497 Check bit_slow_BSF bit.
46498 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46499 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46500 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46502 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46505 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46507 (tryshell): Define.
46508 (__spawni): Change last parameter to be flag. Test
46509 SPAWN_XFLAGS_USE_PATH flag to use path or not.
46510 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46511 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46512 * posix/spawni.c: Likewise.
46513 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46514 * posix/spawnp.c: Likewise. Change normal version to use
46515 SPAWN_XFLAGS_USE_PATH.
46516 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46517 SPAWN_XFLAGS_TRY_SHELL.
46520 * posix/glob.h: Remove gcc 1.x support.
46523 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46525 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46527 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46528 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46530 * sysdeps/i386/i686/multiarch/strchr.S: New file.
46531 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46532 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46533 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46534 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46535 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46537 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46539 * sysdeps/x86_64/wcscmp.S: New file.
46541 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46542 wcscmp-c wcscmp-sse2
46543 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46544 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46545 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46546 * wcsmbs/wcscmp.c: Allow renaming.
46548 2011-09-05 David S. Miller <davem@davemloft.net>
46550 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46551 stack slot, rather than the struct return pointer slot.
46552 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46553 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46555 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46557 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46559 * po/ja.po: Update from translation team.
46562 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46563 kernel in 64-bit binaries.
46565 2011-09-01 David S. Miller <davem@davemloft.net>
46567 * elf/elf.h (HWCAP_SPARC_*): Move to..
46568 * sysdeps/sparc/sysdep.h: this new file and add new values.
46569 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46570 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46571 _DL_HWCAP_COUNT to 24.
46572 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46574 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46575 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46576 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46577 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46578 instead of magic constants.
46579 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46581 2011-08-31 David S. Miller <davem@davemloft.net>
46583 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46584 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46585 Reimplement to do errno handling inline.
46586 (SYSCALL_ERROR_HANDLER): New macro.
46587 (__SYSCALL_STRING): Do not do errno handling in asm.
46588 (__CLONE_SYSCALL_STRING): Delete.
46589 (__INTERNAL_SYSCALL_STRING): Delete.
46590 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46591 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46592 (PSEUDO): Reimplement to do errno handling inline.
46593 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46594 (SYSCALL_ERROR_HANDLER): New macro.
46595 (__SYSCALL_STRING): Do not do errno handling in asm.
46596 (__CLONE_SYSCALL_STRING): Delete.
46597 (__INTERNAL_SYSCALL_STRING): Delete.
46598 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46599 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46601 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46602 (inline_syscall*): Add 'err' argument.
46603 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46604 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46605 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46606 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46608 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46609 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46611 2011-08-30 Andreas Schwab <schwab@redhat.com>
46613 * elf/rtld.c (dl_main): Relocate objects in dependency order.
46615 2011-08-29 Jiri Olsa <jolsa@redhat.com>
46617 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46620 2011-08-24 David S. Miller <davem@davemloft.net>
46622 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46624 2011-08-24 Andreas Schwab <schwab@redhat.com>
46626 * elf/Makefile: Add rules to build and run unload8 test.
46627 * elf/unload8.c: New file.
46628 * elf/unload8mod1.c: New file.
46629 * elf/unload8mod1x.c: New file.
46630 * elf/unload8mod2.c: New file.
46631 * elf/unload8mod3.c: New file.
46633 * elf/dl-close.c (_dl_close_worker): Reset private search list if
46636 2011-08-23 David S. Miller <davem@davemloft.net>
46638 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46639 subtract stack bias.
46640 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46641 %sp not %fp in calculations.
46642 (_JMPBUF_UNWINDS_ADJ): Likewise.
46644 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46645 (aio_suspend): Call it to force an exception region around the
46646 AIO_MISC_WAIT() invocation.
46648 2011-08-23 Andreas Schwab <schwab@redhat.com>
46650 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46653 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
46655 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46657 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46658 and <dl-machine.h>.
46659 (Elf64_FuncDesc): Remove.
46661 2011-08-22 David S. Miller <davem@davemloft.net>
46663 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46664 sigaltstack check, add missing cfi directives.
46665 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46666 missing cfi directives, and sigaltstack handling.
46668 2011-08-16 Andreas Schwab <schwab@redhat.com>
46671 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46672 object is seen twice.
46673 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46675 * elf/Makefile (distribute): Add tst-initorder2.c.
46676 (tests): Add tst-initorder2.
46677 (modules-names): Add tst-initorder2a tst-initorder2b
46678 tst-initorder2c tst-initorder2d. Add rules to build them.
46679 ($(objpfx)tst-initorder2.out): New rule.
46680 * elf/tst-initorder2.c: New file.
46681 * elf/tst-initorder2.exp: New file.
46683 2011-08-22 Andreas Schwab <schwab@redhat.com>
46685 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46687 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46688 dependencies back to end of function.
46690 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46691 $(elfobjdir)/ld.so.
46693 2011-08-21 Ulrich Drepper <drepper@gmail.com>
46695 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46696 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46697 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46698 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46699 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46700 of __vdso_gettimeofday.
46701 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46702 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
46704 (_libc_vdso_platform_setup): Remove initialization of
46705 __vdso_gettimeofday and __vdso_time.
46707 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46709 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46710 and fgetc_unlocked.
46711 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46714 * elf/dl-open.c (add_to_global): Report additions to the global scope
46715 for LD_DEBUG=scopes.
46716 (dl_open_worker): Also print scope of newly loaded dependencies.
46717 (_dl_show_scope): Indicate if there is no scope.
46720 * stdio-common/Makefile (tests): Add bug24.
46721 * stdio-common/bug24.c: New file.
46723 2011-08-19 Andreas Jaeger <aj@suse.de>
46726 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46727 non-existant file when using close-on-exec mode.
46729 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46731 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46732 the very first instruction.
46734 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46735 the CFI state in the end.
46736 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46737 inclusion of dl-trampoline.h.
46738 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46740 2011-08-19 Andreas Schwab <schwab@redhat.com>
46742 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46743 expectations for long double.
46745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46746 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46748 2011-08-14 David S. Miller <davem@davemloft.net>
46750 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46751 artificual limit depends upon the system page size.
46753 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46755 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46756 * resolv/Makefile: Define CFLAGS-libresolv.
46758 2011-08-17 Andreas Schwab <schwab@redhat.com>
46760 * nss/makedb.c (compute_tables): Make variables used in nested
46763 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46765 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46766 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46767 if buffer was too small.
46769 * elf/pldd.c (main): Attach to all threads in the process.
46770 Rewrite /proc handling to use *at functions.
46772 2011-08-16 Ulrich Drepper <drepper@gmail.com>
46774 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46775 specifies first scope to show.
46776 (dl_open_worker): Update callers. Move printing scope of new
46777 object to before the relocation.
46778 * elf/rtld.c (dl_main): Update _dl_show_scope call.
46779 * sysdeps/generic/ldsodefs.h: Update declaration.
46781 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46782 string for the scope number.
46784 2011-08-14 Ulrich Drepper <drepper@gmail.com>
46786 * nscd/servicescache.c (cache_addserv): Make sure written is always
46789 2011-08-14 Roland McGrath <roland@hack.frob.com>
46791 * sysdeps/i386/i486/bits/atomic.h
46792 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46793 statement expression, so as to suppress "set but not used" warning.
46794 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46796 * string/strncat.c (STRNCAT): Use prototype definition.
46798 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46799 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46801 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46802 (localedef-modules): Add localedef.
46803 (locale-modules): Add locale.
46805 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46806 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46807 to avoid a warning.
46809 2011-08-14 David S. Miller <davem@davemloft.net>
46811 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46812 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46814 2011-08-13 Ulrich Drepper <drepper@gmail.com>
46816 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46817 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46818 * elf/rtld.c (dl_main): Set l_name of vDSO.
46819 Call _dl_show_scope when DL_DEBUG_SCOPES.
46820 (process_dl_debug): Recognize scopes flag and also set it for all.
46821 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46822 Declare _dl_show_scope.
46824 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46825 (do_dlopen): Pass caller_dlopen to dl_open.
46826 (__libc_dlopen_mode): Initialize caller_dlopen.
46828 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46829 of libc. Make tolower call locale-independent. Optimize a bit by
46830 using isdigit instead of isalnum.
46831 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46833 2011-08-12 Ulrich Drepper <drepper@gmail.com>
46835 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46836 was a dependency or dynamically loaded.
46838 2011-08-11 Ulrich Drepper <drepper@gmail.com>
46840 * intl/l10nflist.c: Allow architecture-specific pop function.
46841 * sysdeps/x86_64/l10nflist.c: New file.
46843 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46846 2011-08-10 Andreas Schwab <schwab@redhat.com>
46848 * include/dirent.h: Add libc_hidden_proto for scandirat and
46849 scandirat64. Don't declare __scandirat64.
46850 * dirent/scandirat.c: Add libc_hidden_def.
46851 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46852 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46854 2011-08-10 David S. Miller <davem@davemloft.net>
46856 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46858 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46859 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46860 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46862 2011-08-09 Ulrich Drepper <drepper@gmail.com>
46864 * Versions.def [libc]: Add GLIBC_2.15.
46865 * dirent/Makefile (routines): Add scandirat and scandirat64.
46866 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46868 * dirent/dirent.h: Declare scandirat and scandirat64.
46869 * dirent/scandirat.c: New file.
46870 * dirent/scandirat64.c: New file.
46871 * sysdeps/wordsize-64/scandirat.c: New file.
46872 * sysdeps/wordsize-64/scandirat64.c: New file.
46873 * dirent/opendir.c: Define opendirat.
46874 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46876 * dirent/scandir64.c: Adjust for scandir.c change.
46877 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46878 __scandirat64, and __scandir_cancel_handler.
46879 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46880 additional parameter and use openat instead of open (outside of ld.so).
46881 Add new __opendir as wrapper around __opendirat.
46882 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46883 here without requiring old scandirat implementation.
46885 2011-08-08 Ulrich Drepper <drepper@gmail.com>
46887 * dirent/scandir.c (cancel_handler): Renamed to
46888 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46889 defined. Adjust users.
46890 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46891 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46893 2011-08-04 Ulrich Drepper <drepper@gmail.com>
46895 * string/test-string.h (IMPL): Use __STRING to expand name and then
46898 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46901 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46903 * string/Makefile: Update.
46904 (strop-tests): Append strncat.
46905 * string/test-wcscmp.c: New file.
46906 New comprehensive test for wcscmp.
46907 * string/test-strcmp.c: Update.
46908 (WIDE): New define.
46910 2011-07-22 Andreas Schwab <schwab@redhat.com>
46912 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46915 2011-07-26 Andreas Schwab <schwab@redhat.com>
46917 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46918 encoding to ACE if AI_IDN.
46920 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46922 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46923 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46925 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46927 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46928 Fix overflow bug in strncat.
46929 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46931 * string/test-strncat.c: Update.
46932 Add new tests for checking overflow bugs.
46934 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46936 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46937 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46938 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46939 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46940 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46941 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46942 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46943 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46944 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46946 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46947 (USE_AS_STRCAT): Define.
46948 Add strcat and strncat support.
46949 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46951 2011-07-25 Andreas Schwab <schwab@redhat.com>
46953 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46954 __n bigger than INT_MAX+1.
46955 (__strncmp_g): Likewise.
46957 2011-07-23 Ulrich Drepper <drepper@gmail.com>
46959 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46960 * libio/stido.h: Likewise.
46962 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46964 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46967 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46968 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46969 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46970 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46971 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46974 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46977 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46979 (_dl_x86_64_save_sse): Likewise.
46981 2011-07-22 Ulrich Drepper <drepper@gmail.com>
46983 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46985 (_dl_x86_64_save_sse): Likewise.
46987 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46989 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46991 2011-07-21 Andreas Schwab <schwab@redhat.com>
46993 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46995 (_dl_x86_64_save_sse): Use correct AVX check.
46997 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46999 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47000 bug in strncpy/strncat.
47001 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47003 2011-07-21 Ulrich Drepper <drepper@gmail.com>
47005 * string/tester.c (test_strcat): Add tests for different alignments
47006 of source and destination.
47007 (test_strncat): Likewise.
47009 2011-07-20 Ulrich Drepper <drepper@gmail.com>
47012 * posix/glob.c (glob): Check passed in values before using them in
47013 expressions to avoid some overflows.
47014 (glob_in_dir): Likewise.
47017 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47018 check for AVX enablement so that we don't crash with old kernels and
47020 * elf/tst-audit4.c: Add same checks here.
47021 * elf/tst-audit6.c: Likewise.
47023 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
47025 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
47027 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47029 2011-07-20 Ulrich Drepper <drepper@gmail.com>
47031 * po/cs.po: Update from translation team.
47032 * po/bg.po: Likewise.
47034 2011-07-12 Marek Polacek <mpolacek@redhat.com>
47036 * misc/sys/cdefs.h: Add support for const attribute.
47037 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47038 to gnu_dev_{major,minor,makedev} functions.
47040 2011-07-20 Marek Polacek <mpolacek@redhat.com>
47042 * intl/dcigettext.c (get_output_charset): Add missing bracket.
47044 2011-07-20 Andreas Schwab <schwab@redhat.com>
47046 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47049 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47051 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47052 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47053 register in order to avoid conflicts with the soft frame pointer
47054 being held in r11 when necessary.
47055 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47056 (INTERNAL_VSYSCALL_NCS): Likewise.
47058 2011-07-14 Marek Polacek <mpolacek@redhat.com>
47060 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47061 * elf/dl-fini.c (_dl_fini): Adjust caller.
47062 * elf/dl-close.c (_dl_close_worker): Likewise.
47063 * sysdeps/generic/ldsodefs.h: Adjust declaration.
47065 2011-07-15 Marek Polacek <mpolacek@redhat.com>
47067 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47068 "aux_cache->nlibs < 0".
47070 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47071 in the reload-count case.
47073 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47076 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47077 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47078 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47079 * sysdeps/x86_64/multiarch/strcat.S: New file.
47080 * sysdeps/x86_64/multiarch/strncat.S: New file.
47081 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47082 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47083 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47084 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47085 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47086 (USE_AS_STRCAT): Define.
47087 Add strcat and strncat support.
47088 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47089 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47090 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47091 * string/strncat.c: Update.
47092 (USE_AS_STRNCAT): Define.
47093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47094 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47096 * sysdeps/x86_64/multiarch/init-arch.h
47097 (bit_Prefer_PMINUB_for_stringop): New.
47098 (index_Prefer_PMINUB_for_stringop): Likewise.
47099 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47100 bit_Prefer_PMINUB_for_stringop.
47102 2011-07-19 Ulrich Drepper <drepper@gmail.com>
47104 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47106 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47107 of casting of buffer.
47108 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47109 buffer32 and buffer64.
47110 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47111 writes instead of casting of buffer.
47112 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47114 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47117 2011-07-19 Andreas Schwab <schwab@redhat.com>
47119 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47121 2011-07-19 Ulrich Drepper <drepper@gmail.com>
47123 * nscd/nscd.c (termination_handler): Don't do anything for a database
47124 if it has not yet been initialized.
47126 2011-07-18 Ulrich Drepper <drepper@gmail.com>
47128 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47130 2011-07-15 Marek Polacek <mpolacek@redhat.com>
47132 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47134 2011-07-18 Ulrich Drepper <drepper@gmail.com>
47136 * po/nl.po: Update from translation team.
47137 * po/sv.po: Likewise.
47139 2011-07-16 Roland McGrath <roland@hack.frob.com>
47141 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47142 now disallowed by GCC.
47144 * configure.in (use-default-link): Default to yes if a test -shared
47145 link meets our qualifications.
47146 * configure: Regenerated.
47148 * config.make.in (output-format): New variable.
47149 * configure.in: Check for ld --print-output-format support.
47150 * configure: Regenerated.
47151 * Makerules ($(common-objpfx)format.lds)
47152 [$(output-format) != unknown]: Just use $(output-format),
47153 instead of the linker-script munging.
47155 2011-07-14 Roland McGrath <roland@hack.frob.com>
47157 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47158 of $(common-objpfx)shlib.lds.
47159 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47161 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47162 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47164 * configure.in (-z relro check): Adjust test code to add a large
47165 writable data section after it.
47166 * configure: Regenerated.
47168 2011-07-11 Roland McGrath <roland@hack.frob.com>
47170 * configure.in (-z relro check): Fix test code to make the variable
47172 * configure: Regenerated.
47174 2011-07-11 Ulrich Drepper <drepper@gmail.com>
47176 * nscd/nscd.h (struct traced_file): Define.
47177 (struct database_dyn): Remove inotify_descr, reset_res, and filename
47178 elements. Add traced_files.
47179 (inotify_fd): Declare.
47180 (register_traced_file): Declare.
47181 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47182 (inotify_fd): Export.
47183 (resolv_conf_descr): Remove.
47184 (nscd_init): Move inotify descriptor creation to main.
47185 Don't register files for notification here.
47186 (register_traced_file): New function.
47187 (invalidate_cache): Don't use reset_res to determine whether to call
47188 res_init, go through the list of registered files.
47189 (main_loop_poll): The inotify descriptors are now stored in the
47190 structures for the traced files.
47191 (main_loop_epoll): Likewise
47192 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
47193 to __nss_disable_nscd.
47194 * nscd/cache.c (prune_cache): There is no single inotify descriptor
47195 for a database anymore. Check the records for all the registered
47197 * nss/Makefile (libnss_files-routines): Add files-init.
47198 (libnss_db-routines): Add db-init.
47199 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47200 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47201 * nss/nss_db/db-init.c: New file.
47202 * nss/nss_files/files-init.c: New file.
47203 * nss/nsswitch.c (nss_load_library): New function. Broken out of
47204 __nss_lookup_function.
47205 (__nss_lookup_function): Call nss_load_library.
47206 (nss_load_all_libraries): New function.
47207 (__nss_disable_nscd): Take parameter with callback function for files
47208 to register. Set is_nscd. Load all the DSOs for the NSS modules
47209 used for the cached services.
47210 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47211 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47212 options for features to all the files in nscd.
47214 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47216 2011-07-10 Roland McGrath <roland@hack.frob.com>
47218 * csu/elf-init.c (__libc_csu_init): Comment typo.
47220 2011-07-09 Ulrich Drepper <drepper@gmail.com>
47222 * po/pl.po: Update from translation team.
47223 * po/ja.po: Likewise.
47224 * po/ru.po: Likewise.
47225 * po/ko.po: Likewise.
47226 * po/fr.po: Likewise.
47228 2011-07-09 Roland McGrath <roland@hack.frob.com>
47230 * configure.in (.ctors/.dtors header and trailer check):
47231 Use an empirical test on a built program.
47232 * configure: Regenerated.
47234 * configure.in (-z relro check): Use an empirical test on a built DSO.
47235 Detect, but do not require, on ia64.
47236 * configure: Regenerated.
47238 * configure.in (READELF): Find it with AC_CHECK_TOOL.
47239 Update tests that use readelf to use $READELF instead.
47240 * configure: Regenerated.
47242 2011-07-08 Ulrich Drepper <drepper@gmail.com>
47244 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47245 if the result is not used.
47247 2011-07-05 Andreas Jaeger <aj@suse.de>
47250 * stdlib/tst-strtod.c: Add testcase.
47252 2011-07-07 Ulrich Drepper <drepper@gmail.com>
47254 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47255 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47256 The latter has a higher limit. Take additional parameter to pass to
47258 (__pathconf): Pass file to __statfs_link_max.
47259 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47261 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47265 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47266 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47268 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47269 (__statfs_filesize_max): Likewise.
47270 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47272 2011-07-05 Andreas Jaeger <aj@suse.de>
47274 * resolv/res_comp.c (dn_skipname): Remove unused variable.
47276 2011-07-06 Marek Polacek <mpolacek@redhat.com>
47278 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47280 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47283 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
47285 * Makefile (strop-tests): Add strncat.
47286 * string/test-strncat.c: New file.
47288 2011-06-30 Marek Polacek <mpolacek@redhat.com>
47290 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47292 2011-06-21 Andreas Jaeger <aj@suse.de>
47294 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47295 Copy rule from iconvdata/Makefile.
47297 2011-07-06 Ulrich Drepper <drepper@gmail.com>
47300 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47301 but no long options are defined, just return 'W'.
47303 2011-06-22 Marek Polacek <mpolacek@redhat.com>
47306 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47308 2011-07-06 Ulrich Drepper <drepper@gmail.com>
47310 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47312 (innetgr): Likewise.
47314 2011-07-05 Roland McGrath <roland@hack.frob.com>
47316 * config.make.in (install_root): Default to $(DESTDIR).
47318 2011-07-05 Ulrich Drepper <drepper@gmail.com>
47320 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47322 2011-07-02 Roland McGrath <roland@hack.frob.com>
47324 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47326 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47327 containing directory rather than embedding absolute directory names.
47329 * scripts/check-local-headers.sh: Rewritten using awk.
47330 Match by word, not by line. Print error messages for matches.
47331 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47333 * Makerules [shlib-lds-flags empty]:
47334 ($(common-objpfx)libc_pic.opts): New target.
47335 ($(common-objpfx)libc_pic.os.clean): New target.
47336 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47338 * config.make.in (OBJCOPY): New variable.
47339 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47340 * configure: Regenerated.
47342 * config.make.in (use-default-link): New variable.
47343 * configure.in (use_default_link): Grok --with-default-link to set it.
47344 * configure: Regenerated.
47345 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47346 (shlib-lds, shlib-lds-flags): Define to empty.
47348 * Makerules (shlib-lds): New variable.
47349 (shlib-lds-flags): New variable.
47350 (build-shlib, build-moduile, build-module-asneeded): Use it.
47351 ($(common-objpfx)libc.so): Use $(shlib-lds).
47352 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47353 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47355 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47356 DT_FLAGS/DT_FLAGS_1 with zero flags.
47358 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47359 linker script munging.
47361 2011-07-02 Ulrich Drepper <drepper@gmail.com>
47363 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47365 * crypt/sha512.c (sha512_process_block): Perform total addition using
47366 128-bit if possible.
47367 (__sha512_finish_ctx): Likewise.
47368 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47370 * crypt/sha256.c (SWAP64): Define.
47371 (sha256_process_block): Perform total addition using 64-bit if
47373 (__sha256_finish_ctx): Likewise.
47375 2011-07-01 Ulrich Drepper <drepper@gmail.com>
47377 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
47378 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47379 * nscd/hstcache.c (cache_addhst): Likewise.
47380 * nscd/grpcache.c (cache_addgr): Likewise.
47381 * nscd/aicache.c (addhstaiX): Likewise
47382 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47384 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
47386 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47387 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47388 * nscd/hstcache.c (cache_addhst): Likewise.
47389 * nscd/grpcache.c (cache_addgr): Likewise.
47390 * nscd/aicache.c (addhstaiX): Likewise
47392 2011-07-01 Andreas Schwab <schwab@redhat.com>
47394 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47395 domain only when needed.
47397 2011-06-30 Andreas Schwab <schwab@redhat.com>
47399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47400 is always restored.
47402 2011-06-29 Ulrich Drepper <drepper@gmail.com>
47404 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47405 are re-adding the entry.
47406 * nscd/servicescache.c (cache_addserv): Likewise.
47408 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
47410 * sysdeps/generic/dl-irel.h: fix protection against multiple
47412 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47414 2011-06-28 Ulrich Drepper <drepper@gmail.com>
47417 * malloc/memusage.sh: Fix quoting in message.
47418 * debug/xtrace.sh: Likewise.
47420 * configure.in: Remove support for --experimental-malloc option, make
47422 * config.make.in: Likewise.
47423 * malloc/Makefile: Likewise.
47425 2011-06-27 Andreas Schwab <schwab@redhat.com>
47427 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47428 two-byte characters.
47430 2011-06-27 Roland McGrath <roland@hack.frob.com>
47432 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47433 AC_CACHE_CHECK invocation.
47434 * configure: Regenerated.
47436 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47438 2011-06-27 Ulrich Drepper <drepper@gmail.com>
47441 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
47442 bit from old_res_options.
47444 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47446 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47447 value type for setfct.
47449 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
47451 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47452 __gettimeofday instead of gettimeofday.
47454 2011-06-26 Ulrich Drepper <drepper@gmail.com>
47456 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47458 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
47460 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47462 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47465 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47467 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47468 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47469 strcpy-sse2-unaligned strncpy-sse2-unaligned
47470 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47471 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47472 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47473 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47474 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47475 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47476 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47477 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47478 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47479 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47480 (STRCPY): Support SSE2 and SSSE3 versions.
47482 2011-06-24 Ulrich Drepper <drepper@gmail.com>
47485 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47486 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47487 kernels which artificially limit size of requests.
47489 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47491 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47492 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47493 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47494 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47495 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47496 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47497 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47498 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47499 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47500 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47501 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47502 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47503 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47504 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47505 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47506 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47507 Enable unaligned load optimization for Intel Core i3, i5 and i7
47509 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47511 (index_Fast_Unaligned_Load): Define.
47512 (HAS_FAST_UNALIGNED_LOAD): Define.
47514 2011-06-23 Marek Polacek <mpolacek@redhat.com>
47516 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47518 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47521 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47522 until it is clear that the information is realy needed.
47523 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47525 2011-06-22 Andreas Schwab <schwab@redhat.com>
47527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47529 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47531 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47532 /sys/devices/system/cpu/online if it is usable.
47534 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47535 reading the information from the /proc filesystem to once a second.
47537 2011-06-21 Andreas Jaeger <aj@suse.de>
47539 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47540 NULL after inclusion of kernel headers.
47542 2011-06-21 Ulrich Drepper <drepper@gmail.com>
47544 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47545 calls to internal_setent.
47548 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47549 addresses using gethostbyname4_r ignore IPv4 addresses.
47551 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47552 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
47554 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47556 2011-06-20 David S. Miller <davem@davemloft.net>
47558 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47560 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47562 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47563 (elf_irel): Use it.
47564 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47565 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47566 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47567 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47568 * sysdeps/x86_64/dl-irel.h: Likewise.
47570 * elf/dl-runtime.c: Use elf_ifunc_invoke.
47571 * elf/dl-sym.c: Likewise.
47573 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47575 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
47576 need to dereference resplen2.
47578 2011-06-14 Andreas Schwab <schwab@redhat.com>
47580 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47582 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47584 * Makeconfig: Define vardbdir and inst_vardbdir.
47585 * nss/Makefile: Add rules to install db-Makefile.
47587 * nss/nss_db/db-XXX.c: Cleanup.
47589 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47590 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47592 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47593 * nss/makedb.c: Implement -g option to specify that value strings
47594 are generated and should not be added to table iterated over for
47596 * nss/nss_db/db-initgroups.c: New file.
47598 * nss/getent.c: Add support for initgroups lookups through getgrouplist
47601 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47602 (internal_getgrouplist): Adjust to name change.
47603 Update use_initgroups_entry if this is not the first call.
47604 * nss/databases.def: Add initgroups entry.
47606 * nss/makedb.c (compute_tables): Check result of multiple hash table
47607 sizes to minimize maximum chain length.
47609 2011-06-14 Ulrich Drepper <drepper@gmail.com>
47611 * Versions.def: Add entry for libnss_db.
47612 * shlib-versions: Likewise.
47613 * nss/Makefile: Add rules to build libnss_db.
47614 * nss/Versions: Add libnss_db information. Organize libnss_files
47616 * nss/db-Makefile: Add gshadow support. Change rules for the new
47617 makedb progra. Some minor improvements to generate smaller files.
47618 * nss/nss_db/nss_db.h: Move NSS database header data structures to
47620 * nss/makedb.c: ...here.
47621 Improve database format to be smaller and require less memory at
47623 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
47625 * nss/nss_db/db-netgrp.c: Likewise.
47626 * nss/nss_db/db-open.c: Likewise.
47627 * nss/nss_files/flies-XXX.x: Adjust comments.
47628 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47629 * nss/nss_files/files-grp.c: Likewise.
47630 * nss/nss_files/files-hosts.c: Likewise.
47631 * nss/nss_files/files-network.c: Likewise.
47632 * nss/nss_files/files-proto.c: Likewise.
47633 * nss/nss_files/files-pwd.c: Likewise.
47634 * nss/nss_files/files-rpc.c: Likewise.
47635 * nss/nss_files/files-service.c: Likewise.
47636 * nss/nss_files/files-sgrp.c: Likewise.
47637 * nss/nss_files/files-spwd.c: Likewise.
47638 * nss/nss_db/db-alias.c: Removed.
47639 * nss/nss_db/dummy-db.h: Removed.
47641 2011-06-02 Ulrich Drepper <drepper@gmail.com>
47643 * nss/makedb.c: Rewritten to not use database library.
47644 * nss/Makefile: Update to build new makedb program.
47646 2011-06-14 Andreas Jaeger <aj@suse.de>
47648 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47649 memset declaration.
47651 2011-06-10 Andreas Schwab <schwab@redhat.com>
47653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47656 2011-06-10 Roland McGrath <roland@hack.frob.com>
47658 * Makerules (shlib.lds): Fail if the linker script comes out empty.
47659 * elf/Makefile ($(objpfx)ld.so): Likewise.
47661 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47662 Don't list ld.so twice in dependencies.
47664 * posix/bug-regex31.c: Include <stdlib.h>.
47666 * nscd/hstcache.c (cache_addhst): Remove unused variable.
47668 * nis/nss_compat/compat-spwd.c
47669 (getspent_next_nss_netgr): Remove unused variable.
47670 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47672 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47673 nonmembers" output to use the right array.
47675 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47677 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47679 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47680 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47681 * catgets/gencat.c (read_input_file): Likewise.
47682 * locale/programs/locarchive.c (enlarge_archive): Likewise.
47684 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47685 variable definition inside #if's controlling its use.
47687 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47689 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47691 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47693 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47696 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47698 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47699 * configure: Regenerated.
47701 * Makerules: Revert last change.
47702 * elf/Makefile: Likewise.
47704 2011-06-09 Roland McGrath <roland@hack.frob.com>
47706 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47707 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47708 (reloc-link): Likewise.
47710 2011-06-09 Ulrich Drepper <drepper@gmail.com>
47712 * elf/Makefile: Add rules to build pldd.
47713 * elf/pldd.c: New file.
47714 * elf/pldd-xx.c: New file.
47716 2011-06-07 Ulrich Drepper <drepper@gmail.com>
47718 * version.h: Update for 2.15 development version.
47720 2011-06-07 David S. Miller <davem@davemloft.net>
47722 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47724 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47725 elf_machine_lazy_rel): Likewise.
47726 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47727 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47728 elf_machine_lazy_rel): Likewise.
47729 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47730 dl_hwcap via passed in argument.
47731 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47734 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47736 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47738 2011-06-06 Roland McGrath <roland@hack.frob.com>
47741 * manual/fdl-1.1.texi: New file, verbatim from:
47742 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47743 * manual/lgpl-2.1.texi: New file, verbatim from:
47744 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47745 * manual/Makefile (licenses): New variable, list those new file names.
47747 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47749 * manual/fdl.texi: File removed.
47750 * manual/lesser.texi: File removed.
47751 * manual/libc.texinfo (Copying, Documentation License):
47752 Use new @include file names, put @appendix directive before @include.
47754 2011-06-04 Jakub Jelinek <jakub@redhat.com>
47757 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47758 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47759 (mq_open): Add __NTH.
47761 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47764 Assume Intel Core i3/i5/i7 processor if AVX is available.
47766 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47768 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47771 2011-05-31 Andreas Schwab <schwab@redhat.com>
47773 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47774 memory. Use alloca_account. Fix memory leak when retrying.
47776 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47778 * version.h (RELEASE): Bump for 2.14 release.
47779 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47781 * config.make.in (RANLIB): Remove entry.
47783 2011-05-30 Ulrich Drepper <drepper@gmail.com>
47785 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47786 (libc.pot): Work around missing support for .ksh extension in xgettext.
47789 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47790 if both request failed.
47791 (send_dg): In case of server errors clear resplen or *resplen2.
47794 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47795 when there are multiple maps.
47796 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47797 (_dl_fini): Remove test here.
47799 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47801 2011-05-29 Ulrich Drepper <drepper@gmail.com>
47804 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47805 bit from old_res_options.
47806 (gaih_inet): Likewise.
47809 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47812 * resolv/res_init.c (res_setoptions): Make the code more compact.
47815 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47819 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47821 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47824 * malloc/malloc.h: Declare malloc hook variables as volatile.
47826 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47830 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47831 raise in the comment.
47832 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47833 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47834 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47836 2011-05-28 Ulrich Drepper <drepper@gmail.com>
47839 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47840 grow the buffers more if it already has to be sufficient.
47841 (build_wcs_upper_buffer): Likewise.
47842 * posix/regexec.c (check_matching): Likewise.
47843 (clean_state_log_if_needed): Likewise.
47844 (extend_buffers): Don't enlarge buffers beyond size of the input
47846 Patches mostly by Emil Wojak <emil@wojak.eu>.
47847 * posix/bug-regex32.c: New file.
47848 * posix/Makefile (tests): Add bug-regex32.
47850 * locale/findlocale.c (_nl_find_locale): Return right away if
47851 _nl_explode_name failed.
47852 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47854 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47856 * debug/xtrace.sh: Unify messages.
47857 * malloc/memusage.sh: Likewise.
47860 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47861 time symbol from vDSO. Substitute with vsyscall if not available.
47862 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47865 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47866 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47867 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47868 Add sendmmsg and internal_sendmmsg.
47869 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47870 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47871 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47873 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47874 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47875 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47877 2011-05-27 Ulrich Drepper <drepper@gmail.com>
47880 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47881 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47883 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47887 * iconvdata/Makefile (tests): Add bug-iconv9.
47888 * iconvdata/bug-iconv9.c: New file.
47890 2011-05-27 Andreas Schwab <schwab@redhat.com>
47893 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47895 2011-05-25 Jakub Jelinek <jakub@redhat.com>
47897 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47898 (struct user_regs_struct): Change intcs field back to cs.
47900 2011-05-25 Ulrich Drepper <drepper@gmail.com>
47902 * po/ja.po: Update from translation team.
47904 2011-05-23 Ulrich Drepper <drepper@gmail.com>
47907 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47908 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47910 2011-05-20 Andreas Schwab <schwab@redhat.com>
47912 * stdlib/longlong.h: Update from GCC.
47914 2011-05-23 Andreas Schwab <schwab@redhat.com>
47916 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47918 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47919 Add parameter name.
47920 (__sysconf): Pass it down.
47922 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47925 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47927 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47928 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47929 add in in __libc_use_alloca calls. Adjust callers.
47930 (glob): Use malloc in some situations.
47932 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47933 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47936 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47938 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47939 and CLOCK_BOOTTIME_ALARM.
47942 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47945 * string/_strerror.c (__strerror_r): Print negative errors as signed
47949 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47950 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47951 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47953 * configure.in: Fix typo in redirection and correct removal of test
47954 files in two cases.
47957 * locale/setlocale.c (new_composite_name): Fix test to check for
47958 identical name of all categories.
47961 * libio/filedoalloc.c (local_isatty): New function.
47962 (_IO_file_doallocate): Use local_isatty.
47963 * stdio-common/perror.c (perror): In case a new stream is used
47964 forward the stream error.
47965 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47968 2011-05-20 Ulrich Drepper <drepper@gmail.com>
47971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47973 * include/alloca.h (extend_alloca_account): Define.
47976 * posix/regex.h: Fix comments with documentation of user-accessible
47977 fields after compilation and describe correct free'ing of pattern
47978 after re_compile_pattern.
47979 Patch by Reuben Thomas <rrt@sc3d.org>.
47981 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47983 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47984 and -mno-altivec to prevent the compiler from using Altivec and/or
47985 VSX instructions when the corresponding registers are not available.
47987 2011-05-19 Andreas Schwab <schwab@redhat.com>
47989 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47991 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47993 * libio/freopen.c (freopen): Use __dup2, not dup2.
47994 * libio/freopen64.c (freopen64): Likewise.
47996 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47999 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48000 * math/Makefile (tests): Add test-powl.
48001 (CFLAGS-test-powl.c): Define.
48002 * math/test-powl.c: New file.
48004 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
48006 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48008 2011-05-17 Ulrich Drepper <drepper@gmail.com>
48011 * iconvdata/gb18030.c: Update to GB18020-2005.
48013 2011-05-16 Ulrich Drepper <drepper@gmail.com>
48015 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48016 RE_SYNTAX_POSIX_AWK): Update to match recent development.
48017 Patch by Aharon Robbins <arnold@skeeve.com>.
48020 * stdlib/putenv.c (putenv): Don't always create copy of the variable
48024 * misc/pselect.c (__pselect): Handle timeout value errors hidden
48025 through underflows.
48028 * misc/error.c (error_at_line): Ensure file_name and old_file_name
48029 point to strings before performing equality test for error_one_per_line
48033 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48036 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48037 (struct user_fpregs_struct): Avoid __uint*_t types.
48040 * malloc/mtrace.c (tr_where): Add additional parameter to point to
48041 symbol info. Use it instead of calling _dl_addr locally.
48042 (lock_and_info): New function.
48043 (tr_freehook): Call lock_and_info and pass symbol info as additional
48044 parameter to tr_where.
48045 (tr_mallochook): Likewise.
48046 (tr_reallochook): Likewise.
48047 (tr_memalignhook): Likewise.
48049 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
48050 used and couldn't be at all thread-safe.
48052 2011-05-15 Ulrich Drepper <drepper@gmail.com>
48054 * libio/freopen.c (freopen): Don't close old file descriptor
48055 before the new one is opened. Instead dup the new file descriptor
48056 to the old one after the new stream is created.
48057 * libio/freopen64.c (freopen64): Likewise.
48058 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48059 * libio/fileops.c (_IO_new_file_close_it): Handle new
48060 _IO_FLAGS2_NOCLOSE flag.
48061 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48062 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48063 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48064 _IO_FLAGS2_NOCLOSE flag.
48065 * include/unistd.h: Add hidden_proto for dup3.
48066 Define __have_dup3.
48067 * io/dup3.c: Define hidden symbol.
48068 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48071 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48072 when an incomplete long option is used.
48073 * posix/tst-getopt_long1.c: New file.
48074 * posix/Makefile (tests): Add tst-getopt_long1.
48077 * scripts/config.guess: Update from autoconf-2.68.
48078 * scripts/config.sub: Likewise.
48081 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48083 (has_cpuclock): ...this. New function.
48084 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48085 macro here based on has_cpuclock code.
48088 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48089 First byte (not low byte) is now always NUL.
48090 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48092 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48093 Use non-cancelable interfaces.
48096 * locale/iso-639.def: Add entry for Sorani.
48099 * include/stdlib.h: Move include protection to the right place.
48100 Define abort_msg_s. Declare __abort_msg with it.
48101 * stdlib/abort.c (__abort_msg): Adjust type.
48102 * assert/assert.c (__assert_fail_base): New function. Majority
48103 of code from __assert_fail. Allocate memory for __abort_msg with
48105 (__assert_fail): Now call __assert_fail_base.
48106 * assert/assert-perr.c: Remove bulk of implementation. Use
48107 __assert_fail_base.
48108 * include/assert.hL Declare __assert_fail_base.
48109 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48111 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48113 2011-05-14 Ulrich Drepper <drepper@gmail.com>
48117 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48118 until all modules are registered in the DTV.
48119 * elf/Makefile: Add rules to build and run tst-tls19.
48120 * elf/tst-tls19.c: New file.
48121 * elf/tst-tls19mod1.c: New file.
48122 * elf/tst-tls19mod2.c: New file.
48123 * elf/tst-tls19mod3.c: New file.
48124 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48127 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48131 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48132 two-byte sequence errors.
48133 * iconvdata/Makefile (tests): Add bug-iconv8.
48134 * iconvdata/bug-iconv8.c: New file.
48137 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48140 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48143 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48144 (dummy_getcfa): New function.
48145 (init): Get _Unwind_GetCFA address, use dummy if not found.
48146 (backtrace_helper): In recursion check, also check whether CFA changes.
48147 (__backtrace): Completely initialize arg.
48149 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48150 storing incomplete byte sequence in state object. Avoid testing for
48151 guaranteed too small input if we know there is enough data available.
48153 2011-05-11 Andreas Schwab <schwab@redhat.com>
48155 * Makeconfig (+link-pie): Indent.
48156 * Rules (binaries-pie): Define if $(have-fpie) and
48158 (binaries-shared): Also filter out $(binaries-pie).
48159 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48160 * nscd/Makefile (others-pie): Add nscd.
48161 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48162 ($(objpfx)nscd): Remove command override.
48163 * login/Makefile (others-pie): Add pt_chown.
48164 ($(objpfx)pt_chown): Remove command override.
48165 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48166 remove command overrides.
48168 2011-05-13 Ulrich Drepper <drepper@gmail.com>
48170 * libio/tst_putwc.c: Fix error messages.
48173 * libio/fileops.c (_IO_new_file_close_it): Always flush when
48174 currently writing and seek to current position when not.
48175 * libio/Makefile (tests): Add bug-fclose1.
48176 * libio/bug-fclose1.c: New file.
48178 2011-05-12 Ulrich Drepper <drepper@gmail.com>
48181 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48182 don't set DF_1_NODELETE here.
48183 (do_lookup_x): When entering new entry test for copy relocation
48184 and if necessary set DF_1_NODELETE flag.
48185 * elf/tst-unique4.cc: New file.
48186 * elf/tst-unique4.h: New file.
48187 * elf/tst-unique4lib.cc: New file.
48188 * elf/Makefile: Add rules to build and run tst-unique4.
48189 Patch by Piotr Bury <pbury@goahead.com>.
48191 2011-05-11 Ulrich Drepper <drepper@gmail.com>
48194 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48197 * misc/mntent_r.c (addmntent): Flush the stream after the output
48200 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48201 (is_trusted_path_normalize): Skip initial colon. Append slash
48202 to empty buffer. Duplicate is_trusted_path code but allow
48203 constructed patch to be prefix.
48204 (is_dst): Allow $ORIGIN followed by /.
48205 (_dl_dst_substitute): Correct clearing of check_for_trusted.
48206 Correct testing of result of is_trusted_path_normalize
48207 (decompose_rpath): Fix warning.
48209 2011-05-10 Ulrich Drepper <drepper@gmail.com>
48212 * grp/initgroups.c (internal_getgrouplist): When we found the service
48213 list through the initgroups entry in nsswitch.conf do not always
48214 continue on a successful lookup. Don't always use the
48215 __nss_group_database value if it is set.
48216 * nss/nsswitch.conf (initgroups): Change action for successful db
48217 lookup to continue for compatibility.
48219 2011-05-09 Ulrich Drepper <drepper@gmail.com>
48222 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48224 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48226 * iconvdata/tst-tables.sh: Likewise.
48227 * iconvdata/cp770.c: New file.
48228 * iconvdata/cp771.c: New file.
48229 * iconvdata/cp772.c: New file.
48230 * iconvdata/cp773.c: New file.
48231 * iconvdata/cp774.c: New file.
48232 * iconvdata/testdata/CP770: New file.
48233 * iconvdata/testdata/CP770..UTF8: New file.
48234 * iconvdata/testdata/CP771: New file.
48235 * iconvdata/testdata/CP771..UTF8: New file.
48236 * iconvdata/testdata/CP772: New file.
48237 * iconvdata/testdata/CP772..UTF8: New file.
48238 * iconvdata/testdata/CP773: New file.
48239 * iconvdata/testdata/CP773..UTF8: New file.
48240 * iconvdata/testdata/CP774: New file.
48241 * iconvdata/testdata/CP774..UTF8: New file.
48243 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48245 * iconvdata/gen-8bit-gap.sh: Likewise.
48246 * iconvdata/gen-8bit.sh: Likewise.
48248 * locale/iso-639.def: Add ary entry.
48251 * locale/C-translit.h.in: Add U20A1 transliteration.
48254 * locale/iso-639.def: Add wae entry.
48255 Patch by Kevin Bortis <bortis@translate-wae.ch>.
48258 * locale/programs/localedef.c (construct_output_path): Use ssize_t
48262 * locale/C-translit.h.in: Add entry for U20B9.
48263 Patch by pravin.d.s@gmail.com.
48265 2011-05-08 Ulrich Drepper <drepper@gmail.com>
48268 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48269 ENAMETOOLONG use generic getcwd.
48270 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
48271 in rtld. Use *stat64.
48272 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48273 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48274 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48275 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48276 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48277 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48278 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48279 __fstatat64 macros.
48280 * include/dirent.h: Add libc_hidden_proto for rewinddir.
48281 * dirent/rewinddir.c: Add libc_hidden_def.
48282 * sysdeps/mach/hurd/rewinddir.c: Likewise.
48283 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
48285 * include/dirent.h (__alloc_dir): Add flags parameter.
48286 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48287 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48289 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
48290 from fdopendir if O_CLOEXEC is already set.
48292 2011-03-15 Alan Modra <amodra@gmail.com>
48294 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48295 l_tls_firstbyte_offset non-zero. Save padding offset in
48296 l_tls_firstbyte_offset for later use.
48297 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48298 freeing static tls block.
48300 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
48302 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48303 where #ifdef was intended. The intent is to prevent ARG_MAX from
48304 being defined by the kernel headers.
48306 2011-05-07 Ulrich Drepper <drepper@gmail.com>
48309 * resolv/resolv.h: Define RES_NOTLDQUERY.
48310 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48311 no-tld-query and set RES_NOTLDQUERY.
48312 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48313 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48314 modern BIND to search name as TLD unless forbidden.
48316 2011-05-07 Petr Baudis <pasky@suse.cz>
48317 Ulrich Drepper <drepper@gmail.com>
48320 * elf/dl-load.c (fillin_rpath): Move trusted path check...
48321 (is_trusted_path): ...to here.
48322 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48323 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48324 using is_trusted_path_normalize() in setuid scripts.
48326 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48328 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48329 __BEGIN/__END_DECLS.
48331 2011-05-06 Ulrich Drepper <drepper@gmail.com>
48333 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48334 NSS_STATUS_NOTFOUND if no record was found.
48336 2011-05-05 Andreas Schwab <schwab@redhat.com>
48338 * sunrpc/Makefile (headers): Add rpc/netdb.h.
48339 (headers-not-in-tirpc): Remove rpc/netdb.h
48340 * resolv/netdb.h: Revert last change.
48342 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48344 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48345 circular dependency between libgcc.a and libc.a.
48347 2011-05-05 Andreas Schwab <schwab@redhat.com>
48349 * resolv/netdb.h: Don't include <rpc/netdb.h>.
48350 * nis/Makefile: Don't install rpcsvc/*.
48351 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48352 instead of <rpc/types.h>.
48353 (MAXHOSTNAMELEN): Define.
48355 2011-05-03 Andreas Schwab <schwab@redhat.com>
48357 * elf/ldconfig.c (add_dir): Don't crash on empty path.
48359 2011-04-28 Maciej Babinski <mbabinski@google.com>
48362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48363 gethostbyname4_r when IPv6 results are possible.
48365 2011-05-02 Ulrich Drepper <drepper@gmail.com>
48368 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48369 _PC_PIPE_BUF handling.
48371 2011-04-30 Bruno Haible <bruno@clisp.org>
48374 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48375 * resolv/netdb.h (getnameinfo): Change type of flags parameter
48377 * inet/getnameinfo.c (getnameinfo): Likewise.
48379 2011-04-29 Ulrich Drepper <drepper@gmail.com>
48381 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48382 to groups setting in database lookup.
48383 * nss/nsswitch.conf: Add initgroups entry.
48385 2011-04-22 Ulrich Drepper <drepper@gmail.com>
48388 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48390 Patch by Eric Blake <eblake@redhat.com>.
48392 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
48394 * sunrpc/Makefile (need-export-routines): Add svc_run.
48395 (routines): Remove svc_run.
48396 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48397 * sunrpc/clnt_perr.c (clnt_perrno): Export.
48398 * sunrpc/svc_run.c (svc_run): Likewise.
48399 * sunrpc/svc_udp.c (svcudp_create): Likewise.
48401 2011-04-21 Ulrich Drepper <drepper@gmail.com>
48403 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48404 problem in reallocation in last patch.
48406 2011-04-20 Ulrich Drepper <drepper@gmail.com>
48408 * sunrpc/Makefile: Move inclusion of Rules.
48410 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48412 * nss/nss_files/files-initgroups.c: New file.
48413 * nss/Makefile (libnss_files-routines): Add files-initgroups.
48414 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48415 _nss_files_initgroups_dyn.
48417 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
48419 * elf/elf.h (R_ARM_IRELATIVE): Define.
48421 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48423 * po/ru.po: Update from translation team.
48425 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48427 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48430 2011-02-06 Mike Frysinger <vapier@gentoo.org>
48433 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48434 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48435 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48436 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48437 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48439 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
48441 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48443 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48444 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48445 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48447 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48450 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48452 * stdlib/bug-getcontext.c: New file.
48453 * stdlib/Makefile: Add rules to build and run bug-getcontext.
48455 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48457 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48458 instructions into .machine "z9-109".
48459 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48460 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48462 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48464 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48465 between environment variables and auxiliary vector.
48467 2011-04-16 Ulrich Drepper <drepper@gmail.com>
48469 * Makefile: Add rules to build linkobj/libc.so.
48470 * include/libc-symbols.h: Define libc_hidden_nolink.
48471 * include/rpc/auth.h: Mark functions which are to be hidden.
48472 * include/rpc/auth_des.h: Likewise.
48473 * include/rpc/auth_unix.h: Likewise.
48474 * include/rpc/clnt.h: Likewise.
48475 * include/rpc/des_crypt.h: Likewise.
48476 * include/rpc/key_prot.h: Likewise.
48477 * include/rpc/pmap_clnt.h: Likewise.
48478 * include/rpc/pmap_prot.h: Likewise.
48479 * include/rpc/pmap_rmt.h: Likewise.
48480 * include/rpc/rpc_msg.h: Likewise.
48481 * include/rpc/svc.h: Likewise.
48482 * include/rpc/svc_auth.h: Likewise.
48483 * include/rpc/xdr.h: Likewise.
48484 * nis/Makefile: Link all DSOs against linkobj/libc.so.
48485 * nss/Makefile: Likewise.
48486 * sunrpc/Makefile: Don't install headers. Build library with normal
48487 entry points. Don't build rpcinfo. Link RPC tests appropriately.
48488 * sunrpc/auth_des.c: Hide exported symbols by default, export some
48489 for the compat linking library. Remove use of INTDEF/INTUSE.
48490 * sunrpc/auth_none.c: Likewise.
48491 * sunrpc/auth_unix.c: Likewise.
48492 * sunrpc/authdes_prot.c: Likewise.
48493 * sunrpc/authuxprot.c: Likewise.
48494 * sunrpc/clnt_gen.c: Likewise.
48495 * sunrpc/clnt_perr.c: Likewise.
48496 * sunrpc/clnt_raw.c: Likewise.
48497 * sunrpc/clnt_simp.c: Likewise.
48498 * sunrpc/clnt_tcp.c: Likewise.
48499 * sunrpc/clnt_udp.c: Likewise.
48500 * sunrpc/clnt_unix.c: Likewise.
48501 * sunrpc/des_crypt.c: Likewise.
48502 * sunrpc/des_soft.c: Likewise.
48503 * sunrpc/get_myaddr.c: Likewise.
48504 * sunrpc/key_call.c: Likewise.
48505 * sunrpc/key_prot.c: Likewise.
48506 * sunrpc/netname.c: Likewise.
48507 * sunrpc/pm_getmaps.c: Likewise.
48508 * sunrpc/pm_getport.c: Likewise.
48509 * sunrpc/pmap_clnt.c: Likewise.
48510 * sunrpc/pmap_prot.c: Likewise.
48511 * sunrpc/pmap_prot2.c: Likewise.
48512 * sunrpc/pmap_rmt.c: Likewise.
48513 * sunrpc/publickey.c: Likewise.
48514 * sunrpc/rpc_cmsg.c: Likewise.
48515 * sunrpc/rpc_common.c: Likewise.
48516 * sunrpc/rpc_dtable.c: Likewise.
48517 * sunrpc/rpc_prot.c: Likewise.
48518 * sunrpc/rpc_thread.c: Likewise.
48519 * sunrpc/rtime.c: Likewise.
48520 * sunrpc/svc.c: Likewise.
48521 * sunrpc/svc_auth.c: Likewise.
48522 * sunrpc/svc_authux.c: Likewise.
48523 * sunrpc/svc_raw.c: Likewise.
48524 * sunrpc/svc_run.c: Likewise.
48525 * sunrpc/svc_simple.c: Likewise.
48526 * sunrpc/svc_tcp.c: Likewise.
48527 * sunrpc/svc_udp.c: Likewise.
48528 * sunrpc/svc_unix.c: Likewise.
48529 * sunrpc/svcauth_des.c: Likewise.
48530 * sunrpc/xcrypt.c: Likewise.
48531 * sunrpc/xdr.c: Likewise.
48532 * sunrpc/xdr_array.c: Likewise.
48533 * sunrpc/xdr_float.c: Likewise.
48534 * sunrpc/xdr_intXX_t.c: Likewise.
48535 * sunrpc/xdr_mem.c: Likewise.
48536 * sunrpc/xdr_rec.c: Likewise.
48537 * sunrpc/xdr_ref.c: Likewise.
48538 * sunrpc/xdr_sizeof.c: Likewise.
48539 * sunrpc/xdr_stdio.c: Likewise.
48541 2011-04-10 Ulrich Drepper <drepper@gmail.com>
48544 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48545 * sysdeps/ia64/dl-tls.h: Likewise.
48546 * sysdeps/powerpc/dl-tls.h: Likewise.
48547 * sysdeps/s390/dl-tls.h: Likewise.
48548 * sysdeps/sh/dl-tls.h: Likewise.
48549 * sysdeps/sparc/dl-tls.h: Likewise.
48550 * sysdeps/x86_64/dl-tls.h: Likewise.
48551 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48553 2011-03-14 Andreas Schwab <schwab@redhat.com>
48555 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48556 rpath element also skip the following colon.
48557 (expand_dynamic_string_token): Add is_path parameter and pass
48558 down to DL_DST_REQUIRED and _dl_dst_substitute.
48559 (decompose_rpath): Call expand_dynamic_string_token with
48560 non-zero is_path. Ignore empty rpaths.
48561 (_dl_map_object_from_fd): Call expand_dynamic_string_token
48564 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
48566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48569 2011-04-09 Ulrich Drepper <drepper@gmail.com>
48572 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48573 Patch by Filipe David Manana <fdmanana@apache.org>.
48575 2011-04-07 Andreas Schwab <schwab@redhat.com>
48577 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48578 Maintain aligned stack.
48579 (CHECK_RSP): Remove unused macro.
48581 2011-04-03 Ulrich Drepper <drepper@gmail.com>
48583 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48584 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48586 2011-04-02 Ulrich Drepper <drepper@gmail.com>
48588 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48590 * include/features.h: Mention __USE_XOPEN2K8 in comment.
48592 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
48595 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48596 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48597 * sysdeps/x86_64/memmove.c: New file.
48598 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48599 (memcpy): Renamed to ...
48600 (__new_memcpy): This.
48601 (memcpy): Provide GLIBC_2_14 memcpy.
48602 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48603 (memcpy): Provide GLIBC_2_2_5 memcpy.
48605 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48608 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48610 2011-03-30 Andreas Schwab <schwab@redhat.com>
48612 * misc/syncfs.c: New file.
48613 * misc/Makefile (routines): Add syncfs.
48614 * posix/unistd.h: Declare syncfs.
48615 * sysdeps/unix/syscalls.list: Add syncfs.
48617 2011-04-01 Andreas Schwab <schwab@redhat.com>
48619 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48621 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48622 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48623 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48624 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48625 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48626 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48627 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48629 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48631 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48632 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48633 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48634 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48635 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48636 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48637 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48639 * io/Makefile: Compile fallocate.c, fallocate64.c, and
48640 sync_file_range.c with -fexceptions.
48641 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48642 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48643 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48644 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48645 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48646 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48647 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48648 sync_file_range as cancellation point
48649 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
48650 now a wrapper around __call_sync_file_range with cancellation handling.
48651 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48652 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
48653 function name to __call_sync_file_range.
48654 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48655 Add call_sync_file_range.
48657 2011-04-01 Andreas Schwab <schwab@redhat.com>
48659 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48662 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48664 * iconv/iconv.h: Fix typo in comment.
48665 * io/fcntl.h: Likewise.
48666 * libio/stdio.h: Likewise.
48667 * posix/spawn.h: Likewise.
48668 * posix/unistd.h: Likewise.
48669 * stdlib/stdlib.h: Likewise.
48670 * time/time.h: Likewise.
48671 * wcsmbs/wchar.h: Likewise.
48673 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48674 open_by_handle): Add.
48675 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48676 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
48677 Augment a few comments.
48678 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48679 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48680 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48681 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48682 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48683 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48686 * io/fcntl.h (AT_EMPTY_PATH): Define.
48688 2011-03-30 Ulrich Drepper <drepper@gmail.com>
48690 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48691 * sysdeps/unix/sysv/linux/bits/time.h: New file.
48692 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48694 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
48695 * Versions.def: Add GLIBC_2.14.
48696 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48699 2011-03-22 Ulrich Drepper <drepper@gmail.com>
48701 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48703 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48705 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48708 * string/test-strncmp.c (do_page_test): New function.
48709 (check2): Likewise.
48710 (test_main): Call check2.
48711 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48713 2011-03-20 Ulrich Drepper <drepper@gmail.com>
48716 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48717 Handle cache information in CPU leaf 4.
48718 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48720 2011-03-18 Ulrich Drepper <drepper@gmail.com>
48723 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48724 character representation.
48725 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48727 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48729 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48730 END(__isnan) to END(__isnanf) to match function entry point/label
48731 EALIGN(__isnanf,...).
48733 2011-03-10 Jakub Jelinek <jakub@redhat.com>
48735 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48737 2011-03-10 Ulrich Drepper <drepper@gmail.com>
48740 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48741 copy from the symbol referenced in the relocation to initialize the
48743 Patch by Piotr Bury <pbury@goahead.com>.
48744 * elf/Makefile: Add rules to build and tst-unique3.
48745 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48746 * elf/tst-unique3.cc: New file.
48747 * elf/tst-unique3.h: New file.
48748 * elf/tst-unique3lib.cc: New file.
48749 * elf/tst-unique3lib2.cc: New file.
48751 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48753 2011-03-10 Mike Frysinger <vapier@gentoo.org>
48755 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48756 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48759 2011-03-06 Ulrich Drepper <drepper@gmail.com>
48761 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48762 to-be-loaded object along a path to loader is ld.so.
48764 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48765 Ulrich Drepper <drepper@gmail.com>
48767 * sysdeps/x86_64/memset.S: After aligning destination, code
48768 branches to different locations depending on the value of
48769 misalignment, when multiarch is enabled. Fix this.
48771 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48773 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48774 Set _x86_64_preferred_memory_instruction for AMD processsors.
48775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48776 Set bit_Prefer_SSE_for_memop for AMD processors.
48778 2011-03-04 Ulrich Drepper <drepper@gmail.com>
48780 * libio/fmemopen.c (fmemopen): Optimize a bit.
48782 2011-03-03 Andreas Schwab <schwab@redhat.com>
48784 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48786 2011-03-03 Roland McGrath <roland@redhat.com>
48788 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48790 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48792 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48793 __bzero_ultra1 instead of __memset_ultra1.
48795 2011-02-23 Andreas Schwab <schwab@redhat.com>
48796 Ulrich Drepper <drepper@gmail.com>
48799 * include/link.h (struct link_map): Add l_orig_initfini.
48800 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48801 returning unsuccessfully.
48802 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48803 close of a file loaded at startup, restore the original l_initfini
48805 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48806 list, store the pointer.
48807 * elf/Makefile ($(objpfx)noload-mem): New rule.
48808 (noload-ENV): Define.
48809 (tests): Add $(objpfx)noload-mem.
48810 * elf/noload.c: Include <memcheck.h>.
48811 (main): Call mtrace. Close all opened handles.
48813 2011-02-17 Andreas Schwab <schwab@redhat.com>
48816 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48817 dependencies are missing.
48819 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48821 Fix __if_freereq crash: Unlike the generic version which uses free,
48823 * sysdeps/mach/hurd/ifreq.h: New file.
48825 2011-01-27 Petr Baudis <pasky@suse.cz>
48826 Ulrich Drepper <drepper@gmail.com>
48829 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48830 to extend_alloca().
48831 * stdio-common/bug23.c: New file.
48832 * stdio-common/Makefile (tests): Add bug23.
48834 2010-09-28 Andreas Schwab <schwab@redhat.com>
48835 Ulrich Drepper <drepper@gmail.com>
48838 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48839 before performing relro protection. At old place add assertion
48840 to make sure nothing changed.
48842 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48843 Glauber de Oliveira Costa <glommer@gmail.com>
48845 * elf/elf.h: Add new ARM TLS relocs.
48847 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48850 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48852 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48854 * sysdeps/wordsize-64/tst-writev.c: New file.
48856 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48858 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48859 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48860 insns in _dl_start to prevent a TOC reference before relocs are
48863 2011-02-15 Ulrich Drepper <drepper@gmail.com>
48866 * Makeconfig: Remove RANLIB definition.
48867 * Makerules: Don't use RANLIB.
48868 * aclocal.m4: Remove ranlib test.
48869 * configure.in: No need to check for ranlib.
48870 * elf/rtld-Rules: Don't use RANLIB.
48872 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48874 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48876 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48877 inclusion protection macro.
48879 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48880 SIGRTMIN and SIGRTMAX and print information in that case only when
48881 SIGRTMIN is defined.
48883 2011-02-11 Jakub Jelinek <jakub@redhat.com>
48885 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48886 arginfo fn returning -1.
48888 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48889 and thousands string is zero terminated.
48891 2011-02-03 Andreas Schwab <schwab@redhat.com>
48893 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48894 sysdeps/unix/sysv/linux/bits/socket.h.
48896 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48898 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48899 (__CPU_COUNT): Remove old macros.
48900 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48901 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48902 (__CPU_ALLOC, __CPU_FREE): Add macros.
48903 (__sched_cpualloc, __sched_cpufree): Add declarations.
48905 2011-02-05 Ulrich Drepper <drepper@gmail.com>
48907 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48908 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48909 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48910 (readdhstai): Return value of addhstaiX call.
48911 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48912 (addgrbyX): Return value returned by cache_addgr.
48913 (readdgrbyname): Return value returned by addgrbyX.
48914 (readdgrbygid): Likewise.
48915 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48916 (addpwbyX): Return value returned by cache_addpw.
48917 (readdpwbyname): Return value returned by addhstbyX.
48918 (readdpwbyuid): Likewise.
48919 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48920 (addservbyX): Return value returned by cache_addserv.
48921 (readdservbyname): Return value returned by addservbyX:
48922 (readdservbyport): Likewise.
48923 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48924 (addhstbyX): Return value returned by cache_addhst.
48925 (readdhstbyname): Return value returned by addhstbyX.
48926 (readdhstbyaddr): Likewise.
48927 (readdhstbynamev6): Likewise.
48928 (readdhstbyaddrv6): Likewise.
48929 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48930 (readdinitgroups): Return value returned by addinitgroupsX.
48931 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48932 (prune_cache): Keep track of timeout value of re-added entries.
48933 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48934 * nscd/nscd.h: Adjust prototypes of readd* functions.
48936 2011-02-04 Roland McGrath <roland@redhat.com>
48938 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48939 (nis_stats): Likewise.
48940 * nis/nis_modify.c (nis_modify): Likewise.
48941 * nis/nis_remove.c (nis_remove): Likewise.
48942 * nis/nis_add.c (nis_add): Likewise.
48944 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48946 * posix/fnmatch_loop.c: Add some consts.
48948 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48950 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48953 * config.make.in (config-cflags-novzeroupper): Define.
48954 * configure.in: Substitute libc_cv_cc_novzeroupper.
48955 * elf/Makefile (AVX-CFLAGS): Define.
48956 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48957 (CFLAGS-tst-auditmod4a.c): Likewise.
48958 (CFLAGS-tst-auditmod4b.c): Likewise.
48959 (CFLAGS-tst-auditmod6b.c): Likewise.
48960 (CFLAGS-tst-auditmod6c.c): Likewise.
48961 (CFLAGS-tst-auditmod7b.c): Likewise.
48962 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48964 2011-02-02 Ulrich Drepper <drepper@gmail.com>
48966 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48967 function to the callback.
48968 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48970 2011-02-02 Andreas Schwab <schwab@redhat.com>
48972 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48975 2011-01-19 Ulrich Drepper <drepper@gmail.com>
48978 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48980 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48982 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48985 * elf/Makefile: Add rules to build and run new test.
48986 * elf/tst-initorder.c: New file.
48987 * elf/tst-initorder.exp: New file.
48988 * elf/tst-initordera1.c: New file.
48989 * elf/tst-initordera2.c: New file.
48990 * elf/tst-initordera3.c: New file.
48991 * elf/tst-initordera4.c: New file.
48992 * elf/tst-initorderb1.c: New file.
48993 * elf/tst-initorderb2.c: New file.
48994 * elf/tst-order-a1.c: New file.
48995 * elf/tst-order-a2.c: New file.
48996 * elf/tst-order-a3.c: New file.
48997 * elf/tst-order-a4.c: New file.
48998 * elf/tst-order-b1.c: New file.
48999 * elf/tst-order-b2.c: New file.
49000 * elf/tst-order-main.c: New file.
49001 New test case by George Gensure <werkt0@gmail.com>.
49003 2010-10-01 Andreas Schwab <schwab@redhat.com>
49005 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49006 decoding ACE if AI_CANONIDN.
49008 2011-01-18 Ulrich Drepper <drepper@gmail.com>
49010 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49012 2011-01-17 Ulrich Drepper <drepper@gmail.com>
49014 * version.h (RELEASE): Bump for 2.13 release.
49015 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49017 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49019 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49021 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49022 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49023 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49024 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49025 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49026 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49028 * posix/getconf.c: Update copyright year.
49029 * catgets/gencat.c: Likewise.
49030 * csu/version.c: Likewise.
49031 * debug/catchsegv.sh: Likewise.
49032 * debug/xtrace.sh: Likewise.
49033 * elf/ldconfig.c: Likewise.
49034 * elf/ldd.bash.in: Likewise.
49035 * elf/sprof.c (print_version): Likewise.
49036 * iconv/iconv_prog.c: Likewise.
49037 * iconv/iconvconfig.c: Likewise.
49038 * locale/programs/locale.c: Likewise.
49039 * locale/programs/localedef.c: Likewise.
49040 * malloc/memusage.sh: Likewise.
49041 * malloc/mtrace.pl: Likewise.
49042 * nscd/nscd.c (print_version): Likewise.
49043 * nss/getent.c: Likewise.
49045 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49046 PF_CAIF, and PF_ALG.
49047 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49049 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
49051 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49052 (modules-names): Use them.
49053 (ifunc-test-modules, ifunc-pie-tests): Define.
49054 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49055 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49056 (test-extras): Likewise.
49057 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49058 $(compile-command.c).
49059 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49060 (all-built-dso): Define.
49061 (check-textrel.out, check-execstack.out): Depend on it.
49063 * configure.in: Don't override --enable-multi-arch.
49065 2011-01-15 Ulrich Drepper <drepper@gmail.com>
49068 * nscd/hstcache.c (tryagain): Define.
49069 (cache_addhst): Return tryagain not notfound for temporary errors.
49070 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49073 2011-01-14 Ulrich Drepper <drepper@gmail.com>
49076 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49077 to make the syscall.
49078 * sysdeps/unix/sysv/linux/setgroups.c: New file.
49081 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49082 and fall back to matching as normal character if the string ends before
49083 the matching ']' is found. This is what POSIX requires.
49084 * posix/testfnm.c: Adjust test result.
49085 * posix/globtest.sh: Adjust test result. Add new test.
49086 * posix/tst-fnmatch.input: Likewise.
49087 * posix/tst-fnmatch2.c: Add new test.
49089 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
49091 * elf/Makefile (check-execstack): Revert last change. Depend on
49093 (check-execstack.h): New target.
49094 (generated): Add check-execstack.h.
49095 * elf/check-execstack.c: Include "check-execstack.h".
49096 (main): Revert last change.
49097 (handle_file): Return zero if GNU_STACK is absent and
49098 DEFAULT_STACK_PERMS doesn't include PF_X.
49100 2011-01-13 Ulrich Drepper <drepper@gmail.com>
49102 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49103 in child fails because the descriptor is already closed.
49104 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49105 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49106 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49109 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49113 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49114 temporary buffer used to handle multi lookups locally.
49115 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49117 2011-01-12 Ulrich Drepper <drepper@gmail.com>
49119 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49122 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
49124 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49125 alignment for SSE2.
49127 2011-01-12 Ulrich Drepper <drepper@gmail.com>
49130 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49131 characters. When rounding increased number of integer digits recompute
49133 * stdio-common/tst-grouping.c: New file.
49134 * stdio-common/Makefile: Add rules to build and run tst-grouping.
49136 2011-01-09 Ulrich Drepper <drepper@gmail.com>
49138 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49139 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
49141 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49143 * bits/select.h: Likewise.
49145 2011-01-08 Ulrich Drepper <drepper@gmail.com>
49147 * po/ja.po: Update from translation team.
49149 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
49152 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49153 implementation just like for lxstat, fxstatat, et al.
49155 2010-12-27 Jim Meyering <meyering@redhat.com>
49158 * posix/regexec.c (build_trtable): Return failure indication upon
49159 calloc failure. Otherwise, re_search_internal could infloop on OOM.
49161 2010-12-25 Ulrich Drepper <drepper@gmail.com>
49164 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49165 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49166 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49167 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49170 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49173 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49174 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49176 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
49178 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49179 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49180 script has SORT_BY_INIT_PRIORITY.
49181 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49182 NO_CTORS_DTORS_SECTIONS is defined.
49183 * elf/soinit.c: Likewise.
49184 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49185 NO_CTORS_DTORS_SECTIONS is defined.
49186 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49187 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49188 * sysdeps/sh/init-first.c: Likewise.
49189 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49191 2010-12-24 Ulrich Drepper <drepper@gmail.com>
49193 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49194 always use the slow path.
49196 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
49198 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49199 similar rule which adds the sysdep directories to the header search in
49200 order to pick up the correct platform stackinfo.h.
49201 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49202 perform test if it is, otherwise return successfully without testing.
49203 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49204 DEFAULT_STACK_PERMS define in stackinfo.h.
49205 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49206 defined in stackinfo.h.
49207 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49208 DEFAULT_STACK_PERMS defined in stackinfo.h.
49209 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49210 * sysdeps/ia64/stackinfo.h: Likewise.
49211 * sysdeps/s390/stackinfo.h: Likewise.
49212 * sysdeps/sh/stackinfo.h: Likewise.
49213 * sysdeps/sparc/stackinfo.h: Likewise.
49214 * sysdeps/x86_64/stackinfo.h: Likewise.
49215 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49216 PF_X for powerpc64. Retain PF_X for powerpc32.
49218 2010-12-19 Ulrich Drepper <drepper@gmail.com>
49220 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49222 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49223 GETDENTS_64BIT_ALIGNED.
49225 2010-12-14 Ulrich Drepper <dreper@gmail.com>
49227 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49229 2010-12-10 Andreas Schwab <schwab@redhat.com>
49231 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49234 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49235 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49237 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49238 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49240 2010-12-09 Ulrich Drepper <drepper@gmail.com>
49243 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49246 2010-12-09 Jakub Jelinek <jakub@redhat.com>
49248 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49250 2010-12-03 Ulrich Drepper <drepper@gmail.com>
49252 * po/it.po: Update from translation team.
49254 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
49256 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49259 2010-11-30 Ulrich Drepper <drepper@gmail.com>
49261 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49263 2010-11-24 Andreas Schwab <schwab@redhat.com>
49265 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49267 (gaih_getanswer_slice): Likewise.
49269 2010-10-20 Jakub Jelinek <jakub@redhat.com>
49271 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49273 2010-05-31 Petr Baudis <pasky@suse.cz>
49276 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49277 silently even in the chroot mode.
49279 2010-11-22 Ulrich Drepper <drepper@gmail.com>
49281 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49282 last patch a bit. Pretty printing
49284 2010-05-31 Petr Baudis <pasky@suse.cz>
49287 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49288 initialization of skip_initgroups_dyn.
49290 2010-11-19 Ulrich Drepper <drepper@gmail.com>
49292 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49293 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49295 2010-11-16 Ulrich Drepper <drepper@gmail.com>
49297 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49299 2010-11-11 Andreas Schwab <schwab@redhat.com>
49301 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49302 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49303 (tst-fnmatch-ENV): Set MALLOC_TRACE.
49304 ($(objpfx)tst-fnmatch-mem): New rule.
49305 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49306 * posix/tst-fnmatch.c (main): Call mtrace.
49308 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
49310 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49311 Support Intel processor model 6 and model 0x2c.
49313 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
49315 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49318 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
49321 * string/test-strncasecmp.c (check_result): New function.
49322 (do_one_test): Use it.
49323 (check1): New function.
49324 (test_main): Use it.
49325 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49326 Support strcasecmp and strncasecmp.
49328 2010-11-08 Ulrich Drepper <drepper@gmail.com>
49331 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49332 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49334 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
49336 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49338 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49340 * sysdeps/x86_64/multiarch/bzero.S: New file.
49341 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49342 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49343 * sysdeps/x86_64/multiarch/memset.S: New file.
49344 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49345 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49346 Set bit_Prefer_SSE_for_memop for Intel processors.
49347 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49349 (index_Prefer_SSE_for_memop): Define.
49350 (HAS_PREFER_SSE_FOR_MEMOP): Define.
49352 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
49354 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49355 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49357 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
49360 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49361 (__x86_64_raw_data_cache_size_half): Likewise.
49362 (__x86_64_raw_shared_cache_size): Likewise.
49363 (__x86_64_raw_shared_cache_size_half): Likewise.
49365 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49366 (__x86_64_raw_data_cache_size_half): Likewise.
49367 (__x86_64_raw_shared_cache_size): Likewise.
49368 (__x86_64_raw_shared_cache_size_half): Likewise.
49369 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49370 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49371 and __x86_64_raw_shared_cache_size_half. Round
49372 __x86_64_data_cache_size_half, __x86_64_data_cache_size
49373 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49374 to multiple of 256 bytes.
49376 2010-11-03 Ulrich Drepper <drepper@gmail.com>
49379 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49380 of inacessible symlinks. Verify result of symlink before returning it.
49381 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49382 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49384 2010-10-28 Erich Ritz <erichritz@gmail.com>
49386 * math/math.h (isinf): Fix typo in comment.
49388 2010-11-01 Ulrich Drepper <drepper@gmail.com>
49390 * po/da.po: Update from translation team.
49392 2010-10-26 Ulrich Drepper <drepper@gmail.com>
49394 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49395 is added to the list.
49397 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49398 Ulrich Drepper <drepper@gmail.com>
49400 * elf/dl-object.c (_dl_new_object): Don't append the new object to
49401 the global list here. Move code to...
49402 (_dl_add_to_namespace_list): ...here. New function.
49403 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49404 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49405 * elf/dl-load.c (lose): Don't remove the element from the list.
49406 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49407 (_dl_map_object): Likewise.
49409 2010-10-25 Ulrich Drepper <drepper@gmail.com>
49412 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49413 into all bytes of SSE register.
49414 Patch by Richard Li <richardpku@gmail.com>.
49416 2010-10-24 Ulrich Drepper <drepper@gmail.com>
49419 * malloc/malloc.c (_int_free): Fill correct number of bytes when
49422 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
49424 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49425 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49426 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49427 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49432 2010-10-22 Andreas Schwab <schwab@redhat.com>
49434 * include/dlfcn.h (__RTLD_SECURE): Define.
49435 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
49436 mode & __RTLD_SECURE instead.
49437 (open_path): Rename preloaded parameter to secure.
49438 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49439 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49440 * elf/dl-deps.c (openaux): Likewise.
49441 * elf/rtld.c (struct map_args): Remove is_preloaded.
49442 (map_doit): Don't use it.
49443 (dl_main): Likewise.
49444 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49445 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49447 2010-09-09 Andreas Schwab <schwab@redhat.com>
49449 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49450 (sysd-rules-targets): Remove duplicates.
49451 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49452 rtld-%.$o dependency.
49454 2010-10-18 Andreas Schwab <schwab@redhat.com>
49456 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49457 _dl_map_object do it.
49459 2010-10-19 Ulrich Drepper <drepper@gmail.com>
49461 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49462 fast fma builtins, define the macros in the C99 standard.
49463 (FP_FAST_FMAF): Likewise.
49464 (FP_FAST_FMAL): Likewise.
49465 * sysdeps/x86_64/bits/mathdef.h: Likewise.
49467 * bits/mathdef.h: Update copyright year.
49468 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49470 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
49472 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49473 builtins, define the macros in the C99 standard.
49474 (FP_FAST_FMAF): Likewise.
49475 (FP_FAST_FMAL): Likewise.
49476 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49478 (FP_FAST_FMAF): Likewise.
49480 2010-10-15 Jakub Jelinek <jakub@redhat.com>
49483 * math/libm-test.inc (fma_test): Some new testcases.
49484 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49485 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49486 y and infinite z. Do multiplication by C already in long double.
49487 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49488 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49489 y and infinite z. Do bitwise or of inexact bit into u.d.
49490 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49491 * sysdeps/i386/fpu/s_fmaf.S: Removed.
49492 * sysdeps/i386/fpu/s_fma.S: Removed.
49493 * sysdeps/i386/fpu/s_fmal.S: Removed.
49495 2010-10-16 Jakub Jelinek <jakub@redhat.com>
49498 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49499 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49500 computation is not scheduled after fetestexcept. Fix value
49501 of minimum denormal long double.
49503 2010-10-14 Jakub Jelinek <jakub@redhat.com>
49506 * math/libm-test.inc (fma_test): Add some more tests.
49507 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49510 2010-10-15 Andreas Schwab <schwab@redhat.com>
49512 * scripts/data/localplt-s390-linux-gnu.data: New file.
49513 * scripts/data/localplt-s390x-linux-gnu.data: New file.
49515 2010-10-13 Jakub Jelinek <jakub@redhat.com>
49518 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49519 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49521 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49523 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49524 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49525 if one of x and y is very large and the other is subnormal.
49526 * sysdeps/s390/fpu/s_fmaf.c: New file.
49527 * sysdeps/s390/fpu/s_fma.c: New file.
49528 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49529 * sysdeps/powerpc/fpu/s_fma.S: New file.
49530 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49531 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49532 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49534 2010-10-12 Jakub Jelinek <jakub@redhat.com>
49537 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49539 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49540 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49541 * sysdeps/i386/i686/multiarch/s_fma.c: Include
49542 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49543 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49544 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49545 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49547 2010-10-12 Ulrich Drepper <drepper@redhat.com>
49550 * posix/regcomp.c (parse_branch): One more memory leak plugged.
49551 * posix/bug-regex31.input: Add test case.
49553 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49555 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49556 * posix/bug-regex31.input: New file.
49559 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49560 (parse_sub_exp): Fix last change, use postorder.
49562 * posix/bug-regex31.c: New file.
49563 * posix/Makefile: Add rules to build and run bug-regex31.
49565 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49568 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49571 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49572 to have entries in sys_siglist.
49575 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49578 2010-10-07 Jakub Jelinek <jakub@redhat.com>
49581 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49582 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49583 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49584 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49585 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49586 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49587 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49588 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49589 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49590 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49591 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49592 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49593 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49594 * math/ftestexcept.c (fetestexcept): Likewise.
49595 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49596 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49597 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49598 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49599 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49600 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49601 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49603 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49606 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49609 2010-10-06 Ulrich Drepper <drepper@gmail.com>
49611 * string/bug-strstr1.c: New file.
49612 * string/Makefile: Add rules to build and run bug-strstr1.
49614 2010-10-05 Eric Blake <eblake@redhat.com>
49617 * string/str-two-way.h (two_way_long_needle): Always clear memory
49618 when skipping input due to the shift table.
49620 2010-10-03 Ulrich Drepper <drepper@gmail.com>
49623 * malloc/mcheck.c: Handle large requests.
49626 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49627 for strncmp and strncasecmp.
49628 * string/stratcliff.c: Add tests for strcmp and strncmp.
49629 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49631 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49633 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49636 2010-09-30 Andreas Jaeger <aj@suse.de>
49638 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49639 (CGROUP_SUPER_MAGIC): Define.
49640 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49641 Handle btrfs and cgroup file systems.
49642 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49645 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
49647 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49648 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49650 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49653 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49654 trying to locate the ELF header.
49656 2010-09-27 Andreas Schwab <schwab@redhat.com>
49659 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49660 Mask out sign-bit copies when constructing f_fsid.
49662 2010-09-24 Petr Baudis <pasky@suse.cz>
49664 * debug/stack_chk_fail_local.c: Add missing licence exception.
49665 * debug/warning-nop.c: Likewise.
49667 2010-09-15 Joseph Myers <joseph@codesourcery.com>
49669 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49670 implementing getdents64 using getdents syscall, set d_type if
49671 __ASSUME_GETDENTS32_D_TYPE.
49673 2010-09-16 Andreas Schwab <schwab@redhat.com>
49675 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49676 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49678 2010-09-21 Ulrich Drepper <drepper@redhat.com>
49681 * posix/unistd.h: Undo change of feature selection for ftruncate from
49684 2010-09-20 Ulrich Drepper <drepper@redhat.com>
49686 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49689 2010-09-20 Andreas Schwab <schwab@redhat.com>
49691 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49693 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49695 2010-09-14 Andreas Schwab <schwab@redhat.com>
49697 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49698 variables after CHECK_SP call.
49699 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49701 2010-09-13 Andreas Schwab <schwab@redhat.com>
49702 Ulrich Drepper <drepper@redhat.com>
49704 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49705 re-relocationg ld.so.
49706 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49707 _dl_init_paths call.
49708 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49711 2010-09-14 Ulrich Drepper <drepper@redhat.com>
49713 * resolv/res_init.c (__res_vinit): Count the default server we added.
49715 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49716 Ulrich Drepper <drepper@redhat.com>
49719 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49720 (____longjmp_chk): Use %ebx for saving value across system call.
49723 2010-09-06 Andreas Schwab <schwab@redhat.com>
49725 * manual/Makefile: Don't mix pattern rules with normal rules.
49727 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49729 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49731 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49732 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49733 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49734 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49735 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49738 2010-09-04 Ulrich Drepper <drepper@redhat.com>
49741 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49742 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49744 2010-09-02 Ulrich Drepper <drepper@redhat.com>
49746 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49747 * sysdeps/x86_64/addmul_1.S: Likewise.
49748 * sysdeps/x86_64/lshift.S: Likewise.
49749 * sysdeps/x86_64/mul_1.S: Likewise.
49750 * sysdeps/x86_64/rshift.S: Likewise.
49751 * sysdeps/x86_64/sub_n.S: Likewise.
49752 * sysdeps/x86_64/submul_1.S: Likewise.
49754 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49756 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49757 Define __sched_param instead of SCHED_* and sched_param when
49758 <bits/sched.h> is included with __need_schedparam defined.
49759 * bits/sched.h [__need_schedparam]
49760 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49761 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49762 (__defined_schedparam): Define to 1.
49763 (__sched_param): New structure, identical to sched_param.
49764 (__need_schedparam): Undefine.
49766 2010-08-31 Mike Frysinger <vapier@gentoo.org>
49768 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49769 (epoll_create1): Declare.
49771 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49773 2010-08-31 Andreas Schwab <schwab@redhat.com>
49776 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49777 shifting retval into place.
49779 2010-09-01 Ulrich Drepper <drepper@redhat.com>
49781 * nis/rpcsvc/nis.h: Update copyright notice.
49782 * nis/rpcsvc/nis.x: Likewise.
49783 * nis/rpcsvc/nis_callback.h: Likewise.
49784 * nis/rpcsvc/nis_callback.x: Likewise.
49785 * nis/rpcsvc/nis_object.x: Likewise.
49786 * nis/rpcsvc/nis_tags.h: Likewise.
49787 * nis/rpcsvc/yp.h: Likewise.
49788 * nis/rpcsvc/yp.x: Likewise.
49789 * nis/rpcsvc/ypupd.h: Likewise.
49790 * nis/yp_xdr.c: Likewise.
49791 * nis/ypupdate_xdr.c: Likewise.
49793 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49794 mainly the body of pmap_getport. Add parameters to specify timeouts.
49795 (pmap_getport): Use __libc_rpc_getport.
49796 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49797 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49798 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49800 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49805 2010-08-27 Roland McGrath <roland@redhat.com>
49807 * sysdeps/i386/i686/multiarch/Makefile
49808 (CFLAGS-varshift.c): New variable.
49810 2010-08-27 Ulrich Drepper <drepper@redhat.com>
49812 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49813 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49815 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49817 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49819 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49821 * sysdeps/x86_64/strlen.S: Unroll the loop.
49822 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49823 strlen-sse2 strlen-sse2-bsf.
49824 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49825 __strlen_no_bsf if bit_Slow_BSF is set.
49826 (__strlen_sse42): Removed.
49827 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49828 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49830 2010-08-25 Roland McGrath <roland@redhat.com>
49832 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49833 * sysdeps/x86_64/multiarch/varshift.c: New file.
49834 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49835 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49836 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49837 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49839 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49841 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49842 strlen-sse2 strlen-sse2-bsf.
49843 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49844 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49845 (__strlen_sse2): Removed.
49846 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49847 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49848 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49849 bit_Slow_BSF for Atom.
49850 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49851 (index_Slow_BSF): Define.
49852 (HAS_SLOW_BSF): Define.
49854 2010-08-25 Ulrich Drepper <drepper@redhat.com>
49857 * resolv/res_init.c (__res_vinit): When no server address at all
49858 is given default to loopback.
49860 2010-08-24 Roland McGrath <roland@redhat.com>
49862 * configure.in: Remove config-name.h generation.
49863 * configure: Regenerated.
49864 * config-name.in: File removed.
49865 * scripts/config-uname.sh: New file.
49866 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49867 ($(objdir)config-name.h): New target.
49869 * sunrpc/rpc_parse.h: Avoid nested comment.
49871 2010-08-24 Richard Henderson <rth@redhat.com>
49872 Ulrich Drepper <drepper@redhat.com>
49873 H.J. Lu <hongjiu.lu@intel.com>
49875 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49876 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49877 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49878 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49879 _mm_alignr_epi8 with _mm_loadu_si128.
49880 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49881 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49882 (__m128i_shift_right): Removed.
49883 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49884 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49885 * sysdeps/x86_64/multiarch/varshift.h: New file.
49886 * sysdeps/x86_64/multiarch/varshift.S: New file.
49888 2010-08-21 Mike Frysinger <vapier@gentoo.org>
49890 * configure.in: Move assembler checks to before sysdep dir checking.
49892 2010-08-20 Petr Baudis <pasky@suse.cz>
49894 * LICENSES: Sync the sunrpc license.
49896 2010-08-19 Ulrich Drepper <drepper@redhat.com>
49898 * sunrpc/auth_des.c: Update copyright notice once again.
49899 * sunrpc/auth_none.c: Likewise.
49900 * sunrpc/auth_unix.c: Likewise.
49901 * sunrpc/authdes_prot.c: Likewise.
49902 * sunrpc/authuxprot.c: Likewise.
49903 * sunrpc/bindrsvprt.c: Likewise.
49904 * sunrpc/clnt_gen.c: Likewise.
49905 * sunrpc/clnt_perr.c: Likewise.
49906 * sunrpc/clnt_raw.c: Likewise.
49907 * sunrpc/clnt_simp.c: Likewise.
49908 * sunrpc/clnt_tcp.c: Likewise.
49909 * sunrpc/clnt_udp.c: Likewise.
49910 * sunrpc/clnt_unix.c: Likewise.
49911 * sunrpc/des_crypt.c: Likewise.
49912 * sunrpc/des_soft.c: Likewise.
49913 * sunrpc/get_myaddr.c: Likewise.
49914 * sunrpc/getrpcport.c: Likewise.
49915 * sunrpc/key_call.c: Likewise.
49916 * sunrpc/key_prot.c: Likewise.
49917 * sunrpc/openchild.c: Likewise.
49918 * sunrpc/pm_getmaps.c: Likewise.
49919 * sunrpc/pm_getport.c: Likewise.
49920 * sunrpc/pmap_clnt.c: Likewise.
49921 * sunrpc/pmap_prot.c: Likewise.
49922 * sunrpc/pmap_prot2.c: Likewise.
49923 * sunrpc/pmap_rmt.c: Likewise.
49924 * sunrpc/rpc/auth.h: Likewise.
49925 * sunrpc/rpc/auth_unix.h: Likewise.
49926 * sunrpc/rpc/clnt.h: Likewise.
49927 * sunrpc/rpc/des_crypt.h: Likewise.
49928 * sunrpc/rpc/key_prot.h: Likewise.
49929 * sunrpc/rpc/netdb.h: Likewise.
49930 * sunrpc/rpc/pmap_clnt.h: Likewise.
49931 * sunrpc/rpc/pmap_prot.h: Likewise.
49932 * sunrpc/rpc/pmap_rmt.h: Likewise.
49933 * sunrpc/rpc/rpc.h: Likewise.
49934 * sunrpc/rpc/rpc_des.h: Likewise.
49935 * sunrpc/rpc/rpc_msg.h: Likewise.
49936 * sunrpc/rpc/svc.h: Likewise.
49937 * sunrpc/rpc/svc_auth.h: Likewise.
49938 * sunrpc/rpc/types.h: Likewise.
49939 * sunrpc/rpc/xdr.h: Likewise.
49940 * sunrpc/rpc_clntout.c: Likewise.
49941 * sunrpc/rpc_cmsg.c: Likewise.
49942 * sunrpc/rpc_common.c: Likewise.
49943 * sunrpc/rpc_cout.c: Likewise.
49944 * sunrpc/rpc_dtable.c: Likewise.
49945 * sunrpc/rpc_hout.c: Likewise.
49946 * sunrpc/rpc_main.c: Likewise.
49947 * sunrpc/rpc_parse.c: Likewise.
49948 * sunrpc/rpc_parse.h: Likewise.
49949 * sunrpc/rpc_prot.c: Likewise.
49950 * sunrpc/rpc_sample.c: Likewise.
49951 * sunrpc/rpc_scan.c: Likewise.
49952 * sunrpc/rpc_scan.h: Likewise.
49953 * sunrpc/rpc_svcout.c: Likewise.
49954 * sunrpc/rpc_tblout.c: Likewise.
49955 * sunrpc/rpc_util.c: Likewise.
49956 * sunrpc/rpc_util.h: Likewise.
49957 * sunrpc/rpcinfo.c: Likewise.
49958 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49959 * sunrpc/rpcsvc/key_prot.x: Likewise.
49960 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49961 * sunrpc/rpcsvc/mount.x: Likewise.
49962 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49963 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49964 * sunrpc/rpcsvc/rex.x: Likewise.
49965 * sunrpc/rpcsvc/rstat.x: Likewise.
49966 * sunrpc/rpcsvc/rusers.x: Likewise.
49967 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49968 * sunrpc/rpcsvc/spray.x: Likewise.
49969 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49970 * sunrpc/rtime.c: Likewise.
49971 * sunrpc/svc.c: Likewise.
49972 * sunrpc/svc_auth.c: Likewise.
49973 * sunrpc/svc_authux.c: Likewise.
49974 * sunrpc/svc_raw.c: Likewise.
49975 * sunrpc/svc_run.c: Likewise.
49976 * sunrpc/svc_simple.c: Likewise.
49977 * sunrpc/svc_tcp.c: Likewise.
49978 * sunrpc/svc_udp.c: Likewise.
49979 * sunrpc/svc_unix.c: Likewise.
49980 * sunrpc/svcauth_des.c: Likewise.
49981 * sunrpc/xcrypt.c: Likewise.
49982 * sunrpc/xdr.c: Likewise.
49983 * sunrpc/xdr_array.c: Likewise.
49984 * sunrpc/xdr_float.c: Likewise.
49985 * sunrpc/xdr_mem.c: Likewise.
49986 * sunrpc/xdr_rec.c: Likewise.
49987 * sunrpc/xdr_ref.c: Likewise.
49988 * sunrpc/xdr_sizeof.c: Likewise.
49989 * sunrpc/xdr_stdio.c: Likewise.
49991 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49994 2010-08-19 Andreas Schwab <schwab@redhat.com>
49996 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49998 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
50000 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50001 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50002 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50003 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50004 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50005 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50006 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50007 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50008 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50009 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50010 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50011 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50012 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50013 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50015 2010-07-26 Anton Blanchard <anton@samba.org>
50017 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50018 * malloc/arena.c (heap_trim): Likewise.
50020 2010-08-16 Ulrich Drepper <drepper@redhat.com>
50022 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50024 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50025 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50027 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
50029 * sysdeps/i386/elf/Makefile: New file.
50031 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50033 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50034 from fanotify_init.
50035 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50036 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50038 2010-08-15 Ulrich Drepper <drepper@redhat.com>
50040 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50042 * sysdeps/multiarch/strcmp.S: Likewise.
50044 2010-08-14 Ulrich Drepper <drepper@redhat.com>
50046 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50047 strncase_l-nonascii.
50048 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50049 Add strncase_l-ssse3.
50050 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50051 * sysdeps/x86_64/strcmp.S: Likewise.
50052 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50053 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50054 * sysdeps/x86_64/strncase.S: New file.
50055 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50056 * sysdeps/x86_64/strncase_l.S: New file.
50057 * string/Makefile (strop-tests): Add strncasecmp.
50058 * string/test-strncasecmp.c: New file.
50060 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50063 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50064 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50066 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50068 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50070 2010-08-12 Ulrich Drepper <drepper@redhat.com>
50072 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50073 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50074 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50076 2010-05-01 Alan Modra <amodra@gmail.com>
50078 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50079 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50080 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50081 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50082 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50083 tidying. Don't tail-call __sigjmp_save for static lib.
50084 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50086 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50087 (CALL_MCOUNT): Add eh info, and nop after bl.
50088 (TAIL_CALL_SYSCALL_ERROR): New macro.
50089 (PSEUDO_RET): Use it.
50090 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50091 Correct save location of integer regs and cr.
50092 (_dl_profile_resolve): Correct cr save location. Delete nops
50093 after bl when SHARED. Reduce cfi size a little by better
50094 placement of cfi directives.
50095 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50096 make a stack frame. Instead use parm save area as a temp.
50097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50098 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
50099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50100 Don't make a stack frame for parent, use parm save area.
50101 Increase child stack frame to 112 bytes. Don't save unused reg,
50102 and adjust reg usage. Set up cfi on error recovery and
50103 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50105 (__makecontext): Add dummy nop after jump to exit.
50106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50107 Use correct parm save area and cr save, reduce stack frame.
50108 Correct cfi for possible PSEUDO_RET frame setup.
50109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50110 Branch to local label emitted by PSEUDO_RET rather than
50113 2010-08-12 Andreas Schwab <schwab@redhat.com>
50116 * locale/programs/locale.c (print_assignment): New function.
50117 (show_locale_vars): Use it.
50119 2010-08-11 Ulrich Drepper <drepper@redhat.com>
50121 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50123 (struct statfs64): Likewise.
50124 (_STATFS_F_FLAGS): Define.
50125 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50126 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50127 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50128 (ST_VALID): Define locally.
50129 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50130 __statvfs_getflags, use the provided value.
50131 * sysdeps/unix/sysv/linux/kernel-features.h: Define
50132 __ASSUME_STATFS_F_FLAGS.
50134 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50136 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50137 Add sys/fanotify.h.
50138 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50139 fanotify_mask for GLIBC_2.13.
50140 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50141 fanotify_init and fanotify_mark.
50142 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50143 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50145 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50147 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50148 prlimit64 for GLIBC_2.13.
50149 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50151 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50154 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50155 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50156 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50157 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
50159 * sysdeps/unix/sysv/linux/prlimit.c: New file.
50162 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50163 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50165 * nss/Makefile: Add rules to build and run tst-nss-test1.
50166 * shlib-versions: Add entry for libnss_test1.
50167 * nss/nss_test1.c: New file.
50168 * nss/tst-nss-test1.c: New file.
50170 * nss/nsswitch.c (__nss_database_custom): Define new variable.
50171 (__nss_configure_lookup): Set appropriate entry in
50172 __nss_configure_lookup to true.
50173 * nss/nsswitch.h: Define enum with indeces of databases in
50174 databases and __nss_database_custom arrays. Declare
50175 __nss_database_custom.
50176 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50177 to avoid using nscd when custom rules are installed.
50178 * nss/getXXbyYY_r.c: Likewise.
50179 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50181 * nss/nss_files/files-parse.c: Whitespace fixes.
50183 2010-08-09 Ulrich Drepper <drepper@redhat.com>
50186 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50187 * posix/fnmatch_loop.c: Likewise.
50189 2010-07-17 Andi Kleen <ak@linux.intel.com>
50191 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50192 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50193 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50194 * Versions.def [GLIBC_2.13]: Add.
50196 2010-08-06 Ulrich Drepper <drepper@redhat.com>
50198 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50199 Also fail if tpwd after pwuid call is NULL.
50201 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
50203 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50204 when converting to ms.
50206 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50208 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50209 EOPNOTSUPP errors with ENOTTY.
50210 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50211 EOPNOTSUPP errors with ENOTTY.
50213 2010-07-31 Ulrich Drepper <drepper@redhat.com>
50215 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50216 Add strcasecmp_l-ssse3.
50217 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50219 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50220 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50221 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50223 2010-07-30 Ulrich Drepper <drepper@redhat.com>
50225 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50227 * string/Makefile (strop-tests): Add strcasecmp.
50228 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50229 strcasecmp_l-nonascii.
50230 (gen-as-const-headers): Add locale-defines.sym.
50231 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50232 * sysdeps/x86_64/strcasecmp.S: New file.
50233 * sysdeps/x86_64/strcasecmp_l.S: New file.
50234 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50235 * sysdeps/x86_64/locale-defines.sym: New file.
50236 * string/test-strcasecmp.c: New file.
50238 * string/test-strcasestr.c: Test both ends of the range of characters.
50239 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50241 2010-07-29 Roland McGrath <roland@redhat.com>
50244 * manual/locale.texi (Yes-or-No Questions): Fix example code.
50246 2010-07-27 Ulrich Drepper <drepper@redhat.com>
50248 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50251 2010-07-27 Andreas Schwab <schwab@redhat.com>
50253 * manual/memory.texi (Malloc Tunable Parameters): Document
50256 2010-07-26 Roland McGrath <roland@redhat.com>
50259 * configure.in (-fgnu89-inline check): Set and substitute
50260 gnu89_inline, not libc_cv_gnu89_inline.
50261 * configure: Regenerated.
50262 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50264 2010-07-26 Ulrich Drepper <drepper@redhat.com>
50266 * string/test-strnlen.c: New file.
50267 * string/Makefile (strop-tests): Add strnlen.
50268 * string/tester.c (test_strnlen): Add a few more test cases.
50269 * string/tst-strlen.c: Better error reporting.
50271 * sysdeps/x86_64/strnlen.S: New file.
50273 2010-07-24 Ulrich Drepper <drepper@redhat.com>
50275 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50276 lower-latency instructions.
50278 2010-07-23 Ulrich Drepper <drepper@redhat.com>
50280 * string/test-strcasestr.c: New file.
50281 * string/test-strstr.c: New file.
50282 * string/Makefile (strop-tests): Add strstr and strcasestr.
50283 * string/str-two-way.h: Don't undefine MAX.
50284 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50286 2010-07-21 Andreas Schwab <schwab@redhat.com>
50288 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50289 strcasestr-nonascii.
50290 (CFLAGS-strcasestr-nonascii.c): Define.
50291 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50292 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50293 Remove unused attribute.
50295 2010-07-20 Roland McGrath <roland@redhat.com>
50297 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50298 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
50299 ld.so.cache was broken. With it, there is no way to disable dsocaps
50300 like LD_HWCAP_MASK can disable hwcaps.
50302 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50304 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50306 2010-07-16 Ulrich Drepper <drepper@redhat.com>
50308 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50309 call in strcasestr.
50310 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50311 __strcasestr_sse42_nonascii.
50312 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50313 strcasestr-nonascii.c.
50314 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50316 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
50318 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50319 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50320 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50321 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50323 2010-07-09 Ulrich Drepper <drepper@redhat.com>
50325 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50328 2010-07-06 Andreas Schwab <schwab@redhat.com>
50331 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50334 2010-07-06 Ulrich Drepper <drepper@redhat.com>
50336 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50337 _PC_PIPE_BUF using F_GETPIPE_SZ.
50339 2010-07-05 Roland McGrath <roland@redhat.com>
50341 * manual/arith.texi (Rounding Functions): Fix rint description
50342 implicit in round description.
50344 2010-07-02 Ulrich Drepper <drepper@redhat.com>
50346 * elf/Makefile: Fix linking for a few tests to make recent linker
50349 2010-06-30 Andreas Schwab <schwab@redhat.com>
50351 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50352 $(common-objpfx)libc_nonshared.a.
50354 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
50356 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50357 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50358 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50359 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50360 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50361 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50362 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50363 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50378 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50379 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50380 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50381 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50382 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50383 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50384 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50385 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50386 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50387 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50388 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50389 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50405 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
50407 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50408 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
50409 * string/memmove.c (memmove): Renamed to ...
50410 (MEMMOVE): ...this. Default to memmove.
50411 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50412 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50415 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50416 mempcpy-ssse3-back memmove-ssse3-back.
50417 * sysdeps/x86_64/multiarch/bcopy.S: New file .
50418 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50419 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50420 * sysdeps/x86_64/multiarch/memcpy.S: New file.
50421 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50422 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50423 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50424 * sysdeps/x86_64/multiarch/memmove.c: New file.
50425 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50426 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50427 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50428 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50429 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50430 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50432 (index_Fast_Copy_Backward): Define.
50433 (HAS_ARCH_FEATURE): Define.
50434 (HAS_FAST_REP_STRING): Define.
50435 (HAS_FAST_COPY_BACKWARD): Define.
50437 2010-06-21 Andreas Schwab <schwab@redhat.com>
50439 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50440 Restore proper fallback handling.
50442 2010-06-19 Ulrich Drepper <drepper@redhat.com>
50445 * posix/group_member.c (__group_member): Correct checking loop.
50447 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50448 OOM in getpwuid_r correctly. Return error number when the caller
50449 should return, otherwise -1.
50450 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50451 call returning > 0 value.
50452 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50454 2010-06-07 Andreas Schwab <schwab@redhat.com>
50456 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50457 libc_nonshared.a from targets in modules-names.
50459 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
50461 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50464 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
50466 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50467 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50468 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50469 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50471 2010-06-02 Andreas Schwab <schwab@redhat.com>
50473 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50475 2010-06-14 Ulrich Drepper <drepper@redhat.com>
50477 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50479 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50480 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50481 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50482 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50483 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50484 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50486 2010-06-14 Roland McGrath <roland@redhat.com>
50488 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50490 2010-06-07 Jakub Jelinek <jakub@redhat.com>
50492 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50493 __REDIRECT followed by __THROW.
50494 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50495 * posix/getopt.h (getopt): Likewise.
50497 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50499 * hurd/lookup-at.c (__file_name_lookup_at): Accept
50500 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
50501 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50503 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50504 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50506 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
50508 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50510 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
50513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50514 Properly check family and model.
50516 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
50518 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50520 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
50522 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50524 2010-05-21 Ulrich Drepper <drepper@redhat.com>
50526 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50529 2010-05-19 Andreas Schwab <schwab@redhat.com>
50531 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50534 2010-05-21 Andreas Schwab <schwab@redhat.com>
50536 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50537 and internal_recvmmsg.
50538 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50539 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50540 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50541 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50543 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50544 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50545 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50547 2010-05-20 Andreas Schwab <schwab@redhat.com>
50549 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50551 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
50553 POWER7 optimizations.
50554 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50555 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50557 2010-05-19 Ulrich Drepper <drepper@redhat.com>
50559 * version.h: Update for 2.13 development version.
50561 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
50563 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50564 exceptions. Return 0.
50566 2010-05-07 Roland McGrath <roland@redhat.com>
50568 * elf/ldconfig.c (main): Add a const.
50570 2010-05-06 Ulrich Drepper <drepper@redhat.com>
50572 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50573 (args_options): Add no-idn option.
50574 (ahosts_keys_int): Add idn_flags to ai_flags.
50575 (parse_option): Handle 'i' option to clear idn_flags.
50577 * malloc/malloc.c (_int_free): Possible race in the most recently
50578 added check. Only act on the data if no current modification
50581 See ChangeLog.17 for earlier changes.