1 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4 (preload): New functions broken out of _dl_map_object_deps.
5 (_dl_map_object_deps): Remove a nested function. Update call sites.
7 2014-10-01 Joseph Myers <joseph@codesourcery.com>
10 * sysdeps/unix/sysv/linux/execve.c: Remove file.
11 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13 2014-10-01 Steve Ellcey <sellcey@mips.com>
15 * sysdeps/mips/strcmp.S: New.
17 2014-09-30 Joseph Myers <joseph@codesourcery.com>
20 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
23 (readlinkat): Likewise.
25 (symlinkat): Likewise.
27 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
28 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
29 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
30 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
31 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
32 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
33 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
35 2014-09-30 Will Newton <will.newton@linaro.org>
37 * math/math.h: Define long double math functions if
38 _LIBC_TEST is defined.
39 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
41 * localedata/Makefile: Move assignment to tests-special
42 into an ifdef testing run-built-tests.
43 * timezone/Makefile: Likewise.
45 2014-09-29 Joseph Myers <joseph@codesourcery.com>
47 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
48 with $(BASH) not $(SHELL).
50 2014-09-29 Carlos O'Donell <carlos@redhat.com>
51 Matthew LeGendre <legendre1@llnl.gov>
54 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
57 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
59 * stdio-common/printf_fp.c
60 (hack_digit): New function, broken out of ...
61 (__printf_fp): ... local function here. Update call sites.
62 hack_digit now takes an additional parameter that is a pointer
63 to a struct of the referenced locals. Those locals moved inside
64 the struct and references updated.
66 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
68 * aclocal.m4: Require autoconf 2.69.
69 * configure: Regenerated.
70 * sysdeps/aarch64/configure: Likewise.
71 * sysdeps/alpha/configure: Likewise.
72 * sysdeps/arm/armv7/configure: Likewise.
73 * sysdeps/arm/configure: Likewise.
74 * sysdeps/ia64/configure: Likewise.
75 * sysdeps/mach/configure: Likewise.
76 * sysdeps/mips/configure: Likewise.
77 * sysdeps/s390/configure: Likewise.
78 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
79 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
81 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
83 * sysdeps/ia64/configure.ac: Likewise.
85 2014-09-26 Joseph Myers <joseph@codesourcery.com>
87 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
88 specify symbol version for ld.so. Do not include entry for
90 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
91 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
92 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
95 * Makeconfig [$(build-shared) = yes]
96 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
98 [$(build-shared) = yes && $(soversions.mk-done) = t]
99 ($(common-objpfx)gnu/lib-names.h): Remove rule.
100 [$(build-shared) = yes && $(soversions.mk-done) = t]
101 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
103 [$(build-shared) = yes && $(soversions.mk-done) = t]
104 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
106 [$(build-shared) = yes && $(soversions.mk-done) = t]
107 (common-generated): Don't append gnu/lib-names.h and
108 gnu/lib-names.stmp here.
109 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
110 (lib-names-h-abi): New variable.
111 [$(build-shared) = yes && $(soversions.mk-done) = t]
112 (lib-names-stmp-abi): Likewise.
113 [$(build-shared) = yes && $(soversions.mk-done) = t &&
114 abi-variants] (before-compile): Append
115 $(common-objpfx)$(lib-names-h-abi).
116 [$(build-shared) = yes && $(soversions.mk-done) = t &&
117 abi-variants] (common-generated): Append gnu/lib-names.h.
118 [$(build-shared) = yes && $(soversions.mk-done) = t &&
119 abi-variants] (install-others-nosubdir): Depend on
120 $(inst_includedir)/$(lib-names-h-abi).
121 [$(build-shared) = yes && $(soversions.mk-done) = t &&
122 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
123 [$(build-shared) = yes && $(soversions.mk-done) = t]
124 ($(common-objpfx)$(lib-names-h-abi)): New rule.
125 [$(build-shared) = yes && $(soversions.mk-done) = t]
126 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
127 [$(build-shared) = yes && $(soversions.mk-done) = t]
128 (common-generated): Append $(lib-names-h-abi) and
129 $(lib-names-stmp-abi).
130 * scripts/lib-names.awk: Do not handle multi being set.
131 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
133 (abi-lp64_be-ld-soname): Likewise.
134 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
136 (abi-hard-ld-soname): Likewise.
137 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
138 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
140 (abi-o32_hard-ld-soname): Likewise.
141 (abi-o32_soft_2008-ld-soname): Likewise.
142 (abi-o32_hard_2008-ld-soname): Likewise.
143 (abi-n32_soft-ld-soname): Likewise.
144 (abi-n32_hard-ld-soname): Likewise.
145 (abi-n32_soft_2008-ld-soname): Likewise.
146 (abi-n32_hard_2008-ld-soname): Likewise.
147 (abi-n64_soft-ld-soname): Likewise.
148 (abi-n64_hard-ld-soname): Likewise.
149 (abi-n64_soft_2008-ld-soname): Likewise.
150 (abi-n64_hard_2008-ld-soname): Likewise.
151 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
153 (abi-64-v2-ld-soname): Likewise.
154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
156 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
158 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
160 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
162 (abi-64-ld-soname): Likewise.
163 (abi-x32-ld-soname): Likewise.
164 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
166 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
168 2014-09-23 Joseph Myers <joseph@codesourcery.com>
171 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
172 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
173 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
174 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
175 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
176 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
177 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
178 syscall entry for GLIBC_2.2 symbol version.
179 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
182 (setrlimit): Likewise.
183 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
186 2014-09-23 Will Newton <will.newton@linaro.org>
188 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
189 _LINUX_ARM_SYSDEP_H include guard too.
190 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
193 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
195 * sysdeps/unix/sysv/linux/eventfd.c:
196 Make first argument unsigned.
197 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
198 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
200 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
202 * socket/recvmmsg.c (recvmmsg): Drop const argument.
203 * socket/sys/socket.h: Likewise
204 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
206 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
208 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
210 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
212 * time/tst-ftime.c: New test.
213 * time/Makefile (tests): Add tst-ftime.
215 2014-09-17 Joseph Myers <joseph@codesourcery.com>
217 * soft-fp/extended.h: Fix comment formatting.
218 * soft-fp/op-1.h: Likewise.
219 * soft-fp/op-2.h: Likewise.
220 * soft-fp/op-4.h: Likewise.
221 * soft-fp/op-8.h: Likewise.
222 * soft-fp/op-common.h: Likewise.
223 * soft-fp/soft-fp.h: Likewise.
225 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
227 2014-09-16 Joseph Myers <joseph@codesourcery.com>
230 * Makeconfig (soversions-default-setname): Remove variable.
231 ($(common-objpfx)soversions.i): Don't pass default_setname to
233 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
234 oldest_abi to abi-versions.awk.
235 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
236 * config.make.in (oldest-abi): Remove variable.
237 * configure.ac (--enable-oldest-abi): Remove configure option.
238 * configure: Regenerated.
239 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
241 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
242 * scripts/soversions.awk: Do not handle default_setname variable.
243 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
245 * sysdeps/mach/hurd/configure: Regenerated.
246 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
248 * sysdeps/unix/sysv/linux/configure: Regenerated.
250 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
252 * elf/Makefile (CFLAGS-interp.c): Remove.
253 ($(elf-objpfx)runtime-linker.h): Generate header with linker
255 * elf/interp.c: Include generated runtime-linker.h
257 * Makerules (lib%.so): Don't include $(+interp) in
259 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
260 * dlfcn/eval.c: Remove file.
262 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
266 * misc/sys/cdefs.h: Define __extern_always_inline for clang
270 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
272 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
273 Jakub Jelinek <jakub@redhat.com>
276 * libio/stdio.h: Check definition of __fortify_function
277 instead of __extern_always_inline to include bits/stdio2.h.
278 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
279 check if __extern_always_inline is defined.
280 [__USE_MISC || __USE_XOPEN]: Likewise.
281 [__USE_ISOC99] Likewise.
282 * misc/sys/cdefs.h (__fortify_function): Define only if
283 __extern_always_inline is defined.
284 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
285 __extern_always_inline and __extern_inline only for g++-4.3
286 and newer or a compatible gcc.
288 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
291 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
292 last change to handle zero prefix length.
294 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
296 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
299 * posix/getconf.c (vars): Add _POSIX_IPV6 and
302 2014-09-13 Allan McRae <allan@archlinux.org>
304 * po/ru.po: Update Russian translation from translation project.
306 2014-09-12 Roland McGrath <roland@hack.frob.com>
308 * locale/programs/locale.c (show_locale_vars): Inline local function
309 into its sole call site. Clean up some style nits.
310 (print_item): New function, broken out of ...
311 (show_info): ... local function here. Clean up style nits.
313 * locale/programs/ld-ctype.c (set_one_default): New function, broken
315 (set_class_defaults): ... local function set_default here.
316 Define set_default as a macro locally to pass constant parameters.
317 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
318 rather than a shared local.
320 * stdlib/rpmatch.c (try): New function, broken out of ...
321 (rpmatch): ... local function here. Also, prototypify definition.
323 2014-09-12 Joseph Myers <joseph@codesourcery.com>
325 * scripts/soversions.awk: Do not handle configuration names.
326 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
327 vendor and os variables to soversions.awk.
328 * configure.ac: Do not modify gnu-* host_os.
329 * configure: Regenerated
330 * shlib-versions: Remove first column with configuration names.
331 * nptl/shlib-versions: Likewise.
332 * nptl_db/shlib-versions: Likewise.
333 * sysdeps/hppa/shlib-versions: Likewise.
334 * sysdeps/m68k/shlib-versions: Likewise.
335 * sysdeps/mach/hurd/shlib-versions: Likewise.
336 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
337 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
338 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
339 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
340 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
341 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
342 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
343 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
346 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
347 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
348 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
349 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
350 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
351 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
352 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
353 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
356 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
359 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
361 Condition symbol version definitions on [HAVE_ELFV2_ABI].
363 * shlib-versions: Remove OS-specific entries. Moved to files in
365 * sysdeps/mach/hurd/shlib-versions: New file.
366 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
368 * nptl/shlib-versions: Remove architecture-specific entries.
369 Moved to files in sysdeps.
370 * shlib-versions: Likewise.
371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
373 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
374 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
375 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
376 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
378 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
379 (UDP_NO_CHECK6_RX): Likewise.
381 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
383 * sysdeps/posix/sysconf.c (__sysconf): Spell
384 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
386 2014-08-12 Florian Weimer <fweimer@redhat.com>
388 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
390 * iconv/Versions (__gconv_transliterate): Export for use from
392 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
393 (struct __gconv_trans_data, __gconv_trans_fct,
394 __gconv_trans_context_fct, __gconv_trans_query_fct,
395 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
397 (struct __gconv_step_data): Remove __trans member.
398 (__gconv_transliterate): Declaration moved from gconv_int.h. No
399 longer hidden. Remove unused trans_data argument.
400 * iconv/gconv_int.h (struct trans_struct): Remove definition.
401 (__gconv_translit_find): Remove declaration.
402 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
404 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
405 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
406 trans_data argument. Add hidden definition.
407 (__gconv_translit_find): Remove.
408 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
409 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
410 * iconv/skeleton.c: Remove transliteration initialization.
411 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
412 __gconv_step_data initialization.
413 * libio/iofwide.c (__libio_translit_): Remove.
414 (_IO_fwide): Adjust struct __gconv_step_data initialization.
415 * wcsmbs/btowc.c (__btowc): Likewise.
416 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
417 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
418 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
419 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
420 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
421 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
422 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
423 * wcsmbs/wctob.c (wctob): Likewise.
425 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
428 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
429 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
431 * sysdeps/x86/Makefile: Adjust.
433 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
434 Roland McGrath <roland@hack.frob.com>
436 * locale/weight.h: Add include guard.
437 (findidx): Make static rather than auto; take new parameters
438 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
439 * locale/weightwc.h: Likewise.
440 * posix/fnmatch_loop.c
441 (FCT): Change type of EXTRA from int32_t to wint_t.
442 Don't include either header inside the function.
443 Call FINDIDX rather than findidx, and pass new arguments.
444 #undef FINDIDX at the end of the file.
445 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
446 FINDIDX before including fnmatch_loop.c for the non-wide version.
447 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
448 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
449 for the wide version.
450 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
451 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
452 Pass new arguments to findidx.
453 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
454 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
455 Don't #include it inside the function. Pass new arguments to findidx.
456 * posix/regex_internal.h
457 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
458 (re_string_elem_size_at): Don't #include it inside the function.
459 Pass new arguments to findidx.
460 * string/strcoll_l.c: #include WEIGHT_H at top level.
461 (get_next_seq): Don't #include it inside the function.
462 Pass new arguments to findidx.
463 (get_next_seq_nocache): Likewise.
464 * string/strxfrm_l.c: #include WEIGHT_H at top level.
465 (STRXFRM): Don't #include it inside the function.
466 Pass new arguments to findidx.
468 2014-09-11 Florian Weimer <fweimer@redhat.com>
471 * malloc/malloc.c (unlink): Turn asserts into a call to
474 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
477 * libio/wfileops (do_ftell_wide): Free OUT.
479 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
481 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
483 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
486 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
487 group if the current group is empty.
489 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
491 * benchtests/bench-memset.c (test_main): Add more test from size
492 from 32 to 512 bytes.
493 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
494 Add POWER8 memset object.
495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
496 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
497 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
499 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
501 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
502 multiarch POWER8 memset optimization.
503 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
504 POWER8 memset optimization.
506 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
507 Remove bzero multiarch objects.
508 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
509 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
510 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
511 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
513 [__bzero]: Redefine to specific name.
514 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
515 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
516 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
518 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
519 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
521 2014-09-10 Florian Weimer <fweimer@redhat.com>
523 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
524 warnings into errors.
526 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
527 __cxa_thread_atexit_impl prototype.
529 2014-09-09 Steve Ellcey <sellcey@mips.com>
531 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
532 Fix capitalization of error message.
534 2014-09-09 Steve Ellcey <sellcey@mips.com>
536 * sysdeps/mips/preconfigure: Modify ABI tests.
538 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
540 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
542 2014-09-07 Roland McGrath <roland@hack.frob.com>
543 Carlos O'Donell <carlos@systemhalted.org>
545 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
546 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
547 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
548 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
549 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
550 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
551 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
552 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
553 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
554 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
555 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
556 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
557 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
558 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
559 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
560 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
561 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
562 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
563 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
564 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
565 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
566 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
567 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
568 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
569 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
570 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
571 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
572 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
573 Deconditionalize the code that was previously under [RESET_PID].
574 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
575 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
576 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
577 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
580 2014-09-08 Allan McRae <allan@archlinux.org>
582 * version.h (RELEASE): Set to "development".
583 (VERSION): Set to "2.20.90"
585 2014-09-07 Allan McRae <allan@archlinux.org
587 * version.h (RELEASE): Set to "stable".
588 (VERSION): Set to "2.20"
589 * include/features.h (__GLIBC_MINOR__): Set to 20.
591 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
594 * po/ko.po: Update Korean translation from translation project.
596 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
599 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
600 macro for handling signed relocations.
602 2014-09-03 Florian Weimer <fweimer@redhat.com>
605 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
606 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
608 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
609 * iconvdata/ibm935.c (BODY): Likewise.
610 * iconvdata/ibm937.c (BODY): Likewise.
611 * iconvdata/ibm939.c (BODY): Likewise.
612 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
614 * iconvdata/Makefile (iconv-test.out): Pass module list to test
616 * iconvdata/run-iconv-test.sh: New test loop for checking for
619 2014-09-02 Khem Raj <raj.khem@gmail.com>
621 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
624 2014-09-01 Allan McRae <allan@archlinux.org>
626 * po/eo.po: Update Esperanto translation from translation project.
628 * po/ca.po: Update Catalan translation from translation project.
630 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
632 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
635 2014-08-27 Mark Wielaard <mjw@redhat.com>
638 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
639 to call set_thread_area instead of hand written asm.
640 (__NR_set_thread_area): Removed define.
641 (TLS_FLAG_WRITABLE): Likewise.
642 (__ASSUME_SET_THREAD_AREA): Remove check.
643 (TLS_EBX_ARG): Remove define.
644 (TLS_LOAD_EBX): Likewise.
646 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
648 Simplify atomicity of socket creation in bind.
650 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
651 looking up the name after linking the file.
653 2014-08-27 Allan McRae <allan@archlinux.org>
655 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
657 2014-08-26 Florian Weimer <fweimer@redhat.com>
660 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
661 trans_compare, open_translit, __gconv_translit_find):
662 Remove module loading code.
664 2014-08-26 Allan McRae <allan@archlinux.org>
666 * po/vi.po: Update Vietnamese translation from translation project.
668 * po/uk.po: Update Ukrainian translation from translation project.
670 * po/fr.po: Update French translation from translation project.
672 * po/ru.po: Update Russian translation from translation project.
674 * po/pl.po: Update Polish translation from translation project.
676 * po/cs.po: Update Czech translation from translation project.
678 * po/de.po: Update German translation from translation project.
680 * po/bg.po: Update Bulgarian translation from translation project.
682 * po/sv.po: Update Sweedish translation from translation project.
684 * po/nl.po: Update Dutch translation from translation project.
686 * po/es.po: Update Spanish translation from translation project.
688 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
690 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
692 * catgets/Makefile (CPPFLAGS-gencat): Remove.
693 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
694 (CPPFLAGS-iconvconfig): Likewise.
695 * timezone/Makefile (CPPFLAGS-zic): Likewise.
697 * include/libc-symbols.h: Remove unnecessary check for
699 * nptl/pthreadP.h: Likewise.
700 * sysdeps/aarch64/setjmp.S: Likewise.
701 * sysdeps/alpha/setjmp.S: Likewise.
702 * sysdeps/arm/sysdep.h: Likewise.
703 * sysdeps/i386/setjmp.S: Likewise.
704 * sysdeps/m68k/setjmp.c: Likewise.
705 * sysdeps/posix/getcwd.c: Likewise.
706 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
707 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
708 * sysdeps/s390/s390-32/setjmp.S: Likewise.
709 * sysdeps/s390/s390-64/setjmp.S: Likewise.
710 * sysdeps/sh/sh3/setjmp.S: Likewise.
711 * sysdeps/sh/sh4/setjmp.S: Likewise.
712 * sysdeps/unix/alpha/sysdep.h: Likewise.
713 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
714 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
715 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
716 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
719 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
720 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
721 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
722 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
723 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
724 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
725 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
726 * sysdeps/x86_64/setjmp.S: Likewise.
728 2014-08-13 Joseph Myers <joseph@codesourcery.com>
731 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
733 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
734 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
736 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
738 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
741 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
742 and __x86_64__ when disabling x87 inline functions.
744 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
747 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
748 asm statement with __cpuid_count.
750 2014-08-12 Mike Frysinger <vapier@gentoo.org>
752 * configure.ac: Change __ehdr_start code to dereference the struct.
753 Run readelf on the output to look for relocations.
754 * configure: Regenerated.
756 2014-08-12 Joseph Myers <joseph@codesourcery.com>
759 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
761 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
763 2014-08-12 Roland McGrath <roland@hack.frob.com>
765 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
767 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
770 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
771 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
773 2014-08-12 Sean Anderson <seanga2@gmail.com>
775 * malloc/malloc.c: Fix typo in comment.
777 2014-08-09 Allan McRae <allan@archlinux.org>
779 * Regenerate libc.po.
781 2014-08-08 Mike Frysinger <vapier@gentoo.org>
783 * intl/tst-gettext2.sh: Check every lang file for creation.
785 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
787 * sysdeps/aarch64/fpu/math_private.h
788 (libc_feholdsetround_noex_aarch64_ctx): New function.
790 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
792 * sysdeps/arm/armv6/strcpy.S (strcpy):
793 Fix performance issue in misaligned cases.
795 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
797 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
798 Move definition from termios.h.
799 (struct termio): Likewise.
800 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
801 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
802 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
803 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
805 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
806 Move definition to ioctl-types.h
807 (struct termio): Likewise.
808 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
809 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
810 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
811 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
814 2014-08-05 Richard Henderson <rth@redhat.com>
816 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
818 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
820 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
822 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
823 Protect libm symbols with IS_IN_libm.
825 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
827 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
829 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
831 2014-08-04 Will Newton <will.newton@linaro.org>
833 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
836 2014-08-04 Mike Frysinger <vapier@gentoo.org>
838 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
839 variants for each function.
841 2014-08-04 Roland McGrath <roland@hack.frob.com>
843 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
845 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
846 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
848 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
849 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
850 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
851 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
852 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
853 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
854 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
855 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
856 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
857 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
858 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
859 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
860 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
861 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
862 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
863 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
864 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
865 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
866 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
867 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
868 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
869 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
870 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
871 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
872 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
873 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
874 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
875 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
876 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
877 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
878 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
879 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
880 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
881 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
882 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
883 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
884 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
885 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
886 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
887 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
888 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
889 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
890 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
891 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
892 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
893 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
894 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
895 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
896 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
897 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
898 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
899 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
900 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
902 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
903 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
905 2014-08-04 Roland McGrath <roland@hack.frob.com>
907 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
908 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
909 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
910 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
911 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
912 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
914 2014-08-04 Roland McGrath <roland@hack.frob.com>
916 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
917 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
918 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
919 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
921 2014-08-04 Roland McGrath <roland@hack.frob.com>
923 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
924 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
925 (__libc_vfork): Define function under this name.
926 (__vfork): Define as an alias.
927 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
928 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
930 2014-08-04 Roland McGrath <roland@hack.frob.com>
932 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
933 that was previously under [RESET_PID].
934 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
936 2014-08-04 Andreas Schwab <schwab@suse.de>
938 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
940 2014-08-03 Mike Frysinger <vapier@gentoo.org>
942 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
945 2014-08-01 Roland McGrath <roland@hack.frob.com>
947 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
949 2014-08-01 Richard Henderon <rth@redhat.com>
951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
952 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
953 typo in exact zero test.
954 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
955 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
956 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
958 2014-08-01 Roland McGrath <roland@hack.frob.com>
960 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
961 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
962 * sysdeps/arm/sysdep.h: ... here.
963 [!__ASSEMBLER__]: Include <stdint.h>.
965 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
967 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
968 (HAVE_WCTYPE_H): Likewise.
969 (HAVE_ISWCTYPE): Likewise.
970 (ENABLE_NLS): Likewise.
971 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
972 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
974 * posix/regex_internal.c: Check if DEBUG is defined and is
977 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
978 (HAVE_MBSRTOWCS): Likewise.
979 * posix/fnmatch.c: Include string.h unconditionally.
981 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
983 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
986 2014-07-31 Roland McGrath <roland@hack.frob.com>
988 * sysdeps/generic/safe-fatal.h: New file.
989 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
990 * nptl/forward.c: Include it.
991 (__pthread_unwind): Use __safe_fatal as default action, rather
992 than a bogus use of INTERNAL_SYSCALL that could never work.
994 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
995 * configure.ac (libc_cv_builtin_trap): New test.
996 * configure: Regenerated.
997 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
998 (ABORT_INSTRUCTION): Define using __builtin_trap.
1000 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1001 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1002 * sysdeps/nptl/nptl-signals.h: New file.
1003 * nptl/pthreadP.h: Include <nptl-signals.h>.
1005 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1007 * sysdeps/s390/s390-64/utf16-utf32-z9.c
1008 (ONE_DIRECTION): Define.
1009 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1010 (ONE_DIRECTION): Define.
1011 * sysdeps/s390/s390-64/utf8-utf32-z9.c
1012 (ONE_DIRECTION): Define.
1014 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1016 * sysdeps/s390/Makefile: Delete file.
1017 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1018 * sysdeps/s390/__longjmp.c: Delete file.
1019 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1020 Remove fields __flags and __reserved.
1021 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1023 * sysdeps/s390/rtld-__longjmp.c: Delete file.
1024 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1025 * sysdeps/s390/rtld-setjmp.S: Likewise.
1026 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1027 * sysdeps/s390/s390-32/__longjmp.c: ... here.
1028 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1029 * sysdeps/s390/s390-32/setjmp.S: ... here.
1031 (__sigsetjmp): Remove setting __flags field.
1032 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1033 * sysdeps/s390/s390-64/__longjmp.c: ... here.
1034 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1035 * sysdeps/s390/s390-64/setjmp.S: ... here.
1037 (__sigsetjmp): Remove setting __flags field.
1038 * sysdeps/s390/setjmp.S: Delete file.
1039 * sysdeps/s390/sigjmp.c: Likewise.
1040 * sysdeps/s390/v1-longjmp.c: Likewise.
1041 * sysdeps/s390/v1-setjmp.h: Likewise.
1042 * sysdeps/s390/v1-sigjmp.c: Likewise.
1043 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1044 Remove v1-longjmp_chk.
1045 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1046 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1047 Include debug/longjmp_chk.c and add versioning.
1048 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1049 Include nptl/pt-longjmp.c and add versioning.
1050 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1051 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1052 Include __longjmp.c.
1053 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1055 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1056 (__getcontext): Remove setting __flags field.
1058 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1059 Don't restore upper high grps.
1060 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1062 (__swapcontext): Remove setting uc_flags field.
1063 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1065 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1066 Include __longjmp.c.
1067 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1069 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1070 (__getcontext): Remove setting __flags field.
1072 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1073 (__swapcontext): Remove setting uc_flags field.
1074 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1075 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1076 Remove fields uc_high_gprs and __reserved.
1077 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1078 New file with reverted content.
1079 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1080 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1082 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1085 2014-07-31 Andreas Schwab <schwab@suse.de>
1087 * config.h.in (HAVE_IFUNC): Define to 0.
1088 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1091 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
1093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1094 memmove-avx-unaligned, memcpy-avx-unaligned and
1095 mempcpy-avx-unaligned.
1096 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1097 Add tests for AVX memcpy functions.
1098 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1099 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1101 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1102 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1104 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1105 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1107 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1108 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1109 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1111 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1114 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1117 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
1120 * manual/llio.texi: Add section about open file description locks.
1121 * manual/examples/ofdlocks.c: Example of open file description
1123 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1124 F_OFD_SETLK, and F_OFD_SETLKW.
1126 2014-07-23 Allan McRae <allan@archlinux.org>
1128 * po/es.po: Update Spanish translation from translation project.
1130 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
1132 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1134 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
1137 * sysdeps/arm/dl-machine.h (elf_machine_rela)
1138 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1139 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1141 2014-07-17 Joseph Myers <joseph@codesourcery.com>
1144 * math/fesetenv.c (__fesetenv)
1145 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1146 * math/feupdateenv.c (__feupdateenv)
1147 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1149 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1150 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1151 (__ASSUME_SOCKETCALL): Do not define.
1153 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1154 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1155 (__ASSUME_SOCKETCALL): Do not define.
1156 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1157 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1158 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1159 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1160 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1161 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1162 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1163 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1165 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1166 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1167 (__ASSUME_SOCKETCALL): Do not define.
1168 (__ASSUME_IPC64): Define unconditionally.
1169 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1170 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1171 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1172 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1173 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1174 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1175 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1178 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1179 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1180 (__ASSUME_SOCKETCALL): Do not define.
1181 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1182 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1183 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1184 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1185 (__ASSUME_REQUEUE_PI): Define unconditionally.
1186 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1187 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1188 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1189 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1190 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1191 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1193 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1194 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1195 (__ASSUME_SOCKETCALL): Do not define.
1196 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1197 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1198 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1199 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1200 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1201 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1203 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1204 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1205 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1206 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1207 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1208 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1209 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1210 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1211 (__ASSUME_GETCPU_SYSCALL): Likewise.
1213 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1214 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
1215 cases for individual architectures.
1216 * sysdeps/gnu/configure: Regenerated.
1217 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1218 LIBC_SLIBDIR_RTLDDIR.
1219 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1220 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1221 LIBC_SLIBDIR_RTLDDIR.
1222 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1224 LIBC_SLIBDIR_RTLDDIR.
1225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1227 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1228 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1230 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1231 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1233 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1234 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1235 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1236 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1238 * sysdeps/aarch64/shlib-versions: Move to ...
1239 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1240 * sysdeps/alpha/shlib-versions: Move to ...
1241 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1242 * sysdeps/arm/shlib-versions: Move to ...
1243 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1244 * sysdeps/hppa/shlib-versions: Move all contents except for
1245 libgcc_s entry to ...
1246 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
1248 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
1249 * sysdeps/ia64/shlib-versions: Move to ...
1250 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
1252 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
1253 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1254 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1255 * sysdeps/microblaze/shlib-versions: Move to ...
1256 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1257 * sysdeps/mips/shlib-versions: Move to ...
1258 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
1260 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
1261 * sysdeps/tile/shlib-versions: Move to ...
1262 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1263 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1265 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
1266 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1268 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
1270 2014-07-17 Will Newton <will.newton@linaro.org>
1272 * sysdeps/arm/bits/atomic.h
1273 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1274 (__arch_compare_and_exchange_bool_16_int): Likewise.
1275 (__arch_compare_and_exchange_bool_64_int): Likewise.
1277 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1278 into an #else block.
1280 2014-07-16 Roland McGrath <roland@hack.frob.com>
1282 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1283 just Linux configurations. Test empirically that the compiler sets
1284 __ARM_EABI__, rather than using the tuple to decide.
1285 * sysdeps/arm/preconfigure: Regenerated.
1286 * sysdeps/unix/sysv/linux/arm/configure: File removed.
1287 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1288 contents appended ...
1289 * sysdeps/arm/configure.ac: ... here.
1290 * sysdeps/arm/configure: Regenerated.
1292 2014-07-15 Roland McGrath <roland@hack.frob.com>
1294 * nptl/pthread_kill.c: New file.
1295 * nptl/pthread_sigmask.c: New file.
1296 * nptl/pthread_sigqueue.c: New file.
1298 * sysdeps/nptl/lowlevellock.h: New file.
1299 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1300 * sysdeps/nptl/lowlevellock-futex.h: New file.
1302 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1303 Remove dead declarations.
1305 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
1307 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1308 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1310 * sysdeps/x86_64/configure.ac: Likewise.
1311 * sysdeps/i386/configure: Regenerated.
1312 * sysdeps/x86_64/configure: Likewise.
1313 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1314 memset-avx2 only if config-cflags-avx2 is yes.
1315 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1316 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1318 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1319 only if HAVE_AVX2_SUPPORT is defined.
1320 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1322 2014-07-14 Alan Modra <amodra@gmail.com>
1325 * elf/elf.h (DT_PPC64_NUM): Correct value.
1326 * NEWS: Add to fixed bug list.
1328 2014-07-13 Jim Meyering <meyering@fb.com>
1331 regex: don't deref NULL upon heap allocation failure
1332 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1333 failure in one more place.
1334 To trigger the segfault, configure grep -with-included-regex,
1335 build it, and run these commands:
1336 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1338 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
1340 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1342 2014-07-11 Richard Henderson <rth@redhat.com>
1344 * sysdeps/aarch64/libm-test-ulps: Update.
1346 2014-07-10 Florian Weimer <fweimer@redhat.com>
1349 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1350 * nptl/allocatestack.c (__nptl_setxid_error): New function.
1351 (__nptl_setxid): Initialize error member. Call
1352 __nptl_setxid_error.
1353 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1354 * nptl/descr.h (struct xid_command): Add error member.
1355 * nptl/tst-setuid3.c: New file.
1356 * nptl/Makefile (tests): Add it.
1358 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1360 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1362 (__lll_trylock): Use __lll_base_trylock.
1363 (__lll_cond_trylock): Likewise.
1365 2014-07-10 Roland McGrath <roland@hack.frob.com>
1367 * nptl/pthread_create.c (start_thread): Use atomic_or and
1368 lll_futex_wake directly rather than lll_robust_dead.
1369 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1370 (lll_robust_dead): Macro removed.
1371 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1372 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1373 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1374 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1375 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1376 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1377 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1378 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1379 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1380 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1381 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1382 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1383 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1384 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1385 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1387 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1388 Use atomic_compare_and_exchange_val_acq directly rather than
1390 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1391 (__lll_robust_trylock, lll_robust_trylock): Removed.
1392 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1393 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1394 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1395 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1396 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1397 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1398 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1399 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1400 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1401 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1402 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1403 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1404 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1405 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1407 2014-07-02 Florian Weimer <fweimer@redhat.com>
1409 * manual/locale.texi (Locale Names): New section documenting
1410 locale name syntax. Adjust menu and node chaining accordingly.
1411 (Choosing Locale): Reference Locale Names, Locale Categories.
1412 Mention setting LC_ALL=C. Reflect that name syntax is now
1414 (Locale Categories): New section title. Reference Locale Names.
1415 LC_ALL is an environment variable, but not a category.
1416 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1417 description, now in Locale Name. Reference that section. Locale
1418 name syntax is now documented.
1420 2014-07-02 Florian Weimer <fweimer@redhat.com>
1423 * locale/findlocale.c (name_present, valid_locale_name): New
1425 (_nl_find_locale): Use the loc_name variable to store name
1426 candidates. Call name_present and valid_locale_name to check and
1427 validate locale names. Return an error if the locale is invalid.
1429 2014-07-02 Florian Weimer <fweimer@redhat.com>
1431 * locale/setlocale.c (setlocale): Use strdup for allocating
1432 composite name copy.
1434 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1436 Sync up with gnulib.
1437 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1438 [!_LIBC && ENABLE_NLS]: Include gettext.h.
1439 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1440 and _GL_ARG_NONNULL.
1441 [USE_UNLOCKED_IO]: Include unlocked-io.h.
1442 [!_LIBC]: Include code for Windows and Cygwin.
1443 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1444 Include prototype for int strerror_r.
1445 [!_LIBC] (is_open): New function.
1446 (flush_stdout): New function.
1447 (print_errno_message): Use it.
1449 (error_at_line): Likewise.
1450 (error_tail) Add function attribute macros. Use
1453 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1455 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1457 * io/ftw.c: Include sys/param.h unconditionally.
1459 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1462 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1464 (freecache): New function to free CACHE on exit.
1466 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1469 2014-07-09 David S. Miller <davem@davemloft.net>
1471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1473 * sysdeps/sparc/nptl/internaltypes.h: Delete.
1474 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1475 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1476 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1477 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1478 * sysdeps/sparc/nptl/sem_init.c: Likewise.
1479 * sysdeps/sparc/nptl/sem_post.c: Likewise.
1480 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1481 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1482 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1483 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1484 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1485 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1487 2014-07-09 Andreas Schwab <schwab@suse.de>
1489 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1491 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1492 (do_test): Likewise.
1494 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1496 2014-07-09 Will Newton <will.newton@linaro.org>
1498 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1499 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1500 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1501 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1502 * sysdeps/hppa/start.S (_start): Likewise.
1504 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1506 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1508 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1511 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1513 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1514 after checking that it is non-NULL.
1516 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1518 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1520 * sysdeps/powerpc/memmove.c: Remove file.
1521 * sysdeps/powerpc/powerpc32/power4/memcopy.h
1522 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1523 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1524 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1525 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1526 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1527 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1528 string memmove instead of removed powerpc one.
1530 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1531 [weak_alias]: Fix compiler warning due trailing data.
1532 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1533 [weak_alias]: Likewise.
1534 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1535 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1537 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1538 (__libc_ifunc_impl_list): Add memmove functions.
1540 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1542 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1544 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1546 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1548 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1550 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1552 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1554 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1556 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1558 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1560 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1562 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1564 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1566 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1568 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1570 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1572 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1574 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1577 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1579 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1580 to avoid alignment traps in non-cacheable memory.
1581 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1583 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1585 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1586 file: multiarch power7 memmove.
1587 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1588 multiarch default memmove.
1589 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1590 multiarch memove for powerpc32/power4.
1592 * string/bcopy.c: Use full path to include memmove.c.
1593 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1595 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1596 bcopy for powerpc64.
1597 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1598 bcopy for powerpc64.
1599 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1600 and memmove implementations.
1601 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1602 optimized multiarch memmove for POWER7/powerpc64.
1603 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1604 default multiarch memmove for powerpc64.
1605 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1606 multiarch for powerpc64.
1607 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1608 for POWER7/powerpc64.
1609 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1610 memmove for POWER7/powerpc64.
1612 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1615 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1616 __ELF_NATIVE_CLASS equal to 64.
1618 2014-07-07 Roland McGrath <roland@hack.frob.com>
1620 * sysdeps/nptl/lowlevellock.h: File removed.
1622 * NEWS: NPTL is no longer an add-on!
1623 * nptl/internaltypes.h: Moved ...
1624 * sysdeps/nptl/internaltypes.h: ... here.
1625 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1626 * sysdeps/nptl/fork.c: Likewise.
1627 * sysdeps/nptl/gai_misc.h: Likewise.
1628 * sysdeps/nptl/librt-cancellation.c: Likewise.
1629 * sysdeps/nptl/jmp-unwind.c: Likewise.
1630 * sysdeps/nptl/setxid.h: Likewise.
1631 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1632 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1633 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1634 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1635 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1636 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1637 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1638 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1639 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1640 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1641 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1642 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1643 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1644 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1645 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1646 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1647 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1648 * nptl/Makeconfig: Moved ...
1649 * sysdeps/nptl/Makeconfig: ... here.
1650 * nptl/configure: File removed.
1651 * nptl/ANNOUNCE: File removed.
1652 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1653 * sysdeps/unix/sysv/linux/configure: Regenerated.
1655 * nptl/Makefile (routines): Add libc_pthread_init,
1656 libc_multiple_threads, register-atfork and unregister-atfork.
1657 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1658 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1659 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1660 pthread-pi-defines.sym, structsem.sym.
1661 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1662 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1663 [$(subdir) = nptl] (tests): Add tst-setgetname.
1664 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1665 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1666 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1667 [!LIBC_SIGACTION]: Remove aliases.
1668 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1669 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1670 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1671 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1672 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1673 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1674 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1675 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1676 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1677 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1678 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1679 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1680 __libc_allocate_rtsig_private.
1681 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1682 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1683 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1684 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1685 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1686 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1687 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1688 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1689 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1690 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1691 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1692 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1693 * nptl/internaltypes.h: ... here.
1694 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1695 * sysdeps/nptl/jmp-unwind.c: ... here.
1696 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1697 * nptl/libc-lowlevellock.c: ... here.
1698 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1699 * nptl/libc_multiple_threads.c: ... here.
1700 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1701 * nptl/libc_pthread_init.c: ... here.
1702 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1703 * nptl/lowlevelbarrier.sym: ... here.
1704 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1705 * nptl/lowlevelcond.sym: ... here.
1706 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1707 * nptl/lowlevellock.c: ... here.
1708 * nptl/lowlevellock.h: Moved ...
1709 * sysdeps/nptl/lowlevellock.h: ... here.
1710 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1711 * nptl/lowlevelrobustlock.c: ... here.
1712 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1713 * nptl/lowlevelrobustlock.sym: ... here.
1714 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1715 * nptl/lowlevelrwlock.sym: ... here.
1716 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1717 * nptl/pt-fork.c: ... here.
1718 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1719 * nptl/pthread-pi-defines.sym: ... here.
1720 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1721 * nptl/pthread_attr_getaffinity.c: ... here.
1722 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1723 * nptl/pthread_attr_setaffinity.c: ... here.
1724 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1725 * nptl/pthread_mutex_cond_lock.c: ... here.
1726 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1728 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1729 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1730 * nptl/pthread_once.c: ... here, replacing old file.
1731 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1732 * nptl/pthread_yield.c: ... here.
1733 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1734 * nptl/register-atfork.c: ... here.
1735 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1736 * nptl/sem_post.c: ... here.
1737 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1738 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1739 * nptl/sem_timedwait.c: ... here.
1740 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1741 * nptl/sem_trywait.c: ... here.
1742 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1743 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1744 * nptl/sem_wait.c: ... here.
1745 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1746 * nptl/structsem.sym: ... here.
1747 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1748 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1749 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1750 * nptl/unregister-atfork.c: ... here.
1751 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1752 * nptl/unwindbuf.sym: ... here.
1753 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1754 * sysdeps/nptl/fork.c: ... here.
1755 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1756 * sysdeps/nptl/fork.h: ... here.
1757 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1758 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1759 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1760 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1761 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1762 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1763 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1764 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1765 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1766 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1767 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1768 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1769 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1770 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1771 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1772 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1773 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1774 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1775 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1776 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1777 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1778 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1779 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1780 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1781 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1782 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1783 * sysdeps/unix/sysv/linux/raise.c: ... here.
1784 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1785 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1786 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1787 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1788 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1789 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1790 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1791 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1792 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1793 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1794 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1795 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1796 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1797 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1798 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1800 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1802 * sysdeps/generic/memcopy.h: Add comment for
1803 MEMCPY_OK_FOR_FWD_MEMMOVE.
1805 2014-07-04 Will Newton <will.newton@linaro.org>
1807 * string/memchr.c: Merge from gnulib.
1808 [_LIBC]: Remove conditionals.
1809 (__ptr_t): Remove define.
1810 (LONG_MAX_32_BITS): Likewise.
1811 (LONG_MAX): Likewise.
1812 (MEMCHR): Use ANSI prototype and optimize algorithm.
1814 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1816 2014-07-03 Roland McGrath <roland@hack.frob.com>
1818 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1819 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1821 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1822 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1823 in a bare environment with no <stdlib.h> installed.
1824 * sysdeps/nptl/configure: Regenerated.
1826 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1828 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1829 AC_EGREP_CPP for kernel header checks, so they only succeed if
1830 including <linux/version.h> actually works right.
1831 * sysdeps/unix/sysv/linux/configure: Regenerated.
1833 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1834 value so it's not diagnosed as unused.
1836 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1837 thing) with "ifeq ($(subdir),rt)".
1839 2014-07-03 Richard Henderson <rth@redhat.com>
1841 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1842 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1843 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1845 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1846 (math_force_eval): New.
1848 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1849 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1851 * sysdeps/alpha/fpu/s_round.c: Remove file.
1852 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1854 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1855 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1856 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1857 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1858 (_dl_start, print_statistics): Likewise.
1859 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1860 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1862 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1863 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1864 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1865 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1866 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1867 (HP_SMALL_TIMING_AVAIL): Define.
1868 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1869 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1870 (HP_SMALL_TIMING_AVAIL): Define.
1871 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1872 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1874 * sysdeps/aarch64/hp-timing.h: New file.
1876 * sysdeps/generic/hp-timing.h: Remove dead comment.
1877 * sysdeps/generic/hp-timing-common.h: New file.
1878 * sysdeps/alpha/hp-timing.h: Include it.
1879 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1880 * sysdeps/i386/i686/hp-timing.h: Likewise.
1881 * sysdeps/ia64/hp-timing.h: Likewise.
1882 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1883 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1884 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1885 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1886 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1887 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1890 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1891 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1892 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1893 * elf/rtld.c (_dl_start_final): Likewise.
1894 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1895 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1896 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1897 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1898 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1899 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1900 (HP_TIMING_DIFF_INIT): Remove.
1901 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1902 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1903 (HP_TIMING_DIFF_INIT): Remove.
1904 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1905 * sysdeps/i386/i686/hp-timing.c: Remove file.
1906 * sysdeps/x86_64/hp-timing.c: Remove file.
1907 * sysdeps/ia64/hp-timing.c: Remove file.
1908 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1909 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1910 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1911 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1913 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1914 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1915 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1916 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1917 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1918 (HP_TIMING_ACCUM): Remove.
1919 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1920 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1921 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1923 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1924 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1925 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1926 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1927 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1928 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1929 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1930 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1932 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1934 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1936 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1938 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1940 Sync up with gettext.
1941 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1942 [_MSC_VER]: Include malloc.h
1943 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1944 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1945 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1946 TEMP_FAILURE_RETRY. Cast return of alloca.
1947 [!_LIBC] Call gl_rwlock_init.
1948 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1950 2014-07-02 Roland McGrath <roland@hack.frob.com>
1952 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1953 before checking its value.
1955 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1957 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1959 * debug/memcpy_chk.c: Don't include pagecopy.h.
1960 * debug/mempcpy_chk.c: Likewise.
1961 * string/memcpy.c: Likewise.
1962 * string/memmove.c: Likewise.
1963 * sysdeps/powerpc/memmove.c: Likewise.
1964 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1965 definition of PAGE_COPY_FWD_MAYBE here...
1966 * sysdeps/generic/pagecopy.h: ... from here.
1967 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1969 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1970 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1972 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1973 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1975 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1976 (__libc_ifunc_impl_list): Likewise.
1977 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1978 multiarch strcat for PPC64.
1979 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1980 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1982 2014-07-02 Roland McGrath <roland@hack.frob.com>
1984 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1986 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1988 * intl/loadmsgcat.c: Remove declaration of
1989 get_sysdep_segment_value.
1990 (get_sysdep_segment_value): Use ISO C style.
1991 (_nl_load_domain): Use ISO C style. Get rid of redundant
1992 semicolon. Fix typo and formatting in comment.
1993 (_nl_unload_domain): Use ISO C style.
1995 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1997 2014-07-02 Will Newton <will.newton@linaro.org>
1999 * malloc/obstack.c: Merge from gnulib master.
2000 [HAVE_CONFIG_H]: Remove conditional code.
2001 [!_LIBC]: Include config.h.
2002 [!ELIDE_CODE]: Don't include inttypes.h, include
2003 stdint.h unconditionally.
2004 (print_and_abort): Mark as _Noreturn.
2005 (_obstack_allocated_p): Mark as __attribute_pure__.
2006 (obstack_free): Rename to __obstack_free.
2007 [!__attribute__]: Remove conditional code.
2008 * malloc/obstack.h: Merge from gnulib master.
2009 [__cplusplus]: Move conditional down.
2010 [!__attribute_pure__]: Define __attribute_pure__ here
2011 if it is not already defined.
2012 (_obstack_memory_used): Mark as __attribute_pure__.
2013 [!__obstack_free]: Define as obstack_free.
2014 [__GNUC__]: Remove check for ancient NeXT gcc.
2016 2014-07-02 Will Newton <will.newton@linaro.org>
2017 Paul Eggert <eggert@cs.ucla.edu>
2019 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2021 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2023 * resolv/gethnamaddr.c: Add comment warning that the file is
2026 2014-07-01 Carlos O'Donell <carlos@redhat.com>
2028 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2031 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2032 entry for aio_cancel and aio_cancel64.
2033 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2034 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2035 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2036 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2037 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2038 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2039 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2040 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2041 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2042 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2043 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2044 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2045 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2047 2014-07-01 Roland McGrath <roland@hack.frob.com>
2049 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2050 * nptl/pthread_mutex_lock.c: Likewise.
2051 * nptl/pthread_mutex_timedlock.c: Likewise.
2052 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2054 2014-07-01 Richard henderson <rth@redhat.com>
2056 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2057 (__isnan, __isnanl): Remove.
2058 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2060 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2062 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2064 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2066 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2068 * resolv/nss_dns/dns-host.c (getanswer_r)
2069 [MULTI_PTRS_ARE_ALIASES]: Remove code.
2071 2014-07-01 Joseph Myers <joseph@codesourcery.com>
2073 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2074 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2076 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2077 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2079 2014-07-01 Roland McGrath <roland@hack.frob.com>
2081 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2082 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2084 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2085 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2087 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2088 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2090 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2091 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2093 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2094 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2095 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2096 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2098 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2099 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2100 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2101 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2102 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2104 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2106 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2107 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2108 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2109 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2110 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2111 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2112 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2113 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2114 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2115 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2116 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2117 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2118 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2119 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2120 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2121 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2122 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2123 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2124 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2125 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2127 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2128 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2129 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2130 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2131 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2132 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2133 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2134 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2136 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
2138 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2139 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2140 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2143 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2147 2014-06-30 Joseph Myers <joseph@codesourcery.com>
2149 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2150 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2152 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2154 * sysdeps/arm/libm-test-ulps: Regenerated.
2156 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2157 Roland McGrath <roland@hack.frob.com>
2159 * test-skeleton.c (signal_handler): Kill the whole process group
2160 before killing the child individually.
2161 (main): Report any failure on `setpgid'.
2163 2014-06-30 Roland McGrath <roland@hack.frob.com>
2165 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2166 from _TLS_H to _ARM_NPTL_TLS_H.
2167 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2168 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2170 2014-06-30 Joseph Myers <joseph@codesourcery.com>
2173 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2174 (__expm1l): Return argument unchanged when small but not
2177 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2179 (_FP_UNPACK_RAW_1_P): Likewise.
2180 (_FP_PACK_RAW_1): Likewise.
2181 (_FP_PACK_RAW_1_P): Likewise.
2182 (_FP_MUL_MEAT_1_wide): Likewise.
2183 (_FP_MUL_MEAT_DW_1_hard): Likewise.
2184 (_FP_MUL_MEAT_1_hard): Likewise.
2185 (_FP_DIV_MEAT_1_imm): Likewise.
2186 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2187 (_FP_DIV_MEAT_1_udiv): Likewise.
2188 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2189 (_FP_UNPACK_RAW_2): Likewise.
2190 (_FP_UNPACK_RAW_2_P): Likewise.
2191 (_FP_PACK_RAW_2): Likewise.
2192 (_FP_PACK_RAW_2_P): Likewise.
2193 (_FP_MUL_MEAT_DW_2_wide): Likewise.
2194 (_FP_MUL_MEAT_2_wide): Likewise.
2195 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2196 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2197 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2198 (_FP_MUL_MEAT_2_gmp): Likewise.
2199 (_FP_DIV_MEAT_2_udiv): Likewise.
2200 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2201 (_FP_FRAC_SRL_4): Likewise.
2202 (_FP_FRAC_SRST_4): Likewise.
2203 (_FP_FRAC_SRS_4): Likewise.
2204 (_FP_UNPACK_RAW_4): Likewise.
2205 (_FP_UNPACK_RAW_4_P): Likewise.
2206 (_FP_PACK_RAW_4): Likewise.
2207 (_FP_PACK_RAW_4_P): Likewise.
2208 (_FP_MUL_MEAT_DW_4_wide): Likewise.
2209 (_FP_MUL_MEAT_4_wide): Likewise.
2210 (_FP_MUL_MEAT_4_gmp): Likewise.
2211 (umul_ppppmnnn): Likewise.
2212 (_FP_DIV_MEAT_4_udiv): Likewise.
2213 (__FP_FRAC_ADD_4): Likewise.
2214 (__FP_FRAC_SUB_3): Likewise.
2215 (__FP_FRAC_SUB_4): Likewise.
2216 (__FP_FRAC_DEC_3): Likewise.
2217 (__FP_FRAC_DEC_4): Likewise.
2218 (__FP_FRAC_ADDI_4): Likewise.
2219 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2220 (_FP_FRAC_SRL_8): Likewise.
2221 (_FP_FRAC_SRS_8): Likewise.
2223 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2225 (FP_UNPACK_RAW_EP): Likewise.
2226 (FP_PACK_RAW_E): Likewise.
2227 (FP_PACK_RAW_EP): Likewise.
2228 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2229 (_FP_ISSIGNAN): Likewise.
2230 (_FP_ADD_INTERNAL): Likewise.
2231 (_FP_FMA): Likewise.
2232 (_FP_CMP): Likewise.
2233 (_FP_SQRT): Likewise.
2234 (_FP_TO_INT): Likewise.
2235 (_FP_FROM_INT): Likewise.
2236 (FP_EXTEND): Likewise.
2237 (_FP_DIV_MEAT_N_loop): Likewise.
2239 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2241 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2244 2014-06-29 Joseph Myers <joseph@codesourcery.com>
2247 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2248 result with correct sign in case of exponents that produce
2249 overflow except for X very close to 1.
2251 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
2253 mktime: merge #if/#ifdef usage from glibc
2254 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2255 as that works with both Glibc's and Gnulib's style.
2256 See thread starting at Siddhesh Poyarekar's bug report at:
2257 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2259 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2261 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2262 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2263 * sysdeps/tile/tilegx/memmove.c: Remove file.
2265 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2267 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2268 abi-name definition.
2269 * scripts/soversions.awk: Do not handle or generate ABI lines.
2270 * shlib-versions: Remove ABI entries.
2271 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2272 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2274 2014-06-27 Roland McGrath <roland@hack.frob.com>
2276 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2277 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2278 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2279 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2280 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2281 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2282 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2284 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2286 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2287 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2288 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2289 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2290 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2291 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2292 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2293 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2294 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2295 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2296 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2297 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2298 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2300 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2301 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2302 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2303 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2304 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2305 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2307 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2308 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2310 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2311 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2312 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2313 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2315 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2316 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2317 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2318 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2319 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2320 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2321 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2322 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2324 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2325 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2326 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2327 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2329 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2330 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2332 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2333 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2334 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2335 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2337 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2339 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2340 Identical file removed.
2341 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2343 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2344 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2345 Identical file removed.
2346 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2347 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2348 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2350 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2351 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2352 Identical file removed.
2353 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2354 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2355 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2356 Identical file removed.
2357 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2358 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2359 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2360 Identical file removed.
2361 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2362 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2363 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2364 Identical file removed.
2365 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2367 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2368 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2369 Identical file removed.
2370 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2372 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2373 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2374 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2375 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2376 Identical file removed.
2377 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2379 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2381 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2382 Identical file removed.
2383 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2385 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2386 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2387 Identical file removed.
2388 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2390 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2391 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2392 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2393 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2394 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2395 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2397 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2398 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2399 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2401 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2402 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2403 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2404 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2405 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2407 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
2410 * nscd/nscd.c (monitor_child): Return exit status of child
2411 instead of return value from wait syscall.
2413 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2415 * configure.ac (libc_commonpagesize): Remove variable.
2416 (libc_relro_required): Likewise.
2417 (libc_cv_z_relro): Remove configure test.
2418 * configure: Regenerated.
2419 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2421 (libc_relro_required): Likewise.
2422 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2423 (libc_relro_required): Likewise.
2424 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2425 (libc_relro_required): Likewise.
2426 * sysdeps/arm/preconfigure: Regenerated.
2427 * sysdeps/ia64/preconfigure: Remove file.
2428 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2430 (libc_relro_required): Likewise.
2434 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2435 (__ieee754_yn): Set FE_TONEAREST mode internally and then
2436 recompute overflowing results in original rounding mode.
2437 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2438 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2439 recompute overflowing results in original rounding mode.
2440 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2441 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2442 recompute overflowing results in original rounding mode.
2443 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2444 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2445 recompute overflowing results in original rounding mode.
2446 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2447 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2448 recompute overflowing results in original rounding mode.
2449 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2450 (libc_feholdsetround_ctx): New macro.
2451 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2452 * sysdeps/i386/fpu/libm-test-ulps: Update.
2453 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2455 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2457 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2458 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2459 corresponding .cpsetup call.
2461 2014-06-26 Roland McGrath <roland@hack.frob.com>
2463 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2464 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2465 * sysdeps/arm/Makefile [$(subdir) = csu]
2466 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2467 (static-only-routines): Add aeabi_read_tp here.
2468 (shared-only-routines): Add libc-aeabi_read_tp here.
2469 (CFLAGS-libc-start.c): Add -fexceptions here.
2470 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2471 (sysdep_routines, static-only-routines, shared-only-routines):
2472 Don't add to these here.
2473 (CFLAGS-libc-start.c): Likewise.
2475 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2476 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2477 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2478 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2479 * sysdeps/arm/Makefile [$(subdir) = rt]
2480 (librt-sysdep_routines, librt-shared-only-routines):
2481 Append rt-aeabi_unwind_cpp_pr1 here.
2482 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2483 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2484 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2485 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2486 Append nptl-aeabi_unwind_cpp_pr1 here.
2487 (tests): Filter out tst-cleanupx4 here.
2488 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2489 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2490 Don't do those here.
2492 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2494 * scripts/list-sources.sh: Do not handle ports specially.
2496 2014-06-26 Roland McGrath <roland@hack.frob.com>
2498 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2499 * sysdeps/arm/feupdateenv.c: Likewise.
2501 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2503 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2505 * manual/texinfo.tex: Update to version 2014-05-05.10 with
2506 trailing whitespace removed.
2507 * scripts/config.guess: Update to version 2014-03-23.
2508 * scripts/config.sub: Update to version 2014-05-01
2509 * scripts/install-sh: Update to version 2013-12-25.23.
2510 * scripts/move-if-change: Update from gnulib.
2512 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2514 * debug/memmove_chk.c: Remove pagecopy.h include.
2516 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
2518 * time/mktime.c (leapyear): Remove inline keyword. The code is now
2519 identical to gnulib mktime.
2521 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2523 * configure.ac: Do not test for machine being rs6000. Do not test
2525 * configure: Regenerated.
2527 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2529 * configure: Regenerated.
2530 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2531 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2532 Remove configure test.
2533 * sysdeps/arm/configure: Regenerated.
2534 * sysdeps/nptl/configure.ac: Do not check
2535 libc_cv_asm_cfi_directives.
2536 * sysdeps/nptl/configure: Regenerated.
2537 * sysdeps/x86_64/nptl/configure.ac: Remove file.
2538 * sysdeps/x86_64/nptl/configure: Remove generated file.
2539 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2541 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2543 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2545 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2546 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2547 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2550 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2551 instead of whether it is defined.
2552 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2553 * sysdeps/hppa/dl-machine.h: Likewise.
2554 * sysdeps/ia64/dl-machine.h: Likewise.
2555 * sysdeps/m68k/dl-machine.h: Likewise.
2556 * sysdeps/microblaze/dl-machine.h: Likewise.
2557 * sysdeps/mips/dl-machine.: Likewise.
2558 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2559 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2560 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2561 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2562 * sysdeps/sh/dl-machine.h: Likewise.
2563 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2564 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2565 * sysdeps/tile/dl-machine.h: Likewise.
2566 * sysdeps/x86_64/dl-machine.h: Likewise.
2568 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2570 (verify_persistent_db): Likewise.
2572 2014-06-26 Roland McGrath <roland@hack.frob.com>
2574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2575 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2577 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2580 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2583 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2585 Identical file removed.
2586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2587 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2589 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2591 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2593 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2595 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2598 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2600 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2602 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2605 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2607 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2609 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2611 Identical file removed.
2612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2613 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2615 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2618 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2621 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2623 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2625 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2627 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2629 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2632 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2635 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2637 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2640 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2642 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2644 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2646 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2647 * sysdeps/unix/sysv/linux/s390/Versions
2648 (libpthread: GLIBC_2.19): New version set.
2649 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2650 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2651 (librt: GLIBC_2.3.3): New version set.
2652 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2653 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2654 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2655 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2656 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2657 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2658 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2659 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2660 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2661 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2662 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2663 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2664 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2665 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2666 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2667 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2668 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2669 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2670 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2671 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2672 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2673 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2674 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2675 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2676 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2677 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2678 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2679 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2680 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2681 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2682 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2683 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2684 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2685 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2686 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2687 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2688 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2689 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2690 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2691 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2692 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2693 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2694 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2695 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2696 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2698 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2699 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2700 (__libc_vfork): Define the function under this name.
2701 [!NOT_IN_libc] (__vfork): Make this an alias.
2702 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2703 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2704 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2705 (__libc_vfork): Define the function under this name.
2706 [!NOT_IN_libc] (__vfork): Make this an alias.
2707 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2708 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2709 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2710 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2711 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2712 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2714 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2715 code that was previously under [RESET_PID].
2716 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2717 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2718 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2720 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2721 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2722 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2723 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2724 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2725 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2726 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2727 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2728 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2729 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2730 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2732 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2733 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2734 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2735 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2736 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2737 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2738 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2739 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2740 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2741 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2742 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2743 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2744 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2745 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2746 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2747 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2748 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2749 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2750 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2751 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2752 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2753 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2754 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2755 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2756 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2757 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2758 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2759 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2760 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2762 2014-06-25 Roland McGrath <roland@hack.frob.com>
2764 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2765 that was previously under [RESET_PID].
2766 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2768 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2770 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2771 not undefine and redefine.
2772 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2773 [O_CLOEXEC]: Make code unconditional.
2774 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2775 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2776 <kernel-features.h>.
2777 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2778 conditional variable definition.
2779 (shm_open) [O_CLOEXEC]: Make code unconditional.
2780 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2783 * configure.ac (USE_REGPARMS): Don't define here.
2784 * configure: Regenerated.
2785 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2786 * sysdeps/i386/configure: Regenerated.
2788 * nptl/createthread.c: Don't include kernel-features.h.
2789 * nptl/pthread_cancel.c: Likewise.
2790 * nptl/pthread_condattr_setclock.c: Likewise.
2791 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2792 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2793 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2794 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2795 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2796 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2797 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2798 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2799 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2800 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2801 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2802 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2803 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2804 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2805 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2806 * nscd/gai.c: Likewise.
2807 * nss/nss_db/db-open.c: Likewise.
2808 * sysdeps/generic/ldsodefs.h: Likewise.
2809 * sysdeps/sh/nptl/tls.h: Likewise.
2810 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2811 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2812 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2813 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2814 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2815 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2816 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2817 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2818 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2819 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2820 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2821 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2822 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2823 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2824 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2825 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2826 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2827 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2828 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2829 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2830 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2831 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2832 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2833 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2834 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2835 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2836 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2837 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2838 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2839 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2840 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2841 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2842 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2843 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2844 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2845 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2846 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2847 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2848 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2849 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2850 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2851 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2852 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2853 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2854 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2855 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2856 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2857 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2858 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2859 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2860 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2861 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2862 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2863 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2864 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2865 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2866 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2867 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2890 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2891 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2892 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2893 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2894 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2895 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2896 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2897 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2898 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2899 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2900 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2901 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2902 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2903 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2904 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2905 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2906 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2907 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2908 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2909 * sysdeps/unix/sysv/linux/system.c: Likewise.
2910 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2911 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2912 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2913 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2914 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2915 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2916 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2918 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2919 * configure: Regenerated.
2920 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2922 * configure.ac (base_machine): Do not set specially for particular
2924 * configure: Regenerated.
2925 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2926 settings from configure.ac.
2927 * sysdeps/i386/preconfigure: New file.
2928 * sysdeps/s390/preconfigure: Likewise.
2929 * sysdeps/sh/preconfigure: Likewise.
2930 * sysdeps/sparc/preconfigure: Likewise.
2932 2014-06-25 Roland McGrath <roland@hack.frob.com>
2934 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2935 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2936 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2937 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2938 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2939 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2940 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2941 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2942 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2943 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2944 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2945 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2946 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2947 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2948 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2949 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2950 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2951 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2952 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2954 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2955 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2956 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2957 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2958 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2959 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2960 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2961 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2962 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2963 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2964 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2965 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2966 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2967 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2968 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2969 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2970 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2971 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2972 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2973 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2974 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2975 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2976 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2977 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2978 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2979 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2980 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2981 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2982 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2983 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2984 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2985 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2986 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2987 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2988 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2989 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2990 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2991 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2994 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2996 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2999 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3002 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3004 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3007 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3009 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3011 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3013 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3016 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3019 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3021 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3024 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3026 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3028 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3030 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3032 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3035 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3038 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3040 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3043 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3045 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3047 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3049 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3052 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3055 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3057 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3060 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3062 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3064 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3066 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3068 * timezone/checktab.awk: Update from tzcode 2014e.
3069 * timezone/private.h: Likewise.
3070 * timezone/tzfile.h: Likewise.
3071 * timezone/zdump.c: Likewise.
3072 * timezone/zic.c: Likewise.
3074 * sysdeps/unix/sysv/linux/kernel-features.h
3075 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3076 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3077 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3078 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3079 Remove conditional code.
3081 2014-06-25 Will Newton <will.newton@linaro.org>
3083 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3084 (_dl_arm_cap_flags): Add HWCAP2 values.
3085 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3086 (_DL_HWCAP_COUNT): Increase to 37.
3087 (_DL_HWCAP_LAST): New define.
3088 (_DL_HWCAP2_LAST): New define.
3089 (_dl_procinfo): Add support for printing
3091 (_dl_string_hwcap): Use _dl_hwcap_string.
3093 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3097 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3099 * README: Do not mention ports directory.
3101 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3103 * sysdeps/unix/sysv/linux/futimes.c: Do not include
3104 <kernel-features.h>.
3105 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3106 conditional variable definition.
3107 (__futimes): Update comment.
3108 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3109 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3112 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3113 arguments close to 0.
3114 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3116 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3118 * math/auto-libm-test-in: Add more tests of exp10.
3119 * math/auto-libm-test-out: Regenerated.
3120 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3122 * sysdeps/unix/sysv/linux/kernel-features.h
3123 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3124 * sysdeps/unix/sysv/linux/readv.c: Do not include
3125 <kernel-features.h>.
3126 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3127 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3128 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3130 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3132 * sysdeps/unix/sysv/linux/writev.c: Do not include
3133 <kernel-features.h>.
3134 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3135 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3136 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3138 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3141 2014-06-25 Will Newton <will.newton@linaro.org>
3143 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3144 comment changes throughout the file. Remove checks
3145 for HAVE_*_H definitions that are not required.
3146 (__gen_tempname): Call abort if an unknown kind value is
3149 2014-06-25 Andreas Schwab <schwab@suse.de>
3152 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3153 scalbln, scalblnf, scalblnl in libc.
3155 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3158 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3159 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3160 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3162 2014-06-24 Roland McGrath <roland@hack.frob.com>
3164 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3165 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3166 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3167 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3169 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3170 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3172 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3173 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3174 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3175 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3176 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3177 * sysdeps/x86/bits/pthreadtypes.h: ... here.
3178 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3179 * sysdeps/x86/bits/semaphore.h: ... here.
3180 * sysdeps/x86/nptl/elide.h: Moved ...
3181 * sysdeps/x86/elide.h: ... here.
3182 * sysdeps/x86_64/nptl/Implies: File removed.
3183 * sysdeps/i386/nptl/Implies: File removed.
3185 2014-06-24 Joseph Myers <joseph@codesourcery.com>
3188 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3189 return the argument for normal arguments with exponent below -64.
3190 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3192 * math/auto-libm-test-in: Add another test of expm1.
3193 * math/auto-libm-test-out: Regenerated.
3196 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3197 calling __erfcl for arguments at least 16.
3198 * math/auto-libm-test-in: Add more tests of erf.
3199 * math/auto-libm-test-out: Regenerated.
3201 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3202 individual architectures.
3203 * sysdeps/unix/sysv/linux/configure: Regenerated.
3204 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3205 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3206 * sysdeps/unix/sysv/linux/powerpc/configure.ac
3207 (ldd_rewrite_script): Define variable.
3208 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3213 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3214 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3215 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3216 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3217 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3218 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3219 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3220 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3222 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3225 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3226 Rename member __data.d to __data.__elision_data.
3228 2014-06-24 Wilco <wdijkstr@arm.com>
3230 * NEWS: Add 16918 to fixed bug list.
3232 2014-06-24 Wilco <wdijkstr@arm.com>
3234 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3236 2014-06-24 Wilco <wdijkstr@arm.com>
3238 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3239 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3240 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3241 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3242 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3243 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3244 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3247 2014-06-24 Wilco <wdijkstr@arm.com>
3249 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3251 2014-06-24 Wilco <wdijkstr@arm.com>
3253 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3254 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3255 * sysdeps/arm/fesetround.c (fesetround): Remove space.
3256 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3258 2014-06-24 Wilco <wdijkstr@arm.com>
3261 * sysdeps/arm/feupdateenv.c (feupdateenv):
3262 Rewrite to reduce FPSCR accesses and fix return value.
3264 2014-06-24 Wilco <wdijkstr@arm.com>
3266 * sysdeps/arm/fclrexcpt.c (feclearexcept):
3267 Optimize to avoid unnecessary FPSCR writes.
3268 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3269 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3270 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3271 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3273 2014-06-24 Wilco <wdijkstr@arm.com>
3275 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3276 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3277 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3278 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3279 Call libc_fetestexcept_vfp.
3280 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3281 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3282 __SOFTFP__ ifdef so that they can be built for softfp.
3284 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3286 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3287 argument type signed char.
3289 * Makerules (check-abi): Dump diff of symlist if the test
3292 2014-06-23 Roland McGrath <roland@hack.frob.com>
3294 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3297 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3298 Remove unused variable ST.
3300 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3304 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3305 small arguments before calling __expm1.
3306 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3307 small arguments before calling __expm1f.
3308 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3309 small arguments before calling __expm1l.
3310 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3312 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3313 * math/auto-libm-test-in: Add more cosh tests. Do not allow
3314 spurious underflow for some cosh tests.
3315 * math/auto-libm-test-out: Regenerated.
3316 * sysdeps/i386/fpu/libm-test-ulps: Update.
3319 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3320 (__ieee754_y1): Set errno if return value overflows.
3321 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3322 (__ieee754_y1f): Set errno if return value overflows.
3323 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3324 (__ieee754_y1l): Set errno if return value overflows.
3325 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3326 (__ieee754_y1l): Set errno if return value overflows.
3327 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3328 * math/auto-libm-test-out: Regenerated.
3330 * math/gen-auto-libm-tests.c: Document use of
3331 ignore-zero-inf-sign.
3332 (input_flag_type): Add value flag_ignore_zero_inf_sign.
3333 (input_flags): Add ignore-zero-inf-sign.
3334 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3335 * math/gen-libm-test.pl (generate_testfile): Handle
3336 ignore-zero-inf-sign.
3337 * math/auto-libm-test-in: Mark some cpow tests with
3338 ignore-zero-inf-sign and some with xfail-rounding.
3339 * math/auto-libm-test-out: Regenerated.
3340 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3341 * sysdeps/i386/fpu/libm-test-ulps: Update.
3342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3345 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3346 overflowing or underflowing operations take place with sign of
3348 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3349 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3350 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3351 (__ieee754_pow): Recompute overflowing and underflowing results in
3352 original rounding mode.
3353 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3354 (__powl_helper): Allow negative argument X and scale negated value
3355 as needed. Avoid passing value outside [-1, 1] to f2xm1.
3356 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3357 overflowing or underflowing operations take place with sign of
3359 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3361 * math/auto-libm-test-in: Add more tests of pow.
3362 * math/auto-libm-test-out: Regenerated.
3363 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3364 (pow_tonearest_test_data): Remove.
3365 (pow_test_tonearest): Likewise.
3366 (pow_towardzero_test_data): Likewise.
3367 (pow_test_towardzero): Likewise.
3368 (pow_downward_test_data): Likewise.
3369 (pow_test_downward): Likewise.
3370 (pow_upward_test_data): Likewise.
3371 (pow_test_upward): Likewise.
3372 (main): Don't call removed functions.
3373 * sysdeps/i386/fpu/libm-test-ulps: Update.
3374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3376 2014-06-23 Roland McGrath <roland@hack.frob.com>
3378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3552 2014-06-23 Will Newton <will.newton@linaro.org>
3553 Wilco <wdijkstr@arm.com>
3555 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3556 implementation. Include get-rounding-mode.h.
3557 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3558 [!libc_feholdsetround_noex_ctx]: Define
3559 libc_feholdsetround_noex_ctx.
3560 [!libc_feholdsetround_noexf_ctx]: Define
3561 libc_feholdsetround_noexf_ctx.
3562 [!libc_feholdsetround_noexl_ctx]: Define
3563 libc_feholdsetround_noexl_ctx.
3564 (libc_feholdsetround_ctx): New function.
3565 (libc_feresetround_ctx): New function.
3566 (libc_feholdsetround_noex_ctx): New function.
3567 (libc_feresetround_noex_ctx): New function.
3569 2014-06-23 Roland McGrath <roland@hack.frob.com>
3571 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3572 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3573 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3574 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3575 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3576 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3578 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3579 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3580 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3581 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3582 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3583 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3584 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3585 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3586 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3587 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3588 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3590 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3592 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3593 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3594 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3595 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3596 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3598 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3599 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3600 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3601 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3602 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3603 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3604 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3605 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3607 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3608 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3610 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3611 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3612 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3613 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3615 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3616 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3617 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3618 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3619 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3620 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3621 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3622 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3623 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3624 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3626 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3628 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3629 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3630 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3631 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3632 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3633 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3634 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3635 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3636 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3637 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3638 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3639 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3640 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3642 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3643 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3644 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3645 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3646 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3647 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3649 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3650 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3651 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3652 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3653 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3655 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3656 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3657 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3658 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3659 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3660 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3661 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3662 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3663 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3664 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3665 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3666 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3667 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3668 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3669 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3670 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3671 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3672 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3673 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3674 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3675 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3676 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3677 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3678 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3679 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3680 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3681 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3682 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3684 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3686 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3687 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3688 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3689 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3690 (IPV6_PMTUDISC_INTERFACE): Likewise.
3691 (IPV6_PMTUDISC_OMIT): Likewise.
3693 2014-06-23 Andreas Schwab <schwab@suse.de>
3695 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3696 Remove unused errout label.
3698 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3700 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3701 macro: hardware supports Vector Crypto instructions.
3703 2014-06-23 Will Newton <will.newton@linaro.org>
3705 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3706 rather than __builtin_expect.
3708 * elf/dl-lookup.c (undefined_msg): Remove variable.
3709 (_dl_lookup_symbol_x): Replace undefined_msg with string
3712 * elf/dl-lookup.c (do_lookup_unique): New function.
3713 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3714 to a separate function.
3716 2014-06-23 Andreas Schwab <schwab@suse.de>
3719 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3720 before reading the next line.
3722 2014-06-23 Will Newton <will.newton@linaro.org>
3724 * test-skeleton.c (signal_handler): Use printf and %m
3725 rather than perror. Use printf rather than fprintf to
3726 stderr. Use puts rather than fputs to stderr.
3729 2014-06-22 Ludovic Courtès <ludo@gnu.org>
3731 * nscd/nscd.c (thread_info_t): Remove typedef.
3732 (thread_info): Remove variable.
3734 2014-06-21 Allan McRae <allan@archlinux.org>
3736 * NEWS: Mention CVE-2014-4043.
3738 2014-06-20 Roland McGrath <roland@hack.frob.com>
3740 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3741 * nptl/smp.h: ... here.
3743 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3745 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3746 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3747 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3748 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3750 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3751 * nptl/stack-aliasing.h: New file.
3752 * sysdeps/i386/i686/stack-aliasing.h: New file.
3753 * sysdeps/i386/i686/nptl/Makefile: File removed.
3754 * sysdeps/x86_64/stack-aliasing.h: New file.
3755 * sysdeps/x86_64/nptl/Makefile
3756 (CFLAGS-pthread_create.c): Variable removed.
3758 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3759 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3761 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3762 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3765 2014-06-21 Joseph Myers <joseph@codesourcery.com>
3767 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3768 (__ASSUME_SIGFRAME_V2): Remove macro.
3769 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3770 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3771 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3772 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3773 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3774 Declare as function. Remove conditional macro definitions.
3775 (__default_rt_sa_restorer): Likewise.
3776 (__default_sa_restorer_v1): Remove declaration.
3777 (__default_sa_restorer_v2): Likewise.
3778 (__default_rt_sa_restorer_v1): Likewise.
3779 (__default_rt_sa_restorer_v2): Likewise.
3780 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3781 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3782 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3784 2014-06-20 Roland McGrath <roland@hack.frob.com>
3786 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3787 (libpthread-routines): Add sysdep.
3788 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3789 * sysdeps/unix/sysv/linux/sparc/Versions
3790 (libpthread: GLIBC_2.3.3): New version set.
3791 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3792 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3793 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3794 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3795 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3796 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3798 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3799 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3800 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3801 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3802 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3803 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3804 * sysdeps/sparc/nptl/sem_init.c: ... here.
3805 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3806 * sysdeps/sparc/nptl/sem_post.c: ... here.
3807 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3808 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3809 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3810 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3811 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3812 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3813 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3814 (libpthread-routines): Add cpu_relax.
3815 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3817 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3818 (librt: GLIBC_2.3.3): New version set.
3819 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3820 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3821 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3822 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3823 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3824 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3825 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3826 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3828 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3829 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3830 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3831 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3832 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3833 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3834 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3835 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3836 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3837 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3839 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3841 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3843 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3845 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3847 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3849 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3851 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3853 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3855 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3857 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3859 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3861 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3862 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3863 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3864 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3865 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3866 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3867 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3868 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3869 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3870 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3871 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3873 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3874 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3875 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3876 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3877 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3879 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3881 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3882 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3883 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3884 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3885 * nscd/nscd.c: Likewise.
3886 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3887 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3888 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3889 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3891 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3892 <kernel-features.h>.
3893 (init_mq_netlink): Remove conditional have_sock_cloexec
3894 definitions. Remove code conditional on have_sock_cloexec < 0.
3895 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3896 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3897 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3898 <kernel-features.h>.
3899 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3900 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3902 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3904 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3905 Add tests for memset_chk and memset.
3907 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3910 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3913 * elf/tst-dl-iter-static.c: New file.
3914 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3916 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3919 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3921 * sysdeps/unix/sysv/linux/kernel-features.h
3922 (__ASSUME_F_GETOWN_EX): Remove macro.
3923 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3924 <kernel-features.h>.
3925 (miss_F_GETOWN_EX): Remove variable or macro.
3926 (do_fcntl): Do not check miss_F_GETOWN_EX.
3927 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3929 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3931 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3932 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3933 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3935 * sysdeps/unix/sysv/linux/kernel-features.h
3936 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3937 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3938 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3939 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3941 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3944 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3945 Fix calculation of the symbol's value.
3946 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3947 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3948 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3949 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3950 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3951 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3952 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3953 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3954 (modules-names): Add `tst-armtlsdescmod',
3955 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3956 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3957 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3958 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3959 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3960 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3961 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3962 ($(objpfx)tst-armtlsdescloc): New dependency.
3963 ($(objpfx)tst-armtlsdescextnow): Likewise.
3964 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3965 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3967 * sysdeps/arm/configure: Regenerate.
3969 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3971 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3972 (__atfct_seterrno_2): Likewise.
3973 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3974 <kernel-features.h>.
3975 (__ASSUME_ATFCTS): Do not undefine and redefine.
3976 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3977 (__have_atfcts): Remove conditional definition.
3978 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3979 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3980 unreachable if [__ASSUME_ATFCTS].
3981 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3982 not undefine and redefine.
3983 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3984 <kernel-features.h>.
3985 (faccessat) [__NR_faccessat]: Make code unconditional.
3986 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3987 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3988 <kernel-features.h>.
3989 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3990 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3991 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3992 <kernel-features.h>.
3993 (fchownat) [__NR_fchownat]: Make code unconditional.
3994 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3995 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3996 <kernel-features.h>.
3997 (futimesat) [__NR_futimesat]: Make code unconditional.
3998 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3999 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4000 <kernel-features.h>.
4001 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4002 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4003 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4004 <kernel-features.h>.
4005 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4006 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4007 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4008 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4009 <kernel-features.h>.
4010 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4011 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4012 * sysdeps/unix/sysv/linux/linkat.c: Do not include
4013 <kernel-features.h>.
4014 (linkat) [__NR_linkat]: Make code unconditional.
4015 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4016 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4017 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4018 <kernel-features.h>.
4019 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4020 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4021 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4022 <kernel-features.h>.
4023 (mkdirat) [__NR_mkdirat]: Make code unconditional.
4024 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4025 * sysdeps/unix/sysv/linux/openat.c: Do not include
4026 <kernel-features.h>.
4027 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4028 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4029 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4030 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4031 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4032 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4033 <kernel-features.h>.
4034 (readlinkat) [__NR_readlinkat]: Make code unconditional.
4035 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
4036 result of INLINE_SYSCALL directly, not via int variable.
4037 * sysdeps/unix/sysv/linux/renameat.c: Do not include
4038 <kernel-features.h>.
4039 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4040 (renameat) [__NR_renameat]: Make code unconditional.
4041 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4042 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4043 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4044 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4045 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4046 (__ASSUME_ATFCTS): Do not undefine and redefine.
4047 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4048 <kernel-features.h>.
4049 (symlinkat) [__NR_symlinkat]: Make code unconditional.
4050 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4051 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4052 <kernel-features.h>.
4053 (unlinkat) [__NR_unlinkat]: Make code unconditional.
4054 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4055 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4056 (__ASSUME_ATFCTS): Do not undefine and redefine.
4057 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4058 <kernel-features.h>.
4059 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4060 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4061 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4062 <kernel-features.h>.
4063 (__xmknodat) [__NR_mknodat]: Make code unconditional.
4064 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4066 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4068 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4070 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
4073 * posix/regcomp.c (parse_reg_exp): Deallocate partially
4074 constructed tree before returning error.
4075 * posix/bug-regexp36.c: Expand test case.
4077 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4080 * math/libm-test.inc (scalbln_test_date):
4081 Add errno expectations.
4082 * math/w_scalblnf.c: New File.
4083 Add wrapper which checks for setting errno to ERANGE.
4084 Add weak_alias for corresponding scalbln function.
4085 * math/w_scalbln.c: Likewise.
4086 * math/w_scalblnl.c: Likewise.
4087 * math/Makefile (libm-calls): Add w_scalbln.
4088 * sysdeps/ieee754/flt-32/s_scalblnf.c:
4089 Remove weak_alias for corresponding scalbln function.
4090 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4091 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4092 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4093 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4094 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4095 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4096 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4097 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4098 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4099 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4100 Remove long_double_symbol for scalblnl function in libm, libc.
4101 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4102 Add wrapper which checks for setting errno to ERANGE.
4103 Add long_double_symbol for scalblnl function in libm, libc.
4104 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4105 Remove long_double_symbol for scalblnl in libm.
4106 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4107 Add wrapper which checks for setting errno to ERANGE.
4108 Add long_double_symbol for scalblnl function in libm.
4109 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4110 Do not use wrapper because of own implementation.
4112 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
4114 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4115 3 bytes for __pad1 for x32.
4116 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4118 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
4119 H.J. Lu <hongjiu.lu@intel.com>
4121 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4122 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4123 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4124 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4125 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4127 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
4130 * posix/regcomp.c (parse_expression): Deallocate partially
4131 constructed tree before returning error.
4132 * posix/Makefile.c (tests): Add bug-regex36.
4133 (generated): Add bug-regex36.mtrace.
4134 (tests-special): Add $(objpfx)bug-regex36-mem.out
4135 (bug-regex36-ENV): New variable.
4136 ($(objpfx)bug-regex36-mem.out): New rule.
4137 * posix/bug-regex36.c: New file.
4139 2014-06-19 Will Newton <will.newton@linaro.org>
4141 * malloc/malloc.c (systrim): If extra is zero then return
4144 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4146 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4148 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
4150 * sysdeps/aarch64/strchr.S: New file.
4152 2014-06-18 Joseph Myers <joseph@codesourcery.com>
4155 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4156 from arguments -2 or below.
4157 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4158 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4160 2014-06-18 Andreas Schwab <schwab@suse.de>
4163 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4164 of a bracket expr not to run off the end of the string.
4165 * posix/Makefile (tests): Add tst-fnmatch3.
4166 * posix/tst-fnmatch3.c: New file.
4168 2014-06-18 Joseph Myers <joseph@codesourcery.com>
4170 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4171 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4172 [$(cross-compiling) = no]: Likewise.
4173 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4174 [$(cross-compiling) = no]: Likewise.
4176 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4179 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4180 double, adjusted for any remainder from the high double.
4181 * math/libm-test.inc (nearbyint): Add tests.
4184 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4186 * nptl/sysdeps/powerpc/Makefile: Moved ...
4187 * sysdeps/powerpc/nptl/Makefile: ... here.
4188 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4189 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4190 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4191 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4192 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4193 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4194 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4195 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4196 * nptl/sysdeps/powerpc/tls.h: Moved ...
4197 * sysdeps/powerpc/nptl/tls.h: ... here.
4199 2014-06-16 Joseph Myers <joseph@codesourcery.com>
4202 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4203 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4204 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4205 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4206 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4207 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4208 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4209 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4210 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4212 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
4214 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4216 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
4218 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4221 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4224 2014-06-16 Florian Weimer <fweimer@redhat.com>
4227 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4228 non-executed part of the test.
4230 2014-06-16 Andreas Schwab <schwab@suse.de>
4232 * string/bits/string2.h (strdup, strndup): Update feature guard.
4234 2014-06-14 David S. Miller <davem@davemloft.net>
4236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4238 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
4240 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4241 that was previously under [RESET_PID].
4242 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4244 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4245 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4246 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4247 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4248 (__libc_vfork): New strong alias.
4249 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4251 2014-06-14 Andi Kleen <ak@linux.intel.com>
4253 * sysdeps/generic/elide.h: New file.
4255 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4257 * Makefile (installed-headers): Adjust path of pthread.h header.
4259 2014-06-13 Roland McGrath <roland@hack.frob.com>
4261 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4262 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4263 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4264 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4266 * nptl/sysdeps/s390/Makefile: Moved ...
4267 * sysdeps/s390/nptl/Makefile: ... here.
4268 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4269 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4270 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4271 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4272 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4273 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4274 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4275 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4276 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4277 * sysdeps/s390/nptl/pthreaddef.h: ... here.
4278 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4279 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4280 * nptl/sysdeps/s390/tls.h: Moved ...
4281 * sysdeps/s390/nptl/tls.h: ... here.
4283 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4284 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4286 2014-06-13 David S. Miller <davem@davemloft.net>
4288 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4289 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4290 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4291 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4292 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4293 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4294 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4295 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4296 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4297 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4298 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4299 Remove RESET_PID cpp guards.
4300 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4301 Remove RESET_PID cpp guards.
4302 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4304 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
4306 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4309 2014-06-13 Andi Kleen <ak@linux.intel.com>
4311 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4312 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4313 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4314 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4315 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4316 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4317 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4318 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4319 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4320 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4321 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4322 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4323 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4324 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4325 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4326 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4327 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4328 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4329 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4330 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4332 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4333 (pthread_rwlock_rdlock): Add elision.
4334 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4335 (pthread_rwlock_wrlock): Add elision.
4336 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4337 (pthread_rwlock_trywrlock): Add elision.
4338 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4339 (pthread_rwlock_tryrdlock): Add elision.
4340 * nptl/pthread_rwlock_unlock.c: Include elide.h.
4341 (pthread_rwlock_tryrdlock): Add elision unlock.
4342 * nptl/sysdeps/pthread/pthread.h:
4343 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4344 (PTHREAD_RWLOCK_INITIALIZER,
4345 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4346 Handle new elision field.
4347 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4348 * sysdeps/arm/nptl/bits/pthreadtypes.h
4349 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4350 * sysdeps/sh/nptl/bits/pthreadtypes.h
4351 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4352 * sysdeps/tile/nptl/bits/pthreadtypes.h
4353 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4354 * sysdeps/a/nptl/bits/pthreadtypes.h
4355 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4356 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4357 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4358 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4359 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4360 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4361 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4362 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4363 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4364 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4365 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4366 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4367 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4368 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4369 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4370 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4371 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4372 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4373 (elision_init): Set try_xbegin to zero when no RTM.
4374 * sysdeps/x86/nptl/bits/pthreadtypes.h
4375 (pthread_rwlock_t): Change __pad1 to __rwelision.
4376 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4378 2014-06-13 Andi Kleen <ak@linux.intel.com>
4380 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4381 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4382 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4383 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4385 2014-06-13 Meador Inge <meadori@codesourcery.com>
4388 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4389 that the cached result has been set before returning it.
4391 2014-06-12 Roland McGrath <roland@hack.frob.com>
4393 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4394 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4395 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4396 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4397 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4398 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4400 * nptl/sysdeps/sparc/Makefile: Moved ...
4401 * sysdeps/sparc/nptl/Makefile: ... here.
4402 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4403 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4404 * nptl/sysdeps/sparc/tls.h: Moved ...
4405 * sysdeps/sparc/nptl/tls.h: ... here.
4406 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4407 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4408 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4409 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4410 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4411 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4412 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4413 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4414 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4415 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4416 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4417 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4418 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4419 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4420 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4421 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4422 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4423 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4425 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4426 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4428 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4429 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4431 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4432 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4435 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4437 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4438 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4440 * sysdeps/pthread/posix-timer.h: Include <list.h>.
4441 (struct list_links): Type removed.
4442 (struct thread_node, struct timer_node): Replace struct list_links
4443 with struct list_head.
4444 (list_unlink_ip): Likewise.
4445 * sysdeps/pthread/timer_routines.c
4446 (timer_free_list, thread_free_list, thread_active_list): Likewise.
4447 (list_append, list_insbefore): Likewise.
4448 (list_init): Function removed.
4449 (thread_init, init_module): Use INIT_LIST_HEAD instead.
4450 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4451 * sysdeps/pthread/Makefile: ... here, new file.
4453 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4454 * sysdeps/nptl/Implies: ... here.
4455 * sysdeps/unix/sysv/linux/Implies: Add nptl.
4456 * nptl/sysdeps/pthread/list.h: Moved ...
4457 * include/list.h: ... here.
4458 * nptl/sysdeps/pthread/createthread.c: Moved ...
4459 * nptl/createthread.c: ... here.
4460 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4461 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4462 * nptl/pt-longjmp.c: ... here.
4463 * nptl/sysdeps/pthread/Makefile: Moved ...
4464 * sysdeps/nptl/Makefile: ... here.
4465 * nptl/sysdeps/pthread/Subdirs: Moved ...
4466 * sysdeps/nptl/Subdirs: ... here.
4467 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4468 * sysdeps/nptl/aio_misc.h: ... here.
4469 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4470 * sysdeps/nptl/bits/libc-lock.h: ... here.
4471 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4472 * sysdeps/nptl/bits/libc-lockP.h: ... here.
4473 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4474 * sysdeps/nptl/bits/stdio-lock.h: ... here.
4475 * nptl/sysdeps/pthread/configure: Moved ...
4476 * sysdeps/nptl/configure: ... here.
4477 * nptl/sysdeps/pthread/configure.ac: Moved ...
4478 * sysdeps/nptl/configure.ac: ... here.
4479 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4480 * sysdeps/nptl/gai_misc.h: ... here.
4481 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4482 * sysdeps/nptl/librt-cancellation.c: ... here.
4483 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4484 * sysdeps/nptl/malloc-machine.h: ... here.
4485 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4486 * sysdeps/nptl/pthread-functions.h: ... here.
4487 * nptl/sysdeps/pthread/pthread.h: Moved ...
4488 * sysdeps/nptl/pthread.h: ... here.
4489 * nptl/sysdeps/pthread/setxid.h: Moved ...
4490 * sysdeps/nptl/setxid.h: ... here.
4491 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4492 * sysdeps/nptl/sigfillset.c: ... here.
4493 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4494 * sysdeps/nptl/tcb-offsets.h: ... here.
4495 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4496 * sysdeps/nptl/tst-mqueue8x.c: ... here.
4497 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4498 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4499 * nptl/sysdeps/pthread/allocalim.h: Moved ...
4500 * sysdeps/pthread/allocalim.h: ... here.
4501 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4502 * sysdeps/pthread/bits/sigthread.h: ... here.
4503 * nptl/sysdeps/pthread/flockfile.c: Moved ...
4504 * sysdeps/pthread/flockfile.c: ... here.
4505 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4506 * sysdeps/pthread/ftrylockfile.c: ... here.
4507 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4508 * sysdeps/pthread/funlockfile.c: ... here.
4509 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4510 * sysdeps/pthread/posix-timer.h: ... here.
4511 * nptl/sysdeps/pthread/timer_create.c: Moved ...
4512 * sysdeps/pthread/timer_create.c: ... here.
4513 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4514 * sysdeps/pthread/timer_delete.c: ... here.
4515 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4516 * sysdeps/pthread/timer_getoverr.c: ... here.
4517 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4518 * sysdeps/pthread/timer_gettime.c: ... here.
4519 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4520 * sysdeps/pthread/timer_routines.c: ... here.
4521 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4522 * sysdeps/pthread/timer_settime.c: ... here.
4523 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4524 * sysdeps/pthread/tst-timer.c: ... here.
4525 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4526 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4528 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4529 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4531 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4532 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4533 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4534 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4535 Update #include target.
4536 * nptl/sysdeps/i386/i686/Makefile: Moved ...
4537 * sysdeps/i386/i686/nptl/Makefile: ... here.
4538 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4539 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4540 Update #include target.
4541 * nptl/sysdeps/i386/i686/tls.h: Moved ...
4542 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
4543 * nptl/sysdeps/i386/Makefile: Moved ...
4544 * sysdeps/i386/nptl/Makefile: ... here.
4545 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4546 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4547 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4548 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4549 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4550 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4551 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4552 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4553 * sysdeps/i386/nptl/pthreaddef.h: ... here.
4554 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4555 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4556 * nptl/sysdeps/i386/tls.h: Moved ...
4557 * sysdeps/i386/nptl/tls.h: ... here.
4559 * sysdeps/sh/Makefile [$(subdir) = csu]
4560 (gen-as-const-headers): Add tcb-offsets.sym.
4561 * nptl/sysdeps/sh/Makefile: File removed.
4562 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4563 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4564 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4565 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4566 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4567 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4568 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4569 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4570 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4571 * sysdeps/sh/nptl/pthreaddef.h: ... here.
4572 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4573 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4574 * nptl/sysdeps/sh/tls.h: Moved ...
4575 * sysdeps/sh/nptl/tls.h: ... here.
4576 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4577 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4578 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4579 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4580 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4581 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4582 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4583 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4584 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4585 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4586 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4587 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4588 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4589 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4590 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4591 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4592 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4593 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4594 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4595 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4596 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4597 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4598 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4599 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4600 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4602 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4603 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4605 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4606 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4607 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4608 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4609 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4610 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4611 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4612 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4613 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4614 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4615 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4616 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4617 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4618 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4619 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4620 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4621 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4622 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4623 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4625 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4627 * posix/spawn_faction_addopen.c: Include string.h.
4629 2014-06-11 Roland McGrath <roland@hack.frob.com>
4631 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4632 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4633 * nptl/sysdeps/x86_64/Makefile: Moved ...
4634 * sysdeps/x86_64/nptl/Makefile: ... here.
4635 * nptl/sysdeps/x86_64/configure: Moved ...
4636 * sysdeps/x86_64/nptl/configure: ... here.
4637 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4638 * sysdeps/x86_64/nptl/configure.ac: ... here.
4639 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4640 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4641 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4642 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4643 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4644 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4645 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4646 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4647 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4648 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4649 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4650 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4651 * nptl/sysdeps/x86_64/tls.h: Moved ...
4652 * sysdeps/x86_64/nptl/tls.h: ... here.
4653 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4654 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4655 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4656 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4658 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4660 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4664 2014-06-11 Joseph Myers <joseph@codesourcery.com>
4666 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4668 [POSIX] (off_t): Likewise.
4669 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4670 [POSIX] (S_ISBLK): Require macro.
4671 [POSIX] (S_ISCHR): Likewise.
4672 [POSIX] (S_ISDIR): Likewise.
4673 [POSIX] (S_ISFIFO): Likewise.
4674 [POSIX] (S_ISREG): Likewise.
4675 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4677 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4679 [POSIX] (time_t): Likewise.
4680 [POSIX] (timer_t): Likewise.
4682 2014-06-11 Florian Weimer <fweimer@redhat.com>
4685 * posix/spawn_int.h (struct __spawn_action): Make the path string
4686 non-const to support deallocation.
4687 * posix/spawn_faction_addopen.c
4688 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4689 * posix/spawn_faction_destroy.c
4690 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4691 path in all spawn_do_open actions.
4692 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4693 posix_spawn_file_actions_addopen.
4695 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4697 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4698 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4699 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4700 conditional code always true.
4701 (__libc_vfork): New alias.
4703 2014-06-11 Roland McGrath <roland@hack.frob.com>
4705 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4706 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4708 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4710 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4711 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4713 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4714 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4716 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4717 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4719 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4721 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4722 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4723 multiarch strcmp for PPC64.
4724 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4725 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4726 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4727 multiarch optimizations.
4728 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4729 (__libc_ifunc_impl_list): Likewise.
4731 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4733 * benchtests/scripts/validate_benchout.py: New script.
4734 * benchtests/Makefile (bench-func): Call it.
4735 * benchtests/scripts/benchout.schema.json: New file.
4737 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4739 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4740 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4741 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4742 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4743 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4744 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4745 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4746 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4747 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4748 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4749 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4750 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4751 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4752 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4753 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4754 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4858 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4859 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4860 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4861 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4862 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4864 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4866 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4867 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4868 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4869 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4870 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4871 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4872 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4873 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4874 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4875 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4876 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4877 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4878 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4880 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4881 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4883 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4884 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4885 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4886 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4888 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4889 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4890 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4891 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4892 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4893 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4894 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4896 2014-06-10 Wilco <wdijkstr@arm.com>
4898 * math/test-fenv-return.c: New file.
4899 * math/Makefile: Add new test test-fenv-return.
4901 2014-06-10 Joseph Myers <joseph@codesourcery.com>
4904 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4906 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4907 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4908 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4909 0.0L for an argument of 1.0L.
4910 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4912 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4913 value when x - 1 is zero.
4914 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4915 * sysdeps/i386/fpu/libm-test-ulps: Update.
4916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4918 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4921 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4923 2014-06-09 Roland McGrath <roland@hack.frob.com>
4925 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4926 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4928 2014-06-09 Roland McGrath <roland@hack.frob.com>
4930 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4931 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4933 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4934 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4936 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4937 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4939 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4940 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4942 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4943 if not already defined.
4944 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4945 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4946 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4947 (TLS_INIT_TP): Use it.
4948 (TLS_DEFINE_INIT_TP): New macro.
4949 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4951 2014-06-09 Joseph Myers <joseph@codesourcery.com>
4953 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4955 [POSIX] (IXANY): Likewise.
4956 [POSIX] (OLCUC): Likewise.
4957 [POSIX || POSIX2008] (CBAUD): Do not allow.
4958 [POSIX || POSIX2008] (DEFECHO): Likewise.
4959 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4960 [POSIX || POSIX2008] (ECHOKE): Likewise.
4961 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4962 [POSIX || POSIX2008] (EXTA): Likewise.
4963 [POSIX || POSIX2008] (EXTB): Likewise.
4964 [POSIX || POSIX2008] (FLUSHO): Likewise.
4965 [POSIX || POSIX2008] (LOBLK): Likewise.
4966 [POSIX || POSIX2008] (PENDIN): Likewise.
4967 [POSIX || POSIX2008] (SWTCH): Likewise.
4968 [POSIX || POSIX2008] (VDISCARD): Likewise.
4969 [POSIX || POSIX2008] (VDSUSP): Likewise.
4970 [POSIX || POSIX2008] (VLNEXT): Likewise.
4971 [POSIX || POSIX2008] (VREPRINT): Likewise.
4972 [POSIX || POSIX2008] (VSTATUS): Likewise.
4973 [POSIX || POSIX2008] (VWERASE): Likewise.
4974 (B*): Change to B[0123456789]*.
4975 * conform/data/time.h-data [POSIX || UNIX98]
4976 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4977 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4978 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4979 [POSIX] (tm_*): Do not allow.
4981 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4983 * Makefile (install): Don't set LANGUAGE.
4984 * Makefile.in (install): Likewise.
4985 * assert/Makefile (test-assert-ENV): Remove variable.
4986 (test-assert-perr-ENV): Likewise.
4987 * elf/Makefile (neededtest4-ENV): Likewise.
4988 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4989 [$(cross-compiling) = no]: Don't set LANGUAGE.
4990 * io/ftwtest-sh (LANG): Remove variable.
4991 * libio/Makefile (tst-widetext-ENV): Likewise.
4992 * manual/install.texi (Running make install): Don't refer to
4993 environment settings for make install.
4994 * INSTALL: Regenerated.
4995 * nptl/tst-tls6.sh: Don't set LANG.
4996 * posix/globtest.sh (LANG): Remove variable.
4997 * string/Makefile (tester-ENV): Likewise.
4998 (inl-tester-ENV): Likewise.
4999 (noinl-tester-ENV): Likewise.
5000 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5001 [$(cross-compiling) = no]: Don't set LANGUAGE.
5002 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5003 without explicit environment settings.
5005 2014-06-06 Roland McGrath <roland@hack.frob.com>
5007 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5008 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5009 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5010 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5012 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
5014 * crypt/crypt-private.h [DOS]: Add some includes taken from the
5015 other files in the crypt directory.
5016 * crypt/crypt.c: Remove duplicate includes.
5017 * crypt/crypt-entry.c: Likewise.
5018 * crypt/crypt_util.c: Likewise.
5020 2014-06-06 Joseph Myers <joseph@codesourcery.com>
5022 * Makeconfig (run-program-env): New variable.
5023 (run-program-prefix-before-env): Likewise.
5024 (run-program-prefix-after-env): Likewise.
5025 (run-program-prefix): Define in terms of new variables.
5026 (built-program-cmd-before-env): New variable.
5027 (built-program-cmd-after-env): Likewise.
5028 (built-program-cmd): Define in terms of new variables.
5029 (test-program-prefix-before-env): New variable.
5030 (test-program-prefix-after-env): Likewise.
5031 (test-program-prefix): Define in terms of new variables.
5032 (test-program-cmd-before-env): New variable.
5033 (test-program-cmd-after-env): Likewise.
5034 (test-program-cmd): Define in terms of new variables.
5035 * Rules (make-test-out): Use $(run-program-env).
5036 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5037 (help): Do not mention environment variables. Mention
5038 --timeoutfactor option.
5039 (timeoutfactor): New variable.
5040 (blacklist_exports): Remove function.
5041 (exports): Remove variable.
5042 (command): Do not include ${exports}.
5043 * manual/install.texi (Configuring and compiling): Do not mention
5044 test wrappers preserving environment variables. Mention that last
5045 assignment to a variable must take precedence.
5046 * INSTALL: Regenerated.
5047 * benchtests/Makefile (run-bench): Use $(run-program-env).
5048 * catgets/Makefile ($(objpfx)test1.cat): Use
5049 $(built-program-cmd-before-env), $(run-program-env) and
5050 $(built-program-cmd-after-env).
5051 ($(objpfx)test2.cat): Do not specify environment variables
5053 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5054 $(run-program-env) and $(built-program-cmd-after-env).
5055 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5056 $(run-program-env) and $(test-program-cmd-after-env).
5057 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5059 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5060 run_program_env and test_program_cmd_after_env arguments.
5061 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5062 * elf/tst-pathopt.sh: Use run_program_env argument.
5063 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5064 $(test-wrapper-env) and $(run-program-env).
5065 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5066 run_program_env arguments.
5067 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5068 * intl/Makefile ($(objpfx)tst-gettext.out): Use
5069 $(test-program-prefix-before-env), $(run-program-env) and
5070 $(test-program-prefix-after-env).
5071 ($(objpfx)tst-gettext2.out): Likewise.
5072 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5073 run_program_env and test_program_prefix_after_env arguments.
5074 * intl/tst-gettext2.sh: Likewise.
5075 * intl/tst-gettext4.sh: Do not set environment variables
5077 * intl/tst-gettext6.sh: Likewise.
5078 * intl/tst-translit.sh: Likewise.
5079 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5080 $(test-program-prefix-before-env), $(run-program-env) and
5081 $(test-program-prefix-after-env).
5082 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5083 run_program_env and test_program_prefix_after_env arguments.
5084 * math/Makefile (run-regen-ulps): Use $(run-program-env).
5085 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5086 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
5087 explicitly with each use of ${test_wrapper_env}.
5088 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5089 $(test-program-prefix-before-env), $(run-program-env) and
5090 $(test-program-prefix-after-env).
5091 * posix/tst-getconf.sh: Do not set environment variables
5093 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5094 run_program_env and test_program_prefix_after_env arguments.
5095 * stdio-common/tst-printf.sh: Do not set environment variables
5097 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5098 $(test-program-prefix-before-env), $(run-program-env) and
5099 $(test-program-prefix-after-env).
5100 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5101 run_program_env and test_program_prefix_after_env arguments.
5102 Split $test calls into $test_pre and $test.
5103 * timezone/Makefile (build-testdata): Use
5104 $(built-program-cmd-before-env), $(run-program-env) and
5105 $(built-program-cmd-after-env).
5107 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5109 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5110 strlen for non SHARED builds.
5112 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5114 * nptl/allocatestack.c (check_list): Inlined function...
5115 (__reclaim_stacks): ... here.
5117 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
5120 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5123 2014-06-05 Joseph Myers <joseph@codesourcery.com>
5125 * Rules (make-test-out): Include
5126 LOCPATH=$(common-objpfx)localedata in default environment.
5127 * debug/Makefile (tst-chk1-ENV): Remove variable.
5128 (tst-chk2-ENV): Likewise.
5129 (tst-chk3-ENV): Likewise.
5130 (tst-chk4-ENV): Likewise.
5131 (tst-chk5-ENV): Likewise.
5132 (tst-chk6-ENV): Likewise.
5133 (tst-lfschk1-ENV): Likewise.
5134 (tst-lfschk2-ENV): Likewise.
5135 (tst-lfschk3-ENV): Likewise.
5136 (tst-lfschk4-ENV): Likewise.
5137 (tst-lfschk5-ENV): Likewise.
5138 (tst-lfschk6-ENV): Likewise.
5139 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5140 (tst-iconv7-ENV): Likewise.
5141 * intl/Makefile (LOCPATH-ENV): Likewise.
5142 (tst-codeset-ENV): Likewise.
5143 (tst-gettext3-ENV): Likewise.
5144 (tst-gettext5-ENV): Likewise.
5145 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5146 (tst-fopenloc-ENV): Likewise.
5147 (tst-fgetws-ENV): Remove variable.
5148 (tst-ungetwc1-ENV): Likewise.
5149 (tst-ungetwc2-ENV): Likewise.
5150 (bug-ungetwc2-ENV): Likewise.
5151 (tst-swscanf-ENV): Likewise.
5152 (bug-ftell-ENV): Likewise.
5153 (tst-fgetwc-ENV): Likewise.
5154 (tst-fseek-ENV): Likewise.
5155 (tst-ftell-partial-wide-ENV): Likewise.
5156 (tst-ftell-active-handler-ENV): Likewise.
5157 (tst-ftell-append-ENV): Likewise.
5158 * posix/Makefile (tst-fnmatch-ENV): Likewise.
5159 (tst-regexloc-ENV): Likewise.
5160 (bug-regex1-ENV): Likewise.
5161 (tst-regex-ENV): Likewise.
5162 (tst-regex2-ENV): Likewise.
5163 (bug-regex5-ENV): Likewise.
5164 (bug-regex6-ENV): Likewise.
5165 (bug-regex17-ENV): Likewise.
5166 (bug-regex18-ENV): Likewise.
5167 (bug-regex19-ENV): Likewise.
5168 (bug-regex20-ENV): Likewise.
5169 (bug-regex22-ENV): Likewise.
5170 (bug-regex23-ENV): Likewise.
5171 (bug-regex25-ENV): Likewise.
5172 (bug-regex26-ENV): Likewise.
5173 (bug-regex30-ENV): Likewise.
5174 (bug-regex32-ENV): Likewise.
5175 (bug-regex33-ENV): Likewise.
5176 (bug-regex34-ENV): Likewise.
5177 (bug-regex35-ENV): Likewise.
5178 (tst-rxspencer-ENV): Likewise.
5179 (tst-rxspencer-no-utf8-ENV): Likewise.
5180 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5181 (tst-sscanf-ENV): Likewise.
5182 (tst-swprintf-ENV): Likewise.
5183 (tst-swscanf-ENV): Likewise.
5184 (test-vfprintf-ENV): Likewise.
5185 (scanf13-ENV): Likewise.
5186 (bug14-ENV): Likewise.
5187 (tst-grouping-ENV): Likewise.
5188 * stdlib/Makefile (tst-strtod-ENV): Likewise.
5189 (tst-strtod3-ENV): Likewise.
5190 (tst-strtod4-ENV): Likewise.
5191 (tst-strtod5-ENV): Likewise.
5192 (testmb2-ENV): Likewise./
5193 * string/Makefile (tst-strxfrm-ENV): Likewise.
5194 (tst-strxfrm2-ENV): Likewise.
5195 (bug-strcoll1-ENV): Likewise.
5196 (test-strcasecmp-ENV): Likewise.
5197 (test-strncasecmp-ENV): Likewise.
5198 * time/Makefile (tst-strptime-ENV): Likewise.
5199 (tst-ftime_l-ENV): Likewise.
5200 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5201 (tst-mbrtowc-ENV): Likewise.
5202 (tst-wcrtomb-ENV): Likewise.
5203 (tst-mbrtowc2-ENV): Likewise.
5204 (tst-c16c32-1-ENV): Likewise.
5205 (tst-mbsnrtowcs-ENV): Likewise.
5207 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
5209 * manual/resource.texi (How to get information about the memory
5210 subsystem?): Fix typo.
5211 Reported by Peon de la Parra Ivan <peon@keba.com>
5213 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
5216 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5217 (pthread_spin_lock): Branch out of spin loop to proper location.
5218 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5219 (pthread_spin_lock): Likewise.
5221 * nptl/tst-spin4.c: New test.
5222 * nptl/Makefile (tests): Add tst-spin4.
5224 2014-06-03 Andreas Schwab <schwab@suse.de>
5227 * resolv/res_send.c (send_dg): Reload file descriptor after
5230 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
5232 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5234 2014-06-03 Richard Henderson <rth@redhat.com>
5236 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5237 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5238 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5239 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
5240 in the SAVE_PID block.
5241 (__libc_vfork): New alias.
5242 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5244 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5245 child in registers, not on the stack. Remove RESET_PID conditionals.
5246 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5248 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
5250 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5252 2014-06-03 Wilco <wdijkstr@arm.com>
5254 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5255 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5256 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5257 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5258 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5261 2014-06-03 Wilco <wdijkstr@arm.com>
5263 * sysdeps/aarch64/fpu/math_private.h
5264 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5265 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5266 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5267 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5270 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5272 * crypt/crypt-private.h: Include ufc-crypt.h.
5273 (__b64_from_24bit): Declare extern.
5274 * crypt/crypt_util.c(__b64_from_24bit): New function.
5275 (b64t): New static const variable.
5276 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5277 (b64t): Remove variable.
5278 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5279 * crypt/sha256-crypt.c: Include crypt-private.h.
5280 (b64t): Remove variable.
5281 (__sha256_crypt_r): Remove b64_from_24bit and replace
5282 with __b64_from_24bit.
5283 * crypt/sha512-crypt.c: Likewise.
5285 2014-06-02 Roland McGrath <roland@hack.frob.com>
5287 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5288 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5289 Label the code __libc_vfork rather than __vfork.
5290 [!NOT_IN_libc] (vfork): Define as weak alias.
5291 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5292 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5293 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5295 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5297 * malloc/malloc.c (malloc_info): Fix format specifier for
5300 2014-06-02 Wilco <wdijkstr@arm.com>
5302 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5305 2014-06-02 Wilco <wdijkstr@arm.com>
5308 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5309 Rewrite to reduce FPCR/FPSR accesses.
5311 2014-06-01 David S. Miller <davem@davemloft.net>
5313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5315 2014-05-31 David S. Miller <davem@davemloft.net>
5317 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5318 to occur in round to nearest mode when |x| >= 2.0
5320 2014-05-30 Richard Henderson <rth@twiddle.net>
5322 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5323 (PSEUDO_RET_NOERRNO): Remove.
5324 (ret): Don't redefine.
5325 (ret_NOERRNO): Define in terms of ret.
5326 (ret_ERRVAL): Likewise.
5328 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5329 use of PSEUDO_RET; perform the error check directly.
5331 2014-05-30 Marko Myllynen <myllynen@redhat.com>
5333 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5336 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5338 * malloc/malloc (malloc_info): Fix formatting.
5340 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5341 Roland McGrath <roland@hack.frob.com>
5343 * malloc/malloc (malloc_info): Also print mmapped statistics.
5345 2014-05-30 Roland McGrath <roland@hack.frob.com>
5347 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5348 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5350 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
5352 * malloc/malloc.c (malloc_info): Inline mi_arena.
5354 2014-05-29 Richard Henderson <rth@twiddle.net>
5356 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5357 Remove comma before expanding ASM_ARGS_##nr.
5358 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5359 Make _x0 a strict output; make _x8 a strict input; adjust expansion
5361 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5362 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5363 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5364 (ASM_ARGS_1): Add leading comma.
5366 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5367 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5368 to __errno_location.
5369 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5370 Remove the expected plt for __errno_location.
5372 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5373 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5376 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5377 Always allocate 64 bytes of stack frame. Use ldp/stp to create
5378 it and break it down.
5379 (DOCARGS_0, DOCARGS_1): Do nothing.
5380 (DOCARGS_2): Update to store into the new stack frame.
5381 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5382 (UNDOCARGS_1): Update to restore from the new stack frame.
5383 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5384 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5386 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5387 (SINGLE_THREAD_P): New parameter for result regno.
5388 (PSEUDO): Update to match; use cbz instead of beq.
5390 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5391 Use ENTRY to define the _nocancel entry point. Share the syscall
5392 and syscall error check paths with the cancel path.
5395 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5396 whitespace; tabs before and after asm mnemonics.
5398 2014-05-29 Eric Wong <normalperson@yhbt.net>
5401 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5402 Call fstat64 or stat64 internally, depending on arguments passed.
5403 Replace stat buffer argument with file descriptor argument.
5404 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5405 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5406 Pass fd to __internal_statvfs instead of calling fstat64.
5407 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5408 Pass fd to __internal_statvfs64 instead of calling fstat64.
5409 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5410 Pass -1 to __internal_statvfs instead of calling stat64.
5411 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5412 Pass -1 to __internal_statvfs64 instead of calling stat64.
5414 2014-05-28 Roland McGrath <roland@hack.frob.com>
5416 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5417 that was previously under [RESET_PID].
5418 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5420 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5421 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5423 2014-05-27 Roland McGrath <roland@hack.frob.com>
5425 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5427 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5428 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5430 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
5432 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5434 2014-05-27 Andreas Schwab <schwab@suse.de>
5436 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5438 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5439 * elf/rtld.c (init_tls, dl_main): Likewise.
5440 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5441 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5442 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5443 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5444 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5445 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5446 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5447 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5448 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5449 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5450 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5451 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5452 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5453 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5454 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5455 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5456 * sysdeps/generic/tls.h: Update description.
5458 2014-05-27 Will Newton <will.newton@linaro.org>
5461 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5462 and restore r2 rather than just restoring.
5464 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5467 * libio/tst-ftell-append.c: New test case.
5468 * libio/Makefile (tests): Add test case.
5469 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5471 * libio/wfileops.c (do_ftell_wide): Likewise.
5473 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5477 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5481 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5482 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5483 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5484 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5485 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5486 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5487 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5490 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5493 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5494 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5495 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5496 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5497 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5499 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5500 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5502 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5504 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5506 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5507 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5508 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5510 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5511 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5512 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5513 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5515 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5518 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5521 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5524 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5528 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5531 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5536 conditional [RESET_PID].
5537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5538 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5540 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5545 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5546 (__libc_vfork): New strong alias.
5547 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5549 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5554 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5555 (__libc_vfork): New strong alias.
5556 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5558 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5561 2014-05-26 Carlos O'Donell <carlos@redhat.com>
5563 * malloc/malloc.c (mi_arena): New function.
5564 (malloc_info): Remove nested function mi_arena. Call non-nosted
5567 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5569 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5571 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5572 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5573 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5574 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5575 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5576 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5577 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5579 2014-05-26 Andreas Schwab <schwab@suse.de>
5582 * locale/programs/repertoire.c (repertoire_read): Add slash
5583 between I18NPATH element and file name.
5584 * locale/programs/locfile.c (locfile_read): Likewise.
5586 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5588 * nptl/pthread_mutexattr_settype.c
5589 (__pthread_mutexattr_settype):
5590 Disable lock elision for PTHREAD_MUTEX_NORMAL.
5592 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5594 * nptl/tst-mutex5 (do_test):
5595 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5597 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5599 * benchtests/README: Document 'init' directive.
5600 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5602 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5603 (parse_file): Recognize 'init' directive.
5605 2014-05-26 Kyle McMartin <kyle@redhat.com>
5608 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5609 alignment of struct pthread.
5611 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5614 * nscd/netgroupcache.c (addgetnetgrentX): Look for
5615 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5616 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5617 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5619 2014-05-25 Richard Henderson <rth@twiddle.net>
5621 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5622 (SINGLE_THREAD_P_PIC): Remove.
5623 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5624 (SINGLE_THREAD_P_PIC): Remove.
5626 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5627 branch to syscall error ...
5629 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5630 from __local_syscall_error to .Lsyscall_error.
5631 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5632 (SYSCALL_ERROR): Update label name.
5634 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5635 Do not use DOARGS/UNDOARGS.
5636 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5637 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5638 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5639 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5640 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5642 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5645 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5646 define if !NOT_IN_libc.
5647 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5648 define with non-default symbol versions.
5650 2014-05-23 Richard Henderson <rth@twiddle.net>
5652 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5653 (vfork, __vfork): Define via compat_symbol.
5655 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5656 [!HAVE_IFUNC] (vfork_compat): Remove.
5657 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5659 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5662 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5663 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5666 2014-05-23 Richard Henderson <rth@twiddle.net>
5668 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5669 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5670 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5671 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5673 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5674 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5675 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5676 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5677 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5678 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5679 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5680 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5681 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5682 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5683 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5684 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5685 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5686 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5687 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5688 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5689 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5690 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5691 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5692 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5693 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5694 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5695 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5696 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5697 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5698 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5699 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5700 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5701 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5702 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5703 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5704 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5705 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5706 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5707 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5708 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5709 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5710 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5711 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5712 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5713 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5714 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5715 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5716 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5717 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5718 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5719 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5720 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5721 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5722 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5723 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5724 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5725 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5726 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5727 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5728 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5730 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5731 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5732 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5733 before exiting on error.
5734 (__libc_vfork): New strong alias.
5735 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5736 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5738 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5739 that was previously under [RESET_PID].
5740 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5742 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5744 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5747 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5748 value when x - 1 is zero.
5749 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5750 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5751 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5752 0.0L for an argument of 1.0L.
5753 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5755 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5756 value when x - 1 is zero.
5757 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5758 * sysdeps/i386/fpu/libm-test-ulps: Update.
5759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5761 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5763 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5764 alphasort and versionsort.
5766 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5768 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5770 [copysignf]: Likewise.
5772 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5774 * crypt/md5-crypt.c: Fix formatting.
5776 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5778 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5779 (b64_from_24bit): New function.
5781 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5783 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5784 libc_hidden_builtin_def to ifunc.
5785 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5786 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5788 2014-05-21 Roland McGrath <roland@hack.frob.com>
5790 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5791 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5793 2014-05-21 Joseph Myers <joseph@codesourcery.com>
5795 * nscd/Depend (linuxthreads): Remove.
5797 * resolv/Depend (linuxthreads): Remove.
5798 * rt/Depend (linuxthreads): Remove.
5800 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5801 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5802 $(common-objpfx)elf/.
5803 (link-libc-before-gnulib): Likewise.
5804 (elfobjdir): Remove variable.
5805 * Makefile (install): Use $(elf-objpfx) instead of
5806 $(common-objpfx)elf/.
5807 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5809 (link-libc-deps): Likewise.
5810 ($(common-objpfx)libc.so): Likewise.
5811 ($(common-objpfx)linkobj/libc.so): Likewise.
5812 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5813 instead of $(common-objpfx)elf/.
5814 (symbolic-link-list): Likewise.
5815 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5816 [$(cross-compiling) = no]: Likewise.
5817 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5819 (static-gnulib-arch): Likewise.
5820 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5821 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5822 $(common-objpfx)elf/.
5824 2014-05-21 Richard Henderson <rth@redhat.com>
5826 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5827 (SINGLE_THREAD_P): Use the correct width load. Fold
5828 into the ldr offset.
5830 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5831 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5833 2014-05-20 Joseph Myers <joseph@codesourcery.com>
5835 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5836 (libgcc_s_resume): Use __attribute_used__.
5837 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5840 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5842 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5843 optimization when used with float constants.
5845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5847 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5850 * locale/nl_langinfo_l.c: Make direct reference to every
5851 _nl_current_CATEGORY symbol.
5852 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5853 (tests-static): Add tst-langinfo-static.
5854 (tests-special): Add tst-langinfo-static.out.
5855 ($(objpfx)tst-langinfo.out): Redirect output.
5856 ($(objpfx)tst-langinfo-static.out): New.
5857 * localedata/tst-langinfo.sh: Send output to stdout.
5858 * localedata/tst-langinfo-static.c: New file.
5861 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5862 when the shift amount is modulo the limb size.
5864 2014-05-20 Richard Henderson <rth@redhat.com>
5867 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5868 Change type of sa_flags from unsigned int to int.
5871 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5873 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5875 2014-05-20 Will Newton <will.newton@linaro.org>
5877 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5878 Test the return value of the system call in the nocancel case.
5880 2014-05-20 Will Newton <will.newton@linaro.org>
5881 Yvan Roux <yvan.roux@linaro.org>
5883 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5884 #include of asm/ptrace.h.
5885 (PTRACE_GET_THREAD_AREA): Remove #undef.
5886 (PTRACE_GETHBPREGS): Likewise.
5887 (PTRACE_SETHBPREGS): Likewise.
5888 (struct user_regs_struct): New structure.
5889 (struct user_fpsimd_struct): New structure.
5890 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5891 #include of asm/ptrace.h and second #include of sys/user.h.
5892 (PTRACE_GET_THREAD_AREA): Remove #undef.
5893 (PTRACE_GETHBPREGS): Likewise.
5894 (PTRACE_SETHBPREGS): Likewise.
5895 (ELF_NGREG): Use new struct user_regs_struct.
5896 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5898 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5900 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5901 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5903 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5906 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5907 membar to avoid block loads/stores to overlap previous stores.
5909 2014-05-17 Richard Henderson <rth@redhat.com>
5911 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5912 Create the __##syscall_name##_nocancel entry point.
5913 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5914 Remove; let the sysdep-cancel.h code create it.
5916 2014-05-17 David S. Miller <davem@davemloft.net>
5918 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5919 Protect with __USE_GNU.
5920 (TIOCSET_TEMPT): Likewise.
5921 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5922 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5923 these are already provided in bits/ioctl-types.h
5925 2014-05-16 Roland McGrath <roland@hack.frob.com>
5927 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5928 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5930 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5931 Use wait4 regardless of [__NR_waitpid].
5933 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5936 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5937 (_FP_NANSIGN_Q): Set the quiet bit.
5939 2014-05-16 Joseph Myers <joseph@codesourcery.com>
5941 * benchtests/Makefile
5942 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5943 not $(common-objpfx)math/libm.so.
5944 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5945 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5946 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5947 $(common-objpfx)dlfcn/libdl.so.
5948 ($(objpfx)tst-audit8): Depend on $(libm), not
5949 $(common-objpfx)math/libm.so.
5950 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5951 not $(common-objpfx)dlfcn/libdl.so.
5953 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5954 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5955 [$(build-shared) = yes].
5956 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5957 $(common-objpfx)nptl/libpthread.so.
5958 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5959 $(common-objpfx)math/libm.so$(libm.so-version) or
5960 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5961 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5962 $(common-objpfx)dlfcn/libdl.so.
5963 * setjmp/Makefile (link-libm): Remove variable.
5964 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5965 * stdio-common/Makefile (link-libm): Remove variable.
5966 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5967 * stdlib/Makefile (link-libm): Remove variable.
5968 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5969 ($(objpfx)tst-strtod-round): Likewise.
5970 ($(objpfx)tst-tininess): Likewise.
5971 ($(objpfx)tst-strtod-underflow): Likewise.
5972 ($(objpfx)tst-strtod6): Likewise.
5973 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5974 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5975 $(common-objpfx)dlfcn/libdl.so.
5977 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5979 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5980 BSD terminal modes definitions.
5982 2014-05-16 Roland McGrath <roland@hack.frob.com>
5984 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5985 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5987 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5988 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5989 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5990 Don't do #include_next.
5991 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5992 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5993 Don't do #include_next.
5994 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5995 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5996 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5997 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5999 2014-05-16 Allan McRae <allan@archlinux.org>
6001 * po/sv.po: Update Swedish translation from translation project.
6003 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6006 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
6009 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6010 errno if the TIOCGPTN ioctl fails with an error different than
6012 * login/tst-ptsname.c: New file.
6013 * login/Makefile (tests): Add tst-ptsname.
6016 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6019 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6023 herrno to return EAI_AGAIN.
6025 2014-05-14 Roland McGrath <roland@hack.frob.com>
6027 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6028 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6029 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6030 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6031 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6032 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6033 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6034 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6035 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6036 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6037 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6038 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6039 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6040 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6041 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6042 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6043 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6044 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6045 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6046 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6047 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6048 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6049 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6050 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6051 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6052 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6053 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6054 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6055 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6056 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6058 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6060 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6063 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6064 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6065 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6067 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6069 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6071 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6073 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6075 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6077 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6079 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6081 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6083 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6085 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6087 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6089 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6092 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6094 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6096 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6098 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6100 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6102 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6104 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6106 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6108 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6110 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6113 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6115 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6117 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6118 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6119 (libpthread-sysdep_routines): Add elision-related stuff here instead.
6120 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6121 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6122 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6123 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6124 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6125 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6126 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6127 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6128 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6129 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6130 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6131 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6132 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6133 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6134 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6135 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6136 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6137 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6138 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6139 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6140 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6141 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6142 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6143 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6144 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6145 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6146 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6147 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6149 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6150 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6152 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6153 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6154 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6155 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6156 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6157 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6159 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6160 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6162 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6163 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6165 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6166 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6168 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6169 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6170 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6171 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6173 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6174 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6175 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6176 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6177 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6178 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6179 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6180 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6182 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6183 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6185 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6187 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6188 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6189 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6190 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6191 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6193 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6195 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6197 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6198 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6199 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6200 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6201 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6202 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6204 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6205 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6207 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6208 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6210 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6211 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6213 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6214 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6215 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6216 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6218 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6219 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6220 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6221 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6222 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6223 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6224 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6225 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6227 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6228 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6230 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6232 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6233 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6234 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6235 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6236 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6238 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6240 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6242 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6243 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6244 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6245 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6246 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6247 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6248 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6249 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6250 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6251 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6253 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6254 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6256 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6257 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6259 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6260 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6262 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6263 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6264 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6265 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6266 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6267 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6269 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6270 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6271 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6272 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6273 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6274 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6275 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6276 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6278 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6279 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6281 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6283 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6284 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6285 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6286 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6287 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6289 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6291 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6293 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6294 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6295 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6296 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6297 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6298 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6299 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6300 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6301 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6302 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6303 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6305 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6306 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6308 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6309 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6311 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6312 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6313 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6314 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6315 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6316 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6317 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6318 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6319 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6320 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6321 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6322 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6323 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6324 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6325 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6326 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6327 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6328 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6330 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6331 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6332 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6333 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6335 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6336 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6337 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6338 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6339 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6340 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6341 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6342 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6344 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6345 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6347 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6348 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6349 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6350 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6351 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6352 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6353 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6354 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6355 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6356 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6357 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6358 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6359 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6360 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6361 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6362 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6363 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6365 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6366 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6367 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6368 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6369 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6371 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6372 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6373 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6374 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6375 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6376 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6377 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6378 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6379 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6380 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6382 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6383 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6385 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6386 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6387 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6388 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6389 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6390 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6391 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6392 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6393 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6394 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6395 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6396 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6397 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6398 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6399 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6401 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6403 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6405 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6407 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6409 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6411 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6413 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6415 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6417 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6419 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6420 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6421 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6422 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6423 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6424 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6425 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6426 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6427 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6428 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6429 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6430 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6431 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6432 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
6433 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
6435 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6436 that was previously under [RESET_PID].
6437 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6438 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6439 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6441 * sysdeps/i386/nptl/Implies: New file.
6442 * sysdeps/x86_64/nptl/Implies: New file.
6443 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6444 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6445 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6446 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6448 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6449 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6450 (__libc_vfork): New strong alias.
6451 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6452 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6454 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6455 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6456 (__libc_vfork): New strong alias.
6457 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6458 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6460 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6461 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6462 (__libc_vfork): New strong alias.
6463 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6464 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6465 * nptl/pt-vfork.c: New file.
6466 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6467 (libpthread: GLIBC_2.20): New version set (empty).
6469 2014-05-14 Will Newton <will.newton@linaro.org>
6471 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6474 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6477 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6478 arguments with exponent 65 or above.
6479 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6480 arguments 0x1p113L or above.
6481 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6482 to arguments 0x1p107L or above.
6483 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6484 positive arguments with exponent 65 or above.
6485 * math/auto-libm-test-in: Add more tests of log1p.
6486 * math/auto-libm-test-out: Regenerated.
6489 * math/s_cacos.c (__cacos): Ensure zero real part of result from
6490 non-finite arguments is +0.
6491 * math/s_cacosf.c (__cacosf): Likewise.
6492 * math/s_cacosl.c (__cacosl): Likewise.
6493 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6494 * sysdeps/i386/fpu/libm-test-ulps: Update.
6495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6498 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6500 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6501 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6502 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6503 for explicit high bit of mantissa when testing for argument equal
6505 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6506 * sysdeps/i386/fpu/libm-test-ulps: Update.
6507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6510 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6511 (__erf): Scale by 16 instead of 8 in potentially underflowing
6512 case. Ensure exception if result actually underflows.
6513 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6514 (__erff): Scale by 16 instead of 8 in potentially underflowing
6515 case. Ensure exception if result actually underflows.
6516 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6517 (efx8): Remove variable.
6518 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6519 case. Ensure exception if result actually underflows.
6520 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6521 (efx8): Remove variable.
6522 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6523 case. Ensure exception if result actually underflows.
6524 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6525 (efx8): Remove variable.
6526 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6527 case. Ensure exception if result actually underflows.
6528 * math/auto-libm-test-in: Add more tests of erf.
6529 * math/auto-libm-test-out: Regenerated.
6531 2014-05-14 Andreas Schwab <schwab@suse.de>
6533 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6534 Remove code conditionalized on USE___THREAD.
6536 * config.h.in (HAVE_PT_CHOWN): Define as 0.
6537 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6540 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6542 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6543 Define unconditionally.
6544 (__ASSUME_O_CLOEXEC): Likewise.
6545 (__ASSUME_SOCK_CLOEXEC): Likewise.
6546 (__ASSUME_IN_NONBLOCK): Likewise.
6547 (__ASSUME_PIPE2): Likewise.
6548 (__ASSUME_EVENTFD2): Likewise.
6549 (__ASSUME_SIGNALFD4): Likewise.
6550 (__ASSUME_DUP3): Likewise.
6551 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6552 (__ASSUME_DUP3): Do not define.
6553 (__ASSUME_EVENTFD2): Likewise.
6554 (__ASSUME_IN_NONBLOCK): Likewise.
6555 (__ASSUME_O_CLOEXEC): Likewise.
6556 (__ASSUME_PIPE2): Likewise.
6557 (__ASSUME_SIGNALFD4): Likewise.
6558 (__ASSUME_SOCK_CLOEXEC): Likewise.
6559 (__ASSUME_UTIMES): Undefine.
6560 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6561 (__ASSUME_UTIMES): Do not define.
6562 (__ASSUME_O_CLOEXEC): Likewise.
6563 (__ASSUME_SOCK_CLOEXEC): Likewise.
6564 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6565 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6567 (__ASSUME_PIPE2): Likewise.
6568 (__ASSUME_EVENTFD2): Likewise.
6569 (__ASSUME_SIGNALFD4): Likewise.
6570 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6571 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6573 (__ASSUME_EVENTFD2): Likewise.
6574 (__ASSUME_SIGNALFD4): Likewise.
6575 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6576 (__ASSUME_32BITUIDS): Likewise.
6577 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6578 (__ASSUME_IPC64): Likewise.
6579 (__ASSUME_ST_INO_64_BIT): Likewise.
6580 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6581 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6582 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6583 (__ASSUME_UTIMES): Do not define.
6584 (__ASSUME_PSELECT): Likewise.
6585 (__ASSUME_PPOLL): Likewise.
6586 (__ASSUME_O_CLOEXEC): Likewise.
6587 (__ASSUME_SOCK_CLOEXEC): Likewise.
6588 (__ASSUME_IN_NONBLOCK): Likewise.
6589 (__ASSUME_PIPE2): Likewise.
6590 (__ASSUME_EVENTFD2): Likewise.
6591 (__ASSUME_SIGNALFD4): Likewise.
6592 (__ASSUME_DUP3): Likewise.
6593 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6594 (__ASSUME_UTIMES): Likewise.
6595 (__ASSUME_O_CLOEXEC): Likewise.
6596 (__ASSUME_SOCK_CLOEXEC): Likewise.
6597 (__ASSUME_IN_NONBLOCK): Likewise.
6598 (__ASSUME_PIPE2): Likewise.
6599 (__ASSUME_EVENTFD2): Likewise.
6600 (__ASSUME_SIGNALFD4): Likewise.
6601 (__ASSUME_DUP3): Likewise.
6602 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6603 (__ASSUME_UTIMES): Likewise.
6604 (__ASSUME_O_CLOEXEC): Likewise.
6605 (__ASSUME_SOCK_CLOEXEC): Likewise.
6606 (__ASSUME_IN_NONBLOCK): Likewise.
6607 (__ASSUME_PIPE2): Likewise.
6608 (__ASSUME_EVENTFD2): Likewise.
6609 (__ASSUME_SIGNALFD4): Likewise.
6610 (__ASSUME_DUP3): Likewise.
6611 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6613 (__ASSUME_UTIMES): Likewise.
6614 (__ASSUME_EVENTFD2): Likewise.
6615 (__ASSUME_SIGNALFD4): Likewise.
6616 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6617 (__ASSUME_O_CLOEXEC): Likewise.
6618 (__ASSUME_SOCK_CLOEXEC): Likewise.
6619 (__ASSUME_IN_NONBLOCK): Likewise.
6620 (__ASSUME_PIPE2): Likewise.
6621 (__ASSUME_EVENTFD2): Likewise.
6622 (__ASSUME_SIGNALFD4): Likewise.
6623 (__ASSUME_DUP3): Likewise.
6624 (__ASSUME_UTIMES): Undefine.
6626 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6627 feclearexcept. Remove symbol versioning code.
6628 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
6629 symbol versioning code.
6630 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
6631 symbol versioning code.
6632 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6633 feupdateenv. Remove symbol versioning code.
6634 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6635 fegetexceptflag. Remove symbol versioning code.
6636 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6637 fesetexceptflag. Remove symbol versioning code.
6638 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6639 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6640 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6641 (__posix_fadvise64_l32): Remove prototype.
6642 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6645 2014-05-13 Roland McGrath <roland@hack.frob.com>
6647 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6648 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6649 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6650 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6652 2014-05-13 Sami Kerola <kerolasa@iki.fi>
6654 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6655 current working directory
6657 2014-05-13 Roland McGrath <roland@hack.frob.com>
6659 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6660 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6661 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6662 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6663 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6664 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6665 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6666 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6667 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6668 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6669 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6670 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6671 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6672 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6673 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6674 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6675 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6676 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6677 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6678 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6679 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6680 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6681 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6682 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6683 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6684 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6685 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6686 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6687 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6688 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6689 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6690 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6691 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6692 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6693 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6694 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6695 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6696 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6697 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6698 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6699 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6700 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6702 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6703 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6705 * sysdeps/unix/sysv/linux/arm/Makefile
6706 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6707 Add rt-aeabi_unwind_cpp_pr1.
6708 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6709 Add nptl-aeabi_unwind_cpp_pr1.
6710 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6711 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6712 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6713 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6714 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6715 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6717 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6718 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6719 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6720 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6722 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6723 Deconditionalize the code that was previously under [RESET_PID].
6724 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6726 * sysdeps/generic/exit-thread.h: New file.
6727 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6728 * include/unistd.h (__exit_thread): Remove declaration.
6729 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6730 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6731 * csu/libc-start.c: Include <exit-thread.h>.
6732 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6733 * nptl/pthread_create.c: Include <exit-thread.h>.
6734 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6735 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6736 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6737 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6738 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6739 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6740 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6741 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6742 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6743 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6744 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6745 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6746 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6747 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6748 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6749 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6750 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6752 2014-05-13 Andreas Schwab <schwab@suse.de>
6754 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6756 2014-05-12 Joseph Myers <joseph@codesourcery.com>
6758 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6759 (__ASSUME_UTIMES): Do not condition on kernel version.
6760 (__ASSUME_PSELECT): Define unconditionally.
6761 (__ASSUME_PPOLL): Likewise.
6762 (__ASSUME_ATFCTS): Likewise.
6763 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6764 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6765 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6766 (__ASSUME_UTIMENSAT): Define unconditionally.
6767 (__ASSUME_PRIVATE_FUTEX): Likewise.
6768 (__ASSUME_FALLOCATE): Likewise.
6769 (__ASSUME_O_CLOEXEC): Likewise.
6770 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6771 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6772 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6773 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6774 (__ASSUME_IN_NONBLOCK): Likewise.
6775 (__ASSUME_PIPE2): Likewise.
6776 (__ASSUME_EVENTFD2): Likewise.
6777 (__ASSUME_SIGNALFD4): Likewise.
6778 (__ASSUME_DUP3): Likewise.
6779 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6780 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6781 (__ASSUME_AT_RANDOM): Likewise.
6782 (__ASSUME_PREADV): Likewise.
6783 (__ASSUME_PWRITEV): Likewise.
6784 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6785 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6786 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6787 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6788 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6789 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6790 (__ASSUME_O_CLOEXEC): Define unconditionally.
6791 (__ASSUME_PSELECT): Do not undefine conditionally.
6792 (__ASSUME_PPOLL): Likewise.
6793 (__ASSUME_ATFCTS): Likewise.
6794 (__ASSUME_SET_ROBUST_LIST): Likewise.
6795 (__ASSUME_UTIMENSAT): Likewise.
6796 (__ASSUME_FDATASYNC): Define unconditionally.
6797 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6798 (__ASSUME_SIGFRAME_V2): Likewise.
6799 )__ASSUME_EVENTFD2): Likewise.
6800 (__ASSUME_SIGNALFD4): Likewise.
6801 (__ASSUME_PSELECT): Do not undefine conditionally.
6802 (__ASSUME_PPOLL): Likewise.
6803 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6804 (__ASSUME_PSELECT): Define unconditionally.
6805 (__ASSUME_PPOLL): Likewise.
6806 (__ASSUME_O_CLOEXEC): Likewise.
6807 (__ASSUME_SOCK_CLOEXEC): Likewise.
6808 (__ASSUME_IN_NONBLOCK): Likewise.
6809 (__ASSUME_PIPE2): Likewise.
6810 (__ASSUME_EVENTFD2): Likewise.
6811 (__ASSUME_SIGNALFD4): Likewise.
6812 (__ASSUME_DUP3): Likewise.
6813 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6814 (__ASSUME_O_CLOEXEC): Likewise.
6815 (__ASSUME_SOCK_CLOEXEC): Likewise.
6816 (__ASSUME_IN_NONBLOCK): Likewise.
6817 (__ASSUME_PIPE2): Likewise.
6818 (__ASSUME_EVENTFD2): Likewise.
6819 (__ASSUME_SIGNALFD4): Likewise.
6820 (__ASSUME_DUP3): Likewise.
6821 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6822 (__ASSUME_EVENTFD2): Likewise.
6823 (__ASSUME_SIGNALFD4): Likewise.
6824 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6826 2014-05-12 Andreas Schwab <schwab@suse.de>
6829 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6830 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6831 than maximum RPC packet size.
6832 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6833 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6834 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6835 (_nss_nis_getservbyport_r): Likewise.
6837 2014-05-12 Will Newton <will.newton@linaro.org>
6839 * malloc/Makefile (tests): Add tst-mallopt.
6840 * malloc/tst-mallopt.c: New file.
6842 2014-05-09 Roland McGrath <roland@hack.frob.com>
6844 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6845 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6847 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6849 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6850 (tst-tlsmod6.so): Likewise.
6852 2014-05-09 Roland McGrath <roland@hack.frob.com>
6854 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6856 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6859 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6860 and <dl-procinfo.h>.
6861 (__fegetenv): Save SSE state in envp->__eip if supported.
6862 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6863 envp->__eip if supported.
6864 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6865 and <dl-procinfo.h>.
6866 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6867 __data_offset and __data_selector in environment to 0. Set SSE
6869 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6871 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6873 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6875 2014-05-09 Will Newton <will.newton@linaro.org>
6877 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6878 and libc_relro_required for ARM.
6879 * sysdeps/arm/preconfigure: Regenerate.
6881 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6882 Stefan Liebler <stli@linux.vnet.ibm.com>
6884 * config.make.in (enable-lock-elision): New Makefile variable.
6885 * configure.ac: Likewise.
6886 * configure: Regenerate.
6887 * sysdeps/s390/configure.ac:
6888 Add check for gcc transactions support.
6889 * sysdeps/s390/configure: Regenerate.
6890 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6891 Build elision files if enabled.
6892 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6893 Add lock elision support for s390.
6894 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6895 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6896 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6897 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6898 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6899 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6900 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6902 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6904 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6906 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6908 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6909 (__lll_timedlock_elision, __lll_lock_elision)
6910 (__lll_unlock_elision, __lll_trylock_elision)
6911 (lll_timedlock_elision, lll_lock_elision)
6912 (lll_unlock_elision, lll_trylock_elision): Add.
6913 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6914 (pthread_mutex_t): Add lock elision support for s390.
6916 2014-05-14 Wilco <wdijkstr@arm.com>
6918 * sysdeps/arm/fclrexcpt.c: Cleanup.
6919 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6920 * sysdeps/arm/feenablxcpt.c: Cleanup.
6921 * sysdeps/arm/fegetenv.c: Cleanup.
6922 * sysdeps/arm/fegetexcept.c: Cleanup.
6923 * sysdeps/arm/fegetround.c: Cleanup.
6924 * sysdeps/arm/feholdexcpt.c: Cleanup.
6925 * sysdeps/arm/fesetenv.c: Cleanup.
6926 * sysdeps/arm/fesetround.c: Cleanup.
6927 * sysdeps/arm/feupdateenv.c: Cleanup.
6928 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6929 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6930 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6931 * sysdeps/arm/ftestexcept.c: Cleanup.
6932 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6933 * sysdeps/arm/setfpucw.c: Cleanup.
6935 2014-05-09 Will Newton <will.newton@linaro.org>
6937 * sysdeps/arm/armv7/strcmp.S: New file.
6938 * NEWS: Mention addition of ARMv7 optimized strcmp.
6940 2014-05-08 Roland McGrath <roland@hack.frob.com>
6942 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6943 look for %.ac rather than %.in.
6945 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6946 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6947 * sysdeps/mach/hurd/configure: Regenerated.
6948 * sysdeps/unix/sysv/linux/configure: Regenerated.
6950 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6952 2014-05-07 Steve Ellcey <sellcey@mips.com>
6955 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6959 2014-05-07 Andreas Schwab <schwab@suse.de>
6961 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6962 when skipping over non-matching result from nscd.
6964 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6967 * nptl/sockperf.c (client): Check socket return value.
6970 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6971 nscd security class.
6973 2014-05-06 Roland McGrath <roland@hack.frob.com>
6975 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6976 * sysdeps/arm/unwind.h: ... here.
6978 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6981 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6984 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6986 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6987 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6988 multiarch strncpy for PPC64.
6989 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6990 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6991 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6992 multiarch optimizations.
6993 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6994 (__libc_ifunc_impl_list): Likewise.
6995 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6996 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6997 multiarch stpncpy for PPC64.
6998 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6999 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7001 2014-05-06 Andreas Schwab <schwab@suse.de>
7004 * gmon/mcount.c (_MCOUNT_DECL): Use
7005 atomic_compare_and_exchange_bool_acq instead of
7006 catomic_compare_and_exchange_bool_acq.
7008 2014-05-05 Roland McGrath <roland@hack.frob.com>
7010 * elf/Makefile (others, install-bin): Remove pldd.
7011 (pldd-modules): Variable removed.
7012 ($(objpfx)pldd): Target removed.
7013 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7014 (others, install-bin): Append pldd here.
7015 ($(objpfx)pldd): New target.
7017 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7018 to 0, so the first #if test emitted later doesn't see it undefined.
7019 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7020 * sysdeps/gnu/errlist.c: Regenerated.
7022 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7024 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7025 [libc_hidden_builtin_def]: Define to empty value.
7026 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7027 [libc_hidden_builtin_def]: Likewise.
7028 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7029 [libc_hidden_builtin_def]: Likewise.
7030 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7031 [libc_hidden_builtin_def]: Likewise.
7032 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7033 __redirect_memcpy and define ifunc as default hidden symbol.
7034 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7035 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7037 2014-05-04 Adam Conrad <adconrad@0c3.net>
7039 * locale/iso-4217.def: Reintroduce XDR currency.
7041 2014-05-04 Allan McRae <allan@archlinux.org>
7043 * po/eo.po: Update Esperanto translation from translation project.
7045 2014-05-02 Carlos O'Donell <carlos@redhat.com>
7047 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7048 and FEATURE_INDEX_MAX to 1.
7049 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7051 2014-05-01 Steve Ellcey <sellcey@mips.com>
7053 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7054 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7055 * iconvdata/big5.c (ONE_DIRECTION): Define.
7056 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7057 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7058 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7059 * iconvdata/cp932.c (ONE_DIRECTION): Define.
7060 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7061 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7062 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7063 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7064 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7065 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7066 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7067 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7068 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7069 * iconvdata/gbk.c (ONE_DIRECTION): Define.
7070 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7071 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7072 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7073 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7074 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7075 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7076 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7077 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7078 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7079 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7080 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7081 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7082 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7083 * iconvdata/iso646.c (ONE_DIRECTION): Define.
7084 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7085 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7086 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7087 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7088 * iconvdata/johab.c (ONE_DIRECTION): Define.
7089 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7090 * iconvdata/sjis.c (ONE_DIRECTION): Define.
7091 * iconvdata/t.61.c (ONE_DIRECTION): Define.
7092 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7093 * iconvdata/tscii.c (ONE_DIRECTION): Define.
7094 * iconvdata/uhc.c (ONE_DIRECTION): Define.
7095 * iconvdata/unicode.c (ONE_DIRECTION): Define.
7096 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7097 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7098 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7100 2014-05-01 Roland McGrath <roland@hack.frob.com>
7102 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7103 (_IO_JUMPS_OFFSET): Define to 0.
7105 * nptl/sysdeps/pthread/bits/libc-lock.h
7106 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7107 (__libc_lock_define_initialized_recursive): Always define using
7108 initializer. Modern compilers treat uninitialized (implicit zero) and
7109 explicit zero initializers the same (i.e. put the datum in bss).
7111 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7113 * nscd/nscd-client.h: Include <string.h>.
7115 2014-05-01 David S. Miller <davem@davemloft.net>
7118 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7119 multiple zero bytes exist at the end of a string.
7120 Reported by Aurelien Jarno <aurelien@aurel32.net>
7122 * string/test-strcmp.c (check): Add explicit test for situations where
7123 there are multiple zero bytes after the first.
7125 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7128 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7129 when compiling wprintf.
7130 * stdio-common/tstdiomisc.c (t3): New function.
7133 2014-05-01 Steve Ellcey <sellcey@mips.com>
7135 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7136 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7137 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7138 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7140 2014-05-01 Steve Ellcey <sellcey@mips.com>
7142 * stdlib/longlong.h: Updated from GCC.
7144 2014-05-01 Will Newton <will.newton@linaro.org>
7145 Bernard Ogden <bernie.ogden@linaro.org>
7147 * NEWS: Update fixed bug list.
7150 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7152 2014-04-30 David S. Miller <davem@davemloft.net>
7154 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7155 (libc_feholdexcept_setround_sparc_ctx): New function.
7156 (libc_fesetenv_sparc_ctx): Likewise.
7157 (libc_feupdateenv_sparc_ctx): Likewise.
7158 (libc_feholdsetround_sparc_ctx): Likewise.
7159 (libc_feholdexcept_setround_ctx): Define.
7160 (libc_feholdexcept_setroundf_ctx): Likewise.
7161 (libc_feholdexcept_setroundl_ctx): Likewise.
7162 (libc_fesetenv_ctx): Likewise.
7163 (libc_fesetenvf_ctx): Likewise.
7164 (libc_fesetenvl_ctx): Likewise.
7165 (libc_feupdateenv_ctx): Likewise.
7166 (libc_feupdateenvf_ctx): Likewise.
7167 (libc_feupdateenvl_ctx): Likewise.
7168 (libc_feresetround_ctx): Likewise.
7169 (libc_feresetroundf_ctx): Likewise.
7170 (libc_feresetroundl_ctx): Likewise.
7171 (libc_feholdsetround_ctx): Likewise.
7172 (libc_feholdsetroundf_ctx): Likewise.
7173 (libc_feholdsetroundl_ctx): Likewise.
7175 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7176 with __USE_GNU instead of XOPEN cpp guards.
7178 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7181 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7182 with XOPEN cpp guards.
7184 2014-04-30 Julian Brown <julian@codesourcery.com>
7187 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7190 2014-04-30 Joseph Myers <joseph@codesourcery.com>
7193 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7195 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7196 * sysdeps/unix/sysv/linux/configure: Regenerated.
7197 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7198 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7199 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7200 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7201 * README: Update reference to required Linux kernel version.
7202 * manual/install.texi (Linux): Update reference to required Linux
7203 kernel headers version.
7204 * INSTALL: Regenerated.
7206 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7208 [POSIX] (limits.h): Likewise.
7209 [POSIX] (math.h): Likewise.
7210 [POSIX] (sys/wait.h): Likewise.
7211 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7213 [POSIX] (stddef.h): Do not allow header inclusion.
7215 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7217 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7219 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
7221 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7222 Return immediately after lll_futex_wake.
7224 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7227 * nscd/nscd-client.h (datahead_init_common): Initialize entire
7229 (datahead_init_pos): Call datahead_init_common early.
7230 (datahead_init_neg): Likewise.
7232 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7233 datahead_init_neg): New functions.
7234 * nscd/aicache.c (addhstaiX): Use them.
7235 * nscd/grpcache.c (cache_addgr): Likewise.
7236 * nscd/hstcache.c (cache_addhst): Likewise.
7237 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7238 * nscd/netgroupcache.c (do_notfound): Likewise.
7239 (addgetnetgrentX): Likewise.
7240 (addinnetgrX): Likewise.
7241 * nscd/pwdcache.c (cache_addpw): Likewise.
7242 * nscd/servicescache.c (cache_addserv): Likewise.
7244 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7245 Atsushi Onoe <atsushi@onoe.org>
7250 * resolv/res_query.c (__libc_res_nsearch): Return if at least
7251 one response is valid.
7252 * resolv/res_send.c (send_dg): Check for validity of other
7253 response if the current response is a referral.
7255 2014-04-29 Steve Ellcey <sellcey@mips.com>
7257 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7259 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
7262 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7263 Always divide by positive zero when computing -Inf result.
7264 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7265 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7267 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7269 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7270 FPSCR if value do not change.
7271 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7272 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7273 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7274 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7275 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7276 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7279 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
7281 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7282 * sysdeps/unix/sysv/linux/hppa: Move directory from
7283 ports/systeps/unix/sysv/linux/hppa.
7284 * README: Update listing for hppa-*-linux-gnu.
7286 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
7289 * manual/stdio.texi (Hook functions): Fix types of stream hook
7292 * socket/sys/socket.h: Fix typo in comment.
7294 2014-04-28 Wilco <wdijkstr@arm.com>
7296 * sysdeps/arm/fenv_private.h: New file.
7297 * sysdeps/arm/math_private.h: New file.
7298 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7300 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
7302 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7304 (La_x86_64_retval): Likewise.
7306 2014-04-24 Ian Bolton <ian.bolton@arm.com>
7308 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7309 fpsr if value didn't change.
7310 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7311 to fpcr if value didn't change.
7312 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7313 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7314 fpsr or fpcr if value didn't change.
7315 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7316 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7317 fpcr if value didn't change.
7318 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7319 to fpsr if value didn't change.
7321 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7323 * nptl/tst-sem3.c: Use test-skeleton.c
7324 (main): Rename to do_test. Use return instead of
7326 * nptl/tst-sem4.c: Use test-skeleton.c
7327 (main): Rename to do_test.
7329 2014-04-22 David S. Miller <davem@davemloft.net>
7331 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7332 (struct sigaction): New struct member __glibc_reserved0, change
7333 type of sa_flags to int.
7335 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
7337 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7338 (COUNT_LEADING_ZEROS_0): Define for AArch64.
7340 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7342 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7343 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7345 2014-04-22 Will Newton <will.newton@linaro.org>
7346 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
7348 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7349 (__longjmp): Add longjmp and longjmp_target SystemTap
7351 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7352 (__sigsetjmp): Add setjmp SystemTap probe.
7354 2014-04-17 Carlos O'Donell <carlos@redhat.com>
7356 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7359 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7361 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7363 * sysdeps/powerpc/fpu/fenv_private.h
7364 (libc_feholdexcept_setroundl_ctx): Define to
7365 libc_feholdexcept_setround_ppc_ctx.
7366 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7367 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7368 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7369 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7371 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7373 * sysdeps/aarch64/math-tests.h: New file.
7375 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
7377 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7379 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7380 Check and set bit_AVX2_Usable.
7381 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7383 (bit_AVX2): Likewise.
7384 (index_AVX2_Usable): Likewise.
7385 (CPUID_AVX2): Likewise.
7386 (HAS_AVX2): Likewise.
7388 2014-04-17 Will Newton <will.newton@linaro.org>
7390 * manual/setjmp.texi (System V contexts): Add note that
7391 calling setcontext on a context created by a call to a
7392 signal handler is undefined. Update text to note that
7393 setcontext from a signal handler is possible but not
7397 * stdlib/tst-setcontext.c: Include signal.h.
7398 (main): Check that the signal stack before and
7399 after swapcontext is the same.
7401 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7402 Re-implement to restore registers in user code and avoid
7403 rt_sigreturn system call.
7405 2014-04-17 Wilco <wdijkstr@arm.com>
7407 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7408 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7409 * math/test-fenv.c: Skip exception trap tests on targets which only
7410 support non-stop mode.
7412 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7413 Wilco Dijkstra <wilco.dijkstra@arm.com>
7415 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7416 (libc_feholdsetround_aarch64_ctx)
7417 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7418 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7419 (libc_feresetround_ctx, libc_feresetroundf_ctx)
7420 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7421 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7422 (libc_feresetround_noexl_ctx): Define.
7424 2014-04-16 Richard Henderson <rth@redhat.com>
7426 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7428 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7431 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7432 const from the non-libc, non-ldso copy.
7434 * sysdeps/alpha/libm-test-ulps: Regenerate.
7436 2014-04-16 Ian Bolton <ian.bolton@arm.com>
7437 Wilco Dijkstra <wilco.dijkstra@arm.com>
7439 * sysdeps/aarch64/fpu/math_private.h: New file.
7441 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
7443 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7445 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
7448 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7449 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7450 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7451 Intel MPX bound registers before _dl_profile_fixup.
7452 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7453 registers after _dl_profile_fixup. Save and restore bound
7454 registers bnd0/bnd1 when calling _dl_call_pltexit.
7455 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7456 (LR_BND_OFFSET): Likewise.
7457 (LRV_BND0_OFFSET): Likewise.
7458 (LRV_BND1_OFFSET): Likewise.
7460 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7462 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7464 * sysdeps/mach/hurd/i386/tls.h: ... here.
7465 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7466 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7469 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7471 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7473 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7475 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7477 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7480 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7481 * sysdeps/s390/configure: Regenerate.
7484 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7485 Set round-to-nearest internally to reduce error accumulation.
7487 2014-04-16 Alan Modra <amodra@gmail.com>
7491 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7492 * math/libm-test.inc (frexp_test_data): Add tests.
7493 * NEWS: Update fixed bug list.
7495 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7497 * benchtests/Makefile: Depend on libraries in build directory.
7498 (bench-math): Separate out math tests.
7499 (bench-pthread): Separate out pthread tests.
7500 (bench): Include math and pthread tests.
7502 2014-04-14 Carlos O'Donell <carlos@redhat.com>
7505 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7506 _dl_debug_initialize.
7508 * configure.ac: Remove SELinux header check.
7509 * configure: Regenerate.
7510 * nscd/selinux.c (perms): Array of const char* to permission names.
7511 (nscd_request_avc_has_perm): Call security_deny_unknown to find
7512 default policy. Call string_to_security_class and string_to_av_perm to
7513 translate strings. Enforce default policy and call avs_has_perm with
7514 results of translated strings.
7516 2014-04-13 David S. Miller <davem@davemloft.net>
7518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7520 2014-04-12 Allan McRae <allan@archlinux.org>
7523 * manual/string.texi (Collation Functions): Fix qsort argument
7525 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7527 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
7529 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7530 Make the test a no-op if there are no exceptions defined.
7532 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7534 * elf/Makefile (tests): make tst-dlopen-aout conditional on
7535 enable-hardcoded-path-in-tests
7537 2014-04-11 Will Newton <will.newton@linaro.org>
7539 * benchtests/Makefile (extra-objs): Add json-lib.o.
7540 (bench-func): Tidy up JSON output.
7541 * benchtests/bench-skeleton.c: Include json-lib.h.
7542 (main): Use JSON library functions to do output of
7544 * benchtests/bench-timing-type.c (main): Output the
7545 timing type simply, leaving formatting to the user.
7546 * benchtests/json-lib.c: New file.
7547 * benchtests/json-lib.h: Likewise.
7549 2014-04-11 Torvald Riegel <triegel@redhat.com>
7552 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7553 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
7554 memory barriers. Add comments.
7555 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7556 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7557 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7558 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7559 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7560 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7562 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7564 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7565 * sysdeps/s390/s390-64/configure.ac: ... this ...
7566 * sysdeps/s390/configure.ac: ... to here.
7567 * sysdeps/s390/s390-32/configure: Delete file.
7568 * sysdeps/s390/s390-64/configure: Delete file.
7569 * sysdeps/s390/configure: Regenerate.
7571 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
7573 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7575 2014-04-11 Will Newton <will.newton@linaro.org>
7577 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7578 to zero if it is not defined elsewhere. (mtrim): Test
7579 the value of MALLOC_DEBUG with #if rather than #ifdef.
7581 2014-04-10 Torvald Riegel <triegel@redhat.com>
7583 * benchtests/pthread_once-inputs: New file.
7584 * benchtests/pthread_once-source.c: New file.
7585 * benchtests/README: Update documentation.
7587 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
7588 H.J. Lu <hongjiu.lu@intel.com>
7591 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7592 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7593 * sysdeps/x86_64/configure: Regenerated.
7594 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7596 (REGISTER_SAVE_RAX): Likewise.
7597 (REGISTER_SAVE_RCX): Likewise.
7598 (REGISTER_SAVE_RDX): Likewise.
7599 (REGISTER_SAVE_RSI): Likewise.
7600 (REGISTER_SAVE_RDI): Likewise.
7601 (REGISTER_SAVE_R8): Likewise.
7602 (REGISTER_SAVE_R9): Likewise.
7603 (REGISTER_SAVE_BND0): Likewise.
7604 (REGISTER_SAVE_BND1): Likewise.
7605 (REGISTER_SAVE_BND2): Likewise.
7606 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
7607 bound registers when calling _dl_fixup.
7609 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7611 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7612 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7614 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7615 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7616 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7617 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7618 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7619 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7620 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7622 2014-04-09 Peter Brett <peter@peter-b.co.uk>
7625 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7626 pathconf(_PC_NAME_MAX).
7628 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7630 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7632 (__PTHREAD_SPINS): Move definition to ...
7633 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7634 (__PTHREAD_SPINS): ... here.
7635 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7636 (__PTHREAD_SPIN): Likewise.
7637 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7638 (__PTHREAD_SPIN): Likewise.
7639 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7640 (__PTHREAD_SPIN): Likewise.
7641 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7642 (__PTHREAD_SPIN): Likewise.
7643 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7644 (__PTHREAD_SPIN): Likewise.
7645 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7646 (__PTHREAD_SPIN): Likewise.
7647 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7648 (__PTHREAD_SPIN): Likewise.
7649 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7650 (__PTHREAD_SPIN): Likewise.
7651 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7652 (__PTHREAD_SPIN): Likewise.
7653 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7654 (__PTHREAD_SPIN): Likewise.
7655 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7656 (__PTHREAD_SPIN): Likewise.
7657 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7658 (__PTHREAD_SPIN): Likewise.
7660 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7661 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7662 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7663 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7665 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7666 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7667 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7668 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7670 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7671 strlen symbol for non multi-arch builds.
7672 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7673 missing hidden_def and weak_alias.
7675 2014-04-08 Carlos O'Donell <carlos@redhat.com>
7677 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7679 2014-04-07 Will Newton <will.newton@linaro.org>
7681 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7682 and contents. [!_LIBC] Remove #ifndef and contents.
7683 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7684 * string/memccpy.c (__memccpy): Use ANSI prototype.
7685 * string/memfrob.c (memfrob): Likewise.
7686 * string/strcoll.c (STRCOLL): Likewise.
7687 * string/strlen.c (strlen): Likewise.
7688 * string/strtok.c (STRTOK): Likewise.
7689 * string/strcat.c: Remove unused #include of memcopy.h.
7690 (strcat): Use ANSI prototype.
7691 * string/strchr.c: Remove unused #include of memcopy.h.
7692 (strchr): Use ANSI prototype.
7693 * string/strcmp.c: Remove unused #include of memcopy.h.
7694 (strcmp): Use ANSI prototype.
7695 * string/strcpy.c: Remove unused #include of memcopy.h.
7696 (strcpy): Use ANSI prototype.
7698 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7700 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7701 * config.make.in (config-extra-cppflags): Set it from
7702 libc_extra_cppflags.
7703 * configure.ac (libc_extra_cflags): Make it accumulate over
7704 configure fragments.
7705 (libc_extra_cppflags): New flag.
7706 * configure. Regenerate.
7707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7708 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7709 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7713 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7714 result for FE_DOWNWARD rounding mode.
7715 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7719 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7721 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7722 in function argument name.
7724 2014-04-03 David Svoboda <svoboda@cert.org>
7727 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7730 2014-04-03 Roland McGrath <roland@hack.frob.com>
7732 * elf/dl-unmap-segments.h: New file.
7733 * sysdeps/generic/ldsodefs.h
7734 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7735 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7736 * elf/dl-fptr.c: Likewise.
7737 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7738 * sysdeps/aarch64/tlsdesc.c: Likewise.
7739 * sysdeps/arm/tlsdesc.c: Likewise.
7740 * sysdeps/i386/tlsdesc.c: Likewise.
7741 * sysdeps/tile/dl-runtime.c: Likewise.
7742 * sysdeps/x86_64/tlsdesc.c: Likewise.
7743 * elf/dl-load.h: New file.
7744 * elf/dl-load.c: Include it.
7745 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7746 Macros moved to dl-load.h.
7747 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7748 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7749 Use _dl_unmap_segments in place of __munmap.
7750 Break out segment-mapping loop into ...
7751 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7753 2014-04-03 Will Newton <will.newton@linaro.org>
7755 * elf/dl-lookup.c (do_lookup_x): Remove comment
7756 referring to nested function and move variable
7757 declarations down to before first use.
7759 2014-04-02 Joseph Myers <joseph@codesourcery.com>
7763 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7765 * math/s_catanf.c (__catanf): Likewise.
7766 * math/s_catanh.c (__catanh): Likewise.
7767 * math/s_catanhf.c (__catanhf): Likewise.
7768 * math/s_catanhl.c (__catanhl): Likewise.
7769 * math/s_catanl.c (__catanl): Likewise.
7770 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7771 by positive zero when computing -Inf result.
7772 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7773 (catanh_test): Likewise.
7774 * sysdeps/i386/fpu/libm-test-ulps: Update.
7775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7778 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7779 instead of using underflowing value in computing result.
7780 * math/s_clog10.c (__clog10): Likewise.
7781 * math/s_clog10f.c (__clog10f): Likewise.
7782 * math/s_clog10l.c (__clog10l): Likewise.
7783 * math/s_clogf.c (__clogf): Likewise.
7784 * math/s_clogl.c (__clogl): Likewise.
7785 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7786 (clog10_test): Likewise.
7787 * sysdeps/i386/fpu/libm-test-ulps: Update.
7788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7790 2014-04-02 Alan Modra <amodra@gmail.com>
7793 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7794 output when value is near a power of two. Use int64_t for lx and
7795 remove casts. Use decimal rather than hex exponent constants.
7796 Don't use long double multiplication when double will suffice.
7797 * math/libm-test.inc (nextafter_test_data): Add tests.
7798 * NEWS: Add 16739 and 16786 to bug list.
7800 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7802 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7804 2014-04-01 Will Newton <will.newton@linaro.org>
7806 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7807 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7809 2014-04-01 Florian Weimer <fweimer@redhat.com>
7812 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7813 * nptl/tst-setuid2.c: New file.
7814 * nptl/Makefile (xtests): Add tst-setuid2.
7816 2014-04-01 Alan Modra <amodra@gmail.com>
7819 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7821 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7825 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7826 set errno as appropriate.
7827 * math/w_scalbf.c (__scalbf): Likewise.
7828 * math/w_scalbl.c (__scalbl): Likewise.
7829 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7830 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7831 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7835 * math/w_atan2.c: Include <errno.h>.
7836 (__atan2): Set errno for result underflowing to zero.
7837 * math/w_atan2f.c: Include <errno.h>.
7838 (__atan2f): Set errno for result underflowing to zero.
7839 * math/w_atan2l.c: Include <errno.h>.
7840 (__atan2l): Set errno for result underflowing to zero.
7841 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7843 * math/auto-libm-test-out: Regenerated.
7845 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7847 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7848 Encode instruction correctly in little endian.
7849 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7851 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7853 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7855 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7858 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7861 * sysdeps/unix/sysv/linux/kernel-features.h
7862 [__sparc__ && !__arch64__ && !__sparc_v9__]
7863 (__ASSUME_SET_ROBUST_LIST): Do not define.
7864 [__sparc__ && !__arch64__ && !__sparc_v9__]
7865 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7866 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7868 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7869 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7870 (__ASSUME_REQUEUE_PI): Likewise.
7871 (__ASSUME_SET_ROBUST_LIST): Likewise.
7872 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7873 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7875 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7876 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7878 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7880 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7882 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7883 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7885 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7886 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7890 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7891 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7892 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7894 2014-03-31 Will Newton <will.newton@linaro.org>
7896 * benchtests/Makefile (bench): Add ffs and ffsll to list
7898 * benchtests/ffs-inputs: New file.
7899 * benchtests/ffsll-inputs: Likewise.
7901 2014-03-29 Joseph Myers <joseph@codesourcery.com>
7904 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7905 too large before casting to int.
7906 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7907 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7908 * math/libm-test.inc (scalb_test_data): Add more tests.
7910 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7912 * benchtests/Makefile (DETAILED_OPT): New make option.
7913 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7915 * benchtests/bench-skeleton.c: Include stdbool.h.
7916 (main): Store and print timings per input.
7917 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7918 member to each argument value.
7919 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7920 (_print_arg_data): Initialize per-input timing to 0.
7922 * benchtests/Makefile (timing-type): New binary.
7923 (bench-clean): Also remove bench-timing-type.
7924 (bench): New target for timing-type.
7925 (bench-func): Print output in JSON format.
7926 * benchtests/bench-skeleton.c (main): Print output in JSON
7928 * benchtests/bench-timing-type.c: New file.
7929 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7930 (TIMING_PRINT_STATS): Remove.
7931 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7934 * benchtests/bench-modf.c: Remove.
7935 * benchtests/modf-inputs: New inputs file.
7937 2014-03-28 Joseph Myers <joseph@codesourcery.com>
7940 * math/s_clog10.c (M_PI_LOG10E): New macro.
7941 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7942 imaginary parts are 0.
7943 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7944 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7945 imaginary parts are 0.
7946 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7947 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7948 imaginary parts are 0.
7949 * math/libm-test.inc (clog10_test_data): Update expected results
7950 for when real and imaginary parts are 0.
7952 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7954 * elf/dl-load.c: Finish conversion of __builtin_expect into
7957 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7960 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7961 1+x for argument with exponent below -67.
7962 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7964 * math/auto-libm-test-in: Add more tests of exp.
7965 * math/auto-libm-test-out: Regenerated.
7967 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7970 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7971 (nscd_getnetgrent): Use it.
7974 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7977 2014-03-27 Andi Kleen <ak@linux.intel.com>
7979 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7980 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7981 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7982 (lll_robust_unlock): Remove out of line section. Use cfi
7984 (LLL_STUB_UNWIND_INFO*): Remove.
7985 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7986 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7987 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7988 (lll_robust_unlock): Remove out of line section. Use cfi
7990 (LLL_STUB_UNWIND_INFO*): Remove.
7992 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7995 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7998 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
8000 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8002 2014-03-26 Joseph Myers <joseph@codesourcery.com>
8005 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8007 * math/test-fenv-preserve.c: New file.
8008 * math/Makefile (tests): Add test-fenv-preserve.
8010 2014-03-26 Will Newton <will.newton@linaro.org>
8012 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8014 2014-03-25 Roland McGrath <roland@hack.frob.com>
8016 * scripts/versionlist.awk: Partition the version sets and emit all
8017 GLIBC_* (sorted) before all others (sorted).
8019 2014-03-25 Joseph Myers <joseph@codesourcery.com>
8021 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8022 GLIBC_2.2.5 version.
8024 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8026 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8029 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8034 2014-03-25 Andreas Schwab <schwab@suse.de>
8036 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8037 label to be used after in6ailist is initialized.
8039 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8041 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8042 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8044 2014-03-25 Joseph Myers <joseph@codesourcery.com>
8048 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8050 (fp_formats): Update initializers.
8051 (init_fp_formats): Initialize new field.
8052 (output_for_one_input_case): Allow underflow for results up to
8054 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8055 * math/auto-libm-test-in: Don't mark some underflows from asin and
8057 * math/auto-libm-test-out: Regenerated.
8058 * sysdeps/i386/fpu/libm-test-ulps: Update.
8059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8061 2014-03-25 Andreas Schwab <schwab@suse.de>
8063 * libio/Makefile (tst-ftell-partial-wide-ENV)
8064 (tst-ftell-active-handler-ENV): Define.
8066 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8068 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8070 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8072 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8074 2014-03-24 Joseph Myers <joseph@codesourcery.com>
8076 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8077 * sysdeps/x86_64/fpu/multiarch/e_exp.c
8078 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8080 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8083 * elf/dl-load.c (open_verify): Add mode parameter.
8084 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8085 (open_path): Change from boolean 'secure' to complete flag 'mode'
8086 (_dl_map_object): Adjust.
8087 * elf/Makefile (tests): Add tst-dlopen-aout.
8088 * elf/tst-dlopen-aout.c: New test.
8090 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8093 * sysdeps/unix/sysv/linux/s390/bits/stat.h
8094 (struct stat): Rename member pad0 to __glibc_reserved0.
8097 * sysdeps/s390/s390-32/bits/wordsize.h
8098 (__WORDSIZE32_SIZE_ULONG): New define.
8099 * sysdeps/s390/s390-64/bits/wordsize.h
8100 (__WORDSIZE32_SIZE_ULONG): Likewise.
8101 * sysdeps/generic/stdint.h (SIZE_MAX):
8102 Define as UL if __WORDSIZE32_SIZE_ULONG.
8105 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8106 (__glibc_reserved0): New variable.
8107 (sa_flags): Change type to int.
8109 * posix/Makefile (before-compile): Use += before-compile instead
8112 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8113 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8115 2014-03-20 Andreas Schwab <schwab@suse.de>
8118 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8119 non-matching result from nscd.
8121 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8123 * scripts/bench.py: Moved to ...
8124 * benchtests/scripts/bench.py: ... here.
8125 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8127 2014-03-24 Andreas Schwab <schwab@suse.de>
8130 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8131 alloca_account and account alloca use for struct in6ailist.
8133 2014-03-24 Joseph Myers <joseph@codesourcery.com>
8136 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8137 rounding mode to recompute results that overflow to infinity or
8139 * math/auto-libm-test-in: Don't mark tests as expected to fail for
8141 * math/auto-libm-test-out: Regenerated.
8142 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8143 (ccosh_test): Likewise.
8144 (csin_test_data): Use plus_oflow.
8145 (csin_test): Use ALL_RM_TEST.
8146 (csinh_test_data): Use plus_oflow.
8147 (csinh_test): Use ALL_RM_TEST.
8148 * sysdeps/i386/fpu/libm-test-ulps: Update.
8149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8151 2014-03-21 Joseph Myers <joseph@codesourcery.com>
8153 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8154 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8155 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8158 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8160 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8161 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8162 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8163 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8165 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8166 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8168 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8169 * sysdeps/i386/fpu/libm-test-ulps: Update.
8170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8172 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8174 * scripts/bench.pl: Remove file.
8175 * scripts/bench.py: New benchmark script.
8176 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8177 * benchtests/README: Mention python dependency.
8178 * scripts/pylintrc: New file.
8179 * scripts/pylint: New file.
8181 * bits/mathdef.h: Use #ifdef instead of #if.
8182 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8183 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8184 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8185 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8186 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8187 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8189 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8190 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8192 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8193 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8194 and strpbrk-ppc64 objects.
8195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8196 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8197 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8198 multiarch strpbrk for POWER7.
8199 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8200 multiarch strpbrk for PPC64.
8201 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8203 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8206 2014-03-20 Joseph Myers <joseph@codesourcery.com>
8208 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8209 (atan_test): Likewise.
8210 (atanh_test_data): Use NO_TEST_INLINE for two tests.
8211 (atanh_test): Use ALL_RM_TEST.
8212 (atan2_test_data): Likewise.
8213 (cabs_test): Likewise.
8214 (cacosh_test): Likewise.
8215 (carg_test): Likewise.
8216 (casin_test): Likewise.
8217 (casinh_test): Likewise.
8218 (cbrt_test): Likewise.
8219 (csqrt_test): Likewise.
8220 (erf_test): Likewise.
8221 (erfc_test): Likewise.
8222 (pow10_test): Likewise.
8223 (exp2_test): Likewise.
8224 (hypot_test): Likewise.
8225 (j0_test): Likewise.
8226 (j1_test): Likewise.
8227 (lgamma_test): Likewise.
8228 (gamma_test): Likewise.
8229 (sincos_test): Likewise.
8230 (tanh_test): Likewise.
8231 (y0_test): Likewise.
8232 (y1_test): Likewise.
8233 * sysdeps/i386/fpu/libm-test-ulps: Update.
8234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8236 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8238 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8239 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8240 and strcspn-ppc64 objects.
8241 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8242 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8243 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8244 multiarch strcspn for POWER7.
8245 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8246 multiarch strcspn for PPC64.
8247 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8249 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8252 2014-03-20 Joseph Myers <joseph@codesourcery.com>
8254 * math/gen-libm-test.pl (generate_testfile): Expect only function
8255 name as argument to AUTO_TESTS_* and pass results for all rounding
8256 modes to parse_args.
8257 (parse_auto_input): Separate inputs of automatic tests from
8258 outputs before storing in %auto_tests.
8259 * math/libm-test.inc (acos_test_data): Update call to
8261 (acos_test): Use ALL_RM_TEST.
8262 (acos_tonearest_test_data): Remove.
8263 (acos_test_tonearest): Likewise.
8264 (acos_towardzero_test_data): Likewise.
8265 (acos_test_towardzero): Likewise.
8266 (acos_downward_test_data): Likewise.
8267 (acos_test_downward): Likewise.
8268 (acos_upward_test_data): Likewise.
8269 (acos_test_upward): Likewise.
8270 (acosh_test_data): Update call to AUTO_TESTS_f_f.
8271 (asin_test_data): Likewise.
8272 (asin_test): Use ALL_RM_TEST.
8273 (asin_tonearest_test_data): Remove.
8274 (asin_test_tonearest): Likewise.
8275 (asin_towardzero_test_data): Likewise.
8276 (asin_test_towardzero): Likewise.
8277 (asin_downward_test_data): Likewise.
8278 (asin_test_downward): Likewise.
8279 (asin_upward_test_data): Likewise.
8280 (asin_test_upward): Likewise.
8281 (asinh_test_data): Update call to AUTO_TESTS_f_f.
8282 (atan_test_data): Likewise.
8283 (atanh_test_data): Likewise.
8284 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8285 (cabs_test_data): Update call to AUTO_TESTS_c_f.
8286 (carg_test_data): Likewise.
8287 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8288 (ccos_test_data): Update call to AUTO_TESTS_c_c.
8289 (ccosh_test_data): Likewise.
8290 (cexp_test_data): Likewise.
8291 (clog_test_data): Likewise.
8292 (clog10_test_data): Likewise.
8293 (cos_test_data): Update call to AUTO_TESTS_f_f.
8294 (cos_test): Use ALL_RM_TEST.
8295 (cos_tonearest_test_data): Remove.
8296 (cos_test_tonearest): Likewise.
8297 (cos_towardzero_test_data): Likewise.
8298 (cos_test_towardzero): Likewise.
8299 (cos_downward_test_data): Likewise.
8300 (cos_test_downward): Likewise.
8301 (cos_upward_test_data): Likewise.
8302 (cos_test_upward): Likewise.
8303 (cosh_test_data): Update call to AUTO_TESTS_f_f.
8304 (cosh_test): Use ALL_RM_TEST.
8305 (cosh_tonearest_test_data): Remove.
8306 (cosh_test_tonearest): Likewise.
8307 (cosh_towardzero_test_data): Likewise.
8308 (cosh_test_towardzero): Likewise.
8309 (cosh_downward_test_data): Likewise.
8310 (cosh_test_downward): Likewise.
8311 (cosh_upward_test_data): Likewise.
8312 (cosh_test_upward): Likewise.
8313 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8314 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8315 (ctan_test_data): Likewise.
8316 (ctan_test): Use ALL_RM_TEST.
8317 (ctan_tonearest_test_data): Remove.
8318 (ctan_test_tonearest): Likewise.
8319 (ctan_towardzero_test_data): Likewise.
8320 (ctan_test_towardzero): Likewise.
8321 (ctan_downward_test_data): Likewise.
8322 (ctan_test_downward): Likewise.
8323 (ctan_upward_test_data): Likewise.
8324 (ctan_test_upward): Likewise.
8325 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8326 (ctanh_test): Use ALL_RM_TEST.
8327 (ctanh_tonearest_test_data): Remove.
8328 (ctanh_test_tonearest): Likewise.
8329 (ctanh_towardzero_test_data): Likewise.
8330 (ctanh_test_towardzero): Likewise.
8331 (ctanh_downward_test_data): Likewise.
8332 (ctanh_test_downward): Likewise.
8333 (ctanh_upward_test_data): Likewise.
8334 (ctanh_test_upward): Likewise.
8335 (erf_test_data): Update call to AUTO_TESTS_f_f.
8336 (erfc_test_data): Likewise.
8337 (exp_test_data): Likewise.
8338 (exp_test): Use ALL_RM_TEST.
8339 (exp_tonearest_test_data): Remove.
8340 (exp_test_tonearest): Likewise.
8341 (exp_towardzero_test_data): Likewise.
8342 (exp_test_towardzero): Likewise.
8343 (exp_downward_test_data): Likewise.
8344 (exp_test_downward): Likewise.
8345 (exp_upward_test_data): Likewise.
8346 (exp_test_upward): Likewise.
8347 (exp10_test_data): Update call to AUTO_TESTS_f_f.
8348 (exp10_test): Use ALL_RM_TEST.
8349 (exp10_tonearest_test_data): Remove.
8350 (exp10_test_tonearest): Likewise.
8351 (exp10_towardzero_test_data): Likewise.
8352 (exp10_test_towardzero): Likewise.
8353 (exp10_downward_test_data): Likewise.
8354 (exp10_test_downward): Likewise.
8355 (exp10_upward_test_data): Likewise.
8356 (exp10_test_upward): Likewise.
8357 (exp2_test_data): Update call to AUTO_TESTS_f_f.
8358 (expm1_test_data): Likewise.
8359 (expm1_test): Use ALL_RM_TEST.
8360 (expm1_tonearest_test_data): Remove.
8361 (expm1_test_tonearest): Likewise.
8362 (expm1_towardzero_test_data): Likewise.
8363 (expm1_test_towardzero): Likewise.
8364 (expm1_downward_test_data): Likewise.
8365 (expm1_test_downward): Likewise.
8366 (expm1_upward_test_data): Likewise.
8367 (expm1_test_upward): Likewise.
8368 (fma_test_data): Update call to AUTO_TESTS_fff_f.
8369 (fma_test): Use ALL_RM_TEST.
8370 (fma_towardzero_test_data): Remove.
8371 (fma_test_towardzero): Likewise.
8372 (fma_downward_test_data): Likewise.
8373 (fma_test_downward): Likewise.
8374 (fma_upward_test_data): Likewise.
8375 (fma_test_upward): Likewise.
8376 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8377 (j0_test_data): Update call to AUTO_TESTS_f_f.
8378 (j1_test_data): Likewise.
8379 (jn_test_data): Update call to AUTO_TESTS_if_f.
8380 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8381 (log_test_data): Update call to AUTO_TESTS_f_f.
8382 (log10_test_data): Likewise.
8383 (log1p_test_data): Likewise.
8384 (log2_test_data): Likewise.
8385 (pow_test_data): Update call to AUTO_TESTS_ff_f.
8386 (pow_tonearest_test_data): Likewise.
8387 (sin_test_data): Update call to AUTO_TESTS_f_f.
8388 (sin_test): Use ALL_RM_TEST.
8389 (sin_tonearest_test_data): Remove.
8390 (sin_test_tonearest): Likewise.
8391 (sin_towardzero_test_data): Likewise.
8392 (sin_test_towardzero): Likewise.
8393 (sin_downward_test_data): Likewise.
8394 (sin_test_downward): Likewise.
8395 (sin_upward_test_data): Likewise.
8396 (sin_test_upward): Likewise.
8397 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8398 (sinh_test_data): Update call to AUTO_TESTS_f_f.
8399 (sinh_test): Use ALL_RM_TEST.
8400 (sinh_tonearest_test_data): Remove.
8401 (sinh_test_tonearest): Likewise.
8402 (sinh_towardzero_test_data): Likewise.
8403 (sinh_test_towardzero): Likewise.
8404 (sinh_downward_test_data): Likewise.
8405 (sinh_test_downward): Likewise.
8406 (sinh_upward_test_data): Likewise.
8407 (sinh_test_upward): Likewise.
8408 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8409 (sqrt_test): Use ALL_RM_TEST.
8410 (sqrt_tonearest_test_data): Remove.
8411 (sqrt_test_tonearest): Likewise.
8412 (sqrt_towardzero_test_data): Likewise.
8413 (sqrt_test_towardzero): Likewise.
8414 (sqrt_downward_test_data): Likewise.
8415 (sqrt_test_downward): Likewise.
8416 (sqrt_upward_test_data): Likewise.
8417 (sqrt_test_upward): Likewise.
8418 (tan_test_data): Update call to AUTO_TESTS_f_f.
8419 (tan_test): Use ALL_RM_TEST.
8420 (tan_tonearest_test_data): Remove.
8421 (tan_test_tonearest): Likewise.
8422 (tan_towardzero_test_data): Likewise.
8423 (tan_test_towardzero): Likewise.
8424 (tan_downward_test_data): Likewise.
8425 (tan_test_downward): Likewise.
8426 (tan_upward_test_data): Likewise.
8427 (tan_test_upward): Likewise.
8428 (tanh_test_data): Update call to AUTO_TESTS_f_f.
8429 (tgamma_test_data): Likewise.
8430 (y0_test_data): Likewise.
8431 (y1_test_data): Likewise.
8432 (yn_test_data): Update call to AUTO_TESTS_if_f.
8433 (main): Do not call removed functions.
8435 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8437 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8438 (ldexp_test_data): Remove.
8439 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
8441 (scalb_test): Use ALL_RM_TEST.
8443 2014-03-19 Andreas Schwab <schwab@suse.de>
8445 * nscd/nscd.service: Also invalidate netgroup cache on reload.
8447 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8450 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8451 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8452 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8453 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8454 (__ASSUME_PREADV): Undefine.
8455 (__ASSUME_PWRITEV): Likewise.
8457 2014-03-18 Roland McGrath <roland@hack.frob.com>
8459 * bits/mman-linux.h: Add comment about non-Linux use.
8460 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8461 bits/mman-linux.h resting place.
8463 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8464 * bits/mman-linux.h: ... here.
8466 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8468 * conform/conformtest.pl: Add standard definition when calling C
8469 preprocessor on data files.
8470 (checknamespace): Remove unused variable.
8472 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8474 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8475 minus_oflow, plus_uflow and minus_uflow in expected results.
8476 * math/libm-test.inc (scalbn_test_data): Add more tests of
8477 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
8479 (scalbn_test): Use ALL_RM_TEST.
8480 (scalbln_test_data): Add more tests of negative arguments. Use
8481 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8482 (scalbln_test): Use ALL_RM_TEST.
8484 2014-03-18 Roland McGrath <roland@hack.frob.com>
8486 * scripts/abilist.awk: Ignore symbols marked with .hidden.
8488 2014-03-18 Will Newton <will.newton@linaro.org>
8490 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8493 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8495 * Makerules [!subdir] (check-abi): Exit with error status if a
8498 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8500 * math/libm-test.inc (nearbyint_test_data): Include all tests used
8501 for rint. Include results for all rounding modes.
8502 (nearbyint_test): Use ALL_RM_TEST.
8503 (rint_test_data): Include all tests used for nearbyint.
8505 2014-03-17 Will Newton <will.newton@linaro.org>
8507 * nptl/sysdeps/pthread/pthread.h: Revert previous
8510 * sysdeps/generic/ldsodefs.h: Revert previous
8513 * libio/genops.c: Revert previous change.
8514 * libio/libioP.h: Likewise.
8515 * stdio-common/vfprintf.c: Likewise.
8517 * sysdeps/generic/math_private.h: Revert previous
8520 * sysdeps/generic/math_private.h: Check whether
8521 HAVE_RM_CTX is defined with #ifdef rather
8524 * argp/argp-fmtstream.h: Check whether
8525 __STRICT_ANSI__ is defined with #ifdef rather
8527 * argp/argp.h: Likewise.
8529 * libio/genops.c: Check whether
8530 _IO_JUMPS_OFFSET is defined with #ifdef rather
8532 * libio/libioP.h: Likewise.
8533 * stdio-common/vfprintf.c: Likewise.
8535 * sysdeps/generic/ldsodefs.h: Check whether
8536 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8539 * nptl/sysdeps/pthread/pthread.h: Check
8540 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8543 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8545 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8547 * libio/tst-ftell-active-handler.c (do_append_test): Add a
8551 * libio/fileops.c (_IO_file_open): Seek to end of file but
8552 don't cache the offset.
8553 (get_file_offset): Remove function.
8554 (do_ftell): Use cached offset when available.
8555 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8556 don't cache the offset.
8557 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8559 (do_one_test): Call it.
8560 (do_ftell_test): Fix up expected old offset for a+ mode.
8561 * libio/wfileops.c (do_ftell_wide): Used cached offset when
8564 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8565 up test status with function return status.
8566 (do_write_test): Likewise.
8567 (do_append_test): Likewise.
8569 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8570 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8573 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8575 * math/gen-libm-test.pl (parse_args): Handle results specified for
8576 each rounding mode separately.
8577 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8578 tests and results from lrint_tonearest_test_data,
8579 lrint_towardzero_test_data, lrint_downward_test_data and
8580 lrint_upward_test_data.
8581 (lrint_test): Use ALL_RM_TEST.
8582 (lrint_tonearest_test_data): Remove.
8583 (lrint_test_tonearest): Likewise.
8584 (lrint_towardzero_test_data): Likewise.
8585 (lrint_test_towardzero): Likewise.
8586 (lrint_downward_test_data): Likewise.
8587 (lrint_test_downward): Likewise.
8588 (lrint_upward_test_data): Likewise.
8589 (lrint_test_upward): Likewise.
8590 (llrint_test_data): Merge in per-rounding-mode tests and results
8591 from llrint_tonearest_test_data, llrint_towardzero_test_data,
8592 llrint_downward_test_data and llrint_upward_test_data.
8593 (llrint_test): Use ALL_RM_TEST.
8594 (llrint_tonearest_test_data): Remove.
8595 (llrint_test_tonearest): Likewise.
8596 (llrint_towardzero_test_data): Likewise.
8597 (llrint_test_towardzero): Likewise.
8598 (llrint_downward_test_data): Likewise.
8599 (llrint_test_downward): Likewise.
8600 (llrint_upward_test_data): Likewise.
8601 (llrint_test_upward): Likewise.
8602 (rint_test_data): Merge in per-rounding-mode tests and results
8603 from rint_tonearest_test_data, rint_towardzero_test_data,
8604 rint_downward_test_data and rint_upward_test_data. Add
8605 per-rounding-mode results for tests not in those arrays.
8606 (rint_test): Use ALL_RM_TEST.
8607 (rint_tonearest_test_data): Remove.
8608 (rint_test_tonearest): Likewise.
8609 (rint_towardzero_test_data): Likewise.
8610 (rint_test_towardzero): Likewise.
8611 (rint_downward_test_data): Likewise.
8612 (rint_test_downward): Likewise.
8613 (rint_upward_test_data): Likewise.
8614 (rint_test_upward): Likewise.
8615 (main): Don't call removed functions.
8617 2014-03-14 Roland McGrath <roland@hack.frob.com>
8619 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8620 "Compiled on ..." crapola. It is anti-useful.
8622 2014-03-14 Joseph Myers <joseph@codesourcery.com>
8624 * scripts/evaluate-test.sh: Handle fourth argument to determine
8625 whether test run should stop on failure.
8626 * Makeconfig (stop-on-test-failure): New variable.
8627 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8628 $(stop-on-test-failure).
8629 * Makefile (tests): Give a summary of results from testing and
8630 exit with failure status if they include an ERROR or FAIL.
8632 * manual/install.texi (Configuring and compiling): Mention
8633 stop-on-test-failure=y.
8634 * INSTALL: Regenerated.
8636 2014-03-14 Roland McGrath <roland@hack.frob.com>
8638 * scripts/versionlist.awk: New file.
8639 * Makerules [$(build-shared) = yes]
8640 (postclean-generated): Add Versions.def, not Versions.def.v and
8642 ($(common-objpfx)Versions.def.v.i): Target removed.
8643 ($(common-objpfx)Versions.def): New target.
8644 ($(common-objpfx)Versions.all): Depend on that rather that
8645 $(common-objpfx)Versions.def.v.
8646 * Versions.def: File removed.
8648 * Makeconfig (+gccwarn): Add -Wundef.
8649 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8650 a dl-sysdep.h breaking its contract.
8651 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8652 * include/stackinfo.h: New file.
8653 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8654 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8655 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8656 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8657 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8658 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8659 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8660 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8661 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8662 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8663 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8664 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8665 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8666 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8667 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8669 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8672 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8674 * math/libm-test.inc (round_test_data): Add more tests.
8677 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8679 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8682 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8684 * math/libm-test.inc (ceil_test_data): Add more tests.
8686 * math/libm-test.inc (trunc_test_data): Add more tests related to
8689 2014-03-14 Roland McGrath <roland@hack.frob.com>
8691 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8692 with #if rather than #ifdef.
8693 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8695 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8697 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8698 first. Disable AVX-512 GCC support if assembler doesn't support
8700 * sysdeps/x86_64/configure: Regenerated.
8702 2014-03-13 Carlos O'Donell <carlos@redhat.com>
8704 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8705 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8706 (__old_pthread_attr_setstack): Likewise.
8707 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8708 [!_STACK_GROWS_DOWN]: Likewise.
8710 2014-03-13 Mike Frysinger <vapier@gentoo.org>
8712 * config.make.in (have-bash2): Delete.
8713 * configure.ac (libc_cv_have_bash2): Delete.
8714 * configure: Regenerate.
8715 * elf/Makefile (common-ldd-rewrite): Rename to ...
8716 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8717 (sh-ldd-rewrite): Delete.
8718 (bash-ldd-rewrite): Delete.
8719 (have-bash2): Delete checks.
8720 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8723 * config.make.in (have-ksh): Delete.
8725 * configure.ac (libc_cv_have_ksh): Delete.
8726 * configure: Regenerate.
8728 * elf/Makefile: Delete $(have-ksh) check.
8729 ($(objpfx)sotruss): Change KSH to BASH.
8730 * elf/sotruss.ksh: Rename to ...
8731 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8732 function style to match POSIX. Drop ksh vim mode setting.
8734 * manual/time.texi (Specifying the Time Zone with TZ): Change
8735 Tuesday to Thursday.
8737 * debug/tst-longjmp_chk2.c: Update header comment.
8738 (stackoverflow_handler): Add comment. Call assert on pass value.
8740 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8743 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8744 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8745 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8746 (La_x86_64_vector): Add zmm.
8747 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8748 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8749 ($(objpfx)tst-audit10): New target.
8750 ($(objpfx)tst-audit10.out): Likewise.
8751 (tst-audit10-ENV): New.
8752 (AVX512-CFLAGS): Likewise.
8753 (CFLAGS-tst-audit10.c): Likewise.
8754 (CFLAGS-tst-auditmod10a.c): Likewise.
8755 (CFLAGS-tst-auditmod10b.c): Likewise.
8756 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8757 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8758 * sysdeps/x86_64/configure: Regenerated.
8759 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8760 AVX-512 zmm register support.
8761 (_dl_x86_64_save_sse): Likewise.
8762 (_dl_x86_64_restore_sse): Likewise.
8763 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8764 size vector registers.
8765 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8766 (ZMM_SIZE): Likewise.
8767 * sysdeps/x86_64/tst-audit10.c: New file.
8768 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8769 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8771 2014-03-13 Roland McGrath <roland@hack.frob.com>
8773 * configure.ac (HAVE_EHDR_START): New check.
8774 * configure: Regenerated.
8775 * config.h.in (HAVE_EHDR_START): New #undef.
8776 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8777 assuming the lowest-addressed segment maps the start of the file.
8779 2014-03-13 Joseph Myers <joseph@codesourcery.com>
8781 * INSTALL: Regenerated.
8783 2014-03-13 Will Newton <will.newton@linaro.org>
8785 * manual/setjmp.texi (System V contexts): Improve
8786 clarity and grammar of documentation.
8788 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8791 * elf/Makefile (tests): Add tst-pie2.
8792 (tests-pie): Add tst-pie2.
8793 * elf/tst-pie2.c: New file.
8794 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8796 * elf/rtld.c (map_doit): Load executable as lt_executable.
8797 (dl_main): Likewise.
8799 2014-03-12 Joseph Myers <joseph@codesourcery.com>
8802 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8803 (__ASSUME_PSELECT): Undefine.
8805 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8808 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8809 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8811 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8812 selector for static builds.
8814 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8817 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8820 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8822 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8823 IFUNC selector for static builds.
8825 2014-03-11 Joseph Myers <joseph@codesourcery.com>
8827 * sysdeps/mips/math_private.h [__mips_hard_float]
8828 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8829 libc_feresetround_mips_ctx.
8830 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8831 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8832 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8835 * math/s_nextafter.c (__nextafter): Do not return value from
8836 overflowing computation.
8837 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8838 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8839 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8841 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8843 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8844 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8846 2014-03-11 Roland McGrath <roland@hack.frob.com>
8848 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8849 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8850 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8851 the new mov targetting sp.
8853 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8856 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8857 Define it for static builds as well.
8858 (NO_BZERO_IMPL): Likewise.
8860 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8862 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8863 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8864 multiarch strspn for PPC64.
8865 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8866 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8867 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8868 (__libc_ifunc_impl_list): Likewise.
8869 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8870 multiarch optimizations
8871 * string/strspn.c (strspn): Using macro to redefine symbol name.
8873 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8874 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8876 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8877 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8878 multiarch strncat for PPC64.
8879 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8880 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8881 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8882 (__libc_ifunc_impl_list): Likewise.
8883 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8884 multiarch optimizations
8886 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8889 * nscd/nscd.service: Make service type forking.
8891 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8893 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8894 sign in non default rounding modes.
8895 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8897 2014-03-08 Joseph Myers <joseph@codesourcery.com>
8899 * math/libm-test.inc (ALL_RM_TEST): New macro.
8900 (ceil_test): Use ALL_RM_TEST.
8901 (cimag_test): Likewise.
8902 (conj_test): Likewise.
8903 (copysign_test): Likewise.
8904 (cproj_test): Likewise.
8905 (creal_test): Likewise.
8906 (fabs_test): Likewise.
8907 (floor_test): Likewise.
8908 (fmax_test): Likewise.
8909 (fmin_test): Likewise.
8910 (fmod_test): Likewise.
8911 (fpclassify_test): Likewise.
8912 (frexp_test): Likewise.
8913 (ilogb_test): Likewise.
8914 (isfinite_test): Likewise.
8915 (finite_test): Likewise.
8916 (isgreater_test): Likewise.
8917 (isgreaterequal_test): Likewise.
8918 (isinf_test): Likewise.
8919 (isless_test): Likewise.
8920 (islessequal_test): Likewise.
8921 (islessgreater_test): Likewise.
8922 (isnan_test): Likewise.
8923 (isnormal_test): Likewise.
8924 (issignaling_test): Likewise.
8925 (isunordered_test): Likewise.
8926 (logb_test): Likewise.
8927 (logb_downward_test_data): Remove.
8928 (logb_test_downward): Likewise.
8929 (lround_test): Use ALL_RM_TEST.
8930 (llround_test): Likewise.
8931 (modf_test): Likewise.
8932 (nexttoward_test): Likewise.
8933 (remainder_test): Likewise.
8934 (drem_test): Likewise.
8935 (remainder_tonearest_test_data): Likewise.
8936 (remainder_test_tonearest): Likewise.
8937 (drem_test_tonearest): Likewise.
8938 (remainder_towardzero_test_data): Likewise.
8939 (remainder_test_towardzero): Likewise.
8940 (drem_test_towardzero): Likewise.
8941 (remainder_downward_test_data): Likewise.
8942 (remainder_test_downward): Likewise.
8943 (drem_test_downward): Likewise.
8944 (remainder_upward_test_data): Likewise.
8945 (remainder_test_upward): Likewise.
8946 (drem_test_upward): Likewise.
8947 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8948 (round_test): Use ALL_RM_TEST.
8949 (signbit_test): Likewise.
8950 (trunc_test): Likewise.
8951 (significand_test): Likewise.
8952 (main): Don't call removed functions.
8954 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8957 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8959 (ILL_ILLOPN): Likewise.
8960 (ILL_ILLADR): Likewise.
8961 (ILL_ILLTRP): Likewise.
8962 (ILL_PRVOPC): Likewise.
8963 (ILL_PRVREG): Likewise.
8964 (ILL_COPROC): Likewise.
8965 (ILL_BADSTK): Likewise.
8966 (FPE_INTDIV): Likewise.
8967 (FPE_INTOVF): Likewise.
8968 (FPE_FLTDIV): Likewise.
8969 (FPE_FLTOVF): Likewise.
8970 (FPE_FLTUND): Likewise.
8971 (FPE_FLTRES): Likewise.
8972 (FPE_FLTINV): Likewise.
8973 (FPE_FLTSUB): Likewise.
8974 (SEGV_MAPERR): Likewise.
8975 (SEGV_ACCERR): Likewise.
8976 (BUS_ADRALN): Likewise.
8977 (BUS_ADRERR): Likewise.
8978 (BUS_OBJERR): Likewise.
8979 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8980 (TRAP_TRACE): Likewise.
8981 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8983 (CLD_KILLED): Likewise.
8984 (CLD_DUMPED): Likewise.
8985 (CLD_TRAPPED): Likewise.
8986 (CLD_STOPPED): Likewise.
8987 (CLD_CONTINUED): Likewise.
8988 (POLL_IN): Likewise.
8989 (POLL_OUT): Likewise.
8990 (POLL_MSG): Likewise.
8991 (POLL_ERR): Likewise.
8992 (POLL_PRI): Likewise.
8993 (POLL_HUP): Likewise.
8994 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8996 (ILL_ILLOPN): Likewise.
8997 (ILL_ILLADR): Likewise.
8998 (ILL_ILLTRP): Likewise.
8999 (ILL_PRVOPC): Likewise.
9000 (ILL_PRVREG): Likewise.
9001 (ILL_COPROC): Likewise.
9002 (ILL_BADSTK): Likewise.
9003 (FPE_INTDIV): Likewise.
9004 (FPE_INTOVF): Likewise.
9005 (FPE_FLTDIV): Likewise.
9006 (FPE_FLTOVF): Likewise.
9007 (FPE_FLTUND): Likewise.
9008 (FPE_FLTRES): Likewise.
9009 (FPE_FLTINV): Likewise.
9010 (FPE_FLTSUB): Likewise.
9011 (SEGV_MAPERR): Likewise.
9012 (SEGV_ACCERR): Likewise.
9013 (BUS_ADRALN): Likewise.
9014 (BUS_ADRERR): Likewise.
9015 (BUS_OBJERR): Likewise.
9016 (BUS_MCEERR_AR): Likewise.
9017 (BUS_MCEERR_AO): Likewise.
9018 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9019 (TRAP_TRACE): Likewise.
9020 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9022 (CLD_KILLED): Likewise.
9023 (CLD_DUMPED): Likewise.
9024 (CLD_TRAPPED): Likewise.
9025 (CLD_STOPPED): Likewise.
9026 (CLD_CONTINUED): Likewise.
9027 (POLL_IN): Likewise.
9028 (POLL_OUT): Likewise.
9029 (POLL_MSG): Likewise.
9030 (POLL_ERR): Likewise.
9031 (POLL_PRI): Likewise.
9032 (POLL_HUP): Likewise.
9033 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9034 (ILL_ILLOPN): Likewise.
9035 (ILL_ILLADR): Likewise.
9036 (ILL_ILLTRP): Likewise.
9037 (ILL_PRVOPC): Likewise.
9038 (ILL_PRVREG): Likewise.
9039 (ILL_COPROC): Likewise.
9040 (ILL_BADSTK): Likewise.
9041 (FPE_INTDIV): Likewise.
9042 (FPE_INTOVF): Likewise.
9043 (FPE_FLTDIV): Likewise.
9044 (FPE_FLTOVF): Likewise.
9045 (FPE_FLTUND): Likewise.
9046 (FPE_FLTRES): Likewise.
9047 (FPE_FLTINV): Likewise.
9048 (FPE_FLTSUB): Likewise.
9049 (SEGV_MAPERR): Likewise.
9050 (SEGV_ACCERR): Likewise.
9051 (BUS_ADRALN): Likewise.
9052 (BUS_ADRERR): Likewise.
9053 (BUS_OBJERR): Likewise.
9054 (BUS_MCEERR_AR): Likewise.
9055 (BUS_MCEERR_AO): Likewise.
9056 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9057 (TRAP_TRACE): Likewise.
9058 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9060 (CLD_KILLED): Likewise.
9061 (CLD_DUMPED): Likewise.
9062 (CLD_TRAPPED): Likewise.
9063 (CLD_STOPPED): Likewise.
9064 (CLD_CONTINUED): Likewise.
9065 (POLL_IN): Likewise.
9066 (POLL_OUT): Likewise.
9067 (POLL_MSG): Likewise.
9068 (POLL_ERR): Likewise.
9069 (POLL_PRI): Likewise.
9070 (POLL_HUP): Likewise.
9071 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9073 (ILL_ILLOPN): Likewise.
9074 (ILL_ILLADR): Likewise.
9075 (ILL_ILLTRP): Likewise.
9076 (ILL_PRVOPC): Likewise.
9077 (ILL_PRVREG): Likewise.
9078 (ILL_COPROC): Likewise.
9079 (ILL_BADSTK): Likewise.
9080 (ILL_BADIADDR): Likewise.
9081 (ILL_BREAK): Likewise.
9082 (FPE_INTDIV): Likewise.
9083 (FPE_INTOVF): Likewise.
9084 (FPE_FLTDIV): Likewise.
9085 (FPE_FLTOVF): Likewise.
9086 (FPE_FLTUND): Likewise.
9087 (FPE_FLTRES): Likewise.
9088 (FPE_FLTINV): Likewise.
9089 (FPE_FLTSUB): Likewise.
9090 (FPE_DECOVF): Likewise.
9091 (FPE_DECDIV): Likewise.
9092 (FPE_DECERR): Likewise.
9093 (FPE_INVASC): Likewise.
9094 (FPE_INVDEC): Likewise.
9095 (SEGV_MAPERR): Likewise.
9096 (SEGV_ACCERR): Likewise.
9097 (SEGV_PSTKOVF): Likewise.
9098 (BUS_ADRALN): Likewise.
9099 (BUS_ADRERR): Likewise.
9100 (BUS_OBJERR): Likewise.
9101 (BUS_MCEERR_AR): Likewise.
9102 (BUS_MCEERR_AO): Likewise.
9103 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9104 (TRAP_TRACE): Likewise.
9105 (TRAP_BRANCH): Likewise.
9106 (TRAP_HWBKPT): Likewise.
9107 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9109 (CLD_KILLED): Likewise.
9110 (CLD_DUMPED): Likewise.
9111 (CLD_TRAPPED): Likewise.
9112 (CLD_STOPPED): Likewise.
9113 (CLD_CONTINUED): Likewise.
9114 (POLL_IN): Likewise.
9115 (POLL_OUT): Likewise.
9116 (POLL_MSG): Likewise.
9117 (POLL_ERR): Likewise.
9118 (POLL_PRI): Likewise.
9119 (POLL_HUP): Likewise.
9120 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9121 (ILL_ILLOPN): Likewise.
9122 (ILL_ILLADR): Likewise.
9123 (ILL_ILLTRP): Likewise.
9124 (ILL_PRVOPC): Likewise.
9125 (ILL_PRVREG): Likewise.
9126 (ILL_COPROC): Likewise.
9127 (ILL_BADSTK): Likewise.
9128 (FPE_INTDIV): Likewise.
9129 (FPE_INTOVF): Likewise.
9130 (FPE_FLTDIV): Likewise.
9131 (FPE_FLTOVF): Likewise.
9132 (FPE_FLTUND): Likewise.
9133 (FPE_FLTRES): Likewise.
9134 (FPE_FLTINV): Likewise.
9135 (FPE_FLTSUB): Likewise.
9136 (SEGV_MAPERR): Likewise.
9137 (SEGV_ACCERR): Likewise.
9138 (BUS_ADRALN): Likewise.
9139 (BUS_ADRERR): Likewise.
9140 (BUS_OBJERR): Likewise.
9141 (BUS_MCEERR_AR): Likewise.
9142 (BUS_MCEERR_AO): Likewise.
9143 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9144 (TRAP_TRACE): Likewise.
9145 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9147 (CLD_KILLED): Likewise.
9148 (CLD_DUMPED): Likewise.
9149 (CLD_TRAPPED): Likewise.
9150 (CLD_STOPPED): Likewise.
9151 (CLD_CONTINUED): Likewise.
9152 (POLL_IN): Likewise.
9153 (POLL_OUT): Likewise.
9154 (POLL_MSG): Likewise.
9155 (POLL_ERR): Likewise.
9156 (POLL_PRI): Likewise.
9157 (POLL_HUP): Likewise.
9158 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9159 (ILL_ILLOPN): Likewise.
9160 (ILL_ILLADR): Likewise.
9161 (ILL_ILLTRP): Likewise.
9162 (ILL_PRVOPC): Likewise.
9163 (ILL_PRVREG): Likewise.
9164 (ILL_COPROC): Likewise.
9165 (ILL_BADSTK): Likewise.
9166 (FPE_INTDIV): Likewise.
9167 (FPE_INTOVF): Likewise.
9168 (FPE_FLTDIV): Likewise.
9169 (FPE_FLTOVF): Likewise.
9170 (FPE_FLTUND): Likewise.
9171 (FPE_FLTRES): Likewise.
9172 (FPE_FLTINV): Likewise.
9173 (FPE_FLTSUB): Likewise.
9174 (SEGV_MAPERR): Likewise.
9175 (SEGV_ACCERR): Likewise.
9176 (BUS_ADRALN): Likewise.
9177 (BUS_ADRERR): Likewise.
9178 (BUS_OBJERR): Likewise.
9179 (BUS_MCEERR_AR): Likewise.
9180 (BUS_MCEERR_AO): Likewise.
9181 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9182 (TRAP_TRACE): Likewise.
9183 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9185 (CLD_KILLED): Likewise.
9186 (CLD_DUMPED): Likewise.
9187 (CLD_TRAPPED): Likewise.
9188 (CLD_STOPPED): Likewise.
9189 (CLD_CONTINUED): Likewise.
9190 (POLL_IN): Likewise.
9191 (POLL_OUT): Likewise.
9192 (POLL_MSG): Likewise.
9193 (POLL_ERR): Likewise.
9194 (POLL_PRI): Likewise.
9195 (POLL_HUP): Likewise.
9196 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9197 (ILL_ILLOPN): Likewise.
9198 (ILL_ILLADR): Likewise.
9199 (ILL_ILLTRP): Likewise.
9200 (ILL_PRVOPC): Likewise.
9201 (ILL_PRVREG): Likewise.
9202 (ILL_COPROC): Likewise.
9203 (ILL_BADSTK): Likewise.
9204 (FPE_INTDIV): Likewise.
9205 (FPE_INTOVF): Likewise.
9206 (FPE_FLTDIV): Likewise.
9207 (FPE_FLTOVF): Likewise.
9208 (FPE_FLTUND): Likewise.
9209 (FPE_FLTRES): Likewise.
9210 (FPE_FLTINV): Likewise.
9211 (FPE_FLTSUB): Likewise.
9212 (SEGV_MAPERR): Likewise.
9213 (SEGV_ACCERR): Likewise.
9214 (BUS_ADRALN): Likewise.
9215 (BUS_ADRERR): Likewise.
9216 (BUS_OBJERR): Likewise.
9217 (BUS_MCEERR_AR): Likewise.
9218 (BUS_MCEERR_AO): Likewise.
9219 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9220 (TRAP_TRACE): Likewise.
9221 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9223 (CLD_KILLED): Likewise.
9224 (CLD_DUMPED): Likewise.
9225 (CLD_TRAPPED): Likewise.
9226 (CLD_STOPPED): Likewise.
9227 (CLD_CONTINUED): Likewise.
9228 (POLL_IN): Likewise.
9229 (POLL_OUT): Likewise.
9230 (POLL_MSG): Likewise.
9231 (POLL_ERR): Likewise.
9232 (POLL_PRI): Likewise.
9233 (POLL_HUP): Likewise.
9234 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9235 (ILL_ILLOPN): Likewise.
9236 (ILL_ILLADR): Likewise.
9237 (ILL_ILLTRP): Likewise.
9238 (ILL_PRVOPC): Likewise.
9239 (ILL_PRVREG): Likewise.
9240 (ILL_COPROC): Likewise.
9241 (ILL_BADSTK): Likewise.
9242 (ILL_DBLFLT): Likewise.
9243 (ILL_HARDWALL): Likewise.
9244 (FPE_INTDIV): Likewise.
9245 (FPE_INTOVF): Likewise.
9246 (FPE_FLTDIV): Likewise.
9247 (FPE_FLTOVF): Likewise.
9248 (FPE_FLTUND): Likewise.
9249 (FPE_FLTRES): Likewise.
9250 (FPE_FLTINV): Likewise.
9251 (FPE_FLTSUB): Likewise.
9252 (SEGV_MAPERR): Likewise.
9253 (SEGV_ACCERR): Likewise.
9254 (BUS_ADRALN): Likewise.
9255 (BUS_ADRERR): Likewise.
9256 (BUS_OBJERR): Likewise.
9257 (BUS_MCEERR_AR): Likewise.
9258 (BUS_MCEERR_AO): Likewise.
9259 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9260 (TRAP_TRACE): Likewise.
9261 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9263 (CLD_KILLED): Likewise.
9264 (CLD_DUMPED): Likewise.
9265 (CLD_TRAPPED): Likewise.
9266 (CLD_STOPPED): Likewise.
9267 (CLD_CONTINUED): Likewise.
9268 (POLL_IN): Likewise.
9269 (POLL_OUT): Likewise.
9270 (POLL_MSG): Likewise.
9271 (POLL_ERR): Likewise.
9272 (POLL_PRI): Likewise.
9273 (POLL_HUP): Likewise.
9274 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9275 (ILL_ILLOPN): Likewise.
9276 (ILL_ILLADR): Likewise.
9277 (ILL_ILLTRP): Likewise.
9278 (ILL_PRVOPC): Likewise.
9279 (ILL_PRVREG): Likewise.
9280 (ILL_COPROC): Likewise.
9281 (ILL_BADSTK): Likewise.
9282 (FPE_INTDIV): Likewise.
9283 (FPE_INTOVF): Likewise.
9284 (FPE_FLTDIV): Likewise.
9285 (FPE_FLTOVF): Likewise.
9286 (FPE_FLTUND): Likewise.
9287 (FPE_FLTRES): Likewise.
9288 (FPE_FLTINV): Likewise.
9289 (FPE_FLTSUB): Likewise.
9290 (SEGV_MAPERR): Likewise.
9291 (SEGV_ACCERR): Likewise.
9292 (BUS_ADRALN): Likewise.
9293 (BUS_ADRERR): Likewise.
9294 (BUS_OBJERR): Likewise.
9295 (BUS_MCEERR_AR): Likewise.
9296 (BUS_MCEERR_AO): Likewise.
9297 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9298 (TRAP_TRACE): Likewise.
9299 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9301 (CLD_KILLED): Likewise.
9302 (CLD_DUMPED): Likewise.
9303 (CLD_TRAPPED): Likewise.
9304 (CLD_STOPPED): Likewise.
9305 (CLD_CONTINUED): Likewise.
9306 (POLL_IN): Likewise.
9307 (POLL_OUT): Likewise.
9308 (POLL_MSG): Likewise.
9309 (POLL_ERR): Likewise.
9310 (POLL_PRI): Likewise.
9311 (POLL_HUP): Likewise.
9312 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9313 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9316 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9317 before #include of <time.h>.
9318 [!__USE_XOPEN2K] (__need_timespec): Likewise.
9319 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9320 (test-xfail-UNIX98/sched.h/conform): Likewise.
9322 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
9324 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9325 error absence of trapping exception support.
9326 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9328 2014-03-07 Joseph Myers <joseph@codesourcery.com>
9330 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9331 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9332 * timezone/Makefile (testdata): Move definition above include of
9334 (test-zones): New variable.
9335 (tests-special): Add zone files.
9336 (build-testdata): Use $(evaluate-test).
9338 * elf/Makefile (tests-special): Rename tests to end with .out.
9339 ($(objpfx)noload-mem): Likewise.
9340 ($(objpfx)tst-leaks1-mem): Likewise.
9341 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9342 * iconv/Makefile (xtests-special): Change test-iconvconfig to
9343 $(objpfx)test-iconvconfig.out.
9344 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
9345 set -e inside subshell and redirect output to file.
9346 * iconvdata/Makefile (generated): Rename tests to end with .out.
9348 (tests-special): Rename tests to end with .out.
9349 ($(objpfx)mtrace-tst-loading): Likewise.
9350 * intl/Makefile (generated): Likewise.
9351 (tests-special): Likewise.
9352 ($(objpfx)mtrace-tst-gettext): Likewise.
9353 * misc/Makefile (generated): Likewise.
9354 (tests-special): Likewise.
9355 ($(objpfx)tst-error1-mem): Likewise.
9356 * nptl/Makefile (tests-special): Likewise.
9357 ($(objpfx)tst-stack3-mem): Likewise.
9358 (generated): Likewise.
9359 * posix/Makefile (generated): Likewise.
9360 (tests-special): Likewise.
9361 (xtests-special): Likewise.
9362 ($(objpfx)tst-fnmatch-mem): Likewise.
9363 ($(objpfx)bug-regex2-mem): Likewise.
9364 ($(objpfx)bug-regex14-mem): Likewise.
9365 ($(objpfx)bug-regex21-mem): Likewise.
9366 ($(objpfx)bug-regex31-mem): Likewise.
9367 ($(objpfx)tst-vfork3-mem): Likewise.
9368 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9369 ($(objpfx)tst-pcre-mem): Likewise.
9370 ($(objpfx)tst-boost-mem): Likewise.
9371 ($(objpfx)bug-ga2-mem): Likewise.
9372 ($(objpfx)bug-glob2-mem): Likewise.
9373 * resolv/Makefile (generate): Likewise.
9374 (tests-special): Likewise.
9375 (xtests-special): Likewise.
9376 (generated): Likewise.
9377 ($(objpfx)mtrace-tst-leaks): Likewise.
9378 ($(objpfx)mtrace-tst-leaks2): Likewise.
9380 * scripts/merge-test-results.sh: New file.
9381 * Makefile (tests-special-notdir): New variable.
9382 (tests): Run merge-test-results.sh.
9384 * Rules (tests-special-notdir): New variable.
9385 (xtests-special-notdir): Likewise.
9386 (tests): Run merge-test-results.sh
9389 * Makeconfig (test-xfail-name): New variable.
9390 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9391 compute variable name for expected failures.
9392 * conform/Makefile (conformtest-headers-data): New variable.
9393 (conformtest-standards): Likewise.
9394 (conformtest-headers-ISO): Likewise.
9395 (conformtest-headers-ISO99): Likewise.
9396 (conformtest-headers-ISO11): Likewise.
9397 (conformtest-headers-POSIX): Likewise.
9398 (conformtest-headers-XPG3): Likewise.
9399 (conformtest-headers-XPG4): Likewise.
9400 (conformtest-headers-UNIX98): Likewise.
9401 (conformtest-headers-XOPEN2K): Likewise.
9402 (conformtest-headers-POSIX2008): Likewise.
9403 (conformtest-headers-XOPEN2K8): Likewise.
9404 (conformtest-header-list-base): Likewise.
9405 (conformtest-header-list-tests): Likewise.
9406 (conformtest-header-base): Likewise.
9407 (conformtest-header-tests): Likewise.
9408 (tests-special): Add $(conformtest-header-list-tests). If
9409 [$(fast-check) && !$(cross-compiling)], add
9410 $(conformtest-header-tests) instead of
9411 $(objpfx)run-conformtest.out.
9412 (generated): Add $(conformtest-header-list-base). If
9413 [$(fast-check) && !$(cross-compiling)], add
9414 $(conformtest-header-base). Remove previous setting.
9415 ($(conformtest-header-list-tests)): New target.
9416 (test-xfail-run-conformtest): Remove variable.
9417 ($(objpfx)run-conformtest.out): Remove target.
9418 (test-xfail-ISO11/complex.h/conform): New variable.
9419 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9420 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9421 (test-xfail-XPG3/varargs.h/conform): Likewise.
9422 (test-xfail-XPG4/varargs.h/conform): Likewise.
9423 (test-xfail-UNIX98/varargs.h/conform): Likewise.
9424 (test-xfail-XPG4/ndbm.h/conform): Likewise.
9425 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9426 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9427 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9428 (test-xfail-XPG3/fcntl.h/conform): Likewise.
9429 (test-xfail-XPG3/ftw.h/conform): Likewise.
9430 (test-xfail-XPG3/grp.h/conform): Likewise.
9431 (test-xfail-XPG3/langinfo.h/conform): Likewise.
9432 (test-xfail-XPG3/limits.h/conform): Likewise.
9433 (test-xfail-XPG3/pwd.h/conform): Likewise.
9434 (test-xfail-XPG3/search.h/conform): Likewise.
9435 (test-xfail-XPG3/signal.h/conform): Likewise.
9436 (test-xfail-XPG3/stdio.h/conform): Likewise.
9437 (test-xfail-XPG3/stdlib.h/conform): Likewise.
9438 (test-xfail-XPG3/string.h/conform): Likewise.
9439 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9440 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9441 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9442 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9443 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9444 (test-xfail-XPG3/sys/types.h/conform): Likewise.
9445 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9446 (test-xfail-XPG3/termios.h/conform): Likewise.
9447 (test-xfail-XPG3/time.h/conform): Likewise.
9448 (test-xfail-XPG3/unistd.h/conform): Likewise.
9449 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9450 (test-xfail-XPG4/fcntl.h/conform): Likewise.
9451 (test-xfail-XPG4/langinfo.h/conform): Likewise.
9452 (test-xfail-XPG4/netdb.h/conform): Likewise.
9453 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9454 (test-xfail-XPG4/signal.h/conform): Likewise.
9455 (test-xfail-XPG4/stdio.h/conform): Likewise.
9456 (test-xfail-XPG4/stdlib.h/conform): Likewise.
9457 (test-xfail-XPG4/stropts.h/conform): Likewise.
9458 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9459 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9460 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9461 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9462 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9463 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9464 (test-xfail-XPG4/sys/time.h/conform): Likewise.
9465 (test-xfail-XPG4/sys/types.h/conform): Likewise.
9466 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9467 (test-xfail-XPG4/termios.h/conform): Likewise.
9468 (test-xfail-XPG4/ucontext.h/conform): Likewise.
9469 (test-xfail-XPG4/unistd.h/conform): Likewise.
9470 (test-xfail-XPG4/utmpx.h/conform): Likewise.
9471 (test-xfail-POSIX/sched.h/conform): Likewise.
9472 (test-xfail-POSIX/signal.h/conform): Likewise.
9473 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9474 (test-xfail-POSIX/tar.h/conform): Likewise.
9475 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9476 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9477 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9478 (test-xfail-UNIX98/netdb.h/conform): Likewise.
9479 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9480 (test-xfail-UNIX98/sched.h/conform): Likewise.
9481 (test-xfail-UNIX98/signal.h/conform): Likewise.
9482 (test-xfail-UNIX98/stdio.h/conform): Likewise.
9483 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9484 (test-xfail-UNIX98/stropts.h/conform): Likewise.
9485 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9486 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9487 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9488 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9489 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9490 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9491 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9492 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9493 (test-xfail-UNIX98/unistd.h/conform): Likewise.
9494 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9495 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9496 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9497 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9498 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9499 (test-xfail-XOPEN2K/math.h/conform): Likewise.
9500 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9501 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9502 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9503 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9504 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9505 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9506 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9507 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9508 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9509 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9510 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9511 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9512 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9513 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9514 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9515 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9516 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9517 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9518 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9519 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9520 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9521 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9522 (test-xfail-POSIX2008/signal.h/conform): Likewise.
9523 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9524 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9525 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9526 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9527 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9528 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9529 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9530 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9531 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9532 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9533 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9534 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9535 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9536 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9537 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9538 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9539 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9540 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9541 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9542 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9543 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9544 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9545 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9546 (conformtest-cc-flags): Likewise.
9547 ($(conformtest-header-tests): New target.
9548 * conform/check-header-lists.sh: New file.
9549 * conform/run-conformtest.sh: Remove.
9551 * conform/conformtest.pl: Allow ' and \ in values given for
9553 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9555 [POSIX] (sys/types.h): Likewise.
9556 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9558 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9560 * conform/data/signal.h-data (SIGIO): Remove expectation.
9561 [XPG3] (SIGBUS): Do not expect.
9562 [POSIX || XPG3] (SIGPOLL): Likewise.
9563 [POSIX || XPG3] (SIGPROF): Likewise.
9564 [POSIX || XPG3] (SIGSYS): Likewise.
9565 [XPG3] (SIGTRAP): Likewise.
9566 [POSIX || XPG3] (SIGURG): Likewise.
9567 [POSIX || XPG3] (SIGVTALRM): Likewise.
9568 [POSIX || XPG3] (SIGXCPU): Likewise.
9569 [POSIX || XPG3] (SIGXFSZ): Likewise.
9570 [POSIX] (SA_SIGINFO): Expect.
9571 [XPG3] (siginfo_t): Do not expect type or contents.
9572 [POSIX] (si_pid): Do not expect element.
9573 [POSIX] (si_uid): Likewise.
9574 [POSIX] (si_addr): Likewise.
9575 [POSIX] (si_status): Likewise.
9576 [POSIX] (si_band): Likewise.
9577 [XPG4] (si_value): Likewise.
9578 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9579 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9580 [POSIX || XPG3] (ILL_ILLADR): Likewise.
9581 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9582 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9583 [POSIX || XPG3] (ILL_PRVREG): Likewise.
9584 [POSIX || XPG3] (ILL_COPROC): Likewise.
9585 [POSIX || XPG3] (ILL_BADSTK): Likewise.
9586 [POSIX || XPG3] (FPE_INTDIV): Likewise.
9587 [POSIX || XPG3] (FPE_INTOVF): Likewise.
9588 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9589 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9590 [POSIX || XPG3] (FPE_FLTUND): Likewise.
9591 [POSIX || XPG3] (FPE_FLTRES): Likewise.
9592 [POSIX || XPG3] (FPE_FLTINV): Likewise.
9593 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9594 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9595 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9596 [POSIX || XPG3] (BUS_ADRALN): Likewise.
9597 [POSIX || XPG3] (BUS_ADRERR): Likewise.
9598 [POSIX || XPG3] (BUS_OBJERR): Likewise.
9599 [POSIX || XPG3] (CLD_EXITED): Likewise.
9600 [POSIX || XPG3] (CLD_KILLED): Likewise.
9601 [POSIX || XPG3] (CLD_DUMPED): Likewise.
9602 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9603 [POSIX || XPG3] (CLD_STOPPED): Likewise.
9604 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9605 [POSIX || XPG3] (POLL_IN): Likewise.
9606 [POSIX || XPG3] (POLL_OUT): Likewise.
9607 [POSIX || XPG3] (POLL_MSG): Likewise.
9608 [POSIX || XPG3] (POLL_ERR): Likewise.
9609 [POSIX || XPG3] (POLL_PRI): Likewise.
9610 [POSIX || XPG3] (POLL_HUP): Likewise.
9611 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9612 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9613 (SIG*): Do not allow.
9614 [XPG3] (si_*): Likewise.
9615 [XPG3] (SI_*): Likewise.
9616 [XPG3 || XPG4] (sigev_*): Likewise.
9617 [XPG3 || XPG4] (SIGEV_*): Likewise.
9618 [XPG3 || XPG4] (sival_*): Likewise.
9619 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9620 [POSIX || XPG3] (BUS_*): Likewise.
9621 [POSIX || XPG3] (CLD_*): Likewise.
9622 [POSIX || XPG3] (FPE_*): Likewise.
9623 [POSIX || XPG3] (ILL_*): Likewise.
9624 [POSIX || XPG3] (POLL_*): Likewise.
9625 [POSIX || XPG3] (SEGV_*): Likewise.
9626 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9627 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9628 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9629 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9630 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9631 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9632 Specify type and value.
9633 (TVERSLEN): Likewise.
9634 (REGTYPE): Likewise.
9635 (AREGTYPE): Likewise.
9636 (LNKTYPE): Likewise.
9637 (SYMTYPE): Likewise.
9638 (CHRTYPE): Likewise.
9639 (BLKTYPE): Likewise.
9640 (DIRTYPE): Likewise.
9641 (FIFOTYPE): Likewise.
9642 (CONTTYPE): Likewise.
9647 (TUWRITE): Likewise.
9650 (TGWRITE): Likewise.
9653 (TOWRITE): Likewise.
9655 [POSIX] (TSVTX): Expect constant.
9657 2014-03-06 Joseph Myers <joseph@codesourcery.com>
9659 * Makefile (tests): Change dependencies to ....
9660 (tests-special): ... additions to this variable.
9661 (tests): Depend on $(tests-special).
9662 * Makerules (check-abi-list): New variable.
9663 (check-abi): Depend on $(check-abi-list).
9664 [$(subdir) = elf] (tests-special): Add
9665 $(objpfx)check-abi-libc.out.
9666 [$(build-shared) = yes && subdir] (tests-special): Add
9668 [$(build-shared) = yes && subdir] (tests): Do not depend on
9670 * Rules (tests): Depend on $(tests-special).
9671 (xtests): Depend on $(xtests-special).
9672 * catgets/Makefile (tests): Change dependencies to ....
9673 (tests-special): ... additions to this variable.
9674 * conform/Makefile (tests): Change dependencies to ....
9675 (tests-special): ... additions to this variable.
9676 * elf/Makefile (tests): Change dependencies to ....
9677 (tests-special): ... additions to this variable.
9678 * grp/Makefile (tests): Change dependencies to ....
9679 (tests-special): ... additions to this variable.
9680 * iconv/Makefile (xtests): Change dependencies to ....
9681 (xtests-special): ... additions to this variable.
9682 * iconvdata/Makefile (tests): Change dependencies to ....
9683 (tests-special): ... additions to this variable.
9684 * intl/Makefile (tests): Change dependencies to ....
9685 (tests-special): ... additions to this variable. Also add
9686 $(objpfx)tst-gettext.out.
9687 * io/Makefile (tests): Change dependencies to ....
9688 (tests-special): ... additions to this variable.
9689 * libio/Makefile (tests): Change dependencies to ....
9690 (tests-special): ... additions to this variable.
9691 * malloc/Makefile (tests): Change dependencies to ....
9692 (tests-special): ... additions to this variable.
9693 * misc/Makefile (tests): Change dependencies to ....
9694 (tests-special): ... additions to this variable.
9695 * nptl/Makefile (tests): Change dependencies to ....
9696 (tests-special): ... additions to this variable.
9697 * nptl_db/Makefile (tests): Change dependencies to ....
9698 (tests-special): ... additions to this variable.
9699 * posix/Makefile (tests): Change dependencies to ....
9700 (tests-special): ... additions to this variable.
9701 (xtests): Change dependencies to ....
9702 (xtests-special): ... additions to this variable.
9703 * resolv/Makefile (tests): Change dependencies to ....
9704 (tests-special): ... additions to this variable.
9705 (xtests): Change dependencies to ....
9706 (xtests-special): ... additions to this variable.
9707 * stdio-common/Makefile (tests): Change dependencies to ....
9708 (tests-special): ... additions to this variable.
9709 (do-tst-unbputc): Remove target.
9710 (do-tst-printf): Likewise.
9711 * stdlib/Makefile (tests): Change dependencies to ....
9712 (tests-special): ... additions to this variable.
9713 * string/Makefile (tests): Change dependencies to ....
9714 (tests-special): ... additions to this variable.
9715 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9716 (tests-special): ... additions to this variable.
9718 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9720 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9722 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9723 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9725 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9726 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9727 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9728 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9729 * conform/data/libgen.h-data [XPG3]: Likewise.
9730 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9731 * conform/data/ndbm.h-data [XPG3]: Likewise.
9732 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9733 * conform/data/netdb.h-data [XPG3]: Likewise.
9734 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9735 * conform/data/poll.h-data [XPG3]: Likewise.
9736 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9737 * conform/data/strings.h-data [XPG3]: Likewise.
9738 * conform/data/stropts.h-data [XPG3]: Likewise.
9739 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9740 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9741 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9743 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9744 * conform/data/sys/time.h-data [XPG3]: Likewise.
9745 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9746 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9747 * conform/data/sys/un.h-data [XPG3]: Likewise.
9748 * conform/data/syslog.h-data [XPG3]: Likewise.
9749 * conform/data/ucontext.h-data [XPG3]: Likewise.
9750 * conform/data/utmpx.h-data [XPG3]: Likewise.
9751 * conform/data/varargs.h-data [UNIX98]: Enable file.
9753 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9755 * math/libm-test.inc (struct test_f_f_data): Move expected results
9756 into structure for each rounding mode.
9757 (struct test_ff_f_data): Likewise.
9758 (struct test_ff_f_data_nexttoward): Likewise.
9759 (struct test_fi_f_data): Likewise.
9760 (struct test_fl_f_data): Likewise.
9761 (struct test_if_f_data): Likewise.
9762 (struct test_fff_f_data): Likewise.
9763 (struct test_c_f_data): Likewise.
9764 (struct test_f_f1_data): Likewise.
9765 (struct test_fF_f1_data): Likewise.
9766 (struct test_ffI_f1_data): Likewise.
9767 (struct test_c_c_data): Likewise.
9768 (struct test_cc_c_data): Likewise.
9769 (struct test_f_i_data): Likewise.
9770 (struct test_ff_i_data): Likewise.
9771 (struct test_f_l_data): Likewise.
9772 (struct test_f_L_data): Likewise.
9773 (struct test_fFF_11_data): Likewise.
9775 (RM_FE_DOWNWARD): Likewise.
9776 (RM_FE_TONEAREST): Likewise.
9777 (RM_FE_TOWARDZERO): Likewise.
9778 (RM_FE_UPWARD): Likewise.
9779 (RUN_TEST_LOOP_f_f): Update references to expected results.
9780 (RUN_TEST_LOOP_2_f): Likewise.
9781 (RUN_TEST_LOOP_fff_f): Likewise.
9782 (RUN_TEST_LOOP_c_f): Likewise.
9783 (RUN_TEST_LOOP_f_f1): Likewise.
9784 (RUN_TEST_LOOP_fF_f1): Likewise.
9785 (RUN_TEST_LOOP_fI_f1): Likewise.
9786 (RUN_TEST_LOOP_ffI_f1): Likewise.
9787 (RUN_TEST_LOOP_c_c): Likewise.
9788 (RUN_TEST_LOOP_cc_c): Likewise.
9789 (RUN_TEST_LOOP_f_i): Likewise.
9790 (RUN_TEST_LOOP_f_i_tg): Likewise.
9791 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9792 (RUN_TEST_LOOP_f_b): Likewise.
9793 (RUN_TEST_LOOP_f_b_tg): Likewise.
9794 (RUN_TEST_LOOP_f_l): Likewise.
9795 (RUN_TEST_LOOP_f_L): Likewise.
9796 (RUN_TEST_LOOP_fFF_11): Likewise.
9797 * math/gen-libm-test.pl (parse_args): Output four copies of
9798 expected results for each test.
9800 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9801 (__ASSUME_UTIMES): Remove.
9802 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9803 (__ASSUME_UTIMES): Likewise.
9805 * math/gen-auto-libm-tests.c: Update comment on output format.
9806 (output_for_one_input_case): Generate before-rounding and
9807 after-rounding information as conditions on output flags not
9808 floating-point format.
9809 * math/auto-libm-test-out: Regenerated.
9810 * math/gen-libm-test.pl (cond_value): New function.
9811 (or_cond_value): Use cond_value.
9812 (generate_testfile): Handle conditional exceptions.
9814 2014-03-05 Joseph Myers <joseph@codesourcery.com>
9816 * math/libm-test.inc (max_valid_error): New variable.
9817 (init_max_error): Take new argument specifying whether function
9818 results are exactly determined. Set max_valid_error and bound
9819 other variables for errors based on this argument.
9820 (set_max_error): Do not record results above max_valid_error.
9821 (check_float_internal): Only accept errors of up to 0.5ulps if
9822 also at most max_valid_error.
9823 (START): Take new argument EXACT and pass it to init_max_error.
9824 (acos_test): Update call to START.
9825 (acos_test_tonearest): Likewise.
9826 (acos_test_towardzero): Likewise.
9827 (acos_test_downward): Likewise.
9828 (acos_test_upward): Likewise.
9829 (acosh_test): Likewise.
9830 (asin_test): Likewise.
9831 (asin_test_tonearest): Likewise.
9832 (asin_test_towardzero): Likewise.
9833 (asin_test_downward): Likewise.
9834 (asin_test_upward): Likewise.
9835 (asinh_test): Likewise.
9836 (atan_test): Likewise.
9837 (atanh_test): Likewise.
9838 (atan2_test): Likewise.
9839 (cabs_test): Likewise.
9840 (cacos_test): Likewise.
9841 (cacosh_test): Likewise.
9842 (carg_test): Likewise.
9843 (casin_test): Likewise.
9844 (casinh_test): Likewise.
9845 (catan_test): Likewise.
9846 (catanh_test): Likewise.
9847 (cbrt_test): Likewise.
9848 (ccos_test): Likewise.
9849 (ccosh_test): Likewise.
9850 (ceil_test): Likewise.
9851 (cexp_test): Likewise.
9852 (cimag_test): Likewise.
9853 (clog_test): Likewise.
9854 (clog10_test): Likewise.
9855 (conj_test): Likewise.
9856 (copysign_test): Likewise.
9857 (cos_test): Likewise.
9858 (cos_test_tonearest): Likewise.
9859 (cos_test_towardzero): Likewise.
9860 (cos_test_downward): Likewise.
9861 (cos_test_upward): Likewise.
9862 (cosh_test): Likewise.
9863 (cosh_test_tonearest): Likewise.
9864 (cosh_test_towardzero): Likewise.
9865 (cosh_test_downward): Likewise.
9866 (cosh_test_upward): Likewise.
9867 (cpow_test): Likewise.
9868 (cproj_test): Likewise.
9869 (creal_test): Likewise.
9870 (csin_test): Likewise.
9871 (csinh_test): Likewise.
9872 (csqrt_test): Likewise.
9873 (ctan_test): Likewise.
9874 (ctan_test_tonearest): Likewise.
9875 (ctan_test_towardzero): Likewise.
9876 (ctan_test_downward): Likewise.
9877 (ctan_test_upward): Likewise.
9878 (ctanh_test): Likewise.
9879 (ctanh_test_tonearest): Likewise.
9880 (ctanh_test_towardzero): Likewise.
9881 (ctanh_test_downward): Likewise.
9882 (ctanh_test_upward): Likewise.
9883 (erf_test): Likewise.
9884 (erfc_test): Likewise.
9885 (exp_test): Likewise.
9886 (exp_test_tonearest): Likewise.
9887 (exp_test_towardzero): Likewise.
9888 (exp_test_downward): Likewise.
9889 (exp_test_upward): Likewise.
9890 (exp10_test): Likewise.
9891 (exp10_test_tonearest): Likewise.
9892 (exp10_test_towardzero): Likewise.
9893 (exp10_test_downward): Likewise.
9894 (exp10_test_upward): Likewise.
9895 (pow10_test): Likewise.
9896 (exp2_test): Likewise.
9897 (expm1_test): Likewise.
9898 (expm1_test_tonearest): Likewise.
9899 (expm1_test_towardzero): Likewise.
9900 (expm1_test_downward): Likewise.
9901 (expm1_test_upward): Likewise.
9902 (fabs_test): Likewise.
9903 (fdim_test): Likewise.
9904 (floor_test): Likewise.
9905 (fma_test): Likewise.
9906 (fma_test_towardzero): Likewise.
9907 (fma_test_downward): Likewise.
9908 (fma_test_upward): Likewise.
9909 (fmax_test): Likewise.
9910 (fmin_test): Likewise.
9911 (fmod_test): Likewise.
9912 (fpclassify_test): Likewise.
9913 (frexp_test): Likewise.
9914 (hypot_test): Likewise.
9915 (ilogb_test): Likewise.
9916 (isfinite_test): Likewise.
9917 (finite_test): Likewise.
9918 (isgreater_test): Likewise.
9919 (isgreaterequal_test): Likewise.
9920 (isinf_test): Likewise.
9921 (isless_test): Likewise.
9922 (islessequal_test): Likewise.
9923 (islessgreater_test): Likewise.
9924 (isnan_test): Likewise.
9925 (isnormal_test): Likewise.
9926 (issignaling_test): Likewise.
9927 (isunordered_test): Likewise.
9928 (j0_test): Likewise.
9929 (j1_test): Likewise.
9930 (jn_test): Likewise.
9931 (ldexp_test): Likewise.
9932 (lgamma_test): Likewise.
9933 (gamma_test): Likewise.
9934 (lrint_test): Likewise.
9935 (lrint_test_tonearest): Likewise.
9936 (lrint_test_towardzero): Likewise.
9937 (lrint_test_downward): Likewise.
9938 (lrint_test_upward): Likewise.
9939 (llrint_test): Likewise.
9940 (llrint_test_tonearest): Likewise.
9941 (llrint_test_towardzero): Likewise.
9942 (llrint_test_downward): Likewise.
9943 (llrint_test_upward): Likewise.
9944 (log_test): Likewise.
9945 (log10_test): Likewise.
9946 (log1p_test): Likewise.
9947 (log2_test): Likewise.
9948 (logb_test): Likewise.
9949 (logb_test_downward): Likewise.
9950 (lround_test): Likewise.
9951 (llround_test): Likewise.
9952 (modf_test): Likewise.
9953 (nearbyint_test): Likewise.
9954 (nextafter_test): Likewise.
9955 (nexttoward_test): Likewise.
9956 (pow_test): Likewise.
9957 (pow_test_tonearest): Likewise.
9958 (pow_test_towardzero): Likewise.
9959 (pow_test_downward): Likewise.
9960 (pow_test_upward): Likewise.
9961 (remainder_test): Likewise.
9962 (drem_test): Likewise.
9963 (remainder_test_tonearest): Likewise.
9964 (drem_test_tonearest): Likewise.
9965 (remainder_test_towardzero): Likewise.
9966 (drem_test_towardzero): Likewise.
9967 (remainder_test_downward): Likewise.
9968 (drem_test_downward): Likewise.
9969 (remainder_test_upward): Likewise.
9970 (drem_test_upward): Likewise.
9971 (remquo_test): Likewise.
9972 (rint_test): Likewise.
9973 (rint_test_tonearest): Likewise.
9974 (rint_test_towardzero): Likewise.
9975 (rint_test_downward): Likewise.
9976 (rint_test_upward): Likewise.
9977 (round_test): Likewise.
9978 (scalb_test): Likewise.
9979 (scalbn_test): Likewise.
9980 (scalbln_test): Likewise.
9981 (signbit_test): Likewise.
9982 (sin_test): Likewise.
9983 (sin_test_tonearest): Likewise.
9984 (sin_test_towardzero): Likewise.
9985 (sin_test_downward): Likewise.
9986 (sin_test_upward): Likewise.
9987 (sincos_test): Likewise.
9988 (sinh_test): Likewise.
9989 (sinh_test_tonearest): Likewise.
9990 (sinh_test_towardzero): Likewise.
9991 (sinh_test_downward): Likewise.
9992 (sinh_test_upward): Likewise.
9993 (sqrt_test): Likewise.
9994 (sqrt_test_tonearest): Likewise.
9995 (sqrt_test_towardzero): Likewise.
9996 (sqrt_test_downward): Likewise.
9997 (sqrt_test_upward): Likewise.
9998 (tan_test): Likewise.
9999 (tan_test_tonearest): Likewise.
10000 (tan_test_towardzero): Likewise.
10001 (tan_test_downward): Likewise.
10002 (tan_test_upward): Likewise.
10003 (tanh_test): Likewise.
10004 (tgamma_test): Likewise.
10005 (trunc_test): Likewise.
10006 (y0_test): Likewise.
10007 (y1_test): Likewise.
10008 (yn_test): Likewise.
10009 (significand_test): Likewise.
10011 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10012 individual tests in comment.
10013 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10014 (prev_max_error): New variable.
10015 (prev_real_max_error): Likewise.
10016 (prev_imag_max_error): Likewise.
10017 (compare_ulp_data): Don't refer to test names in comment.
10018 (find_test_ulps): Remove function.
10019 (find_function_ulps): Likewise.
10020 (find_complex_function_ulps): Likewise.
10021 (init_max_error): Take function name as argument. Look up ulps
10023 (print_ulps): Remove function.
10024 (print_max_error): Use prev_max_error instead of calling
10025 find_function_ulps.
10026 (print_complex_max_error): Use prev_real_max_error and
10027 prev_imag_max_error instead of calling find_complex_function_ulps.
10028 (check_float_internal): Take max_ulp parameter instead of calling
10029 find_test_ulps. Don't call print_ulps.
10030 (check_float): Update call to check_float_internal.
10031 (check_complex): Update calls to check_float_internal.
10032 (START): Pass argument to init_max_error.
10033 * math/gen-libm-test.pl (%results): Don't include "kind"
10035 (parse_ulps): Don't handle ulps of individual tests.
10036 (print_ulps_file): Likewise.
10037 (output_ulps): Likewise.
10038 * math/README.libm-test: Update.
10039 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10041 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10042 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10043 * sysdeps/arm/libm-test-ulps: Likewise.
10044 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10045 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10046 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10047 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10048 * sysdeps/microblaze/libm-test-ulps: Likewise.
10049 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10050 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10051 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10052 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10053 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10054 * sysdeps/sh/libm-test-ulps: Likewise.
10055 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10056 * sysdeps/tile/libm-test-ulps: Likewise.
10057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10059 2014-03-04 Joseph Myers <joseph@codesourcery.com>
10061 * math/libm-test.inc (print_complex_max_error): Check separately
10062 whether real and imaginary errors are within allowed range and
10063 pass 0 to print_complex_function_ulps instead of value within
10066 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10068 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10070 (get_handles_fopen): Likewise.
10071 (do_write_test): Likewise.
10073 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10075 * libio/fileops.c (do_ftell): Use cached offset when
10077 * libio/iofwide.c (do_ftell_wide): Likewise.
10078 * libio/iofdopen.c (_IO_new_fdopen): Don't use
10080 * libio/wfileops.c (_IO_fwide): Don't cache offset.
10083 * libio/libioP.h (get_file_offset): New function.
10084 * libio/fileops.c (get_file_offset): Likewise.
10085 (do_ftell): Likewise.
10086 (_IO_new_file_seekoff): Split out ftell logic.
10087 * libio/wfileops.c (do_ftell_wide): Likewise.
10088 (_IO_wfile_seekoff): Split out ftell logic.
10089 * libio/tst-ftell-active-handler.c: New test case.
10090 * libio/Makefile (tests): Add it.
10092 2014-03-03 Roland McGrath <roland@hack.frob.com>
10094 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10095 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10097 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10100 * nscd/connections.c (nscd_init): Call do_exit.
10101 (start_threads): Call do_exit and notify_parent.
10102 (begin_drop_privileges): Call do_exit.
10103 (finish_drop_privileges): Likewise.
10104 * nscd/selinux.c (preserve_capabilities): Likewise.
10105 (install_real_capabilities): Likewise.
10106 (nscd_selinux_enabled): Likewise.
10107 (avc_create_thread): Likewise.
10108 (avc_alloc_lock): Likewise.
10109 (nscd_avc_init): Likewise.
10110 * nscd/nscd.c (parent_fd): New static variable.
10111 (main): Create a pipe between parent and child processes.
10112 Skip closing parent_fd.
10113 (monitor_child): New function.
10114 (do_exit): Likewise.
10115 (notify_parent): Likewise.
10116 * nscd/nscd.h (notify_parent): Likewise.
10117 (do_exit): Likewise.
10119 2014-03-03 Carlos O'Donell <carlos@redhat.com>
10121 * malloc/malloc.c (__libc_calloc): Revert last change.
10123 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10127 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10129 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10130 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10132 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10133 (__libc_ifunc_impl_list): Likewise.
10134 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10135 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10136 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10137 * string/strrchr.c: Define STRRCHR.
10139 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
10141 * benchtest/bench-strtok.c (simple_strtok): Delete.
10142 (strtok_string): Use as benchmark.
10143 * string/strtok (STRTOK): New macro.
10145 2014-02-28 Carlos O'Donell <carlos@redhat.com>
10147 * manual/threads.texi: Add header and standard comments to all
10150 * elf/dl-lookup.c (check_match): New function.
10151 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10152 (do_lookup_x): Remove nested function check_match. Use non-nested
10153 function check_match.
10155 2014-02-28 Roland McGrath <roland@hack.frob.com>
10157 * csu/Makefile (generated, before-compile): Use += rather than =.
10158 * catgets/Makefile (generated, generated-dirs): Likewise.
10159 * debug/Makefile (generated): Likewise.
10160 * dlfcn/Makefile (generated): Likewise.
10161 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10162 * iconvdata/Makefile (before-compile, generated): Likewise.
10163 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10164 * libio/Makefile (generated): Likewise.
10165 * malloc/Makefile (generated): Likewise.
10166 * manual/Makefile (generated, generated-dirs): Likewise.
10167 * misc/Makefile (generated): Likewise.
10168 * posix/Makefile (generated): Likewise.
10169 * resolv/Makefile (generated): Likewise.
10170 * sunrpc/Makefile (generated, generated-dirs): Likewise.
10171 * timezone/Makefile (generated, generated-dirs): Likewise.
10173 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10175 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10177 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10178 power8 implementation.
10179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10180 file: POWER8 llround ifunc implementation.
10181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10182 (__lllround): Add POWER8 implementation.
10183 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10184 POWER8 llround implementation.
10186 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10187 power8 implementation.
10188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10189 file: POWER8 llrint ifunc implementation.
10190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10191 Add POWER8 implementation.
10192 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10193 POWER8 llrint implementation.
10195 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10196 power8 implementation.
10197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10198 file: POWER8 finite ifunc implementation.
10199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10200 Add POWER8 implementation.
10201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10203 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10204 POWER8 finite implementation.
10205 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10207 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10208 power8 implementation.
10209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10210 file: POWER8 isinf ifunc implementation.
10211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10212 POWER8 implementation.
10213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10215 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10216 isinf implementation.
10217 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10219 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10220 (INIT_ARCH): Add hwcap2 initialization.
10221 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10222 power8 implementation.
10223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10224 file: POWER8 isnan ifunc implementation.
10225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10226 POWER8 implementation.
10227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10229 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10230 isnan implementation.
10231 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10233 2014-02-27 Joey Ye <joey.ye@arm.com>
10235 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10236 (_FP_NANFRAC_Q): Set to zero.
10238 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10241 * math/auto-libm-test-in: New test inputs.
10242 * math/auto-libm-test-out: Regenerate.
10243 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10246 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10248 2014-02-27 Joseph Myers <joseph@codesourcery.com>
10250 * scripts/evaluate-test.sh: Take new argument indicating whether
10251 failure is expected.
10252 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10253 indicating whether failure is expected.
10254 * conform/Makefile (test-xfail-run-conformtest): New variable.
10255 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10257 * posix/Makefile (test-xfail-annexc): New variable.
10258 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10260 2014-02-26 Joseph Myers <joseph@codesourcery.com>
10262 * argp/Makefile: Include Makeconfig immediately after defining
10264 * assert/Makefile: Likewise.
10265 * benchtests/Makefile: Likewise.
10266 * catgets/Makefile: Likewise.
10267 * conform/Makefile: Likewise.
10268 * crypt/Makefile: Likewise.
10269 * csu/Makefile: Likewise.
10270 (all): Remove target.
10271 * ctype/Makefile: Include Makeconfig immediately after defining
10273 * debug/Makefile: Likewise.
10274 * dirent/Makefile: Likewise.
10275 * dlfcn/Makefile: Likewise.
10276 * gmon/Makefile: Likewise.
10277 * gnulib/Makefile: Likewise.
10278 * grp/Makefile: Likewise.
10279 * gshadow/Makefile: Likewise.
10280 * hesiod/Makefile: Likewise.
10281 * hurd/Makefile: Likewise.
10282 (all): Remove target.
10283 * iconvdata/Makefile: Include Makeconfig immediately after
10285 * inet/Makefile: Likewise.
10286 * intl/Makefile: Likewise.
10287 * io/Makefile: Likewise.
10288 * libio/Makefile: Likewise.
10289 (all): Remove target.
10290 * locale/Makefile: Include Makeconfig immediately after defining
10292 * login/Makefile: Likewise.
10293 * mach/Makefile: Likewise.
10294 (all): Remove target.
10295 * malloc/Makefile: Include Makeconfig immediately after defining
10297 (all): Remove target.
10298 * manual/Makefile: Include Makeconfig immediately after defining
10300 * math/Makefile: Likewise.
10301 * misc/Makefile: Likewise.
10302 * nis/Makefile: Likewise.
10303 * nss/Makefile: Likewise.
10304 * po/Makefile: Likewise.
10305 (all): Remove target.
10306 * posix/Makefile: Include Makeconfig immediately after defining
10308 * pwd/Makefile: Likewise.
10309 * resolv/Makefile: Likewise.
10310 * resource/Makefile: Likewise.
10311 * rt/Makefile: Likewise.
10312 * setjmp/Makefile: Likewise.
10313 * shadow/Makefile: Likewise.
10314 * signal/Makefile: Likewise.
10315 * socket/Makefile: Likewise.
10316 * soft-fp/Makefile: Likewise.
10317 * stdio-common/Makefile: Likewise.
10318 * stdlib/Makefile: Likewise.
10319 * streams/Makefile: Likewise.
10320 * string/Makefile: Likewise.
10321 * sunrpc/Makefile: Likewise.
10322 (all): Remove target.
10323 * sysvipc/Makefile: Include Makeconfig immediately after defining
10325 * termios/Makefile: Likewise.
10326 * time/Makefile: Likewise.
10327 * timezone/Makefile: Likewise.
10328 (all): Remove target.
10329 * wcsmbs/Makefile: Include Makeconfig immediately after defining
10331 * wctype/Makefile: Likewise.
10333 2014-02-26 Steve Ellcey <sellcey@mips.com>
10335 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10336 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10337 (libc_feholdexcept_setround_mips): Ditto.
10338 (libc_feholdsetround): New.
10339 (libc_feholdsetroundf): New.
10340 (libc_feholdsetroundl): New.
10341 (libc_feupdateenv_test_mips): New.
10342 (libc_feupdateenv_test): New.
10343 (libc_feupdateenv_testf): New.
10344 (libc_feupdateenv_testl): New.
10345 (libc_feresetround): New.
10346 (libc_feresetroundf): New.
10347 (libc_feresetroundl): New.
10348 (libc_fetestexcept_mips): New.
10349 (libc_fetestexcept): New.
10350 (libc_fetestexceptf): New.
10351 (libc_fetestexceptl): New.
10352 (HAVE_RM_CTX): New.
10353 (libc_feholdexcept_setround_mips_ctx): New.
10354 (libc_feholdexcept_setround_ctx): New.
10355 (libc_feholdexcept_setroundf_ctx): New.
10356 (libc_feholdexcept_setroundl_ctx): New.
10357 (libc_fesetenv_mips_ctx): New.
10358 (libc_fesetenv_ctx): New.
10359 (libc_fesetenv_ctxf): New.
10360 (libc_fesetenv_ctxl): New.
10361 (libc_feupdateenv_mips_ctx): New.
10362 (libc_feupdateenv_ctx): New.
10363 (libc_feupdateenvf_ctx): New.
10364 (libc_feupdateenvl_ctx): New.
10365 (libc_feholdsetround_mips_ctx): New.
10366 (libc_feholdsetround_ctx): New.
10367 (libc_feholdsetroundf_ctx): New.
10368 (libc_feholdsetroundl_ctx): New.
10369 (libc_feresetround_mips_ctx): New.
10370 (libc_feresetround_ctx): New.
10371 (libc_feresetroundf_ctx): New.
10372 (libc_feresetroundl_ctx): New.
10374 2014-02-26 Carlos O'Donell <carlos@redhat.com>
10376 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10378 * manual/ipc.texi: New file.
10379 * manual/Makefile (chapters): Add ipc.
10380 * manual/job.texi: Add "Inter-Process Communication" to next.
10381 * manual/process.texi: Add "Inter-Process Communication" to prev.
10383 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10387 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
10389 * malloc/malloc.c (__libc_calloc): Simplify implementation.
10391 * manual/arith.texi: Fix spaces after sentences.
10392 * manual/charset.texi: Likewise.
10393 * manual/errno.texi: Likewise.
10394 * manual/install.texi: Likewise.
10395 * manual/llio.texi: Likewise.
10396 * manual/locale.texi: Likewise.
10397 * manual/maint.texi: Likewise.
10398 * manual/math.texi: Likewise.
10399 * manual/memory.texi: Likewise.
10400 * manual/message.texi: Likewise.
10401 * manual/probes.texi: Likewise.
10402 * manual/resource.texi: Likewise.
10403 * manual/signal.texi: Likewise.
10404 * manual/socket.texi: Likewise.
10405 * manual/stdio.texi: Likewise.
10406 * manual/string.texi: Likewise.
10407 * manual/time.texi: Likewise.
10408 * manual/users.texi: Likewise.
10410 2014-02-25 Carlos O'Donell <carlos@redhat.com>
10413 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10414 _DEFAULT_SOURCE is defined.
10416 2014-02-25 Ulrich Drepper <drepper@gmail.com>
10417 Carlos O'Donell <carlos@redhat.com>
10420 * elf/dl-tls.c (_dl_count_modids): New function.
10421 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10422 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10423 audit library and increment generation counter.
10424 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10425 * elf/tst-audit9.c: New file.
10426 * elf/tst-auditmod9a.c: New file.
10427 * elf/tst-auditmod9b.c: New file.
10428 * elf/Makefile: Add rules to build and run tst-audit9.
10430 2014-02-25 Florian Weimer <fweimer@redhat.com>
10433 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10435 2014-02-25 Will Newton <will.newton@linaro.org>
10437 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10438 (__longjmp): Restore sp and lr before restoring callee
10439 saved registers. Add longjmp and longjmp_target
10440 SystemTap probe point.
10441 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10442 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10443 Define to zero to match jmpbuf layout.
10444 * sysdeps/arm/setjmp.S: Include stap-probe.h.
10445 (__sigsetjmp): Save sp and lr before saving callee
10446 saved registers. Add setjmp SystemTap probe point.
10448 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10450 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10452 2014-02-24 Andreas Schwab <schwab@suse.de>
10455 * elf/pldd.c (wait_for_ptrace_stop): New function.
10456 (main): Call it after attaching.
10458 2014-02-22 Roland McGrath <roland@hack.frob.com>
10460 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10461 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10462 Versions files is now verboten.
10463 * hurd/Versions (libc: GLIBC_2.0):
10464 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10465 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10466 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10467 * mach/Versions: Likewise.
10469 * csu/Versions: Remove unused %include.
10470 * resolv/Versions: Likewise.
10472 2014-02-21 Joseph Myers <joseph@codesourcery.com>
10474 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10475 ($(objpfx)check-local-headers.out): Likewise.
10476 ($(objpfx)begin-end-check.out): Likewise.
10477 * Makerules (check-abi-%.out): Likewise.
10478 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10479 ($(objpfx)test2.cat): Likewise.
10480 ($(objpfx)de/libc.cat): Likewise.
10481 ($(objpfx)test-gencat.out): Likewise.
10482 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10483 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10484 ($(objpfx)noload-mem): Likewise.
10485 ($(objpfx)tst-pathopt.out): Likewise.
10486 ($(objpfx)tst-rtld-load-self.out): Likewise.
10487 ($(objpfx)tst-array1-cmp.out): Likewise.
10488 ($(objpfx)tst-array1-static-cmp.out): Likewise.
10489 ($(objpfx)tst-array2-cmp.out): Likewise.
10490 ($(objpfx)tst-array3-cmp.out): Likewise.
10491 ($(objpfx)tst-array4-cmp.out): Likewise.
10492 ($(objpfx)tst-array5-cmp.out): Likewise.
10493 ($(objpfx)tst-array5-static-cmp.out): Likewise.
10494 ($(objpfx)check-textrel.out): Likewise.
10495 ($(objpfx)check-execstack.out): Likewise.
10496 ($(objpfx)check-localplt.out): Likewise.
10497 ($(objpfx)order2-cmp.out): Likewise.
10498 ($(objpfx)tst-leaks1-mem): Likewise.
10499 ($(objpfx)tst-leaks1-static-mem): Likewise.
10500 ($(objpfx)tst-initorder-cmp.out): Likewise.
10501 ($(objpfx)tst-initorder2-cmp.out): Likewise.
10502 ($(objpfx)tst-unused-dep.out): Likewise.
10503 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10504 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10505 * iconv/Makefile (test-iconvconfig): Likewise.
10506 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10507 ($(objpfx)iconv-test.out): Likewise.
10508 ($(objpfx)tst-tables.out): Likewise.
10509 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10510 ($(objpfx)tst-gettext.out): Likewise.
10511 ($(objpfx)tst-translit.out): Likewise.
10512 ($(objpfx)tst-gettext2.out): Likewise.
10513 ($(objpfx)tst-gettext4.out): Likewise.
10514 ($(objpfx)tst-gettext6.out): Likewise.
10515 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10516 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10517 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10518 ($(objpfx)tst-fopenloc-mem.out): Likewise.
10519 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10520 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10521 * posix/Makefile ($(objpfx)globtest.out): Likewise.
10522 ($(objpfx)wordexp-tst.out): Likewise.
10523 ($(objpfx)annexc.out): Likewise.
10524 ($(objpfx)tst-fnmatch-mem): Likewise.
10525 ($(objpfx)bug-regex2-mem): Likewise.
10526 ($(objpfx)bug-regex14-mem): Likewise.
10527 ($(objpfx)bug-regex21-mem): Likewise.
10528 ($(objpfx)bug-regex31-mem): Likewise.
10529 ($(objpfx)tst-vfork3-mem): Likewise.
10530 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10531 ($(objpfx)tst-pcre-mem): Likewise.
10532 ($(objpfx)tst-boost-mem): Likewise.
10533 ($(objpfx)tst-getconf.out): Likewise.
10534 ($(objpfx)bug-ga2-mem): Likewise.
10535 ($(objpfx)bug-glob2-mem): Likewise.
10536 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10537 ($(objpfx)mtrace-tst-leaks2): Likewise.
10538 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10539 ($(objpfx)tst-printf.out): Likewise.
10540 ($(objpfx)tst-setvbuf1.out): Likewise.
10541 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10542 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10543 ($(objpfx)tst-fmtmsg.out): Likewise.
10544 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10545 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10547 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10548 * bits/sigaction.h [__USE_MISC]: Likewise.
10549 * bits/waitstatus.h: Update #endif comments.
10550 * ctype/ctype.h: Likewise.
10551 * dirent/dirent.h: Likewise.
10552 [__USE_MISC]: Remove redundant conditionals.
10553 * grp/grp.h: Update #endif comments.
10554 [__USE_GNU]: Remove redundant conditionals.
10555 [__USE_MISC]: Likewise.
10556 * inet/netinet/in.h [__USE_GNU]: Likewise.
10557 * io/sys/stat.h [__USE_MISC]: Likewise.
10558 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10559 * libio/bits/stdio.h: Update #endif comments.
10560 [__USE_MISC]: Remove redundant conditionals.
10561 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10562 * libio/stdio.h: Update #endif comments.
10563 [__USE_MISC]: Remove redundant conditionals.
10564 * math/bits/math-finite.h [__USE_MISC]: Likewise.
10565 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10566 * math/math.h: Update #else and #endif comments.
10567 [__USE_MISC]: Remove redundant conditionals.
10568 * misc/sys/uio.h: Update #endif comments.
10569 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10570 * posix/glob.h [__USE_MISC]: Likewise.
10571 * posix/sys/types.h: Update #endif comments.
10572 [__USE_MISC]: Remove redundant conditionals.
10573 * posix/sys/wait.h: Update #endif comments.
10574 [__USE_MISC]: Remove redundant conditionals.
10575 * posix/unistd.h: Update #endif comments.
10576 [__USE_MISC]: Remove redundant conditionals.
10577 * pwd/pwd.h [__USE_GNU]: Likewise.
10578 [__USE_MISC]: Likewise.
10579 * resolv/netdb.h [__USE_GNU]: Likewise.
10580 * signal/signal.h: Update #endif comments.
10581 [__USE_MISC]: Remove redundant conditionals.
10582 * stdlib/stdlib.h: Update #else and #endif comments.
10583 [__USE_MISC]: Remove redundant conditionals.
10584 [__USE_GNU]: Likewise.
10585 * string/bits/string2.h [__USE_MISC]: Likewise.
10586 * string/string.h: Update #endif comments.
10587 [__USE_MISC]: Remove redundant conditionals.
10588 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10590 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10591 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10592 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10594 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10596 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10598 [__USE_MISC]: Remove redundant conditionals.
10599 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10600 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10601 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10602 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10603 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10605 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10606 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10608 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10609 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10611 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10613 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10614 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10616 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10618 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10619 * sysdeps/x86/bits/string.h: Update #endif comments.
10620 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10622 * time/sys/time.h: Update #endif comments.
10623 * time/time.h: Likewise.
10624 [__USE_MISC]: Remove redundant conditionals.
10626 2014-02-21 Yury Gribov <y.gribov@samsung.com>
10629 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10631 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
10633 * Versions.def (librt): Add GLIBC_2.17.
10635 2014-02-21 Adam Conrad <adconrad@0c3.net>
10637 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10638 synonym for _SYS_AUXV_H to allow direct inclusion.
10639 * sysdeps/sparc/bits/hwcap.h: Likewise.
10640 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10641 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10642 * sysdeps/sparc/sysdep.h: Likewise.
10644 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10646 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10648 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10650 * benchtests/bench-strrchr.c: Print length instead of position.
10652 2014-02-20 Joseph Myers <joseph@codesourcery.com>
10655 * sysdeps/unix/sysv/linux/kernel-features.h
10656 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10657 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10658 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10659 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10661 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10662 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10663 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10664 (__ASSUME_SENDMMSG): Define instead of using previous
10665 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10666 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10667 (__ASSUME_SENDMMSG_SYSCALL): Define.
10668 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10669 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10671 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10672 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10674 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10675 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10677 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10678 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10679 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10680 [__ASSUME_SENDMMSG]: Change conditionals to
10681 [__ASSUME_SENDMMSG_SOCKETCALL].
10682 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10683 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10685 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10686 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10688 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10689 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10690 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10691 [!__ASSUME_SENDMMSG]: Change conditional to
10692 [!__ASSUME_SENDMMSG_SOCKETCALL].
10693 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10694 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10698 * sysdeps/unix/sysv/linux/kernel-features.h
10699 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10700 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10701 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10702 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10703 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10704 [__i386__ || __sparc__]
10705 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10706 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10707 (__ASSUME_RECVMMSG): Define instead of using previous
10708 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10709 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10710 (__ASSUME_RECVMMSG_SYSCALL): Define.
10711 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10712 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10714 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10715 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10717 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10718 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10720 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10721 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10722 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10723 [__ASSUME_RECVMMSG]: Change condition to
10724 [__ASSUME_RECVMMSG_SOCKETCALL].
10725 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10726 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10728 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10729 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10730 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10732 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10733 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10734 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10735 [!__ASSUME_RECVMMSG]: Change condition to
10736 [!__ASSUME_RECVMMSG_SOCKETCALL].
10737 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10738 (__ASSUME_RECVMMSG_SYSCALL): Define.
10741 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10742 __powerpc__ || __s390__ || __sh__ || __sparc__]
10743 (__ASSUME_SOCKETCALL): Define.
10744 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10745 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10746 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10747 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10748 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10749 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10750 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10751 (__ASSUME_ACCEPT4): Define instead of using previous
10752 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10753 __powerpc__ || __sparc__ || __s390__)] condition.
10754 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10755 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10756 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10757 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10758 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10759 [!__ASSUME_ACCEPT4]: Change condition to
10760 [!__ASSUME_ACCEPT4_SOCKETCALL].
10761 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10762 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10763 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10764 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10765 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10766 __ASSUME_ACCEPT4_SYSCALL.
10767 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10768 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10769 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10770 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10771 __ASSUME_ACCEPT4_SYSCALL.
10772 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10773 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10774 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10775 [__ASSUME_ACCEPT4]: Change condition to
10776 [__ASSUME_ACCEPT4_SOCKETCALL].
10777 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10778 (__ASSUME_SOCKETCALL): Define.
10779 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10780 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10781 (__ASSUME_SOCKETCALL): Define.
10782 (__ASSUME_ACCEPT4): Remove.
10783 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10785 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10786 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10788 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10789 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10791 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10793 (HWCAP_ARM_LPAE): Likewise.
10794 (HWCAP_ARM_EVTSTRM): Likewise.
10795 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10796 Add vpfd32, lpae and evtstrm.
10797 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10800 2014-02-19 Joseph Myers <joseph@codesourcery.com>
10802 * math/auto-libm-test-in: Add tests of clog10.
10803 * math/auto-libm-test-out: Regenerated.
10804 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10805 * sysdeps/i386/fpu/libm-test-ulps: Update.
10806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10808 2014-02-18 Andreas Schwab <schwab@suse.de>
10811 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10812 Store non-zero if the second buffer was newly allocated.
10813 (send_dg): Likewise.
10814 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10815 to send_vc and send_dg.
10816 (res_nsend): Pass NULL for ansp2_malloced.
10817 * resolv/res_query.c (__libc_res_nquery): Add parameter
10818 answerp2_malloced and pass it down to __libc_res_nsend.
10819 (res_nquery): Pass additional NULL to __libc_res_nquery.
10820 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10821 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10822 second answer buffer if answerp2_malloced was set.
10823 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10824 (__libc_res_nquerydomain): Add parameter
10825 answerp2_malloced and pass it down to __libc_res_nquery.
10826 (res_nquerydomain): Pass additional NULL to
10827 __libc_res_nquerydomain.
10828 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10829 additional NULL to __libc_res_nsend and __libc_res_nquery.
10830 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10831 additional NULL to __libc_res_nsearch.
10832 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10833 parameter of __libc_res_nsearch to check for separately allocated
10835 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10837 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10838 additional NULL to __libc_res_nquery.
10839 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10840 __libc_res_nsearch.
10841 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10842 * include/resolv.h: Update prototypes of __libc_res_nquery,
10843 __libc_res_nsearch, __libc_res_nsend.
10845 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10847 * math/auto-libm-test-in: Add tests of fma.
10848 * math/auto-libm-test-out: Regenerated.
10849 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10850 (fma_towardzero_test_data): Likewise.
10851 (fma_downward_test_data): Likewise.
10852 (fma_upward_test_data): Likewise.
10853 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10855 (rounding_modes): Add values for new field.
10856 (func_calc_method): Add value mpfr_fff_f.
10857 (func_calc_desc): Add mpfr_fff_f union field.
10858 (test_function): Add field exact_args.
10859 (FUNC): Add macro argument EXACT_ARGS.
10860 (FUNC_mpfr_f_f): Update call to FUNC.
10861 (FUNC_mpfr_f_f): Likewise.
10862 (FUNC_mpfr_ff_f): Likewise.
10863 (FUNC_mpfr_if_f): Likewise.
10864 (FUNC_mpc_c_f): Likewise.
10865 (FUNC_mpc_c_c): Likewise.
10866 (test_functions): Add fma. Update calls to FUNC.
10867 (handle_input_arg): Add argument exact_args.
10868 (add_test): Update call to handle_input_arg.
10869 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10870 (output_for_one_input_case): Update call to calc_generic_results.
10871 Recalculate exact zero results in each rounding mode.
10873 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10874 non-negative before setting low bit.
10875 * math/auto-libm-test-in: Mark one asin test possibly having
10876 spurious underflow.
10877 * math/auto-libm-test-out: Regenerated.
10878 * sysdeps/i386/fpu/libm-test-ulps: Update.
10879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10881 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10883 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10884 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10885 ports/sysdeps/unix/sysv/linux/microblaze.
10886 * README: Add missing listing for microblaze*-*-linux-gnu.
10888 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
10890 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10893 2014-02-16 Mike Frysinger <vapier@gentoo.org>
10895 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10896 * sysdeps/unix/sysv/linux/ia64: Move directory from
10897 ports/sysdeps/unix/sysv/linux/ia64.
10898 * README: Update listing for ia64-*-linux-gnu.
10900 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10901 Joseph Myers <joseph@codesourcery.com>
10903 * Makeconfig (test-name): New variable.
10904 (evaluate-test): Likewise.
10905 * Makerules (do-test-clean): Remove .test-result files.
10906 (common-mostlyclean): Likewise.
10907 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10908 * scripts/evaluate-test.sh: New file.
10910 2014-02-14 Joseph Myers <joseph@codesourcery.com>
10912 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10913 separate $(objpfx)tst-fopenloc-cmp.out and
10914 $(objpfx)tst-fopenloc-mem.out targets.
10915 (tests): Update dependencies.
10916 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10917 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10918 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10919 (tst-rxspencer-no-utf8-ARGS): New variable.
10920 (tst-rxspencer-no-utf8-ENV): Likewise.
10921 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10922 instead of $(objpfx)tst-rxspencer-mem.
10923 ($(objpfx)tst-rxspencer-mem): Change target to
10924 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10925 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10926 * posix/tst-rxspencer-no-utf8.c: New file.
10928 * elf/Makefile ($(objpfx)order.out): Remove rule.
10929 [$(run-built-tests) = yes] (tests): Depend on
10930 $(objpfx)order-cmp.out.
10931 ($(objpfx)order-cmp.out): New rule.
10932 [$(run-built-tests) = yes] (tests): Depend on
10933 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10934 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10935 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10936 $(objpfx)tst-array5-static-cmp.out.
10937 ($(objpfx)tst-array1.out): Remove rule.
10938 ($(objpfx)tst-array1-cmp.out): New rule.
10939 ($(objpfx)tst-array1-static.out): Remove rule.
10940 ($(objpfx)tst-array1-static-cmp.out): New rule.
10941 ($(objpfx)tst-array2.out): Remove rule.
10942 ($(objpfx)tst-array2-cmp.out): New rule.
10943 ($(objpfx)tst-array3.out): Remove rule.
10944 ($(objpfx)tst-array3-cmp.out): New rule.
10945 ($(objpfx)tst-array4.out): Remove rule.
10946 ($(objpfx)tst-array4-cmp.out): New rule.
10947 ($(objpfx)tst-array5.out): Remove rule.
10948 ($(objpfx)tst-array5-cmp.out): New rule.
10949 ($(objpfx)tst-array5-static.out): Remove rule.
10950 ($(objpfx)tst-array5-static-cmp.out): New rule.
10951 [$(run-built-tests) = yes] (tests): Depend on
10952 $(objpfx)order2-cmp.out.
10953 ($(objpfx)order2.out): Remove rule.
10954 ($(objpfx)order2-cmp.out): New rule.
10955 ($(objpfx)tst-initorder.out): Remove rule.
10956 [$(run-built-tests) = yes] (tests): Depend on
10957 $(objpfx)tst-initorder-cmp.out.
10958 ($(objpfx)tst-initorder-cmp.out): New rule.
10959 ($(objpfx)tst-initorder2.out): Remove rule.
10960 [$(run-built-tests) = yes] (tests): Depend on
10961 $(objpfx)tst-initorder2-cmp.out.
10962 ($(objpfx)tst-initorder2-cmp.out): New rule.
10963 [$(run-built-tests) = yes] (tests): Depend on
10964 $(objpfx)tst-unused-dep-cmp.out.
10965 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10966 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10967 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10968 on $(objpfx)tst-setvbuf1-cmp.out.
10969 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10970 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10971 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10972 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10973 ($(objpfx)tst-svc.out): Remove rule.
10974 ($(objpfx)tst-svc-cmp.out): New rule.
10976 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10978 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10979 * ctype/ctype.h [__USE_MISC]: Likewise.
10980 * dirent/dirent.h [__USE_MISC]: Likewise.
10981 * grp/grp.h [__USE_MISC]: Likewise.
10982 * io/fcntl.h [__USE_MISC]: Likewise.
10983 * io/sys/stat.h [__USE_MISC]: Likewise.
10984 * libio/stdio.h [__USE_MISC]: Likewise.
10985 * posix/unistd.h [__USE_MISC]: Likewise.
10986 * pwd/pwd.h [__USE_MISC]: Likewise.
10987 * stdlib.h [__USE_MISC]: Likewise.
10988 * string/bits/string2.h [__USE_MISC]: Likewise.
10989 * string/string.h [__USE_MISC]: Likewise.
10990 * time/time.h [__USE_MISC]: Likewise.
10992 2014-02-13 Andreas Schwab <schwab@suse.de>
10995 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10996 second answer buffer if it was separately allocated.
10998 2014-02-12 Joseph Myers <joseph@codesourcery.com>
11000 * sysdeps/mips/math-tests.h: Include <features.h>.
11001 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11002 (ROUNDING_TESTS_long_double): Do not define.
11003 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11004 (EXCEPTION_TESTS_long_double): Likewise.
11005 * sysdeps/mips/mips64/libm-test-ulps: Update.
11007 * include/features.h (__USE_BSD): Remove macro definitions.
11008 (__USE_SVID): Likewise.
11009 (_BSD_SOURCE): Likewise.
11010 (_SVID_SOURCE): Likewise.
11011 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11012 from definition of _DEFAULT_SOURCE.
11013 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11015 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11016 * bits/mman.h [__USE_BSD]: Likewise.
11017 * bits/termios.h [__USE_BSD]: Likewise.
11018 * bits/waitstatus.h [__USE_BSD]: Likewise.
11019 * ctype/ctype.h [__USE_SVID]: Likewise.
11020 * dirent/dirent.h [__USE_BSD]: Likewise.
11021 * grp/grp.h [__USE_SVID]: Likewise.
11022 [__USE_BSD]: Likewise.
11023 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11024 * io/fcntl.h [__USE_BSD]: Likewise.
11025 * io/ftw.h [__USE_BSD]: Likewise.
11026 * io/sys/stat.h [__USE_BSD]: Likewise.
11027 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11028 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11029 * libio/stdio.h [__USE_SVID]: Likewise.
11030 [__USE_BSD]: Likewise.
11031 * math/math.h [__USE_SVID]: Likewise.
11032 [__USE_BSD]: Likewise.
11033 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11034 * misc/bits/syslog.h [__USE_BSD]: Likewise.
11035 * misc/search.h [__USE_SVID]: Likewise.
11036 * misc/sys/mman.h [__USE_BSD]: Likewise.
11037 * misc/sys/syslog.h [__USE_BSD]: Likewise.
11038 * misc/sys/uio.h [__USE_BSD]: Likewise.
11039 * posix/bits/unistd.h [__USE_BSD]: Likewise.
11040 * posix/glob.h [__USE_BSD]: Likewise.
11041 * posix/regex.h [__USE_BSD]: Likewise.
11042 * posix/sys/types.h [__USE_BSD]: Likewise.
11043 [__USE_SVID]: Likewise.
11044 * posix/sys/utsname.h [__USE_SVID]: Likewise.
11045 * posix/sys/wait.h [__USE_BSD]: Likewise.
11046 [__USE_SVID]: Likewise.
11047 * posix/unistd.h [__USE_BSD]: Likewise.
11048 [__USE_SVID]: Likewise.
11049 * pwd/pwd.h [__USE_SVID]: Likewise.
11050 * resolv/netdb.h [__USE_BSD]: Likewise.
11051 * setjmp/setjmp.h [__USE_BSD]: Likewise.
11052 * signal/signal.h [__USE_BSD]: Likewise.
11053 [__USE_SVID]: Likewise.
11054 * socket/sys/socket.h [__USE_BSD]: Likewise.
11055 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11056 * stdlib/stdlib.h [__USE_BSD]: Likewise.
11057 [__USE_SVID]: Likewise.
11058 * string/bits/string2.h [__USE_BSD]: Likewise.
11059 [__USE_SVID]: Likewise.
11060 * string/bits/string3.h [__USE_BSD]: Likewise.
11061 * string/endian.h [__USE_BSD]: Likewise.
11062 * string/string.h [__USE_SVID]: Likewise.
11063 [__USE_BSD]: Likewise.
11064 * string/strings.h [__USE_BSD]: Likewise.
11065 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11066 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11067 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11068 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11069 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11070 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11072 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11074 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11075 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11077 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11078 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11080 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11082 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11083 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11084 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11086 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11088 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11089 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11090 * termios/termios.h [__USE_BSD]: Likewise.
11091 * time/sys/time.h [__USE_BSD]: Likewise.
11092 * time/time.h [__USE_BSD]: Likewise.
11093 [__USE_SVID]: Likewise.
11095 * Makefile (subdir_targets): Remove subdir_lint.out.
11097 * stdio-common/Makefile (do-tst-unbputc): Remove target.
11098 (do-tst-printf): Likewise.
11099 (tests): Depend directly on $(objpfx)tst-unbputc.out and
11100 $(objpfx)tst-printf.out.
11102 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11104 * Makerules (check-abi-%): Change target to
11105 $(objpfx)check-abi-%.out.
11106 (check-abi target): Update dependencies.
11107 (check-abi-pattern variable): Redirect output of diff to $@.
11108 (check-abi variable): Likewise.
11109 * elf/Makefile (check-abi): Update dependencies.
11111 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11113 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11114 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11116 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11117 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11118 value has largest subnormal exponent.
11119 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11120 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11121 * sysdeps/aarch64/soft-fp/sfp-machine.h
11122 (_FP_TININESS_AFTER_ROUNDING): New macro.
11123 * sysdeps/alpha/soft-fp/sfp-machine.h
11124 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11125 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11127 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11128 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11129 * sysdeps/mips/soft-fp/sfp-machine.h
11130 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11131 * sysdeps/powerpc/soft-fp/sfp-machine.h
11132 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11133 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11135 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11136 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11137 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11138 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11139 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11142 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
11145 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11148 2014-02-12 Richard Henderson <rth@redhat.com>
11150 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11151 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11152 * sysdeps/unix/sysv/linux/alpha: Move directory from
11153 ports/sysdeps/unix/sysv/linux/alpha.
11154 * README: Update listing for alpha-*-linux-gnu.
11156 2014-02-11 Joseph Myers <joseph@codesourcery.com>
11158 * include/features.h: Update comment documenting feature test
11160 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
11162 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11163 (_SVID_SOURCE): Likewise.
11164 (_DEFAULT_SOURCE): Update description of default features.
11165 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11167 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11168 (S_ISVTX): Likewise.
11169 * manual/math.texi (Mathematical Constants): Likewise.
11170 * manual/signal.texi (Interrupted Primitives): Likewise.
11171 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11172 * math/test-matherr.c (_SVID_SOURCE): Do not define.
11173 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11174 Don't refer to _SVID_SOURCE in warning text.
11176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11178 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11180 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11181 * sysdeps/mips/dl-lookup.c: Remove.
11182 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11184 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11187 * math/auto-libm-test-in: Add testcase for expl.
11188 * math/auto-libm-test-out: Regenerate.
11189 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11190 calculation of unsafe.
11191 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11193 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
11195 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11196 * sysdeps/unix/sysv/linux/aarch64: Move directory from
11197 ports/sysdeps/unix/sysv/linux/aarch64.
11198 * README: Update listing for aarch64*-*-linux-gnu.
11200 2014-02-11 Will Newton <will.newton@linaro.org>
11202 * manual/probes.texi (Mathematical Function Probes): Use
11203 "triggered" instead of "hit".
11205 * manual/probes.texi (Internal Probes): Add documentation
11206 of setjmp, longjmp and longjmp_target probes.
11208 * include/stap-probe.h: Add comment about probe argument
11211 * malloc/mtrace.c (attribute_hidden): Remove unused macro
11212 definition. (tr_where, tr_freehook, tr_mallochook,
11213 tr_reallochook, tr_memalignhook): Use ANSI protoype.
11215 2014-02-11 David S. Miller <davem@davemloft.net>
11217 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11218 processing int_tests.
11220 2014-02-10 Joseph Myers <joseph@codesourcery.com>
11222 * sysdeps/mips: Move directory from ports/sysdeps/mips.
11223 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11224 * sysdeps/unix/sysv/linux/mips: Move directory from
11225 ports/sysdeps/unix/sysv/linux/mips.
11226 * README: Update listing for mips-*-linux-gnu and
11227 mips64-*-linux-gnu.
11229 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
11231 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11232 * sysdeps/unix/sysv/linux/m68k: Move directory from
11233 ports/sysdeps/unix/sysv/linux/m68k.
11234 * README: Update listing for m68k-*-linux-gnu.
11236 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
11238 * sysdeps/tile: Move directory from ports/sysdeps/tile.
11239 * sysdeps/unix/sysv/linux/generic: Move directory from
11240 ports/sysdeps/unix/sysv/linux/generic.
11241 * sysdeps/unix/sysv/linux/tile: Move directory from
11242 ports/sysdeps/unix/sysv/linux/tile.
11243 * README: Update listing for tile*-*-linux-gnu.
11245 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
11247 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11249 * benchtests/bench-memmem.c (simple_memmem): Likewise.
11250 * catgets/open_catalog.c (__open_catalog): Likewise.
11251 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11252 * debug/confstr_chk.c: Likewise.
11253 * debug/fread_chk.c (__fread_chk): Likewise.
11254 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11255 * debug/getgroups_chk.c: Likewise.
11256 * debug/mbsnrtowcs_chk.c: Likewise.
11257 * debug/mbsrtowcs_chk.c: Likewise.
11258 * debug/mbstowcs_chk.c: Likewise.
11259 * debug/memcpy_chk.c: Likewise.
11260 * debug/memmove_chk.c: Likewise.
11261 * debug/mempcpy_chk.c: Likewise.
11262 * debug/memset_chk.c: Likewise.
11263 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11264 * debug/strcat_chk.c (__strcat_chk): Likewise.
11265 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11266 * debug/strncat_chk.c (__strncat_chk): Likewise.
11267 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11268 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11269 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11270 * debug/wcpncpy_chk.c: Likewise.
11271 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11272 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11273 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11274 * debug/wcsncpy_chk.c: Likewise.
11275 * debug/wcsnrtombs_chk.c: Likewise.
11276 * debug/wcsrtombs_chk.c: Likewise.
11277 * debug/wcstombs_chk.c: Likewise.
11278 * debug/wmemcpy_chk.c: Likewise.
11279 * debug/wmemmove_chk.c: Likewise.
11280 * debug/wmempcpy_chk.c: Likewise.
11281 * debug/wmemset_chk.c: Likewise.
11282 * dirent/scandirat.c (SCANDIRAT): Likewise.
11283 * dlfcn/dladdr1.c (dladdr1): Likewise.
11284 * dlfcn/dladdr.c (dladdr): Likewise.
11285 * dlfcn/dlclose.c (dlclose_doit): Likewise.
11286 * dlfcn/dlerror.c (__dlerror): Likewise.
11287 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11288 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11289 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11290 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11291 * dlfcn/dlsym.c (dlsym_doit): Likewise.
11292 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11293 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11294 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11296 * elf/dl-conflict.c: Likewise.
11297 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11298 * elf/dl-dst.h: Likewise.
11299 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11300 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11301 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11302 * elf/dl-init.c (call_init, _dl_init): Likewise.
11303 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11304 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11305 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11307 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11309 * elf/dl-minimal.c (__libc_memalign): Likewise.
11310 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11311 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11312 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11313 * elf/dl-sym.c (do_sym): Likewise.
11314 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11315 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11316 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11317 * elf/dl-writev.h (_dl_writev): Likewise.
11318 * elf/ldconfig.c (search_dir): Likewise.
11319 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11320 (dl_main): Likewise.
11321 * elf/setup-vdso.h (setup_vdso): Likewise.
11322 * grp/compat-initgroups.c (compat_call): Likewise.
11323 * grp/fgetgrent.c (fgetgrent): Likewise.
11324 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11325 * grp/putgrent.c (putgrent): Likewise.
11326 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11328 * hurd/hurdinit.c: Likewise.
11329 * iconvdata/8bit-gap.c (struct): Likewise.
11330 * iconvdata/ansi_x3.110.c : Likewise.
11331 * iconvdata/big5.c : Likewise.
11332 * iconvdata/big5hkscs.c : Likewise.
11333 * iconvdata/cp1255.c: Likewise.
11334 * iconvdata/cp1258.c : Likewise.
11335 * iconvdata/cp932.c : Likewise.
11336 * iconvdata/euc-cn.c: Likewise.
11337 * iconvdata/euc-jisx0213.c : Likewise.
11338 * iconvdata/euc-jp.c: Likewise.
11339 * iconvdata/euc-jp-ms.c : Likewise.
11340 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11341 * iconvdata/gb18030.c : Likewise.
11342 * iconvdata/gbbig5.c (const): Likewise.
11343 * iconvdata/gbgbk.c: Likewise.
11344 * iconvdata/gbk.c : Likewise.
11345 * iconvdata/ibm1364.c : Likewise.
11346 * iconvdata/ibm930.c : Likewise.
11347 * iconvdata/ibm932.c: Likewise.
11348 * iconvdata/ibm933.c : Likewise.
11349 * iconvdata/ibm935.c : Likewise.
11350 * iconvdata/ibm937.c : Likewise.
11351 * iconvdata/ibm939.c : Likewise.
11352 * iconvdata/ibm943.c: Likewise.
11353 * iconvdata/iso_11548-1.c: Likewise.
11354 * iconvdata/iso-2022-cn.c : Likewise.
11355 * iconvdata/iso-2022-cn-ext.c : Likewise.
11356 * iconvdata/iso-2022-jp-3.c: Likewise.
11357 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11358 * iconvdata/iso-2022-kr.c : Likewise.
11359 * iconvdata/iso646.c (gconv_end): Likewise.
11360 * iconvdata/iso_6937-2.c : Likewise.
11361 * iconvdata/iso_6937.c : Likewise.
11362 * iconvdata/iso8859-1.c: Likewise.
11363 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11364 * iconvdata/shift_jisx0213.c : Likewise.
11365 * iconvdata/sjis.c : Likewise.
11366 * iconvdata/t.61.c : Likewise.
11367 * iconvdata/tcvn5712-1.c : Likewise.
11368 * iconvdata/tscii.c: Likewise.
11369 * iconvdata/uhc.c : Likewise.
11370 * iconvdata/unicode.c (gconv_end): Likewise.
11371 * iconvdata/utf-16.c (gconv_end): Likewise.
11372 * iconvdata/utf-32.c (gconv_end): Likewise.
11373 * iconvdata/utf-7.c (base64): Likewise.
11374 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11375 * iconv/gconv_close.c (__gconv_close): Likewise.
11376 * iconv/gconv_open.c (__gconv_open): Likewise.
11377 * iconv/gconv_simple.c (internal_ucs4_loop_single)
11378 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11379 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11380 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11381 (ucs4le_internal_loop_single): Likewise.
11382 * iconv/iconv.c (iconv): Likewise.
11383 * iconv/iconv_close.c: Likewise.
11384 * iconv/loop.c (SINGLE): Likewise.
11385 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11386 * include/atomic.h: Likewise.
11387 * inet/inet6_option.c (option_alloc): Likewise.
11388 * intl/bindtextdom.c (set_binding_values): Likewise.
11389 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11390 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11391 * intl/localealias.c (read_alias_file): Likewise.
11392 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11393 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11394 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11395 * libio/fmemopen.c (fmemopen): Likewise.
11396 * libio/iofgets.c (_IO_fgets): Likewise.
11397 * libio/iofgets_u.c (fgets_unlocked): Likewise.
11398 * libio/iofgetws.c (fgetws): Likewise.
11399 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11400 * libio/iogetdelim.c (_IO_getdelim): Likewise.
11401 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11402 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11403 * locale/findlocale.c (_nl_find_locale): Likewise.
11404 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11405 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11407 * locale/setlocale.c (setlocale): Likewise.
11408 * login/programs/pt_chown.c (main): Likewise.
11409 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11410 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11411 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11412 (mmap, mmap64, mremap, munmap): Likewise.
11413 * math/e_exp2l.c: Likewise.
11414 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11415 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11416 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11417 * math/s_catan.c (__catan): Likewise.
11418 * math/s_catanf.c (__catanf): Likewise.
11419 * math/s_catanh.c (__catanh): Likewise.
11420 * math/s_catanhf.c (__catanhf): Likewise.
11421 * math/s_catanhl.c (__catanhl): Likewise.
11422 * math/s_catanl.c (__catanl): Likewise.
11423 * math/s_ccosh.c (__ccosh): Likewise.
11424 * math/s_ccoshf.c (__ccoshf): Likewise.
11425 * math/s_ccoshl.c (__ccoshl): Likewise.
11426 * math/s_cexp.c (__cexp): Likewise.
11427 * math/s_cexpf.c (__cexpf): Likewise.
11428 * math/s_cexpl.c (__cexpl): Likewise.
11429 * math/s_clog10.c (__clog10): Likewise.
11430 * math/s_clog10f.c (__clog10f): Likewise.
11431 * math/s_clog10l.c (__clog10l): Likewise.
11432 * math/s_clog.c (__clog): Likewise.
11433 * math/s_clogf.c (__clogf): Likewise.
11434 * math/s_clogl.c (__clogl): Likewise.
11435 * math/s_csin.c (__csin): Likewise.
11436 * math/s_csinf.c (__csinf): Likewise.
11437 * math/s_csinh.c (__csinh): Likewise.
11438 * math/s_csinhf.c (__csinhf): Likewise.
11439 * math/s_csinhl.c (__csinhl): Likewise.
11440 * math/s_csinl.c (__csinl): Likewise.
11441 * math/s_csqrt.c (__csqrt): Likewise.
11442 * math/s_csqrtf.c (__csqrtf): Likewise.
11443 * math/s_csqrtl.c (__csqrtl): Likewise.
11444 * math/s_ctan.c (__ctan): Likewise.
11445 * math/s_ctanf.c (__ctanf): Likewise.
11446 * math/s_ctanh.c (__ctanh): Likewise.
11447 * math/s_ctanhf.c (__ctanhf): Likewise.
11448 * math/s_ctanhl.c (__ctanhl): Likewise.
11449 * math/s_ctanl.c (__ctanl): Likewise.
11450 * math/w_pow.c: Likewise.
11451 * math/w_powf.c: Likewise.
11452 * math/w_powl.c: Likewise.
11453 * math/w_scalb.c (sysv_scalb): Likewise.
11454 * math/w_scalbf.c (sysv_scalbf): Likewise.
11455 * math/w_scalbl.c (sysv_scalbl): Likewise.
11456 * misc/error.c (error_tail): Likewise.
11457 * misc/pselect.c (__pselect): Likewise.
11458 * nis/nis_callback.c (__nis_create_callback): Likewise.
11459 * nis/nis_call.c (__nisfind_server): Likewise.
11460 * nis/nis_creategroup.c (nis_creategroup): Likewise.
11461 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11462 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11463 * nis/nis_getservlist.c (nis_getservlist): Likewise.
11464 * nis/nis_lookup.c (nis_lookup): Likewise.
11465 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11466 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11467 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11468 * nis/nis_xdr.c (xdr_endpoint): Likewise.
11469 * nis/nss_compat/compat-grp.c (getgrent_next_file)
11470 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11471 * nis/nss_compat/compat-initgroups.c (add_group)
11472 (internal_getgrent_r): Likewise.
11473 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11474 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11475 * nis/nss_compat/compat-spwd.c (getspent_next_file)
11476 (internal_getspnam_r): Likewise.
11477 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11478 (_nss_nis_getaliasbyname_r): Likewise.
11479 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11480 (_nss_nis_getntohost_r): Likewise.
11481 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11482 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11483 (_nss_nis_getgrgid_r): Likewise.
11484 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11485 (internal_nis_gethostent_r, internal_gethostbyname2_r)
11486 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11487 (_nss_nis_gethostbyname4_r): Likewise.
11488 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11489 (initgroups_netid): Likewise.
11490 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11491 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11492 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11493 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11494 (_nss_nis_getprotobynumber_r): Likewise.
11495 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11496 (_nss_nis_getsecretkey): Likewise.
11497 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11498 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11499 (_nss_nis_getpwuid_r): Likewise.
11500 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11501 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11502 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11503 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11504 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11505 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11506 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11508 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11509 (_nss_nisplus_getntohost_r): Likewise.
11510 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11511 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11512 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11513 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11515 * nis/nss_nisplus/nisplus-initgroups.c
11516 (_nss_nisplus_initgroups_dyn): Likewise.
11517 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11518 (_nss_nisplus_getnetbyaddr_r): Likewise.
11519 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11520 (_nss_nisplus_getprotobynumber_r): Likewise.
11521 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11522 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11523 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11525 * nis/nss_nisplus/nisplus-service.c
11526 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11527 (_nss_nisplus_getservbyport_r): Likewise.
11528 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11529 (_nss_nisplus_getspnam_r): Likewise.
11530 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11532 * nscd/aicache.c (addhstaiX): Likewise.
11533 * nscd/cache.c (cache_search, prune_cache): Likewise.
11534 * nscd/connections.c (register_traced_file, send_ro_fd)
11535 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11536 (main_loop_epoll): Likewise.
11537 * nscd/grpcache.c (addgrbyX): Likewise.
11538 * nscd/hstcache.c (addhstbyX): Likewise.
11539 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11540 * nscd/mem.c (gc, mempool_alloc): Likewise.
11541 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11542 (addinnetgrX): Likewise.
11543 * nscd/nscd-client.h (__nscd_acquire_maplock)
11544 (__nscd_drop_map_ref): Likewise.
11545 * nscd/nscd_getai.c (__nscd_getai): Likewise.
11546 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11547 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11549 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11550 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11551 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11552 (__nscd_get_map_ref): Likewise.
11553 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11554 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11556 * nscd/pwdcache.c (addpwbyX): Likewise.
11557 * nscd/selinux.c (preserve_capabilities): Likewise.
11558 * nscd/servicescache.c (addservbyX): Likewise.
11559 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11560 * posix/fnmatch.c (fnmatch): Likewise.
11561 * posix/getopt.c (_getopt_internal_r): Likewise.
11562 * posix/glob.c (glob, glob_in_dir): Likewise.
11563 * posix/wordexp.c (exec_comm_child): Likewise.
11564 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11565 (getanswer_r, gaih_getanswer_slice): Likewise.
11566 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11567 * resolv/res_init.c: Likewise.
11568 * resolv/res_mkquery.c (res_nmkquery): Likewise.
11569 * resolv/res_query.c (__libc_res_nquery): Likewise.
11570 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11572 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11573 * stdio-common/perror.c (perror): Likewise.
11574 * stdio-common/printf_fp.c (___printf_fp): Likewise.
11575 * stdio-common/tmpnam.c (tmpnam): Likewise.
11576 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11577 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11578 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11580 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11581 * stdlib/putenv.c (putenv): Likewise.
11582 * stdlib/setenv.c (__add_to_environ): Likewise.
11583 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11584 * stdlib/strtol_l.c (INTERNAL): Likewise.
11585 * string/memmem.c (memmem): Likewise.
11586 * string/strerror.c (strerror): Likewise.
11587 * string/strnlen.c (__strnlen): Likewise.
11588 * string/test-memmem.c (simple_memmem): Likewise.
11589 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11590 * sunrpc/pm_getport.c (__get_socket): Likewise.
11591 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11592 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11593 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11594 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11596 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11597 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11598 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11599 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11600 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11601 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11603 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11605 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11606 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11607 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11608 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11609 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11611 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11612 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11613 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11614 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11615 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11616 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11618 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11620 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11622 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11623 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11624 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11625 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11626 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11627 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11628 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11629 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11630 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11631 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11632 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11633 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11634 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11635 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11636 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11637 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11639 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11641 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11643 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11645 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11646 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11647 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11649 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11650 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11651 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11652 * sysdeps/posix/sleep.c: Likewise.
11653 * sysdeps/posix/tempname.c: Likewise.
11654 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11655 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11657 * sysdeps/powerpc/powerpc32/dl-machine.h
11658 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11659 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11660 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11661 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11662 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11664 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11665 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11666 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11667 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11668 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11669 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11670 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11671 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11672 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11673 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11674 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11675 (elf_machine_lazy_rel): Likewise.
11676 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11677 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11678 (elf_machine_lazy_rel): Likewise.
11679 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11680 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11681 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11682 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11683 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11684 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11685 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11686 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11688 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11689 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11690 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11691 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11692 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11693 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11694 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11695 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11696 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11697 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11698 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11700 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11701 (__posix_fallocate64_l64): Likewise.
11702 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11703 (posix_fallocate): Likewise.
11704 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11706 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11707 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11708 (getifaddrs_internal): Likewise.
11709 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11710 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11711 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11712 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11713 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11714 (__posix_fallocate64_l64): Likewise.
11715 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11717 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11718 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11719 (__get_clockfreq): Likewise.
11720 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11721 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11722 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11723 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11724 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11725 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11726 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11727 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11729 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11730 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11731 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11732 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11733 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11734 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11735 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11737 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11738 (posix_fallocate): Likewise.
11739 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11740 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11741 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11742 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11743 (elf_machine_rela, elf_machine_rela_relative)
11744 (elf_machine_lazy_rel): Likewise.
11745 * time/asctime.c (asctime_internal): Likewise.
11746 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11747 * time/tzset.c (__tzset_parse_tz): Likewise.
11748 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11749 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11750 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11751 * wcsmbs/wcsmbsload.h: Likewise.
11754 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11756 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11757 (arena_get2): Remove THREAD_STATS conditionals.
11758 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11759 (__malloc_stats, int): Likewise.
11761 2014-02-08 Mike Frysinger <vapier@gentoo.org>
11763 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11764 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11766 * manual/setjmp.texi: Fix typos/grammar errors.
11768 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11769 Only return early when n is <= 0. Delete unused return statement.
11771 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11772 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11773 * debug/tst-longjmp_chk3.c: New file.
11775 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11776 (test_main): Replace code with set_fortify_handler call.
11777 * debug/test-strcpy_chk.c: Likewise.
11778 * debug/tst-chk1.c: Likewise.
11779 * debug/tst-longjmp_chk.c: Likewise.
11780 * test-skeleton.c: Include fcntl.h & paths.h
11781 (set_fortify_handler): Define.
11783 * debug/tst-longjmp_chk.c: Add header comment and include
11784 ../test-skeleton.c.
11785 (do_test): Mark static.
11786 (TEST_FUNCTION): Define.
11788 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11789 (IP_PMTUDISC_INTERFACE): Likewise.
11790 (IP_MULTICAST_IF): Likewise.
11791 (IP_MULTICAST_TTL): Likewise.
11792 (IP_MULTICAST_LOOP): Likewise.
11793 (IP_ADD_MEMBERSHIP): Likewise.
11794 (IP_DROP_MEMBERSHIP): Likewise.
11795 (IP_UNBLOCK_SOURCE): Likewise.
11796 (IP_BLOCK_SOURCE): Likewise.
11797 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11798 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11799 (IP_MSFILTER): Likewise.
11800 (MCAST_JOIN_GROUP): Likewise.
11801 (MCAST_BLOCK_SOURCE): Likewise.
11802 (MCAST_UNBLOCK_SOURCE): Likewise.
11803 (MCAST_LEAVE_GROUP): Likewise.
11804 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11805 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11806 (MCAST_MSFILTER): Likewise.
11807 (IP_MULTICAST_ALL): Likewise.
11808 (IP_UNICAST_IF): Likewise.
11810 * timezone/Makefile: Delete $(have-ksh) check.
11811 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11812 * timezone/tzselect.ksh: Add +x mode bits.
11814 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11815 (ANON_INODE_FS_MAGIC): Likewise.
11816 (BDEVFS_MAGIC): Likewise.
11817 (BINFMTFS_MAGIC): Likewise.
11818 (BTRFS_TEST_MAGIC): Likewise.
11819 (CRAMFS_MAGIC_WEND): Likewise.
11820 (DEBUGFS_MAGIC): Likewise.
11821 (ECRYPTFS_SUPER_MAGIC): Likewise.
11822 (EXT3_SUPER_MAGIC): Likewise.
11823 (EXT4_SUPER_MAGIC): Likewise.
11824 (FUTEXFS_SUPER_MAGIC): Likewise.
11825 (HOSTFS_SUPER_MAGIC): Likewise.
11826 (HUGETLBFS_MAGIC): Likewise.
11827 (MINIX3_SUPER_MAGIC): Likewise.
11828 (MTD_INODE_FS_MAGIC): Likewise.
11829 (NILFS_SUPER_MAGIC): Likewise.
11830 (OPENPROM_SUPER_MAGIC): Likewise.
11831 (PIPEFS_MAGIC): Likewise.
11832 (PSTOREFS_MAGIC): Likewise.
11833 (QNX6_SUPER_MAGIC): Likewise.
11834 (RAMFS_MAGIC): Likewise.
11835 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11836 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11837 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11838 (SECURITYFS_MAGIC): Likewise.
11839 (SELINUX_MAGIC): Likewise.
11840 (SMACK_MAGIC): Likewise.
11841 (SOCKFS_MAGIC): Likewise.
11842 (SQUASHFS_MAGIC): Likewise.
11843 (STACK_END_MAGIC): Likewise.
11844 (TMPFS_MAGIC): Likewise.
11845 (USBDEVICE_SUPER_MAGIC): Likewise.
11846 (V9FS_MAGIC): Likewise.
11847 (XENFS_SUPER_MAGIC): Likewise.
11848 (CRAMFS_MAGIC): Fix typo in comment.
11849 (EXT2_SUPER_MAGIC): Update comment.
11850 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11852 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11854 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11855 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11856 * sysdeps/unix/sysv/linux/arm: Move directory from
11857 ports/sysdeps/unix/sysv/linux/arm.
11858 * README: Update listing for arm-*-linux-gnueabi.
11860 * README: Remove mention of am33.
11862 2014-02-07 Roland McGrath <roland@hack.frob.com>
11864 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11865 than the comma operator, to avoid "rhs of comma has no effect"
11867 (__sigfillset, __sigandset, __sigorset): Likewise.
11868 * include/signal.h (__sigemptyset): Likewise.
11869 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11871 2014-02-07 Allan McRae <allan@archlinux.org>
11873 * version.h (RELEASE): Set to "development".
11874 (VERSION): Set to "2.19.90"
11875 * NEWS: Add 2.20 section.
11877 2014-02-06 Carlos O'Donell <carlos@redhat.com>
11880 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11882 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11884 * manual/contrib.texi: Update entry for Carlos O'Donell,
11885 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11887 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
11889 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11891 * sysdeps/unix/sysv/linux/kernel-features.h
11892 [__LINUX_KERNEL_VERSION >= 0x020621]
11893 (__ASSUME_PROC_PID_TASK_COMM): Define.
11895 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11898 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11899 conversion when destination buffer does not have enough space.
11900 * libio/tst-ftell-partial-wide.c: New test case.
11901 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11903 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11904 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11905 Leonard and Allan McRae.
11907 2014-02-04 David S. Miller <davem@davemloft.net>
11909 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11912 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11941 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11943 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11944 * shlib-versions: Likewise.
11946 2014-02-04 Roland McGrath <roland@hack.frob.com>
11947 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11949 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11950 (abilist-pattern): New variable, set to %-le.abilist.
11952 * Makerules (abilist-pattern): New variable.
11953 (vpath): Use $(abilist-pattern) in place of %.abilist.
11954 (check-abi-% pattern rule): Likewise.
11955 (check-abi, update-abi): Likewise.
11957 2014-02-04 Eric Wong <normalperson@yhbt.net>
11959 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11961 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11963 * manual/startup.texi: Add next, previous, and top entries for
11964 the `Program Arguments' and `Environment Variables' nodes.
11966 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11968 * manual/macros.texi: Add comments before MTASC-safety macros.
11970 * manual/users.texi: Document MTASC-safety properties.
11972 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11973 (pthread_getspecific, pthread_setspecific): Format with
11974 @deftypefun, and add @safety note.
11975 * manual/signal.texi: Move comments that analyze the above
11976 functions to their home place.
11978 2014-02-03 Allan McRae <allan@archlinux.org>
11980 * po/sl.po: Update Slovenian translation from translation project.
11982 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11984 * manual/time.texi (timegm): Add missing blank after @c.
11985 Reported by Joseph Myers <joseph@codesourcery.com>.
11987 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11989 * manual/check-safety.sh: New.
11990 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11992 * manual/terminal.texi: Document MTASC-safety properties.
11994 * manual/filesys.texi: Document MTASC-safety properties.
11996 * manual/errno.texi: Document MTASC-safety properties.
11998 * manual/intro.texi: Document safety identifiers and
12001 * manual/string.texi (wcstok): Fix prototype.
12002 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12004 * manual/time.texi: Document MTASC-safety properties.
12006 * manual/string.texi: Document MTASC-safety properties.
12008 * manual/threads.texi: Document MTASC-safety properties.
12010 * manual/stdio.texi: Document MTASC-safety properties.
12012 * manual/syslog.texi: Document MTASC-safety properties.
12014 * manual/sysinfo.texi: Document MTASC-safety properties.
12016 * manual/startup.texi: Document MTASC-safety properties.
12018 * manual/socket.texi: Document MTASC-safety properties.
12020 * manual/signal.texi: Document MTASC-safety properties.
12022 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
12024 * manual/setjmp.texi: Document MTASC-safety properties.
12026 * manual/search.texi: Document MTASC-safety properties.
12028 * manual/resource.texi: Document MTASC-safety properties.
12030 * manual/process.texi: Document MTASC-safety properties.
12032 * manual/platform.texi: Document MTASC-safety properties.
12034 * manual/pipe.texi: Document MTASC-safety properties.
12036 * manual/pattern.texi: Document MTASC-safety properties.
12038 * manual/message.texi: Document MTASC-safety properties.
12041 * manual/memory.texi: Document MTASC-safety properties.
12043 * manual/math.texi: Document MTASC-safety properties.
12045 * manual/locale.texi: Document MTASC-safety properties.
12047 * manual/llio.texi: Document MTASC-safety properties.
12049 * manual/libdl.texi: New.
12051 * manual/lang.texi: Document MTASC-safety properties.
12053 * manual/job.texi: Document MTASC-safety properties.
12055 * manual/getopt.texi: Document MTASC-safety properties.
12057 * manual/ctype.texi: Document MTASC-safety properties.
12059 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
12062 * csu/libc-tls.c (static_map): Remove variable.
12063 (__libc_setup_tls): Use main executable's link map for TLS data.
12064 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12065 casing for LM_ID_BASE and GL(dl_nns).
12066 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12067 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
12068 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12069 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12070 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12072 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12075 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
12077 * manual/debug.texi: Document MTASC-safety properties.
12079 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
12082 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12083 of __x86_64__ when disabling x87 inline functions.
12085 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
12087 * manual/charset.texi: Document MTASC-safety properties.
12089 * manual/crypt.texi: Document MTASC-safety properties.
12091 * manual/conf.texi: Document MTASC-safety properties.
12093 * manual/arith.texi: Document MTASC-safety properties.
12095 * manual/argp.texi: Document MTASC-safety properties.
12097 * manual/macros.texi: Introduce macros to document multi
12098 thread, asynchronous signal and asynchronous cancellation
12100 * manual/intro.texi: Introduce the properties themselves.
12102 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12104 * sysdeps/sh/sh4/Makefile: New file.
12106 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
12108 * math/gen-libm-test.pl ($srcdir): New variable.
12109 ($auto_input): Use it.
12111 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12114 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12115 access beyond array bounds when parsing netgroups file.
12117 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12118 the old buffer before realloc.
12120 2014-01-27 Allan McRae <allan@archlinux.org>
12122 * po/fr.po: Update French translation from translation project.
12124 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12126 * sysdeps/sh/libm-test-ulps: Regenerate.
12128 2014-01-24 David S. Miller <davem@davemloft.net>
12130 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12132 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12134 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12135 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12137 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12140 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12141 string pointers after reallocation.
12143 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12145 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12146 __SH4A__ instead of __SH_FPU_ANY__.
12148 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12150 * sysdeps/sh/fpu_control.h: New file.
12151 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12152 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12153 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12154 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12155 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12156 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12157 * sysdeps/sh/sys/ucontext.h: Remove.
12158 * sysdeps/sh/sys: Remove directory.
12160 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12162 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12163 s390/sys/ucontext.h.
12164 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12165 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12167 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
12170 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12172 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12175 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12176 Adjust the vDSO correctly for internal calls.
12177 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12179 2014-01-20 Allan McRae <allan@archlinux.org>
12181 * po/ca.po: Update Catalan translation from translation project.
12183 2014-01-16 Mike Frysinger <vapier@gentoo.org>
12185 * sysdeps/s390/sotruss-lib.c: New file.
12187 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12190 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12191 (__GI___gettimeofday): Alias for a different internal symbol to avoid
12192 local calls issues by not having a PLT stub required for IFUNC calls.
12193 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12195 2014-01-16 Joseph Myers <joseph@codesourcery.com>
12197 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12198 * math/test-fpucw-static.c: Likewise.
12200 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12203 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12205 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12207 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12208 implementation for powerpc.
12210 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
12213 * sysdeps/posix/system.c (__libc_system): Do not enable
12214 asynchronous cancellation.
12216 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12219 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12220 handling only for numbers special also in the IEEE case.
12222 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12224 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12226 2014-01-11 Allan McRae <allan@archlinux.org>
12228 * po/bg.po: Update Bulgarian translation from translation project.
12230 * po/de.po: Update German translation from translation project.
12232 2014-01-10 Roland McGrath <roland@hack.frob.com>
12234 * sysdeps/generic/gcc-compat.h: New file.
12236 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12238 * benchtests/asin-inputs: Correct slow inputs.
12239 * benchtests/acos-inputs: Likewise.
12241 2014-01-10 Allan McRae <allan@archlinux.org>
12243 * po:sv.po: Update Swedish translation from translation project.
12245 * po/vi.po: Update Vietnamese translation from translation project.
12247 * po/eo.po: Update Esperanto translation from translation project.
12249 * po/cs.po: Update Czech translation from translation project.
12251 * po/nl.po: Update Dutch translation from translation project.
12253 * po/pl.po: Update Polish translation from translation project.
12255 * po/ru.po: Update Russian translation from translation project.
12257 * po/uk.po: Update Ukrainian translation from translation project.
12259 2014-01-08 Brooks Moses <bmoses@google.com>
12261 * elf/dl-load.c: Fix comment typo.
12263 2014-01-08 Carlos O'Donell <carlos@redhat.com>
12265 * po/header.pot: Rename to...
12266 * po/pot.header: ... this.
12267 * po/Makefile: Use pot.header.
12269 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
12270 Maxim Kuvyrkov <maxim@kugelworks.com>
12273 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12274 SRC and DEST against LEN.
12276 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12279 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12281 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12283 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12287 2014-01-08 Joseph Myers <joseph@codesourcery.com>
12290 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12291 for large positive arguments.
12293 2014-01-07 Joseph Myers <joseph@codesourcery.com>
12295 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12297 * math/auto-libm-test-in: Mark various tests with
12298 xfail-rounding:ldbl-128ibm.
12299 * math/auto-libm-test-out: Regenerated.
12302 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12303 Increase overflow threshold.
12305 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
12308 * stdio-common/vfprintf.c: Check for integer overflow.
12310 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12312 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12313 the first argument and return value of __tls_get_addr_internal.
12315 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12317 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12318 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12320 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12322 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12323 * sysdeps/s390/rtld-global-offsets.sym: New file.
12324 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12326 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12327 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12328 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12330 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12331 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12337 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12338 halfs of GPRs for high_gprs contexts.
12339 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12340 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
12342 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12344 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12346 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12347 for high GPRs (uc_high_gprs) and for future extensions
12349 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12350 for future extensions (__reserved).
12351 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12353 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12354 SC_HIGHGPRS offset definition.
12355 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12356 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12358 * Versions.def: Add GLIBC_2.19 for libpthread.
12359 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12360 siglongjmp for libpthread with GLIBC_2.19 symver.
12361 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12362 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12363 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12364 * sysdeps/s390/__longjmp.c: New file.
12365 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12366 * sysdeps/s390/longjmp.c: New file.
12367 * sysdeps/s390/setjmp.S: New file.
12368 * sysdeps/s390/sigjmp.S: New file.
12369 * sysdeps/s390/v1-longjmp.c: New file.
12370 * sysdeps/s390/v1-setjmp.h: New file.
12371 * sysdeps/s390/v1-sigjmp.c: New file.
12372 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12373 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12374 GLIBC_2.19 version.
12375 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12376 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12377 versioned symbols for ____longjmp_chk.
12378 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12388 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12389 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12390 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12391 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12392 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12393 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12394 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12395 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12396 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12397 * sysdeps/s390/rtld-__longjmp.c: New file.
12398 * sysdeps/s390/rtld-setjmp.S: New file.
12400 2014-01-06 Joseph Myers <joseph@codesourcery.com>
12403 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12404 Return -__logl (x) for small positive arguments without evaluating
12407 2014-01-06 Mike Frysinger <vapier@gentoo.org>
12409 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12411 (__ptrace_peeksiginfo_args): ... this.
12412 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12413 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12414 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12416 2014-01-06 Allan McRae <allan@archlinux.org>
12418 * inet/netinet/in.h: Fix typo in comment.
12420 2014-01-05 Andreas Jaeger <aj@suse.de>
12422 * sysdeps/i386/fpu/libm-test-ulps: Update.
12424 2014-01-05 Allan McRae <allan@archlinux.org>
12426 * po/libc.pot: Regenerated.
12428 * malloc/memusagestat.c: Fix gettext call formatting.
12430 2014-01-04 Sami Kerola <kerolasa@iki.fi>
12432 * nscd/nscd.c: Improve usage() output.
12434 2014-01-04 Mike Frysinger <vapier@gentoo.org>
12436 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12437 * sysdeps/unix/sysv/linux/configure: Regenerated.
12438 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12439 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12441 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12444 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12445 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12447 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12449 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12450 extra tokens at end of #undef directive.
12451 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12452 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12453 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12455 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12457 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12459 * math/auto-libm-test-in: Mark various tests with
12460 xfail-rounding:ldbl-128ibm.
12461 * math/auto-libm-test-out: Regenerated.
12463 2014-01-02 Joseph Myers <joseph@codesourcery.com>
12466 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12467 numbers with subnormal high part when calculating exponent.
12470 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12474 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12476 (__ieee754_acoshl): Use __log1pl not __log1p.
12478 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
12480 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12481 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12482 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12483 (grow_heap, heap_trim, _int_new_arena, get_free_list)
12484 (reused_arena, arena_get2): Convert to GNU style.
12485 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12486 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12487 (memalign_check, __malloc_set_state): Likewise.
12488 * malloc/mallocbug.c (main): Likewise.
12489 * malloc/malloc.c (__malloc_assert, malloc_init_state)
12490 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12491 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12492 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12493 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12494 (__posix_memalign, malloc_info): Likewise.
12495 * malloc/malloc.h: Likewise.
12496 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12497 (mallochook, memalignhook, reallochook, mabort): Likewise.
12498 * malloc/mcheck.h: Likewise.
12499 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12500 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12501 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12502 * malloc/morecore.c (__default_morecore): Likewise.
12503 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12504 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12505 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12506 (print_and_abort): Likewise.
12507 * malloc/obstack.h: Likewise.
12508 * malloc/set-freeres.c (__libc_freeres): Likewise.
12509 * malloc/tst-mallocstate.c (main): Likewise.
12510 * malloc/tst-mtrace.c (main): Likewise.
12511 * malloc/tst-realloc.c (do_test): Likewise.
12513 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12516 * nscd/netgroupcache.c (do_notfound): New function.
12517 (addgetnetgrentX): Use it.
12520 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12521 NSS_STATUS_NOTFOUND.
12523 2014-01-01 Joseph Myers <joseph@codesourcery.com>
12525 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12528 2014-01-01 Allan McRae <allan@archlinux.org>
12530 * scripts/update-copyrights: Update configure input file suffix.
12532 * NEWS: Update copyright year.
12533 * catgets/gencat.c: Likewise.
12534 * csu/version.c: Likewise.
12535 * debug/catchsegv.sh: Likewise.
12536 * debug/pcprofiledump.c: Likewise.
12537 * debug/xtrace.sh: Likewise.
12538 * elf/ldconfig.c: Likewise.
12539 * elf/ldd.bash.in: Likewise.
12540 * elf/pldd.c: Likewise.
12541 * elf/sotruss.ksh: Likewise.
12542 * elf/sprof.c: Likewise.
12543 * iconv/iconv_prog.c: Likewise.
12544 * iconv/iconvconfig.c: Likewise.
12545 * locale/programs/locale.c: Likewise.
12546 * locale/programs/localedef.c: Likewise.
12547 * login/programs/pt_chown.c: Likewise.
12548 * malloc/memusage.sh: Likewise.
12549 * malloc/memusagestat.c: Likewise.
12550 * malloc/mtrace.pl: Likewise.
12551 * manual/libc.texinfo: Likewise.
12552 * nscd/nscd.c: Likewise.
12553 * nss/getent.c: Likewise.
12554 * nss/makedb.c: Likewise.
12555 * posix/getconf.c: Likewise.
12556 * scripts/test-installation.pl: Likewise.
12558 * All files with FSF copyright notices: Update copyright dates
12559 using scripts/update-copyrights.
12560 * intl/plural.c: Regenerated.
12561 * locale/programs/charmap-kw.h: Likewise.
12562 * locale/programs/locfile-kw.h: Likewise.
12564 2013-12-31 Mike Frysinger <vapier@gentoo.org>
12566 * sysdeps/unix/sysv/linux/configure: Regenerated.
12567 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12568 the linux/fanotify.h header.
12569 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12570 HAVE_LINUX_FANOTIFY_H is defined.
12572 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12574 * benchtests/cos-inputs: New inputs.
12575 * benchtests/sin-inputs: Likewise.
12577 * benchtests/atan-inputs: New inputs. Fix name of multiple
12578 precision fallback inputs.
12580 * benchtests/atanh-inputs: New inputs.
12581 * benchtests/tanh-inputs: Likewise.
12583 * benchtests/acosh-inputs: New inputs.
12584 * benchtests/asinh-inputs: Likewise.
12586 * benchtests/cosh-inputs: New inputs.
12587 * benchtests/sinh-inputs: Likewise.
12589 * benchtests/acos-inputs: Add more inputs.
12590 * benchtests/asin-inputs: Likewise.
12592 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
12595 * manual/arith.texi: Fix spelling.
12596 * manual/charset.texi: Likewise.
12597 * manual/errno.texi: Likewise.
12598 * manual/filesys.texi: Likewise.
12599 * manual/lang.texi: Likewise.
12600 * manual/llio.texi: Likewise.
12601 * manual/locale.texi: Likewise.
12602 * manual/message.texi: Likewise.
12603 * manual/resource.texi: Likewise.
12604 * manual/search.texi: Likewise.
12605 * manual/setjmp.texi: Likewise.
12606 * manual/stdio.texi: Likewise.
12607 * manual/string.texi: Likewise.
12608 * manual/sysinfo.texi: Likewise.
12609 * manual/time.texi: Likewise.
12611 2013-12-27 Carlos O'Donell <carlos@redhat.com>
12613 * po/sl.po: New file.
12615 2013-12-27 Mike Frysinger <vapier@gentoo.org>
12617 * .gitignore: Add core/.gdbinit/.gdb_history.
12619 2013-12-27 Allan McRae <allan@archlinux.org>
12622 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12623 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12625 2013-12-24 Brooks Moses <bmoses@google.com>
12627 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12628 all compilers that claim C++98 compliance, not just GCC.
12629 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12632 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12634 * NEWS: Restore accidentally deleted bug-fix entries.
12636 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12637 Ondřej Bílka <neleai@seznam.cz>
12640 * malloc/malloc.c (_int_free): Perform sanity check only if we
12643 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
12646 * manual/stdio.texi (String Input Conversions): Clarify that character
12647 classes are not supported.
12649 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12653 2013-12-22 Joseph Myers <joseph@codesourcery.com>
12656 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12657 Calculate results for small negative arguments directly rather
12658 than using reflection formula with special underflow handling.
12660 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12661 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12662 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12663 (fchflags): Likewise.
12664 (revoke): Likewise.
12665 (setlogin): Likewise.
12666 (sigaltstack): Likewise.
12668 (sigblock): Remove.
12669 (sigsetmask): Likewise.
12671 (waitpid): Likewise.
12672 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12673 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12675 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12676 * sysdeps/unix/bsd/Makefile: ... here.
12677 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12678 * sysdeps/unix/bsd/Versions: ... here.
12679 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12680 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12681 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12682 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12683 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12684 * sysdeps/unix/bsd/sigblock.c: ... here.
12685 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12686 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12687 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12688 * sysdeps/unix/bsd/sigvec.c: ... here.
12689 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12690 * sysdeps/unix/bsd/tcdrain.c: ... here.
12691 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12692 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12693 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12694 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12695 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12696 * sysdeps/unix/bsd/wait.c: ... here.
12697 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12698 * sysdeps/unix/bsd/wait3.c: ... here.
12699 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12700 * sysdeps/unix/bsd/waitpid.c: ... here.
12702 2013-12-21 Joseph Myers <joseph@codesourcery.com>
12705 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12706 round-to-nearest for [!USE_AS_EXPM1L].
12707 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12708 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12709 more tests of exp and exp10. Expect some exp10 tests to miss
12710 exceptions or fail in directed rounding modes.
12711 * math/auto-libm-test-out: Regenerated.
12712 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12713 (exp10_test_tonearest): New function.
12714 (exp10_towardzero_test_data): New array.
12715 (exp10_test_towardzero): New function.
12716 (exp10_downward_test_data): New array.
12717 (exp10_test_downward): New function.
12718 (exp10_upward_test_data): New array.
12719 (exp10_test_upward): New function.
12720 (main): Call the new functions.
12721 * sysdeps/i386/fpu/libm-test-ulps: Update.
12722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12724 2013-12-20 Joseph Myers <joseph@codesourcery.com>
12726 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12727 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12728 * math/auto-libm-test-out: Regenerated.
12729 * math/libm-test.inc (acosh_test_data): Add more tests.
12730 (atanh_test_data): Likewise.
12731 (ceil_test_data): Likewise.
12732 (copysign_test_data): Likewise.
12733 * sysdeps/i386/fpu/libm-test-ulps: Update.
12734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12736 * timezone/checktab.awk: Update from tzcode 2013i.
12737 * timezone/private.h: Likewise.
12738 * timezone/scheck.c: Likewise.
12739 * timezone/tzfile.h: Likewise.
12740 * timezone/tzselect.ksh: Likewise.
12741 * timezone/zdump.c: Likewise.
12742 * timezone/zic.c: Likewise.
12744 * math/auto-libm-test-in: Add tests of cpow.
12745 * math/auto-libm-test-out: Regenerated.
12746 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12747 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12749 (func_calc_desc): Add mpc_cc_c union field.
12750 (test_functions): Add cpow.
12751 (special_fill_2pi): New function.
12752 (special_real_inputs): Add 2pi.
12753 (calc_generic_results): Handle mpc_cc_c.
12754 * sysdeps/i386/fpu/libm-test-ulps: Update.
12755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12757 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12758 csqrt, ctan and ctanh.
12759 * math/auto-libm-test-out: Regenerated.
12760 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12761 (TEST_COND_x86): Likewise.
12762 (ccos_test_data): Use AUTO_TESTS_c_c.
12763 (ccosh_test_data): Likewise.
12764 (cexp_test_data): Likewise.
12765 (clog_test_data): Likewise.
12766 (csqrt_test_data): Likewise.
12767 (ctan_test_data): Likewise.
12768 (ctan_tonearest_test_data): Likewise.
12769 (ctan_towardzero_test_data): Likewise.
12770 (ctan_downward_test_data): Likewise.
12771 (ctan_upward_test_data): Likewise.
12772 (ctanh_test_data): Likewise.
12773 (ctanh_tonearest_test_data): Likewise.
12774 (ctanh_towardzero_test_data): Likewise.
12775 (ctanh_downward_test_data): Likewise.
12776 (ctanh_upward_test_data): Likewise.
12777 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12779 (func_calc_desc): Add mpc_c_c union field.
12780 (FUNC_mpc_c_c): New macro.
12781 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12782 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12784 (special_fill_min_subnorm_p120): New function.
12785 (special_real_inputs): Add min_subnorm_p120.
12786 (calc_generic_results): Handle mpc_c_c.
12787 * sysdeps/i386/fpu/libm-test-ulps: Update.
12788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12790 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12792 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12793 (do_sin_slow): New functions.
12794 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12795 (cslow2, csloww1, csloww2): Use the new functions.
12797 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12798 Use M to change sign of result instead of X. Assume X is
12800 (csloww1): Likewise.
12804 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12805 arguments A and DA.
12809 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12811 (sloww1): Don't adjust sign of DX.
12812 (csloww1): Likewise.
12813 (sloww2): Use X directly and don't adjust sign of DX.
12814 (csloww2): Likewise.
12816 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12818 * math/auto-libm-test-in: Add tests of cabs and carg.
12819 * math/auto-libm-test-out: Regenerated.
12820 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12821 (carg_test_data): Likewise.
12822 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12824 (func_calc_desc): Add mpc_c_f union field.
12825 (test_functions): Add cabs and carg.
12826 (calc_generic_results): Handle mpc_c_f.
12828 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12829 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12830 as a macro and a compat symbol.
12831 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12832 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12833 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12834 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12835 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12836 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12838 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12840 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12842 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12844 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12846 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12848 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12849 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12852 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12856 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12858 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12859 trailing whitespace removed.
12860 * scripts/config.guess: Update to version 2013-11-29.
12861 * scripts/config.sub: Update to version 2013-10-01.
12863 * math/auto-libm-test-in: Add tests of sincos.
12864 * math/auto-libm-test-out: Regenerated.
12865 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12866 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12868 (func_calc_desc): Add mpfr_f_11 union field.
12869 (test_functions): Add sincos.
12870 (calc_generic_results): Handle mpfr_f_11.
12871 * sysdeps/i386/fpu/libm-test-ulps: Update.
12872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12874 2013-12-19 Andreas Schwab <schwab@suse.de>
12876 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12878 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12879 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12880 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12882 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12884 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12885 * sysdeps/i386/fpu/libm-test-ulps: Update.
12886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12889 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12890 round-to-nearest mode when using frndint.
12891 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12892 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12893 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12895 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12897 * math/auto-libm-test-out: Regenerated.
12898 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12899 (TEST_COND_x86): Likewise.
12900 (expm1_tonearest_test_data): New array.
12901 (expm1_test_tonearest): New function.
12902 (expm1_towardzero_test_data): New array.
12903 (expm1_test_towardzero): New function.
12904 (expm1_downward_test_data): New array.
12905 (expm1_test_downward): New function.
12906 (expm1_upward_test_data): New array.
12907 (expm1_test_upward): New function.
12908 (main): Run the new test functions.
12909 * sysdeps/i386/fpu/libm-test-ulps: Update.
12910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12912 * include/features.h: Update comment documenting feature test
12913 macros. Mention _DEFAULT_SOURCE in comment.
12914 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12915 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12916 _BSD_SOURCE and _SVID_SOURCE.
12917 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12918 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12919 !_SVID_SOURCE]: Likewise.
12920 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12921 (__USE_POSIX_IMPLICITLY): Define.
12922 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12923 (_POSIX_SOURCE): Undefine and redefine.
12924 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12925 (_POSIX_C_SOURCE): Likewise.
12926 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12927 (Feature Test Macros): Update documentation of default features.
12929 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12931 * benchtests/Makefile: Add bench-strtok.
12932 * benchtests/bench-strtok.c: New file: strtok benchtest.
12934 2013-12-19 Allan McRae <allan@archlinux.org>
12936 * manual/install.texi: Suppress menu for plain text output.
12937 * INSTALL: Regenerated.
12939 2013-12-18 Brooks Moses <bmoses@google.com>
12942 * misc/getauxval.c: Include errno.h.
12943 (__getauxval): Set errno to ENOENT if the requested type is not
12945 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12946 don't declare with __attribute_const__.
12947 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12948 * manual/startup.texi: Document that getauxval sets errno.
12950 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12952 * math/auto-libm-test-in: Add tests of jn and yn.
12953 * math/auto-libm-test-out: Regenerated.
12954 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12955 (yn_test_data): Likewise.
12956 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12958 (func_calc_desc): Add mpfr_if_f union field.
12959 (FUNC_mpfr_if_f): New macro.
12960 (test_functions): Add jn and yn.
12961 (calc_generic_results): Assert type of second input for
12962 mpfr_ff_f. Handle mpfr_if_f.
12963 (output_for_one_input_case): Disable all checking for arguments
12964 fitting floating-point types in case of an integer argument.
12965 * sysdeps/i386/fpu/libm-test-ulps: Update.
12966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12969 Don't expect fegetround reference in libm.so.
12971 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12973 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12974 $(config-cflags-nofma).
12976 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12978 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12979 * math/auto-libm-test-out: Regenerated.
12982 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12983 to determine exponent and adjust argument to have exponent of -1.
12984 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12986 * math/auto-libm-test-out: Regenerated.
12987 * sysdeps/i386/fpu/libm-test-ulps: Update.
12988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12990 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12992 * manual/probes.texi: Remove cases when per-thread arenas are
12995 2013-12-18 Andreas Schwab <schwab@suse.de>
12997 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12998 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12999 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13000 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13001 * sysdeps/i386/i686/multiarch/Makefile: Update.
13002 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13004 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13006 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13007 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13009 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
13012 Support TZ transition times < 00:00:00.
13013 This is needed for version-3 tz-format files; it supports time
13014 stamps past 2037 for America/Godthab (the only entry in the tz
13015 database for which this change is relevant).
13016 * manual/time.texi (TZ Variable): Document transition times
13017 from -167:59:59 through -00:00:01.
13018 * time/tzset.c (tz_rule): Time of day is now signed.
13019 (__tzset_parse_tz): Parse negative time of day.
13021 Document TZ transition times >= 25:00:00.
13022 * manual/time.texi (TZ Variable): Document transition times from
13023 25:00:00 through 167:59:59. These are already supported, and this
13024 support will help with version-3 tz-format files.
13026 * manual/time.texi (TZ Variable): Modernize North America example
13027 to reflect current (i.e., 2007-and-later) daylight saving rules.
13029 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13031 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13033 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13034 * sysdeps/unix/bsd/bits/stat.h: Likewise.
13035 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13036 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13037 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13038 * sysdeps/unix/bsd/bsdstat.h: Likewise.
13039 * sysdeps/unix/bsd/clock.c: Likewise.
13040 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13041 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13042 * sysdeps/unix/bsd/init-posix.c: Likewise.
13043 * sysdeps/unix/bsd/poll.c: Likewise.
13044 * sysdeps/unix/bsd/ptsname.c: Likewise.
13045 * sysdeps/unix/bsd/seekdir.c: Likewise.
13046 * sysdeps/unix/bsd/setegid.c: Likewise.
13047 * sysdeps/unix/bsd/seteuid.c: Likewise.
13048 * sysdeps/unix/bsd/setgid.c: Likewise.
13049 * sysdeps/unix/bsd/setrgid.c: Likewise.
13050 * sysdeps/unix/bsd/setruid.c: Likewise.
13051 * sysdeps/unix/bsd/setsid.c: Likewise.
13052 * sysdeps/unix/bsd/setuid.c: Likewise.
13053 * sysdeps/unix/bsd/sigaction.c: Likewise.
13054 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13055 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13056 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13057 * sysdeps/unix/bsd/telldir.c: Likewise.
13058 * sysdeps/unix/bsd/times.c: Likewise.
13059 * sysdeps/unix/bsd/usleep.c: Likewise.
13061 * misc/Makefile (install-lib): Remove libbsd-compat.a.
13062 ($(objpfx)libbsd-compat.a): Remove rule.
13064 * include/features.h (__FAVOR_BSD): Do not define.
13065 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13066 features conflicting with POSIX.
13067 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13068 (_BSD_SOURCE): Remove description of not being a subset of other
13069 feature test macros.
13070 * manual/job.texi (getpgrp): Do not document BSD version.
13071 (getpgid): Do not document by reference to BSD getpgrp.
13072 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13073 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13074 * signal/signal.h [__FAVOR_BSD]: Likewise.
13075 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13076 instead of making contents conditional on [__FAVOR_BSD].
13077 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13079 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13083 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13086 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13087 values below 2**-450, not 2**-500.
13088 * math/auto-libm-test-in: Don't allow spurious underflow from
13090 * math/auto-libm-test-out: Regenerated.
13094 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13095 values of ha and hb and sort them after adjusting subnormal
13097 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13099 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13100 values of ea and eb and sort them after adjusting subnormal
13102 * math/auto-libm-test-in: Do not expect some hypot tests of
13103 subnormals to fail. Add more hypot tests.
13104 * math/auto-libm-test-out: Regenerated.
13106 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13109 * sysdeps/sh/s_fma.c: New file.
13110 * sysdeps/sh/s_fmaf.c: New file.
13111 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
13113 * sysdeps/sh/Implies: Add sh/soft-fp.
13115 2013-12-16 Roland McGrath <roland@hack.frob.com>
13117 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
13118 level of indirection to members `objname', `errstring', `malloced'.
13119 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13120 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
13121 it as the __longjmp argument (just pass 1 instead).
13122 (_dl_catch_error): Initialize C with argument pointers and address of
13123 volatile local ERRCODE rather than copying values out of C at return.
13125 2013-12-16 Joseph Myers <joseph@codesourcery.com>
13127 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13128 * math/auto-libm-test-out: Regenerated.
13129 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13130 (hypot_test_data): Likewise.
13131 (pow_test_data): Likewise.
13132 (pow_tonearest_test_data): Likewise.
13133 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13135 (func_calc_desc): Add mpfr_ff_f union field.
13136 (FUNC_mpfr_ff_f): New macro.
13137 (test_functions): Add atan2, hypot and pow.
13138 (special_fill_min): New function.
13139 (special_fill_minus_min): Likewise.
13140 (special_fill_min_subnorm): Likewise.
13141 (special_fill_minus_min_subnorm): Likewise.
13142 (special_real_inputs): Add min, -min, min_subnorm and
13144 (calc_generic_results): Handle mpfr_ff_f.
13145 * sysdeps/i386/fpu/libm-test-ulps: Update.
13146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13148 2013-12-16 Will Newton <will.newton@linaro.org>
13150 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13151 (Aligned Memory Blocks): Add documentation for aligned_alloc
13152 and suggest it as an alternative to posix_memalign.
13153 (Hooks for Malloc): Document __memalign_hook is also called
13154 for aligned_alloc. (Summary of Malloc): Add summary for
13155 aligned alloc. Document __memalign_hook is also called
13158 2013-12-16 Will Newton <will.newton@linaro.org>
13160 * manual/memory.texi (Malloc Examples): Clarify default
13161 alignment documentation. Suggest posix_memalign rather
13162 than memalign or valloc.
13163 (Aligned Memory Blocks): Remove suggestion to use memalign
13164 or valloc. Remove obsolete comment about BSD.
13165 Document memalign errno values and mark the function obsolete.
13166 Document posix_memalign returned error codes. Mark valloc
13167 as obsolete. (Hooks for Malloc): __memalign_hook is also
13168 called for posix_memalign and valloc.
13169 (Summary of Malloc): Add posix_memalign to function summary.
13170 __memalign_hook is also called for posix_memalign and valloc.
13172 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13174 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13178 (sloww): Use mynumber union. Expand ternary operator into
13179 if-else statements.
13180 (cslow): use mynumber union.
13182 2013-12-16 Allan McRae <allan@archlinux.org>
13184 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13185 * configure: Regenerated.
13187 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13190 * configure.ac: Added --enable-maintainer-mode. Check for
13191 autoconf when enabled.
13192 * configure: Regenerated.
13194 * nscd/nscd.service: New file.
13195 * nscd/nscd.tmpfiles: New file.
13197 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
13200 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13201 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13202 * sysdeps/x86_64/multiarch/strstr.c: ... here.
13203 (strstr): Add __strstr_sse2_unaligned ifunc.
13204 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13205 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13206 (strcasestr): Remove __strcasestr_sse42 ifunc.
13207 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13208 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13209 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13211 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13213 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13214 * sysdeps/sh/bits/fenv.h: ... here.
13215 * sysdeps/sh/sh4/fpu/bits: Remove directory.
13217 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13219 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13221 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13222 hypotf multiarch implementations.
13223 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13224 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13225 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13226 multiarch hypot for PPC64.
13227 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13228 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13229 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13230 multiarch hypotf for PPC64.
13232 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13233 modff multiarch implementations.
13234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13237 multiarch modf for PPC64.
13238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13241 multiarch modff for PPC64.
13243 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13244 and logl multiarch implementations.
13245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13248 multiarch logb for PPC64.
13249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13252 multiarch logb for PPC64.
13253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13256 multiarch logb for PPC64.
13258 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13259 isinff multiarch implementation.
13260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13264 multiarch isinf for PPC64.
13265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13268 multiarch isinff for PPC64.
13270 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13271 finitef multiarch implementation.
13272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13276 multiarch finite for PPC64.
13277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13280 multiarch finitef for PPC64.
13282 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13283 lrint multiarch implementation.
13284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13288 multiarch llrint for PPC64.
13289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13290 multiarch lrint for PPC64.
13292 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13293 copysignf multiarch implementation.
13294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13299 multiarch copysign for PPC64.
13300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13301 multiarch copysignf for PPC64.
13303 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13304 multiarch implementation.
13305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13313 multiarch llround for PPC64.
13314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13315 multiarch trunc for PPC64.
13316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13317 multiarch truncf for PPC64.
13319 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13320 multiarch implementation.
13321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13329 multiarch llround for PPC64.
13330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13331 multiarch round for PPC64.
13332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13333 multiarch roundf for PPC64.
13335 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13336 multiarch implementation.
13337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13345 multiarch llround for PPC64.
13346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13347 multiarch floor for PPC64.
13348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13349 multiarch floorf for PPC64.
13351 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13352 multiarch implementation.
13353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13361 multiarch llround for PPC64.
13362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13363 multiarch ceil for PPC64.
13364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13365 multiarch ceilf for PPC64.
13367 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13368 multiarch implementation.
13369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13376 multiarch llround for PPC64.
13377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13378 multiarch lround for PPC64.
13380 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13381 multiarch implementation.
13382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13389 multiarch isnan for PPC64.
13390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13391 multiarch isnanf for PPC64.
13393 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13394 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13395 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13396 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13397 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13400 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13401 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13402 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13403 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13405 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13406 multiarch implementations.
13407 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13408 (__libc_ifunc_impl_list): Likewise.
13409 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13410 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13411 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13412 multiarch stpcpy for PPC64.
13414 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13415 multiarch implementations.
13416 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13417 (__libc_ifunc_impl_list): Likewise.
13418 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13419 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13420 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13421 multiarch strcpy for PPC64.
13423 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13424 redefine function name.
13425 (_wordcopy_fwd_dest_aligned): Likewise.
13426 (_wordcopy_bwd_aligned): Likewise.
13427 (_wordcopy_bwd_dest_aligned): Likewise.
13428 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13429 multiarch implementations.
13430 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13431 (__libc_ifunc_impl_list): Likewise.
13432 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13433 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13434 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13435 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13436 multiarch wcscpy for PPC64.
13438 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13439 multiarch implementations.
13440 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13441 (__libc_ifunc_impl_list): Likewise.
13442 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13443 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13444 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13445 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13446 multiarch wcscpy for PPC64.
13448 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13449 multiarch implementations.
13450 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13451 (__libc_ifunc_impl_list): Likewise.
13452 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13453 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13454 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13455 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13456 multiarch wcsrchr for PPC64.
13458 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13459 multiarch implementations.
13460 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13461 (__libc_ifunc_impl_list): Likewise.
13462 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13463 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13464 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13465 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13466 multiarch wcschr for PPC64.
13468 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13469 multiarch implementations.
13470 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13471 (__libc_ifunc_impl_list): Likewise.
13472 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13473 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13474 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13475 multiarch strchrnul for PPC64.
13477 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13479 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13480 (__libc_ifunc_impl_list): Likewise.
13481 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13482 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13483 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13484 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13487 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13490 (__libc_ifunc_impl_list): Likewise.
13491 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13492 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13493 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13494 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13498 multiarch implementations.
13499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13500 (__libc_ifunc_impl_list): Likewise.
13501 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13502 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13503 strncasecmp for PPC64.
13504 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13505 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13506 multiarch strncasecmp_l for PPC64.
13508 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13509 multiarch implementations.
13510 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13511 (__libc_ifunc_impl_list): Likewise.
13512 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13513 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13514 multiarch strcasecmp for PPC64.
13515 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13517 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13518 multiarch strcasecmp_l for PPC64.
13520 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13523 (__libc_ifunc_impl_list): Likewise.
13524 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13525 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13526 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13529 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13531 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13532 (__libc_ifunc_impl_list): Likewise.
13533 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13534 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13535 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13538 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13540 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13541 (__libc_ifunc_impl_list): Likewise.
13542 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13543 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13544 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13545 rawmemrchr for PPC64.
13547 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13550 (__libc_ifunc_impl_list): Likewise.
13551 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13552 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13553 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13559 (__libc_ifunc_impl_list): Likewise.
13560 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13561 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13562 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13565 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13568 (__libc_ifunc_impl_list): Likewise.
13569 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13570 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13571 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13574 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13575 avoid cretion of __bzero symbol.
13576 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13578 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13580 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13583 multiarch implementations.
13584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13585 (__libc_ifunc_impl_list): Likewise.
13586 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13587 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13588 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13589 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13591 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13592 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13593 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13594 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13595 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13597 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13599 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13603 (__libc_ifunc_impl_list): Likewise.
13604 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13605 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13606 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13607 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13611 multiarch for POWER/PPC64.
13612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13613 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13614 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13615 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13616 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13617 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13618 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13619 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13620 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13623 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13624 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13625 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13626 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13627 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13628 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13629 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13630 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13631 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13632 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13633 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13634 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13635 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13636 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13637 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13646 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13648 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13650 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13652 * benchtests/Makefile (bench): Add exp2 and log2.
13653 (LDLIBS-bench-exp2): Add -lm.
13654 (LDLIBS-bench-log2): Likewise.
13655 * benchtests/exp2-inputs: New inputs file.
13656 * benchtests/log2-inputs: New inputs file.
13657 * benchtests/log-inputs: Add new inputs.
13658 * benchtests/tan-inputs: Likewise.
13660 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13662 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13664 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13665 (csloww2): ... from here.
13667 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13668 instead of structures.
13669 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13670 (POLYNOMIAL): Likewise.
13671 (TAYLOR_SLOW): Likewise.
13677 (sloww1); Likewise.
13678 (sloww2): Likewise.
13679 (bsloww1): Likewise.
13680 (bsloww2): Likewise.
13681 (cslow2): Likewise.
13682 (csloww): Likewise.
13683 (csloww1): Likewise.
13684 (csloww2): Likewise.
13686 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
13688 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13689 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13690 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13691 * malloc/hooks.c (realloc_check): Likewise.
13693 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13694 * malloc/arena.c: Remove PER_THREAD conditional.
13695 [!PER_THREAD]: Remove code.
13696 (ptmalloc_unlock_all2): Likewise.
13697 (ptmalloc_init): Likewise.
13698 (_int_new_arena): Likewise.
13699 (arena_get2): Likewise.
13700 * malloc/hooks.c (__malloc_get_state): Likewise.
13701 (__malloc_set_state): Likewise.
13702 * malloc/malloc.c: Likewise.
13703 (struct malloc_state): Likewise.
13704 (struct malloc_par): Likewise.
13705 (__libc_realloc): Likewise.
13706 (__libc_mallopt): Likewise.
13708 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13710 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13712 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
13714 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13715 macro to a function. Check for zero perturb_byte.
13716 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13718 * malloc/malloc.c: (force_reg): Remove.
13719 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13720 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13721 force_reg by atomic_forced_read.
13722 * malloc/arena.c (ptmalloc_init): Likewise.
13723 * malloc/hooks.c (top_check): Likewise.
13725 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13729 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13731 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13733 2013-12-08 Joseph Myers <joseph@codesourcery.com>
13735 * math/auto-libm-test-in: Add tests of lgamma.
13736 * math/auto-libm-test-out: Regenerated.
13737 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13738 (M_LOG_2_SQRT_PIl): Likewise.
13739 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13740 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13742 (func_calc_desc): Add mpfr_f_f1 union field.
13743 (ARGS1): New macro.
13751 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13752 (test_functions): Add lgamma.
13753 (calc_generic_results): Handle mpfr_f_f1.
13754 * sysdeps/i386/fpu/libm-test-ulps: Update.
13755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13757 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13759 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13760 __mpn_add_n for PowerPC64/POWER7.
13761 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13762 __mpn_sub_n for PowerPC64/POWER7.
13764 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13765 __mpn_addmul_1 for PowerPC64.
13766 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13767 __mpn_submul_1 for PowerPC64.
13768 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13770 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13773 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13776 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13778 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13780 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13782 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13783 add multiarch folders.
13784 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13785 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13786 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13787 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13788 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13789 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13790 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13791 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13792 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13793 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13794 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13803 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13809 multiarch __ieee754_hypot for PowerPC32.
13810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13815 multiarch __ieee754_hypotf for PowerPC32.
13817 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13818 long_double_symbol only if __logbl is defined.
13819 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13820 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13821 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13822 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13823 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13824 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13825 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13826 path for implementation.
13827 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13828 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13830 logb, and logbl multiarch implementations for PowerPC32.
13831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13836 multiarch logb for PowerPC32.
13837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13842 multiarch logbf for PowerPC32.
13843 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13847 multiarch logbl implementation for PowerPC32.
13849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13850 and modff multiarch implementations.
13851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13856 multiarch modf for PowerPC32.
13857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13862 multiarch modff for PowerPC32.
13864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13865 and lrintf multiarch implementations.
13866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13871 multiarch lrint for PowerPC32.
13872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13873 file: multiarch lrintf for PowerPC32.
13875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13876 and lroundf multiarch implementations.
13877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13884 multiarch lround for PowerPC32.
13885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13886 file: multiarch lroundf for PowerPC32.
13888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13889 copysign and copysignf multiarch implementations.
13890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13895 file: multiarch copysign for PowerPC32.
13896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13897 file: multiarch copysignf for PowerPC32.
13899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13900 and truncf multiarch implementations.
13901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13906 multiarch trunc for PowerPC32.
13907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13912 multiarch truncf for PowerPC32.
13914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13915 and roundf multiarch implementations.
13916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13921 multiarch round for PowerPC32.
13922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13927 multiarch roundf for PowerPC32.
13929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13930 and floorf multiarch implementations.
13931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13936 multiarch floor for PowerPC32.
13937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13942 multiarch floorf for PowerPC32.
13944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13945 and ceilf multiarch implementations.
13946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13951 multiarch ceil for PowerPC32.
13952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13957 multiarch ceilf for PowerPC32.
13959 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13961 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13962 FINITEF is defined.
13963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13964 and finitef multiarch implementations.
13965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13970 multiarch finite for PowerPC32.
13971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13974 file: multiarch finitef for PowerPC32.
13976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13977 and isinff multiarch implementations.
13978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13983 multiarch isinf for PowerPC32.
13984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13987 multiarch isinff for PowerPC32.
13989 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13990 alias when __isnan is defined.
13991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13992 and isnanf multiarch implementations.
13993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14002 multiarch isnan for PowerPC32.
14003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14008 multiarch isnanf for PowerPC32.
14010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14011 and sqrtf multiarch implementations.
14012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14017 multiarch sqrt for PowerPC32.
14018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14023 multiarch sqrtf for PowerPC32.
14025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14026 and llroundf multiarch implementations.
14027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14034 file: multiarch llround for PowerPC32.
14035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14036 file: multiarch llroundf for PowerPC32.
14038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14039 multiarch PowerPC32 fpu implementations.
14040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14045 multiarch llrint for PowerPC32.
14046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14055 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14057 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14059 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14061 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14062 multiarch wordcopy for PPC32.
14063 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14065 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14066 (__libc_ifunc_impl_list): Likewise.
14067 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14068 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14069 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14070 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14071 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14072 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14074 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14075 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14077 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14079 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14081 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14082 multiarch wcscpy for PPC32.
14083 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14085 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14086 (__libc_ifunc_impl_list): Likewise.
14087 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14088 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14089 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14090 sysdeps/powerpc/power6/wcscpy.c.
14092 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14093 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14095 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14097 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14099 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14100 multiarch wcsrchr for PPC32.
14101 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14103 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14104 (__libc_ifunc_impl_list): Likewise.
14105 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14106 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14107 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14108 sysdeps/powerpc/power6/wcsrchr.c.
14110 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14112 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14114 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14115 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14116 multiarch wcschr for PPc32.
14117 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14119 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14120 (__libc_ifunc_impl_list): Likewise.
14121 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14122 * sysdeps/powerpc/power6/wcschr.c: ... to here.
14123 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14124 sysdeps/powerpc/power6/wcschr.c.
14126 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14127 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14129 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14130 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14131 file: multiarch strchr for PPC32.
14132 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14134 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14135 (__libc_ifunc_impl_list): Likewise.
14137 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14139 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14141 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14143 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14144 multiarch strchrnul for PPC32.
14145 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14147 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14148 (__libc_ifunc_impl_list): Likewise.
14150 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14152 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14153 multiarch strncasecmp for PPC32.
14154 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14156 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14157 multiarch strncasecmp_l for PPC32.
14158 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14159 strncasecmp multiarch objects.
14160 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14161 (__libc_ifunc_impl_list): Likewise.
14163 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14165 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14166 multiarch strncasecmp for PPC32.
14167 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14169 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14170 multiarch strcasecmp_l for PPC32.
14171 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14173 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14174 (__libc_ifunc_impl_list): Likewise.
14176 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14178 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14180 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14181 multiarch strncmp for PPC32.
14182 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14184 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14185 (__libc_ifunc_impl_list): Likewise.
14187 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14188 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14190 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14191 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14192 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14194 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14195 (__libc_ifunc_impl_list): Likewise.
14197 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14199 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14201 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14202 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14204 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14205 (__libc_ifunc_impl_list): Likewise.
14207 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14209 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14211 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14212 multiarch rawmemchr for PPC32.
14213 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14215 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14216 (__libc_ifunc_impl_list): Likewise.
14218 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14220 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14222 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14223 file: memrchr multiarch for PPC32.
14224 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14226 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14227 (__libc_ifunc_impl_list): Likewise.
14229 * string/memchr.c (__memchr): Using macro to redefine symbol name.
14230 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14232 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14233 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14234 multiarch memchr for PPC32.
14235 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14237 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14238 (__libc_ifunc_impl_list): Likewise.
14240 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14241 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14243 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14245 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14246 file: multiarch mempcpy for PPC32.
14247 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14249 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14250 (__libc_ifunc_impl_list): Likewise.
14252 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14253 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14254 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14255 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14256 multiarch bzero for PPC32.
14257 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14259 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14261 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14262 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14263 file: multiarch memset for PPC32.
14264 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14265 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14266 memset multiarch objects.
14267 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14268 (__libc_ifunc_impl_list): Likewise.
14270 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14272 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14273 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14275 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14276 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14278 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14279 (__libc_ifunc_impl_list): Likewise.
14281 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14282 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14283 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14285 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14287 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14289 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14290 multiarch memcpy for PPC32.
14291 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14293 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14294 (__libc_ifunc_impl_list): Likewise.
14296 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14297 support multiarch for POWER/PPC32.
14298 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14300 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14302 Implies file to make multiarch folder appers before the fpu and
14303 default folder for power4 configuration.
14305 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14307 * scripts/bench.pl: Append volatile keyword to type.
14309 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14311 * sysdeps/sh/sotruss-lib.c: New file.
14312 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14314 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14318 2013-12-05 Joseph Myers <joseph@codesourcery.com>
14321 * math/w_tgamma.c: Include <errno.h>.
14322 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
14323 * math/w_tgammaf.c: Include <errno.h>.
14324 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
14325 * math/w_tgammal.c: Include <errno.h>.
14326 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
14327 * math/auto-libm-test-in: Do not allow missing errno on tgamma
14328 underflow. Add more tgamma tests.
14329 * math/auto-libm-test-out: Regenerated.
14330 * sysdeps/i386/fpu/libm-test-ulps: Update.
14331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14333 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14334 sin, sinh, tan, tanh, tgamma, y0 and y1.
14335 * math/auto-libm-test-out: Regenerated.
14336 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14337 (TEST_COND_x86): Likewise.
14338 (M_E2l): Remove macro.
14340 (M_2_SQRT_PIl): Likewise.
14341 (M_SQRT_PIl): Likewise.
14342 (M_1_DIV_El): Likewise.
14343 (log_test_data): Use AUTO_TESTS_f_f.
14344 (log10_test_data): Likewise.
14345 (log1p_test_data): Likewise.
14346 (log2_test_data): Likewise.
14347 (sin_test_data): Likewise.
14348 (sin_tonearest_test_data): Likewise.
14349 (sin_towardzero_test_data): Likewise.
14350 (sin_downward_test_data): Likewise.
14351 (sin_upward_test_data): Likewise.
14352 (sinh_test_data): Likewise.
14353 (sinh_tonearest_test_data): Likewise.
14354 (sinh_towardzero_test_data): Likewise.
14355 (sinh_downward_test_data): Likewise.
14356 (sinh_upward_test_data): Likewise.
14357 (tan_test_data): Likewise.
14358 (tan_tonearest_test_data): Likewise.
14359 (tan_towardzero_test_data): Likewise.
14360 (tan_downward_test_data): Likewise.
14361 (tan_upward_test_data): Likewise.
14362 (tanh_test_data): Likewise.
14363 (tgamma_test_data): Likewise.
14364 (y0_test_data): Likewise.
14365 (y1_test_data): Likewise.
14366 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14367 (special_real_inputs): Add pi/4.
14368 * sysdeps/i386/fpu/libm-test-ulps: Update.
14369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14371 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14373 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14374 "longjmp_target" static probes.
14375 (__longjmp): Rename to __longjmp_symbol.
14376 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14377 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14378 on which longjmp to generate.
14379 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14380 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14382 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14383 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14384 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14385 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14386 and __sigjmp_save_symbol based on which sigsetjmp to generated.
14387 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14389 __longjmp_symbol based on which __longjmp to generate.
14390 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14392 (setjmp): Rename to setjmp_symbol.
14393 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14394 (_setjmp): Rename to _setjmp_symbol.
14395 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14396 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14397 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14398 which setjmp to generate.
14399 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14400 "longjmp_target" static probes.
14402 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14404 * benchtests/README: Add note about output arguments.
14405 * benchtests/bench-sincos.c: Remove file.
14406 * benchtests/sincos-inputs: New file.
14407 * scripts/bench.pl: Identify output arguments and define
14408 static variables for them.
14410 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14413 * Makefile (INSTALL): Add install-plain.texi as the primary
14415 * manual/install-plain.texi: New file.
14416 * manual/install.texi: Include node directive only for
14417 non-plaintext output.
14419 2013-12-04 Joseph Myers <joseph@codesourcery.com>
14421 * stdlib/longlong.h: Update from GCC.
14425 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14426 * math/w_j0f.c (y0f): Likewise.
14427 * math/w_j0l.c (__y0l): Likewise.
14428 * math/w_j1.c (y1): Likewise.
14429 * math/w_j1f.c (y1f): Likewise.
14430 * math/w_j1l.c (__y1l): Likewise
14431 * math/w_jn.c (yn): Likewise.
14432 * math/w_jnf.c (ynf): Likewise.
14433 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14434 Bessel function pole errors in _POSIX_ mode. Use NAN as return
14435 value for Bessel function domain errors outside _SVID_ mode.
14436 Adjust sign of return value for yn (negative integer, 0).
14437 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14438 by zero in return for negative x and set sign appropriately for
14440 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14441 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14442 * math/libm-test.inc (y0_test_data): Add more tests and adjust
14443 expectations in error cases.
14444 (y1_test_data): Likewise.
14445 (yn_test_data): Likewise.
14446 * sysdeps/i386/fpu/libm-test-ulps: Update.
14447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14449 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14451 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14452 "64" to "64-v1". Add "64-v2".
14453 (abi-64-options): Rename to ...
14454 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
14455 (abi-64-condition): Rename to ...
14456 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
14457 (abi-64-ld-soname): Rename to ...
14458 (abi-64-v1-ld-soname): ... this.
14459 (abi-64-v2-options): Define.
14460 (abi-64-v2-condition): Likewise.
14461 (abi-64-v2-ld-soname): Likewise.
14462 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14463 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14468 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14469 Alan Modra <amodra@gmail.com>
14471 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14472 New versions for use with the ELFv2 ABI.
14473 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14474 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14476 (struct La_ppc64v2_retval): Likewise.
14477 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14478 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14479 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14480 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14481 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14482 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14483 Do not save or restore CR.
14484 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14485 (_dl_profile_resolve): Do no save or restore CR. Support extended
14486 return values for ELFv2 ABI. Fix location of FPR return registers.
14487 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14488 updated values for _CALL_ELF == 2.
14489 (La_regs, La_retval, int_retval): Likewise.
14491 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14493 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14494 (FRAME_MIN_SIZE_PARM): Likewise.
14495 (FRAME_BACKCHAIN): Likewise.
14496 (FRAME_CR_SAVE): Likewise.
14497 (FRAME_LR_SAVE): Likewise.
14498 (FRAME_TOC_SAVE): Likewise.
14499 (FRAME_PARM_SAVE): Likewise.
14500 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14501 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14502 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14503 (call_mcount_parm_offset): New macro.
14504 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14505 (PROF): Use symbolic stack frame offsets.
14506 (TAIL_CALL_SYSCALL_ERROR): Likewise.
14507 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14508 Redefine in terms of FRAME_MIN_SIZE.
14509 (_dl_runtime_resolve): Use symbolic stack frame offsets.
14510 (_dl_profile_resolve): Likewise. Update comment.
14511 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14512 symbols stack frame offsets.
14513 (__sigsetjmp): Likewise.
14514 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14515 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14516 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14517 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14520 (FRAME_BACKCHAIN): Remove.
14521 (FRAME_CR_SAVE): Likewise.
14522 (FRAME_LR_SAVE): Likewise.
14523 (FRAME_COMPILER_DW): Likewise.
14524 (FRAME_LINKER_DW): Likewise.
14525 (FRAME_TOC_SAVE): Likewise.
14526 (FRAME_PARM_SAVE): Likewise.
14527 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14528 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14529 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14531 (CHECK_SP): Use symbolic stack frame offsets.
14532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14533 zone" instead of caller's parameter save area for temp storage.
14534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14535 Likewise. Also, use symbolic stack frame offsets.
14536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14537 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14538 our own stack frame instead of the caller's.
14539 (__socket): Use symbolic stack frame offsets.
14541 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14542 Alan Modra <amodra@gmail.com>
14544 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14546 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14547 (PPC64_LOCAL_ENTRY_OFFSET): Define.
14548 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14550 (elf_machine_fixup_plt): Call it.
14551 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
14553 (elf_machine_rela): Update call to elf_machine_plt_conflict.
14554 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14555 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14556 r2 before calling target.
14558 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14559 Alan Modra <amodra@gmail.com>
14561 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14562 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14563 versions of macros to support ELFv2 ABI.
14564 (LOCALENTRY): New macro.
14565 (ENTRY, EALIGN): Use it.
14566 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14567 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14568 fall through into ENTRY entry point.
14569 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14570 Only define if _CALL_ELF != 2.
14572 (elf_machine_matches_host): Verify ABI version matches.
14573 (RTLD_START): Use LOCALENTRY.
14574 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14575 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14576 (PLT_ENTRY_WORDS): New macro.
14577 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14578 (elf_machine_runtime_setup): Support ELFv2 ABI.
14579 (elf_machine_fixup_plt): Likewise.
14580 (elf_machine_plt_conflict): Likewise.
14581 (resolve_ifunc): Likewise.
14582 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14583 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14586 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14588 (makecontext): Support ELFv2 ABI.
14589 * elf/elf.h (EF_PPC64_ABI): Define.
14591 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14593 * sysdeps/powerpc/powerpc64/sysdep.h
14594 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14595 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14596 (ENTRY) [ASSEMBLER]: ... but instead here ...
14597 (EALIGN) [ASSEMBLER]: ... and here.
14598 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14599 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14600 (ENTRY_2) [!ASSEMBLER]: Use it.
14601 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14602 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
14603 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14604 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14605 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14607 Use PPC64_LOAD_FUNCPTR.
14609 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14611 2013-12-04 Alan Modra <amodra@gmail.com>
14613 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14614 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14615 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14616 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14618 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14619 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14620 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14621 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14622 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14623 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14625 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14628 (__makecontext): Fix incorrect CFI when backtracing out of
14629 context created via makecontext.
14630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14631 (__setcontext): Fix incorrect CFI during switch to new context.
14632 (__novec_setcontext): Likewise.
14634 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14637 * time/strptime_l.c (__strptime_internal): Allow modifiers
14639 * time/tst-strptime.c (day_tests): Add testcase.
14641 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14643 * scripts/bench.pl: Skip over blank lines.
14645 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14648 * manual/time.texi (Calendar Time): Clarify what timezone functions
14651 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14655 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14657 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14659 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14660 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14661 * debug/memset_chk.c (__memset_chk): Likewise.
14662 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14663 * debug/strncpy_chk.c: Likewise.
14665 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14669 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14670 (__ieee754_exp): For possibly underflowing results, check size of
14671 result and force underflow exception if required.
14672 * math/auto-libm-test-in: Add more tests of exp.
14673 * math/auto-libm-test-out: Regenerated.
14674 * sysdeps/i386/fpu/libm-test-ulps: Update.
14675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14678 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14679 * math/w_exp2f.c (__exp2f): Likewise.
14680 * math/w_exp2l.c (__exp2l): Likewise.
14681 * math/auto-libm-test-in: Do not allow missing errno on exp2
14683 * math/auto-libm-test-out: Regenerated.
14685 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
14688 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14689 handle filename validation.
14690 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14693 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14696 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14697 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14698 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14700 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14701 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14702 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14703 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14704 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14705 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14706 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14707 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14708 Add more erfc tests.
14709 * math/auto-libm-test-out: Regenerated.
14710 * sysdeps/i386/fpu/libm-test-ulps: Update.
14711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14713 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14714 exp2, expm1, j0 and j1.
14715 * math/auto-libm-test-out: Regenerated.
14716 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14717 (erfc_test_data): Likewise.
14718 (exp_test_data): Likewise.
14719 (exp_tonearest_test_data): Likewise.
14720 (exp_towardzero_test_data): Likewise.
14721 (exp_downward_test_data): Likewise.
14722 (exp_upward_test_data): Likewise.
14723 (exp10_test_data): Likewise.
14724 (exp2_test_data): Likewise.
14725 (expm1_test_data): Likewise.
14726 (j0_test_data): Likewise.
14727 (j1_test_data): Likewise.
14728 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14729 (input_flag_type): Add flag_xfail_rounding.
14730 (input_flags): Add xfail-rounding.
14731 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14732 (output_for_one_input_case): Handle flag_xfail_rounding.
14733 * sysdeps/i386/fpu/libm-test-ulps: Update.
14734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14736 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14739 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14742 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14745 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14746 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14747 (STAP_PROBE0): New macro.
14748 (STAP_PROBE1): Likewise.
14749 (STAP_PROBE2): Likewise.
14750 (STAP_PROBE3): Likewise.
14751 (STAP_PROBE4): Likewise.
14753 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
14755 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14757 2013-12-02 Steve Ellcey <sellcey@mips.com>
14759 * benchtests/Makefile (bench): Add sqrt.
14760 (LDLIBS-bench-sqrt): New.
14761 * benchtests/sqrt-input: New.
14763 2013-12-02 Pavel Simerda <psimerda@redhat.com>
14765 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14766 (GAIH_EAI): Likewise.
14767 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14768 (gaih_inet): Likewise.
14769 (getaddrinfo): Don't use GAIH_EAI.
14771 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14772 (struct gaih): Remove definition.
14774 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14776 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14777 Use HERRNOP directly.
14779 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14783 2013-11-30 Joseph Myers <joseph@codesourcery.com>
14785 * math/gen-auto-libm-tests.c (test_functions): Add more
14786 single-argument functions.
14787 (special_fill_pi_2): New function.
14788 (special_fill_minus_pi_2): Likewise.
14789 (special_fill_pi_6): Likewise.
14790 (special_fill_minus_pi_6): Likewise.
14791 (special_fill_pi_3): Likewise.
14792 (special_fill_2pi_3): Likewise.
14793 (special_fill_e): Likewise.
14794 (special_fill_1_e): Likewise.
14795 (special_fill_e_minus_1): Likewise.
14796 (special_real_inputs): Add more special inputs.
14797 (output_for_one_input_case): Do not require ERANGE on underflow to
14798 zero if round-to-nearest result does not underflow to zero, unless
14799 exact results required.
14800 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14801 atan, atanh, cbrt, cos and cosh.
14802 * math/auto-libm-test-out: Regenerated.
14803 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14804 (acos_tonearest_test_data): Likewise.
14805 (acos_towardzero_test_data): Likewise.
14806 (acos_downward_test_data): Likewise.
14807 (acos_upward_test_data): Likewise.
14808 (acosh_test_data): Likewise.
14809 (asin_test_data): Likewise.
14810 (asin_tonearest_test_data): Likewise.
14811 (asin_towardzero_test_data): Likewise.
14812 (asin_upward_test_data): Likewise.
14813 (asinh_test_data): Likewise.
14814 (atan_test_data): Likewise.
14815 (atanh_test_data): Likewise.
14816 (cbrt_test_data): Likewise.
14817 (cos_test_data): Likewise.
14818 (cos_tonearest_test_data): Likewise.
14819 (cos_towardzero_test_data): Likewise.
14820 (cos_downward_test_data): Likewise.
14821 (cos_upward_test_data): Likewise.
14822 (cosh_test_data): Likewise.
14823 (cosh_tonearest_test_data): Likewise.
14824 (cosh_towardzero_test_data): Likewise.
14825 (cosh_downward_test_data): Likewise.
14826 (cosh_upward_test_data): Likewise.
14827 * sysdeps/i386/fpu/libm-test-ulps: Update.
14828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14830 2013-11-29 Joseph Myers <joseph@codesourcery.com>
14833 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14834 * math/w_exp10f.c (__exp10f): Likewise.
14835 * math/w_exp10l.c (__exp10l): Likewise.
14836 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14837 errno settings in existing tests.
14840 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14841 precision control set to double precision.
14842 * sysdeps/i386/fpu/w_sqrt.c: New file.
14843 * math/auto-libm-test-in: Add more tests.
14844 * math/auto-libm-test-out: Update.
14846 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14847 (sqrt_test_tonearest): New function.
14848 (sqrt_towardzero_test_data): New variable.
14849 (sqrt_test_towardzero): New function.
14850 (sqrt_downward_test_data): New variable.
14851 (sqrt_test_downward): New function.
14852 (sqrt_upward_test_data): New variable.
14853 (sqrt_test_upward): New function.
14854 (main): Call the new functions.
14856 * math/gen-auto-libm-tests.c: New file.
14857 * math/auto-libm-test-in: Likewise.
14858 * math/auto-libm-test-out: New generated file.
14859 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14861 (%beautify): Add generated representations of zero.
14862 (top level): Set $auto_input and call parse_auto_input.
14863 (beautify): Remove trailing "f" from hex float constants.
14864 (parse_args): Handle XFAIL_TEST.
14865 (convert_condition): New function.
14866 (or_value): Likewise.
14867 (or_cond_value): Likewise.
14868 (generate_testfile): Handle AUTO_TESTS_* lines.
14869 (parse_auto_input): New function.
14870 * math/libm-test.inc (XFAIL_TEST): New macro.
14871 (ERRNO_UNCHANGED): Update value.
14872 (ERRNO_EDOM): Likewise.
14873 (ERRNO_ERANGE): Likewise.
14874 (IGNORE_RESULT): Likewise.
14875 (TEST_COND_flt_32): New macro.
14876 (TEST_COND_dbl_64): Likewise.
14877 (TEST_COND_ldbl_96_intel): Likewise.
14878 (TEST_COND_ldbl_96_m68k): Likewise.
14879 (TEST_COND_ldbl_128): Likewise.
14880 (TEST_COND_ldbl_128ibm): Likewise.
14881 (TEST_COND_long32): Likewise.
14882 (TEST_COND_long64): Likewise.
14883 (TEST_COND_before_rounding): Likewise.
14884 (TEST_COND_after_rounding): Likewise.
14885 (enable_test): Handle XFAIL_TEST flag.
14886 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14887 with finite results.
14888 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14889 auto-libm-test-out.
14891 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14892 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14895 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14896 __tls_get_addr_internal instead of __tls_get_offset in order to
14897 avoid GOT pointer dependency. Make rtld export
14898 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14899 __tls_get_addr since we are a __tls_get_offset platform.
14900 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14901 GOT pointer being set up before.
14902 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14904 2013-11-28 Joseph Myers <joseph@codesourcery.com>
14906 * manual/math.texi (Errors in Math Functions): Document accuracy
14910 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14911 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14912 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14913 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14914 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14915 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14916 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14917 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14918 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14919 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14920 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14921 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14922 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14923 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14924 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14925 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14927 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14928 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14929 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14930 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14931 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14933 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14935 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14937 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14938 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14939 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14940 atomic-feupdateenv and flt-rounds.
14941 * sysdeps/powerpc/nofpu/Versions (libc): Add
14942 __atomic_feholdexcept, __atomic_feclearexcept,
14943 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14944 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14945 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14946 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14947 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14952 * manual/arith.texi (FP Exceptions): Document that exceptions may
14953 not be raised when matherr is used.
14954 (Math Error Reporting): Document overflow in directed rounding
14955 modes. Document that errno may not be set when finite values are
14956 returned on overflow. Document intent to set errno on underflow
14957 only for underflow to zero.
14960 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14961 round-to-nearest then adjust result for other rounding modes.
14962 * include/fenv.h (fegetround): Use libm_hidden_proto.
14963 * math/fegetround.c (fegetround): Use libm_hidden_def.
14964 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14965 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14966 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14967 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14969 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14970 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14971 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14972 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14974 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14977 * nss/Versions (libnss_files): Add
14978 _nss_files_gethostbyname3_r.
14979 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14981 (HOST_DB_LOOKUP): Remove macro.
14982 (_nss_files_gethostbyname_r): Implement function without the
14983 HOST_DB_LOOKUP macro.
14984 (_nss_files_gethostbyname2_r): Likewise.
14986 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14988 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14990 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14992 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14993 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14996 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14998 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14999 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15000 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15001 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15002 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15003 __fe_nomask_env_priv and attribute_hidden.
15004 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15005 (libc_feupdateenv_test_ppc): Likewise.
15006 (libc_feresetround_ppc): Likewise.
15007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15008 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15009 compat_symbol macro.
15010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15011 (__fe_nomask_env): Likewise.
15012 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15014 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15016 * string/Makefile: Remove ifunc tests.
15017 * string/test-string.h: Define TEST_IFUNC.
15018 * string/test-bcopy-ifunc.c: Remove.
15019 * string/test-bzero-ifunc.c: Likewise.
15020 * string/test-memccpy-ifunc.c: Likewise.
15021 * string/test-memchr-ifunc.c: Likewise.
15022 * string/test-memcmp-ifunc.c: Likewise.
15023 * string/test-memcpy-ifunc.c: Likewise.
15024 * string/test-memmem-ifunc.c: Likewise.
15025 * string/test-memmove-ifunc.c: Likewise.
15026 * string/test-mempcpy-ifunc.c: Likewise.
15027 * string/test-memrchr-ifunc.c: Likewise.
15028 * string/test-memset-ifunc.c: Likewise.
15029 * string/test-rawmemchr-ifunc.c: Likewise.
15030 * string/test-stpcpy-ifunc.c: Likewise.
15031 * string/test-stpncpy-ifunc.c: Likewise.
15032 * string/test-strcasecmp-ifunc.c: Likewise.
15033 * string/test-strcasestr-ifunc.c: Likewise.
15034 * string/test-strcat-ifunc.c: Likewise.
15035 * string/test-strchr-ifunc.c: Likewise.
15036 * string/test-strchrnul-ifunc.c: Likewise.
15037 * string/test-strcmp-ifunc.c: Likewise.
15038 * string/test-strcpy-ifunc.c: Likewise.
15039 * string/test-strcspn-ifunc.c: Likewise.
15040 * string/test-strlen-ifunc.c: Likewise.
15041 * string/test-strncasecmp-ifunc.c: Likewise.
15042 * string/test-strncat-ifunc.c: Likewise.
15043 * string/test-strncmp-ifunc.c: Likewise.
15044 * string/test-strncpy-ifunc.c: Likewise.
15045 * string/test-strnlen-ifunc.c: Likewise.
15046 * string/test-strpbrk-ifunc.c: Likewise.
15047 * string/test-strrchr-ifunc.c: Likewise.
15048 * string/test-strspn-ifunc.c: Likewise.
15049 * string/test-strstr-ifunc.c: Likewise.
15051 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15053 * benchtests/Makefile: Remove ifunc tests.
15054 * benchtests/bench-string.h: Define TEST_IFUNC.
15055 * benchtests/bench-bcopy-ifunc.c: Remove.
15056 * benchtests/bench-bzero-ifunc.c: Likewise.
15057 * benchtests/bench-memccpy-ifunc.c: Likewise.
15058 * benchtests/bench-memchr-ifunc.c: Likewise.
15059 * benchtests/bench-memcmp-ifunc.c: Likewise.
15060 * benchtests/bench-memcpy-ifunc.c: Likewise.
15061 * benchtests/bench-memmem-ifunc.c: Likewise.
15062 * benchtests/bench-memmove-ifunc.c: Likewise.
15063 * benchtests/bench-mempcpy-ifunc.c: Likewise.
15064 * benchtests/bench-memrchr-ifunc.c: Likewise.
15065 * benchtests/bench-memset-ifunc.c: Likewise.
15066 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15067 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15068 * benchtests/bench-stpcpy-ifunc.c: Likewise.
15069 * benchtests/bench-stpncpy-ifunc.c: Likewise.
15070 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15071 * benchtests/bench-strcasestr-ifunc.c: Likewise.
15072 * benchtests/bench-strcat-ifunc.c: Likewise.
15073 * benchtests/bench-strchr-ifunc.c: Likewise.
15074 * benchtests/bench-strchrnul-ifunc.c: Likewise.
15075 * benchtests/bench-strcmp-ifunc.c: Likewise.
15076 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15077 * benchtests/bench-strcpy-ifunc.c: Likewise.
15078 * benchtests/bench-strcspn-ifunc.c: Likewise.
15079 * benchtests/bench-strlen-ifunc.c: Likewise.
15080 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15081 * benchtests/bench-strncat-ifunc.c: Likewise.
15082 * benchtests/bench-strncmp-ifunc.c: Likewise.
15083 * benchtests/bench-strncpy-ifunc.c: Likewise.
15084 * benchtests/bench-strnlen-ifunc.c: Likewise.
15085 * benchtests/bench-strpbrk-ifunc.c: Likewise.
15086 * benchtests/bench-strrchr-ifunc.c: Likewise.
15087 * benchtests/bench-strsep-ifunc.c: Likewise.
15088 * benchtests/bench-strspn-ifunc.c: Likewise.
15089 * benchtests/bench-strstr-ifunc.c: Likewise.
15091 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15093 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15095 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15097 * resolv/netdb.h: Use __glibc_reserved instead __unused.
15098 * rt/aio.h: Likewise.
15099 * sysdeps/gnu/bits/utmp.h: Likewise.
15100 * sysdeps/gnu/bits/utmpx.h: Likewise.
15101 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15102 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15103 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15104 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15105 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15106 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15107 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15108 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15109 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15110 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15111 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15112 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15113 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15115 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15116 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15117 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15118 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15119 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15120 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15121 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15122 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15123 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15124 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15125 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15126 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15127 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15128 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15129 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15130 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15131 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15132 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15133 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15134 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15135 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15136 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15137 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15138 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15139 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15140 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15141 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15142 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15144 2013-11-25 Carlos O'Donell <carlos@redhat.com>
15147 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15148 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15150 2013-11-25 Joseph Myers <joseph@codesourcery.com>
15152 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15153 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15156 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15158 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15159 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15160 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15161 (__fesetround): Remove define.
15162 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15163 rounding and exceptions handling.
15164 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15165 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15166 (__fe_nomask_env): Likewise.
15167 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15168 __fegetround instead of fegetround.
15169 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15170 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15172 2013-11-21 Roland McGrath <roland@hack.frob.com>
15174 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15177 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15179 2013-11-21 Meador Inge <meadori@codesourcery.com>
15182 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15183 (encrypt_r): Likewise.
15184 * malloc/obstack.h (obstack_free): Likewise.
15185 * posix/unistd.h (encrypt): Likewise.
15187 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
15189 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15190 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15191 DL_CALL_DT_FINI() that call the functions directly.
15192 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15193 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15194 * elf/dl-fini.c: Likewise.
15196 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
15198 * malloc/hooks.c (memalign_check): Add alignment rounding.
15199 * malloc/malloc.c (_mid_memalign): New function.
15200 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15201 Implement by calling _mid_memalign.
15202 * manual/probes.texi (Memory Allocation Probes): Remove
15203 memory_valloc_retry and memory_pvalloc_retry.
15205 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15207 * locale/programs/locarchive.c (open_archive): Add const
15208 qualifier to ARCHIVEFNAME and copy default fname to
15212 * libio/tst-widetext.input: Rename Oriya to Odia.
15213 * locale/iso-639.def: Likewise.
15215 * manual/probes.texi (Mathematical Function Probes): Add
15216 documentation for sin, cos, asin and acos probes.
15217 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15218 (__sin32): Add slowasin probe.
15219 (__cos32): Add slowacos probe.
15220 (__mpsin): Add slowsin probe.
15221 (__mpcos): Add slowcos probe.
15223 2013-11-19 Joseph Myers <joseph@codesourcery.com>
15226 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15227 thread-local __sim_exceptions_thread and global
15228 __sim_exceptions_global.
15229 (__sim_disabled_exceptions): Change to thread-local
15230 __sim_disabled_exceptions_thread and global
15231 __sim_disabled_exceptions_global.
15232 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15233 and global __sim_round_mode_global.
15234 (__simulate_exceptions): Use thread-local floating-point state and
15235 set global state from it as needed.
15236 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15237 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15238 __sim_round_mode_thread.
15239 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15240 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15241 and global __sim_exceptions_global.
15242 (__sim_disabled_exceptions): Change to thread-local
15243 __sim_disabled_exceptions_thread and global
15244 __sim_disabled_exceptions_global.
15245 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15246 and global __sim_round_mode_global.
15247 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15248 (SIM_SET_GLOBAL): Likewise.
15249 * sysdeps/powerpc/soft-fp/sfp-machine.h
15250 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15251 __sim_round_mode_thread.
15252 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15253 __sim_disabled_exceptions_thread.
15254 (__sim_exceptions): Change to __sim_exceptions_thread.
15255 (__sim_disabled_exceptions): Change to
15256 __sim_disabled_exceptions_thread.
15257 (__sim_round_mode): Change to __sim_round_mode_thread.
15258 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15259 thread-local floating-point state and set global state from it as
15261 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15262 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15263 (__sim_disabled_exceptions): Remove extern declaration.
15264 (feenableexcept): Use thread-local floating-point state and set
15265 global state from it as needed.
15266 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15267 extern declaration.
15268 (__sim_disabled_exceptions): Likewise.
15269 (__sim_round_mode): Likewise.
15270 (__fegetenv): Use thread-local floating-point state.
15271 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15272 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15273 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15274 floating-point state and set global state from it as needed.
15275 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15276 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15277 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15279 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15280 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15282 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15283 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15284 Use __sim_round_mode_thread.
15285 * math/test-fenv-tls.c: New file.
15286 * math/Makefile (tests): Add test-fenv-tls.
15287 ($(objpfx)test-fenv-tls): Depend on
15288 $(common-objpfx)nptl/libpthread.so.
15290 2013-11-19 Andreas Schwab <schwab@suse.de>
15292 * locale/programs/locale.c (show_info): Decode wordarray elements.
15293 * locale/categories.def (LC_MONETARY): Add element for
15294 _NL_MONETARY_CRNCYSTR.
15295 * locale/C-monetary.c (conversion_rate): New variable.
15296 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15299 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
15301 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15302 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15304 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15306 * elf/Makefile (tst-auxv): New test.
15307 * elf/tst-auxv.c: New
15308 * elf/rtld.c (dl_main): Adjust AT_EXECFN
15310 2013-11-18 Joseph Myers <joseph@codesourcery.com>
15312 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15313 (hidden_proto): Caller changed.
15314 (hidden_tls_proto): New macro.
15315 (libc_hidden_tls_proto): Likewise.
15316 (rtld_hidden_tls_proto): Likewise.
15317 (libm_hidden_tls_proto): Likewise.
15318 (libresolv_hidden_tls_proto): Likewise.
15319 (librt_hidden_tls_proto): Likewise.
15320 (libdl_hidden_tls_proto): Likewise.
15321 (libnss_files_hidden_tls_proto): Likewise.
15322 (libnsl_hidden_tls_proto): Likewise.
15323 (libnss_nisplus_hidden_tls_proto): Likewise.
15324 (libutil_hidden_tls_proto): Likewise.
15326 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
15329 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15330 (decompose_rpath): Defer expansion to fillin_rpath.
15331 (_dl_init_paths): Pass linkmap to fillin_rpath.
15333 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15335 * benchtests/Makefile: Add strsep.
15336 * benchtests/bench-strsep.c: New file: strsep benchtest.
15337 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15339 2013-11-18 Andreas Schwab <schwab@suse.de>
15341 * locale/programs/locale.c (show_info) [case byte]: Check for
15342 '\377' instead of '\177'.
15343 * locale/C-monetary.c (not_available): Always use "\377".
15344 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15345 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
15346 detect unavailable sign_posn locale elements.
15347 * locale/localeconv.c (__localeconv): For grouping and
15348 mon_grouping handle "\177" and "\377" like no grouping.
15349 (INT_ELEM): New macro. Use it to set all numeric members.
15350 * locale/programs/ld-monetary.c (monetary_read)
15351 <tok_mon_grouping>: Normalize single -1 to the empty string.
15352 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15355 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15358 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15359 when we match (nil).
15360 * stdio-common/tst-sscanf.c (struct test): Add testcase.
15362 2013-11-16 Joseph Myers <joseph@codesourcery.com>
15364 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15365 (NO_TEST_INLINE): Update value.
15366 (ERRNO_UNCHANGED): Likewise.
15367 (ERRNO_EDOM): Likewise.
15368 (ERRNO_ERANGE): Likewise.
15369 (IGNORE_RESULT): Likewise.
15370 (check_float_internal): Check signs of NaN results if
15371 TEST_NAN_SIGN used.
15372 (check_complex): Pass TEST_NAN_SIGN flag through to second
15373 check_float_internal call.
15374 (copysign_test_data): Add tests with quiet NaNs as second
15375 argument. Use TEST_NAN_SIGN.
15376 (fabs_test_data): Add test of negative quiet NaN argument. Use
15378 (signbit_test_data): Add tests of quiet NaN argument.
15379 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15381 * math/gen-libm-test.pl (show_exceptions): Take extra argument
15383 (parse_args): Handle function results specified as IGNORE.
15384 * math/libm-test.inc (IGNORE_RESULT): New macro.
15385 (check_float_internal): Do not check numerical result if flag
15387 (check_complex): Pass through IGNORE_RESULT to second
15388 check_float_internal call.
15389 (check_int): Do not check numerical result if flag IGNORE_RESULT
15391 (check_long): Likewise.
15392 (check_bool): Likewise.
15393 (check_longlong): Likewise.
15394 (lrint_test_data): Add tests of infinite and NaN arguments.
15395 (lrint_tonearest_test_data): Likewise.
15396 (lrint_towardzero_test_data): Likewise.
15397 (lrint_downward_test_data): Likewise.
15398 (lrint_upward_test_data): Likewise.
15399 (llrint_test_data): Likewise.
15400 (llrint_tonearest_test_data): Likewise.
15401 (llrint_towardzero_test_data): Likewise.
15402 (llrint_downward_test_data): Likewise.
15403 (llrint_upward_test_data): Likewise.
15404 (lround_test_data): Likewise.
15405 (llround_test_data): Likewise.
15407 * math/libm-test.inc (NO_TEST_INLINE): New macro.
15408 (ERRNO_UNCHANGED): Update value.
15409 (ERRNO_EDOM): Likewise.
15410 (ERRNO_ERANGE): Likewise.
15411 (NO_TEST_INLINE_FLOAT): New macro.
15412 (NO_TEST_INLINE_DOUBLE): Likewise.
15413 (enable_test): New function.
15414 (RUN_TEST_f_f): Check enable_test before running test.
15415 (RUN_TEST_2_f): Likewise.
15416 (RUN_TEST_fff_f): Likewise.
15417 (RUN_TEST_c_f): Likewise.
15418 (RUN_TEST_f_f1): Likewise.
15419 (RUN_TEST_fF_f1): Likewise.
15420 (RUN_TEST_fI_f1): Likewise.
15421 (RUN_TEST_ffI_f1): Likewise.
15422 (RUN_TEST_c_c): Likewise.
15423 (RUN_TEST_cc_c): Likewise.
15424 (RUN_TEST_f_i): Likewise.
15425 (RUN_TEST_f_i_tg): Likewise.
15426 (RUN_TEST_ff_i_tg): Likewise.
15427 (RUN_TEST_f_b): Likewise.
15428 (RUN_TEST_f_b_tg): Likewise.
15429 (RUN_TEST_f_l): Likewise.
15430 (RUN_TEST_f_L): Likewise.
15431 (RUN_TEST_fFF_11): Likewise.
15432 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15434 (cosh_test_data): Likewise.
15435 (exp_test_data): Likewise.
15436 (expm1_test_data): Likewise.
15437 (hypot_test_data): Likewise.
15438 (pow_test_data): Likewise.
15439 (sinh_test_data): Likewise.
15440 (tanh_test_data): Likewise.
15441 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15444 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15445 tests with quiet NaN input and output.
15446 (acosh_test_data): Likewise.
15447 (asin_test_data): Likewise.
15448 (asinh_test_data): Likewise.
15449 (atan_test_data): Likewise.
15450 (atanh_test_data): Likewise.
15451 (atan2_test_data): Likewise.
15452 (cbrt_test_data): Likewise.
15453 (cos_test_data): Likewise.
15454 (cosh_test_data): Likewise.
15455 (erf_test_data): Likewise.
15456 (erfc_test_data): Likewise.
15457 (exp_test_data): Likewise.
15458 (exp10_test_data): Likewise.
15459 (exp2_test_data): Likewise.
15460 (expm1_test_data): Likewise.
15461 (hypot_test_data): Likewise.
15462 (j0_test_data): Likewise.
15463 (j1_test_data): Likewise.
15464 (jn_test_data): Likewise.
15465 (lgamma_test_data): Likewise.
15466 (log_test_data): Likewise.
15467 (log10_test_data): Likewise.
15468 (log1p_test_data): Likewise.
15469 (log2_test_data): Likewise.
15470 (pow_test_data): Likewise.
15471 (scalb_test_data): Likewise.
15472 (sin_test_data): Likewise.
15473 (sincos_test_data): Likewise.
15474 (sinh_test_data): Likewise.
15475 (tan_test_data): Likewise.
15476 (tanh_test_data): Likewise.
15477 (tgamma_test_data): Likewise.
15478 (y0_test_data): Likewise.
15479 (y1_test_data): Likewise.
15480 (yn_test_data): Likewise.
15483 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15484 argument being NaN and avoid computations with second argument in
15486 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15487 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15488 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15490 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
15492 * locale/iso-639.def: Add Chitwani Tharu (the).
15494 2013-11-14 Andreas Schwab <schwab@suse.de>
15496 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15497 word instead of empty string.
15499 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15502 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15504 (__fe_nomask_env): Likewise.
15506 2013-11-13 Steve Ellcey <sellcey@mips.com>
15508 * benchtests/bench-timing.h: Include time.h.
15510 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
15513 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15515 * sysdeps/unix/sysv/linux/configure: Regenerated.
15517 2013-11-13 Joseph Myers <joseph@codesourcery.com>
15520 * stdlib/strtod_l.c (round_and_return): Do not consider
15521 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15522 exponent one less than half the least subnormal exponent.
15523 * stdlib/test-strtod-round-data: Add more tests.
15524 * stdlib/tst-strtod-round.c (tests): Regenerated.
15526 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15529 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15530 (__fe_mask_env): Likewise.
15531 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15532 libm_hidden_proto and add function prototype.
15533 (__fe_mask_env): Add function prototype.
15534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15535 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15537 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15539 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15541 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15543 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15544 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15546 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15548 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15549 of htab_find_slot().
15551 2013-11-11 David S. Miller <davem@davemloft.net>
15554 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15555 symbol in the non-vis3 case in static builds.
15556 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15557 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15558 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15559 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15561 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15564 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15567 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15569 * benchtests/Makefile: Add bench-strtod.
15570 * benchtests/bench-strtod.c: New file: strtod benchtest
15572 2013-11-11 Andreas Schwab <schwab@suse.de>
15575 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15576 terminating NUL in key length.
15578 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15580 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15581 Add artificial ODP entry for vDSO symbol for PPC64.
15582 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15583 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15585 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15588 * nss/getent.c (services_keys): Recognize services starting with digit.
15590 2013-11-06 David S. Miller <davem@davemloft.net>
15593 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15594 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15596 2013-11-06 Will Newton <will.newton@linaro.org>
15598 * manual/memory.texi (Malloc Examples): Remove register
15599 keyword from examples.
15601 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
15603 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15605 2013-11-04 Joseph Myers <joseph@codesourcery.com>
15608 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15609 depending on [__GCC_IEC_559 > 0].
15610 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15611 depending on [__GCC_IEC_559_COMPLEX > 0].
15613 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
15615 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15618 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
15620 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15622 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
15625 * malloc/malloc (malloc_info): Do not handle first bin as
15628 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
15630 * locale/iso-639.def: Add Central Nahuatl (nhn).
15632 2013-11-01 Bruno Haible <bruno@clisp.org>
15635 * manual/math.texi (BSD Random): Specify range upper bound as
15638 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
15640 * locale/iso-639.def: Add Meadow Mari (mhr).
15642 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
15644 [BZ #14752], [BZ #15763]
15645 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15647 * rt/tst_shm.c: Add test for escaping directory.
15649 2013-10-31 Andreas Schwab <schwab@suse.de>
15652 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15653 followed by 'x' as part of digit sequence.
15654 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15656 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15659 * configure.ac: allow GNU Make 4.0 and greater.
15660 * configure: Regenerated.
15662 2013-10-30 Will Newton <will.newton@linaro.org>
15665 * malloc/hooks.c (memalign_check): Limit alignment to the
15666 maximum representable power of two.
15667 * malloc/malloc.c (__libc_memalign): Likewise.
15668 * malloc/tst-memalign.c (do_test): Add test for very
15669 large alignment values.
15670 * malloc/tst-posix_memalign.c (do_test): Likewise.
15672 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15675 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15676 (munmap_chunk): Likewise.
15677 (mremap_chunk): Likewise.
15679 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15682 * stdlib/div.c (div): Remove obsolete code.
15683 * stdlib/ldiv.c (ldiv): Likewise.
15684 * stdlib/lldiv.c (lldiv): Likewise.
15686 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15689 * nss/nss_files/files-XXX.c (get_contents_ret): New
15691 (get_contents): New function.
15692 (internal_getent): Use it. Expand size of LINEBUFLEN.
15694 2013-10-30 Mike Frysinger <vapier@gentoo.org>
15696 * configure.in: Moved to ...
15697 * configure.ac: ... here. Change reference to configure.in
15699 * sysdeps/arm/preconfigure.ac: ... here.
15700 configure.in to configure.ac.
15701 * sysdeps/gnu/configure.in: Moved to ...
15702 * sysdeps/gnu/configure.ac: ... here.
15703 * sysdeps/i386/configure.in: Moved to ...
15704 * sysdeps/i386/configure.ac: ... here.
15705 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15706 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15707 * sysdeps/mach/configure.in: Moved to ...
15708 * sysdeps/mach/configure.ac: ... here.
15709 * sysdeps/mach/hurd/configure.in: Moved to ...
15710 * sysdeps/mach/hurd/configure.ac: ... here.
15711 * sysdeps/powerpc/configure.in: Moved to ...
15712 * sysdeps/powerpc/configure.ac: ... here.
15713 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15714 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15715 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15716 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15717 * sysdeps/s390/s390-32/configure.in: Moved to ...
15718 * sysdeps/s390/s390-32/configure.ac: ... here.
15719 * sysdeps/s390/s390-64/configure.in: Moved to ...
15720 * sysdeps/s390/s390-64/configure.ac: ... here.
15721 * sysdeps/sh/configure.in: Moved to ...
15722 * sysdeps/sh/configure.ac: ... here.
15723 * sysdeps/sparc/configure.in: Moved to ...
15724 * sysdeps/sparc/configure.ac: ... here.
15725 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15726 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15727 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15728 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15729 * sysdeps/x86_64/configure.in: Moved to ...
15730 * sysdeps/x86_64/configure.ac: ... here.
15731 * sysdeps/x86_64/preconfigure.in: Moved to ...
15732 * sysdeps/x86_64/preconfigure.ac: ... here.
15733 * aclocal.m4: Change reference to configure.in to configure.ac.
15734 * config.h.in: Likewise.
15735 * manual/install.texi: Likewise.
15736 * manual/maint.texi: Likewise.
15737 * Makefile: Likewise.
15738 * malloc/Makefile: Likewise.
15739 * nscd/Makefile: Likewise.
15740 * Makeconfig: Change reference to configure.in and
15741 preconfigure.in to configure.ac and preconfigure.ac
15743 * INSTALL: Regenerated.
15744 * configure: Likewise.
15745 * sysdeps/gnu/configure: Likewise.
15746 * sysdeps/i386/configure: Likewise.
15747 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15748 * sysdeps/mach/configure: Likewise.
15749 * sysdeps/mach/hurd/configure: Likewise.
15750 * sysdeps/powerpc/configure: Likewise.
15751 * sysdeps/powerpc/powerpc32/configure: Likewise.
15752 * sysdeps/powerpc/powerpc64/configure: Likewise.
15753 * sysdeps/s390/s390-32/configure: Likewise.
15754 * sysdeps/s390/s390-64/configure: Likewise.
15755 * sysdeps/sh/configure: Likewise.
15756 * sysdeps/sparc/configure: Likewise.
15757 * sysdeps/unix/sysv/linux/configure: Likewise.
15758 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15759 * sysdeps/x86_64/configure: Likewise.
15760 * sysdeps/x86_64/preconfigure: Likewise.
15762 2013-10-29 Andreas Schwab <schwab@suse.de>
15764 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15766 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15768 * benchtests/pow-inputs: Add new inputs.
15770 * benchtests/exp-inputs: Add new inputs.
15772 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15773 conditional check for return value.
15774 (__cos32): Likewise.
15776 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15778 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15779 to provide a boost for large inputs with word alignment.
15780 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15781 implementation based on optimized PPC64 strcpy.
15782 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15783 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15784 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15785 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15787 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15790 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15792 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15795 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15796 * time/tst-strptime.c (day_tests): Add testcase.
15798 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15801 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15803 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15806 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15807 MAP_FAILED on error.
15809 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15812 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15813 heap for large requests.
15815 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15818 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15819 result if the result has no associated interface.
15820 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15821 interface for all 127.X.Y.Z addresses.
15823 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
15825 * locale/iso-639.def: Add Ligurian (lij)
15827 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
15830 * sunrpc/rpc_main.c: Document rpcgen -5.
15832 2013-10-19 Michael Stahl <mstahl@redhat.com>
15834 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15836 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15839 * posix/glob.c: Match only directories when trailing slash is present.
15840 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15841 (main): Add testcase.
15843 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15846 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15848 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15850 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15851 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15852 AUTH_DES and cindex for FIPS 140-2.
15853 (DES Encryption): Add cindex FIPS 46-3.
15855 * locale/locarchive.h (struct locarhandle): Add fname.
15856 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15857 if an optional argument was specified to --list-archive,
15859 * locale/programs/locarchive.c (show_archive_content): Take new
15860 argument fname and pass it via ah.fname to open_archive.
15861 * locale/programs/localedef.h: Update decl.
15862 (open_archive): If AH->fname is non-null, open that file
15863 rather than the default file name, and don't ignore ENOENT.
15864 (create_archive): Set AH.fname to NULL.
15865 (delete_locales_from_archive): Likewise.
15866 (add_locales_to_archive): Likewise.
15867 * locale/programs/locfile.c (write_all_categories): Likewise.
15869 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15870 Aldy Hernandez <aldyh@redhat.com>
15872 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15873 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15874 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15875 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15876 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15877 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15878 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15879 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15880 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15881 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15882 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15883 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15884 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15885 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15886 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15888 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15890 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15892 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15894 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15895 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15897 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15898 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15899 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15900 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15902 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15903 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15904 * sysdeps/powerpc/preconfigure: Likewise.
15905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15907 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15908 Replace contents of file by #include of <fenv_libc.h>.
15909 * sysdeps/powerpc/soft-fp/sfp-machine.h
15910 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15912 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15913 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15914 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15915 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15916 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15917 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15918 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15919 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15920 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15921 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15922 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15923 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15925 Allow copysignl PLT reference to be missing.
15927 2013-10-18 Richard Sandiford <richard@codesourcery.com>
15928 Joseph Myers <joseph@codesourcery.com
15931 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15933 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15935 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15937 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15938 * elf/tst-tls1.c: Likewise.
15939 * elf/tst-tls10.h: Likewise.
15940 * elf/tst-tls14.c: Likewise.
15941 * elf/tst-tls2.c: Likewise.
15942 * elf/tst-tls3.c: Likewise.
15943 * elf/tst-tls4.c: Likewise.
15944 * elf/tst-tls5.c: Likewise.
15945 * elf/tst-tls6.c: Likewise.
15946 * elf/tst-tls7.c: Likewise.
15947 * elf/tst-tls8.c: Likewise.
15948 * elf/tst-tls9.c: Likewise.
15949 * elf/tst-tlsmod1.c: Likewise.
15950 * elf/tst-tlsmod13.c: Likewise.
15951 * elf/tst-tlsmod13a.c: Likewise.
15952 * elf/tst-tlsmod14a.c: Likewise.
15953 * elf/tst-tlsmod16a.c: Likewise.
15954 * elf/tst-tlsmod16b.c: Likewise.
15955 * elf/tst-tlsmod2.c: Likewise.
15956 * elf/tst-tlsmod3.c: Likewise.
15957 * elf/tst-tlsmod4.c: Likewise.
15958 * elf/tst-tlsmod5.c: Likewise.
15959 * elf/tst-tlsmod6.c: Likewise.
15961 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15964 * malloc/malloc.c: remove checks for statistics.
15966 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15969 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15970 * inet/tst-network.c: Add testcase.
15972 2013-10-17 Andreas Schwab <schwab@suse.de>
15975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15976 to determine canonical name.
15978 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15980 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15981 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15982 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15983 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15984 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15985 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15986 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15987 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15988 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15989 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15990 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15991 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15992 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15993 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15994 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15995 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15996 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15997 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15998 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15999 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16000 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16001 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16002 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16003 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16004 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16005 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16006 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16007 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16008 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16009 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16010 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16011 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16012 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16013 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16014 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16015 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16016 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16017 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16018 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16019 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16020 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16021 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16022 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16023 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16024 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16025 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16026 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16027 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16028 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16029 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16030 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16031 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16032 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16033 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16034 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16035 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16036 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16037 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16039 2013-10-17 Joseph Myers <joseph@codesourcery.com>
16042 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16043 make result into a quiet NaN.
16045 2013-10-16 Joseph Myers <joseph@codesourcery.com>
16047 * soft-fp/adddf3.c: Fix horizontal whitespace.
16048 * soft-fp/addsf3.c: Likewise.
16049 * soft-fp/addtf3.c: Likewise.
16050 * soft-fp/divdf3.c: Likewise.
16051 * soft-fp/divsf3.c: Likewise.
16052 * soft-fp/divtf3.c: Likewise.
16053 * soft-fp/double.h: Likewise.
16054 * soft-fp/eqdf2.c: Likewise.
16055 * soft-fp/eqsf2.c: Likewise.
16056 * soft-fp/eqtf2.c: Likewise.
16057 * soft-fp/extenddftf2.c: Likewise.
16058 * soft-fp/extended.h: Likewise.
16059 * soft-fp/extendsfdf2.c: Likewise.
16060 * soft-fp/extendsftf2.c: Likewise.
16061 * soft-fp/extendxftf2.c: Likewise.
16062 * soft-fp/fixdfdi.c: Likewise.
16063 * soft-fp/fixdfsi.c: Likewise.
16064 * soft-fp/fixdfti.c: Likewise.
16065 * soft-fp/fixsfdi.c: Likewise.
16066 * soft-fp/fixsfsi.c: Likewise.
16067 * soft-fp/fixsfti.c: Likewise.
16068 * soft-fp/fixtfdi.c: Likewise.
16069 * soft-fp/fixtfsi.c: Likewise.
16070 * soft-fp/fixtfti.c: Likewise.
16071 * soft-fp/fixunsdfdi.c: Likewise.
16072 * soft-fp/fixunsdfsi.c: Likewise.
16073 * soft-fp/fixunsdfti.c: Likewise.
16074 * soft-fp/fixunssfdi.c: Likewise.
16075 * soft-fp/fixunssfsi.c: Likewise.
16076 * soft-fp/fixunssfti.c: Likewise.
16077 * soft-fp/fixunstfdi.c: Likewise.
16078 * soft-fp/fixunstfsi.c: Likewise.
16079 * soft-fp/fixunstfti.c: Likewise.
16080 * soft-fp/floatdidf.c: Likewise.
16081 * soft-fp/floatdisf.c: Likewise.
16082 * soft-fp/floatditf.c: Likewise.
16083 * soft-fp/floatsidf.c: Likewise.
16084 * soft-fp/floatsisf.c: Likewise.
16085 * soft-fp/floatsitf.c: Likewise.
16086 * soft-fp/floattidf.c: Likewise.
16087 * soft-fp/floattisf.c: Likewise.
16088 * soft-fp/floattitf.c: Likewise.
16089 * soft-fp/floatundidf.c: Likewise.
16090 * soft-fp/floatundisf.c: Likewise.
16091 * soft-fp/floatunditf.c: Likewise.
16092 * soft-fp/floatunsidf.c: Likewise.
16093 * soft-fp/floatunsisf.c: Likewise.
16094 * soft-fp/floatunsitf.c: Likewise.
16095 * soft-fp/floatuntidf.c: Likewise.
16096 * soft-fp/floatuntisf.c: Likewise.
16097 * soft-fp/floatuntitf.c: Likewise.
16098 * soft-fp/fmadf4.c: Likewise.
16099 * soft-fp/fmasf4.c: Likewise.
16100 * soft-fp/fmatf4.c: Likewise.
16101 * soft-fp/gedf2.c: Likewise.
16102 * soft-fp/gesf2.c: Likewise.
16103 * soft-fp/getf2.c: Likewise.
16104 * soft-fp/ledf2.c: Likewise.
16105 * soft-fp/lesf2.c: Likewise.
16106 * soft-fp/letf2.c: Likewise.
16107 * soft-fp/muldf3.c: Likewise.
16108 * soft-fp/mulsf3.c: Likewise.
16109 * soft-fp/multf3.c: Likewise.
16110 * soft-fp/negdf2.c: Likewise.
16111 * soft-fp/negsf2.c: Likewise.
16112 * soft-fp/negtf2.c: Likewise.
16113 * soft-fp/op-1.h: Likewise.
16114 * soft-fp/op-2.h: Likewise.
16115 * soft-fp/op-4.h: Likewise.
16116 * soft-fp/op-8.h: Likewise.
16117 * soft-fp/op-common.h: Likewise.
16118 * soft-fp/quad.h: Likewise.
16119 * soft-fp/single.h: Likewise.
16120 * soft-fp/soft-fp.h: Likewise.
16121 * soft-fp/sqrtdf2.c: Likewise.
16122 * soft-fp/sqrtsf2.c: Likewise.
16123 * soft-fp/sqrttf2.c: Likewise.
16124 * soft-fp/subdf3.c: Likewise.
16125 * soft-fp/subsf3.c: Likewise.
16126 * soft-fp/subtf3.c: Likewise.
16127 * soft-fp/truncdfsf2.c: Likewise.
16128 * soft-fp/trunctfdf2.c: Likewise.
16129 * soft-fp/trunctfsf2.c: Likewise.
16130 * soft-fp/trunctfxf2.c: Likewise.
16131 * soft-fp/unorddf2.c: Likewise.
16132 * soft-fp/unordsf2.c: Likewise.
16133 * soft-fp/unordtf2.c: Likewise.
16135 2013-10-15 Joseph Myers <joseph@codesourcery.com>
16137 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16138 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16140 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
16142 * elf/dl-libc.c: Clear initfini list after freeing.
16144 2013-10-14 Joseph Myers <joseph@codesourcery.com>
16146 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16147 * soft-fp/addsf3.c: Likewise.
16148 * soft-fp/addtf3.c: Likewise.
16149 * soft-fp/divdf3.c: Likewise.
16150 * soft-fp/divsf3.c: Likewise.
16151 * soft-fp/divtf3.c: Likewise.
16152 * soft-fp/double.h: Likewise.
16153 * soft-fp/eqdf2.c: Likewise.
16154 * soft-fp/eqsf2.c: Likewise.
16155 * soft-fp/eqtf2.c: Likewise.
16156 * soft-fp/extenddftf2.c: Likewise.
16157 * soft-fp/extended.h: Likewise.
16158 * soft-fp/extendsfdf2.c: Likewise.
16159 * soft-fp/extendsftf2.c: Likewise.
16160 * soft-fp/extendxftf2.c: Likewise.
16161 * soft-fp/fixdfdi.c: Likewise.
16162 * soft-fp/fixdfsi.c: Likewise.
16163 * soft-fp/fixdfti.c: Likewise.
16164 * soft-fp/fixsfdi.c: Likewise.
16165 * soft-fp/fixsfsi.c: Likewise.
16166 * soft-fp/fixsfti.c: Likewise.
16167 * soft-fp/fixtfdi.c: Likewise.
16168 * soft-fp/fixtfsi.c: Likewise.
16169 * soft-fp/fixtfti.c: Likewise.
16170 * soft-fp/fixunsdfdi.c: Likewise.
16171 * soft-fp/fixunsdfsi.c: Likewise.
16172 * soft-fp/fixunsdfti.c: Likewise.
16173 * soft-fp/fixunssfdi.c: Likewise.
16174 * soft-fp/fixunssfsi.c: Likewise.
16175 * soft-fp/fixunssfti.c: Likewise.
16176 * soft-fp/fixunstfdi.c: Likewise.
16177 * soft-fp/fixunstfsi.c: Likewise.
16178 * soft-fp/fixunstfti.c: Likewise.
16179 * soft-fp/floatdidf.c: Likewise.
16180 * soft-fp/floatdisf.c: Likewise.
16181 * soft-fp/floatditf.c: Likewise.
16182 * soft-fp/floatsidf.c: Likewise.
16183 * soft-fp/floatsisf.c: Likewise.
16184 * soft-fp/floatsitf.c: Likewise.
16185 * soft-fp/floattidf.c: Likewise.
16186 * soft-fp/floattisf.c: Likewise.
16187 * soft-fp/floattitf.c: Likewise.
16188 * soft-fp/floatundidf.c: Likewise.
16189 * soft-fp/floatundisf.c: Likewise.
16190 * soft-fp/floatunsidf.c: Likewise.
16191 * soft-fp/floatunsisf.c: Likewise.
16192 * soft-fp/floatuntidf.c: Likewise.
16193 * soft-fp/floatuntisf.c: Likewise.
16194 * soft-fp/floatuntitf.c: Likewise.
16195 * soft-fp/fmadf4.c: Likewise.
16196 * soft-fp/fmasf4.c: Likewise.
16197 * soft-fp/fmatf4.c: Likewise.
16198 * soft-fp/gedf2.c: Likewise.
16199 * soft-fp/gesf2.c: Likewise.
16200 * soft-fp/getf2.c: Likewise.
16201 * soft-fp/ledf2.c: Likewise.
16202 * soft-fp/lesf2.c: Likewise.
16203 * soft-fp/letf2.c: Likewise.
16204 * soft-fp/muldf3.c: Likewise.
16205 * soft-fp/mulsf3.c: Likewise.
16206 * soft-fp/multf3.c: Likewise.
16207 * soft-fp/negdf2.c: Likewise.
16208 * soft-fp/negsf2.c: Likewise.
16209 * soft-fp/negtf2.c: Likewise.
16210 * soft-fp/op-1.h: Likewise.
16211 * soft-fp/op-2.h: Likewise.
16212 * soft-fp/op-4.h: Likewise.
16213 * soft-fp/op-8.h: Likewise.
16214 * soft-fp/op-common.h: Likewise.
16215 * soft-fp/quad.h: Likewise.
16216 * soft-fp/single.h: Likewise.
16217 * soft-fp/soft-fp.h: Likewise.
16218 * soft-fp/sqrtdf2.c: Likewise.
16219 * soft-fp/sqrtsf2.c: Likewise.
16220 * soft-fp/sqrttf2.c: Likewise.
16221 * soft-fp/subdf3.c: Likewise.
16222 * soft-fp/subsf3.c: Likewise.
16223 * soft-fp/subtf3.c: Likewise.
16224 * soft-fp/truncdfsf2.c: Likewise.
16225 * soft-fp/trunctfdf2.c: Likewise.
16226 * soft-fp/trunctfsf2.c: Likewise.
16227 * soft-fp/trunctfxf2.c: Likewise.
16228 * soft-fp/unorddf2.c: Likewise.
16229 * soft-fp/unordsf2.c: Likewise.
16230 * soft-fp/unordtf2.c: Likewise.
16232 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
16235 * misc/error.c (error_tail): Fix possible buffer overflow.
16237 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
16240 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16243 2013-10-14 P. J. McDermott <pj@pehjota.net>
16246 * elf/ldd.bash.in (try_trace): New function. Delete previous code
16247 testing pipefail option.
16249 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16251 * soft-fp/double.h: Indent preprocessor directives inside #if.
16252 * soft-fp/extended.h: Likewise.
16253 * soft-fp/op-2.h: Likewise.
16254 * soft-fp/op-4.h: Likewise.
16255 * soft-fp/op-common.h: Likewise.
16256 * soft-fp/quad.h: Likewise.
16257 * soft-fp/single.h: Likewise.
16258 * soft-fp/soft-fp.h: Likewise.
16260 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
16262 * iconv/iconv_prog.c: Fix typos.
16263 * stdio-common/psiginfo-data.h: Likewise.
16265 2013-10-12 Reuben Thomas <rrt@sc3d.org>
16268 * locale/setlocale.c: Fix typo.
16270 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16273 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16274 signaling NaN arguments.
16275 * soft-fp/unordsf2.c (__unordsf2): Likewise.
16276 * soft-fp/unordtf2.c (__unordtf2): Likewise.
16279 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16280 unordered operands.
16281 * soft-fp/gesf2.c (__gesf2): Likewise.
16282 * soft-fp/getf2.c (__getf2): Likewise.
16283 * soft-fp/ledf2.c (__ledf2): Likewise.
16284 * soft-fp/lesf2.c (__lesf2): Likewise.
16285 * soft-fp/letf2.c (__letf2): Likewise.
16287 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16288 * soft-fp/eqsf2.c (__eqsf2): Likewise.
16289 * soft-fp/eqtf2.c (__eqtf2): Likewise.
16290 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16291 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16292 * soft-fp/fixdfti.c (__fixdfti): Likewise.
16293 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16294 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16295 * soft-fp/fixsfti.c (__fixsfti): Likewise.
16296 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16297 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16298 * soft-fp/fixtfti.c (__fixtfti): Likewise.
16299 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16300 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16301 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16302 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16303 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16304 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16305 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16306 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16307 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16308 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16309 * soft-fp/floatdisf.c (__floatdisf): Likewise.
16310 * soft-fp/floatsisf.c (__floatsisf): Likewise.
16311 * soft-fp/floattidf.c (__floattidf): Likewise.
16312 * soft-fp/floattisf.c (__floattisf): Likewise.
16313 * soft-fp/floattitf.c (__floattitf): Likewise.
16314 * soft-fp/floatundidf.c (__floatundidf): Likewise.
16315 * soft-fp/floatundisf.c (__floatundisf): Likewise.
16316 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16317 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16318 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16319 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16320 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16321 * soft-fp/gesf2.c (__gesf2): Likewise.
16322 * soft-fp/getf2.c (__getf2): Likewise.
16323 * soft-fp/ledf2.c (__ledf2): Likewise.
16324 * soft-fp/lesf2.c (__lesf2): Likewise.
16325 * soft-fp/letf2.c (__letf2): Likewise.
16327 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16328 Undefine and redefine.
16329 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16330 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16331 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16332 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16333 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16334 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16335 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16336 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16337 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16338 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16339 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16340 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16341 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16342 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16343 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16346 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16347 without decrementing exponent if mantissa >= that for the
16348 denominator, not >.
16349 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16350 denominator, not >. Decrement exponent in < case instead of
16351 incrementing in >= case.
16352 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16353 without decrementing exponent if mantissa >= that for the
16354 denominator, not >.
16356 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16357 computing saturated result for unsigned overflow.
16359 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16360 Jeff Law <law@redhat.com>
16362 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16363 (atan2Mp): Add systemtap probe marker.
16364 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16365 (__ieee754_log): Add systemtap probe marker.
16366 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16367 (atanMp): Add systemtap probe marker.
16368 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16369 (tanMp): Add systemtap probe marker.
16370 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16371 (__slowexp): Add systemtap probe marker.
16372 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16373 (__slowpow): Add systemtap probe marker.
16374 * manual/probes.texi: Document probes.
16376 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
16379 * libio/fileops.c (_IO_new_file_write): Return count of bytes
16381 (_IO_new_file_xsputn): Don't return EOF if nothing has been
16383 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16384 written to buffer but not flushed.
16385 * libio/iofwrite_u.c: Likewise.
16386 * libio/iopadn.c: Return bytes returned even if EOF was
16388 * libio/iowpadn.c: Likewise.
16389 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16390 if _IO_padn does not write the whole buffer.
16391 [!COMPILE_WPRINTF] (PAD): Likewise.
16393 2013-10-10 David S. Miller <davem@davemloft.net>
16395 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16398 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16400 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
16401 instead of FSF address.
16402 * soft-fp/fixdfti.c: Likewise.
16403 * soft-fp/fixsfti.c: Likewise.
16404 * soft-fp/fixtfti.c: Likewise.
16405 * soft-fp/fixunsdfti.c: Likewise.
16406 * soft-fp/fixunssfti.c: Likewise.
16407 * soft-fp/fixunstfti.c: Likewise.
16408 * soft-fp/floattidf.c: Likewise.
16409 * soft-fp/floattisf.c: Likewise.
16410 * soft-fp/floattitf.c: Likewise.
16411 * soft-fp/floatuntidf.c: Likewise.
16412 * soft-fp/floatuntisf.c: Likewise.
16413 * soft-fp/floatuntitf.c: Likewise.
16414 * soft-fp/trunctfxf2.c: Likewise.
16416 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
16417 * soft-fp/fixdfti.c: Likewise.
16418 * soft-fp/fixsfti.c: Likewise.
16419 * soft-fp/fixtfti.c: Likewise.
16420 * soft-fp/fixunsdfti.c: Likewise.
16421 * soft-fp/fixunssfti.c: Likewise.
16422 * soft-fp/fixunstfti.c: Likewise.
16423 * soft-fp/floattidf.c: Likewise.
16424 * soft-fp/floattisf.c: Likewise.
16425 * soft-fp/floattitf.c: Likewise.
16426 * soft-fp/floatuntidf.c: Likewise.
16427 * soft-fp/floatuntisf.c: Likewise.
16428 * soft-fp/floatuntitf.c: Likewise.
16429 * soft-fp/trunctfxf2.c: Likewise.
16431 2013-10-10 David S. Miller <davem@davemloft.net>
16433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16435 2013-10-10 Joseph Myers <joseph@codsourcery.com>
16437 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16438 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16439 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16440 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16441 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16442 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16443 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16445 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16446 for NaNs before doing comparisons on argument.
16447 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16450 2013-10-10 Will Newton <will.newton@linaro.org>
16452 * malloc/hooks.c (memalign_check): Ensure the value of bytes
16453 passed to _int_memalign does not overflow.
16455 2013-10-10 Torvald Riegel <triegel@redhat.com>
16457 * scripts/bench.pl: Add include-sources directive.
16458 * benchtests/README: Update documentation.
16460 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16462 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16463 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16464 instead of FP_INIT_ROUNDMODE.
16465 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16466 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16469 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
16470 copy class of input value.
16471 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
16472 not handle exceptions.
16473 * soft-fp/negsf2.c (__negsf2): Likewise.
16474 * soft-fp/negtf2.c (__negtf2): Likewise.
16475 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16477 2013-10-09 Joseph Myers <joseph@codesourcery.com>
16479 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16480 semicolon. From Linux kernel.
16482 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
16484 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16486 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
16489 * manual/socket.texi: Added statement about buffer
16490 for gethostbyname2_r.
16492 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
16494 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16495 Use .p2align directive instead, throughout.
16496 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16497 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16498 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16499 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16500 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16501 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16502 * sysdeps/x86_64/strchr.S: Likewise.
16503 * sysdeps/x86_64/strrchr.S: Likewise.
16505 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16507 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16509 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16511 * sysdeps/generic/math_private.h (__mpsin1): Remove
16513 (__mpcos1): Likewise.
16514 (__mpsin): New argument __range_reduce.
16515 (__mpcos): Likewise.
16516 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16517 (slow): Use __mpsin and __mpcos.
16521 (sloww1): Likewise.
16522 (sloww2): Likewise.
16523 (bsloww): Likewise.
16524 (bsloww1): Likewise.
16525 (bsloww2): Likewise.
16526 (cslow2): Likewise.
16527 (csloww): Likewise.
16528 (csloww1): Likewise.
16529 (csloww2): Likewise.
16530 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16531 range_reduce. Merge in __mpsin1.
16532 (__mpcos): Likewise.
16533 (__mpsin1): Remove.
16534 (__mpcos1): Likewise.
16536 2013-10-07 Joseph Myers <joseph@codesourcery.com>
16538 * locale/loadlocale.c (_nl_intern_locale_data): Use
16540 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16541 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16542 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16543 obstack data is appropriately aligned.
16544 (obstack_int32_grow_fast): Likewise.
16545 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16546 * locale/programs/locfile.c (add_locale_uint32): Likewise.
16547 (add_locale_uint32_array): Likewise.
16549 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16551 * benchtests/Makefile: Remove ARGLIST and RET variables.
16552 ($(objpfx)bench-%.c): Pass only function name to the script.
16553 * benchtests/README: Update documentation.
16554 * benchtests/acos-inputs: Add new directives.
16555 * benchtests/acosh-inputs: Likewise.
16556 * benchtests/asin-inputs: Likewise.
16557 * benchtests/asinh-inputs: Likewise.
16558 * benchtests/atan-inputs: Likewise.
16559 * benchtests/atanh-inputs: Likewise.
16560 * benchtests/cos-inputs: Likewise.
16561 * benchtests/cosh-inputs: Likewise.
16562 * benchtests/exp-inputs: Likewise.
16563 * benchtests/log-inputs: Likewise.
16564 * benchtests/pow-inputs: Likewise.
16565 * benchtests/rint-inputs: Likewise.
16566 * benchtests/sin-inputs: Likewise.
16567 * benchtests/sinh-inputs: Likewise.
16568 * benchtests/tan-inputs: Likewise.
16569 * benchtests/tanh-inputs: Likewise.
16570 * scripts/bench.pl: Add support for new directives.
16572 2013-10-07 Alan Modra <amodra@gmail.com>
16574 * README: Fix careless merge.
16576 2013-10-05 Alan Modra <amodra@gmail.com>
16578 * NEWS: Mention powerpc64le support and bugs fixed.
16579 * README: Both big-endian and little-endian powerpc64 supported.
16581 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16583 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16584 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16585 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16586 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16588 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
16590 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16593 2013-10-04 Joseph Myers <joseph@codesourcery.com>
16595 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16596 Move -mhard-float appending from
16597 ports/sysdeps/powerpc/powerpc32/Makefile.
16598 [$(with-fp) = yes] (ASFLAGS): Likewise.
16599 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16600 * sysdeps/powerpc/nofpu: Move directory from
16601 ports/sysdeps/powerpc/nofpu.
16602 * sysdeps/powerpc/soft-fp: Move directory from
16603 ports/sysdeps/powerpc/soft-fp.
16604 * sysdeps/powerpc/powerpc32/405: Move directory from
16605 ports/sysdeps/powerpc/powerpc32/405.
16606 * sysdeps/powerpc/powerpc32/440: Move directory from
16607 ports/sysdeps/powerpc/powerpc32/440.
16608 * sysdeps/powerpc/powerpc32/464: Move directory from
16609 ports/sysdeps/powerpc/powerpc32/464.
16610 * sysdeps/powerpc/powerpc32/476: Move directory from
16611 ports/sysdeps/powerpc/powerpc32/476.
16612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16613 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16615 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16617 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16619 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16621 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16622 * README: Update for powerpc-*-linux-gnu software floating point
16625 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16626 case to powerpc/powerpc32*.
16627 * sysdeps/unix/sysv/linux/configure: Regenerated.
16629 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16630 (_FPU_MASK_OM): Define as 0x04.
16631 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16632 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16634 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16636 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16639 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16642 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16645 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16646 and setcontext_e500.
16648 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16650 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16652 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16654 * manual/threads.texi (Default Thread Attributes): Fix typo.
16656 2013-10-04 Will Newton <will.newton@linaro.org>
16658 * malloc/Makefile: Add tst-memalign.
16659 * malloc/tst-memalign.c: New file.
16661 * malloc/tst-posix_memalign.c: Add comments.
16662 (do_test): Add comments and call free on all potentially
16663 allocated pointers. Add space after cast.
16665 * malloc/tst-pvalloc.c: Add comments.
16666 (do_test): Add comments and call free on all potentially
16667 allocated pointers. Remove duplicate check for NULL pointer.
16668 Add space after cast.
16670 * malloc/tst-valloc.c: Add comments.
16671 (do_test): Add comments and call free on all potentially
16672 allocated pointers. Remove duplicate check for NULL pointer.
16673 Add space after cast.
16675 2013-10-04 Alan Modra <amodra@gmail.com>
16677 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16678 Use stdint types in rather than __attribute__((mode())).
16679 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16681 2013-10-04 Alan Modra <amodra@gmail.com>
16683 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16684 Correct handling of unaligned relocs for little-endian.
16685 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16687 2013-10-04 Alan Modra <amodra@gmail.com>
16689 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16690 * configure: Regenerate.
16691 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16692 * shlib-versions: Likewise.
16694 2013-10-04 Alan Modra <amodra@gmail.com>
16696 * string/tester.c (test_memrchr): Increment reported test cycle.
16698 2013-10-04 Alan Modra <amodra@gmail.com>
16700 * string/test-memcpy.c (do_one_test): When reporting errors, print
16701 string address and don't overrun end of string.
16703 2013-10-04 Alan Modra <amodra@gmail.com>
16705 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16706 insrdi. Make better use of reg selection to speed exit slightly.
16707 Schedule entry path a little better. Remove useless "are we done"
16708 checks on entry to main loop. Handle wrapping around zero address.
16709 Correct main loop count. Handle single left-over word from main
16710 loop inline rather than by using loop_small. Remove extra word
16711 case in loop_small caused by wrong loop count. Add little-endian
16713 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16714 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16716 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16717 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16718 support. Avoid rlwimi.
16719 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16721 2013-10-04 Alan Modra <amodra@gmail.com>
16723 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16724 insrdi. Formatting.
16725 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16726 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16727 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16728 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16729 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16730 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16732 2013-10-04 Alan Modra <amodra@gmail.com>
16734 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16735 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16736 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16737 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16738 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16739 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16740 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16741 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16742 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16743 use of regs. Use power7 mtocrf. Tidy function tails.
16745 2013-10-04 Alan Modra <amodra@gmail.com>
16747 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16748 Formatting. Consistently use rXXX register defines or rN defines.
16749 Use early exit labels that avoid restoring unused non-volatile regs.
16750 Make cr field use more consistent with rWORDn compares. Rename
16751 regs used as shift registers for unaligned loop, using rN defines
16752 for short lifetime/multiple use regs.
16753 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16754 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16755 addi 1,1,64 to pop stack frame. Simplify return value code.
16756 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16758 2013-10-04 Alan Modra <amodra@gmail.com>
16760 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16761 support. Correct typos, formatting. Optimize tail. Use insrdi
16762 rather than rlwimi.
16763 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16764 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16765 little-endian support. Correct typos.
16766 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16767 rather than rlwimi.
16768 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16769 in loop and entry code to keep "and." results.
16770 (strchr): Add little-endian support. Comment. Move cntlzd
16772 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16774 2013-10-04 Alan Modra <amodra@gmail.com>
16776 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16777 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16778 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16779 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16781 2013-10-04 Alan Modra <amodra@gmail.com>
16783 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16784 (rTMP): Define as r11.
16785 (strcmp): Add little-endian support. Optimise tail.
16786 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16787 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16788 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16789 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16790 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16791 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16792 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16794 2013-10-04 Alan Modra <amodra@gmail.com>
16796 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16797 little-endian support. Remove unnecessary "are we done" tests.
16798 Handle "s" wrapping around zero and extremely large "size".
16799 Correct main loop count. Handle single left-over word from main
16800 loop inline rather than by using small_loop. Correct comments.
16801 Delete "zero" tail, use "end_max" instead.
16802 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16804 2013-10-04 Alan Modra <amodra@gmail.com>
16806 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16807 support. Don't branch over align.
16808 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16809 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16810 support. Rearrange tmp reg use to suit. Comment.
16811 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16813 2013-10-04 Alan Modra <amodra@gmail.com>
16815 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16817 2013-10-04 Alan Modra <amodra@gmail.com>
16819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16820 conditional form of branch and link when obtaining pc.
16821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16823 2013-10-04 Alan Modra <amodra@gmail.com>
16825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16830 2013-10-04 Alan Modra <amodra@gmail.com>
16832 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16833 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16834 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16835 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16836 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16837 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16838 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16839 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16840 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16841 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16843 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16844 Alistair Popple <alistair@ozlabs.au.ibm.com>
16845 Alan Modra <amodra@gmail.com>
16848 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16849 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16850 _dl_hwcap access for little-endian.
16851 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16852 destroy vmx regs when saving unaligned.
16853 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16854 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16855 destroy vmx regs when saving unaligned.
16857 2013-10-04 Alan Modra <amodra@gmail.com>
16859 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16860 Don't use a union to pack hi/low value.
16862 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16864 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16866 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16867 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16868 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16869 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16870 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16872 2013-10-04 Alan Modra <amodra@gmail.com>
16874 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16875 constants to usual value for .cst8 section, and remove redundant
16877 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16878 constant for 0x1p52. Load little-endian words of double from
16879 correct stack offsets.
16881 2013-10-04 Alan Modra <amodra@gmail.com>
16883 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16884 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16885 words of double from correct stack offsets.
16886 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16887 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16888 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16889 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16890 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16891 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16892 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16893 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16894 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16895 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16896 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16897 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16898 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16899 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16900 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16901 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16902 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16904 2013-10-04 Alan Modra <amodra@gmail.com>
16906 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16907 64-bit int/double union.
16908 (_FPU_SETCW): Likewise.
16909 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16910 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16912 2013-10-04 Alan Modra <amodra@gmail.com>
16914 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16915 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16917 2013-10-04 Alan Modra <amodra@gmail.com>
16919 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16920 use vector int constants.
16921 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16923 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16925 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16926 array with long long.
16927 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16928 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16929 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16930 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16931 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16932 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16933 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16934 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16935 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16936 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16937 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16938 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16939 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16941 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16943 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16944 (__signbit): Likewise. Correct for little-endian.
16945 (__signbitl): Call __signbit.
16946 (lrint): Correct for little-endian.
16947 (lrintf): Call lrint.
16949 2013-10-04 Alan Modra <amodra@gmail.com>
16951 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16952 union 32-bit int array member with 64-bit int array.
16953 (t515, tm256): Double rather than long double.
16954 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16956 2013-10-04 Alan Modra <amodra@gmail.com>
16958 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16960 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16961 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16962 version of math_ldbl.h.
16964 2013-10-04 Alan Modra <amodra@gmail.com>
16966 [BZ #15734], [BZ #15735]
16967 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16968 all uses of ieee875 long double macros and unions. Simplify test
16969 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16970 ldbl_extract_mantissa value for ix,iy exponents. Properly
16971 normalize after ldbl_extract_mantissa, and don't add hidden bit
16972 already handled. Don't treat low word of ieee854 mantissa like
16973 low word of IBM long double and mask off bit when testing for
16975 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16976 all uses of ieee875 long double macros and unions. Simplify tests
16977 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16978 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16979 two1022, instead use their values. Recognise that tests for large
16980 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16981 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16982 Rewrite all uses of ieee875 long double macros and unions. Simplify
16983 test for 0.0L and nan. Correct negation.
16984 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16985 ieee875 long double macros and unions. Correct output for large
16986 magnitude x. Correct absolute value calculation.
16987 (__erfcl): Likewise.
16988 * math/libm-test.inc: Add tests for errors discovered in IBM long
16989 double versions of fmodl, remainderl, erfl and erfcl.
16991 2013-10-04 Alan Modra <amodra@gmail.com>
16993 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16994 all uses of ieee854 long double macros and unions. Simplify tests
16995 for long doubles that are fully specified by the high double.
16996 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16998 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16999 Remove dead code too.
17000 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17001 (__ieee754_ynl): Likewise.
17002 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17003 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17004 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17005 Remove dead code too.
17006 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17007 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17008 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17009 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17011 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17013 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17014 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17015 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17016 Comment on variable precision.
17017 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17018 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17020 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17021 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17022 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17023 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17024 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17026 2013-10-04 Alan Modra <amodra@gmail.com>
17028 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17029 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17030 all uses of ieee854 long double macros and unions.
17031 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17032 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17033 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17034 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17035 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17036 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17038 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17039 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17040 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17041 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17042 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17043 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17044 Simplify sign and nan test too.
17045 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17046 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17047 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17048 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17050 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17051 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17053 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17054 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17055 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17056 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17057 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17058 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17060 2013-10-04 Alan Modra <amodra@gmail.com>
17062 * stdio-common/printf_size.c (__printf_size): Don't use
17063 union ieee854_long_double in fpnum union.
17064 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
17065 signbit macro to retrieve sign from long double.
17066 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17067 retrieve sign from long double.
17068 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17069 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17070 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17071 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17072 * math/test-misc.c (main): Don't use union ieee854_long_double.
17074 2013-10-04 Alan Modra <amodra@gmail.com>
17077 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17078 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17079 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17080 calculation. Remove unnecessary test for denormal exponent.
17081 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17082 Correct handling of denormals. Avoid undefined shift behaviour.
17083 Correct normalisation of low mantissa when low double is denormal.
17084 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17085 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
17086 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17087 Correct normalisation of low mantissa. Test for overflow of high
17088 mantissa and normalise.
17089 (ldbl_nearbyint): Use more readable constant for two52.
17090 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17091 (__mpn_construct_long_double): Fix test for overflow of high
17092 mantissa and correct normalisation. Avoid undefined shift.
17094 2013-10-04 Alan Modra <amodra@gmail.com>
17096 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17097 (union ibm_extended_long_double): Define as an array of ieee754_double.
17098 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17099 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17100 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17101 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17102 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17103 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17104 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17105 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17106 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17107 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17108 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17110 2013-10-03 Joseph Myers <joseph@codesourcery.com>
17112 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17113 page size instead of calling getpagesize.
17115 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17116 (LOCFILE_ALIGN_MASK): Likewise.
17117 (LOCFILE_ALIGN_UP): Likewise.
17118 (LOCFILE_ALIGNED_P): Likewise.
17119 * locale/programs/ld-collate.c (collate_output): Use the new
17120 macros instead of __alignof__ (int32_t).
17121 * locale/weight.h (findidx): Likewise.
17123 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
17126 * manual/string.texi: Fix strncat and wcsncat.
17128 2013-10-03 Brooks Moses <bmoses@google.com>
17131 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17132 * Makerules: ...here, and adjust associated comments.
17134 2013-10-02 Will Newton <will.newton@linaro.org>
17136 * malloc/Makefile: Add tst-pvalloc.
17137 * malloc/tst-pvalloc.c: New file.
17139 2013-10-02 Will Newton <will.newton@linaro.org>
17141 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17142 improve test coverage.
17144 2013-10-02 Will Newton <will.newton@linaro.org>
17146 * malloc/Makefile: Add tst-posix_memalign.
17147 * malloc/tst-posix_memalign.c: New file.
17149 2013-10-01 Eric Blake <eblake@redhat.com>
17151 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17152 Use __THROWNL rather than __THROW on static functions.
17154 2013-09-30 Petr Machata <pmachata@redhat.com>
17156 * elf/elf.h (R_AARCH64_ABS16): New macro.
17157 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17158 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17159 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17160 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17161 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17162 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17163 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17164 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17165 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17166 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17167 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17168 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17169 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17170 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17171 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17172 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17173 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17174 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17175 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17176 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17177 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17178 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17179 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17180 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17181 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17182 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17183 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17184 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17185 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17186 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17187 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17188 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17189 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17190 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17191 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17192 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17193 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17194 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17195 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17196 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17197 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17198 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17199 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17200 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17201 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17202 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17203 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17204 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17205 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17206 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17207 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17208 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17209 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17210 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17211 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17212 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17213 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17214 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17215 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17216 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17217 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17218 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17219 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17220 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17221 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17222 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17223 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17224 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17225 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17226 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17227 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17228 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17229 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17230 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17231 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17232 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17233 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17234 (R_AARCH64_TLSDESC_LDR): Likewise.
17235 (R_AARCH64_TLSDESC_ADD): Likewise.
17236 (R_AARCH64_TLSDESC_CALL): Likewise.
17238 2013-09-30 Andreas Schwab <schwab@suse.de>
17241 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17242 the nss database lookup.
17243 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17244 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17246 2013-09-28 Mike Frysinger <vapier@gentoo.org>
17248 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17250 2013-09-28 P. J. McDermott <pj@pehjota.net>
17252 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17253 ${Bash-specific parameter/pattern/string} parameter expansion.
17254 * sysdeps/unix/make-syscalls.sh: Likewise.
17256 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17258 * sysdeps/sh/stackguard-macros.h: New file.
17260 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
17262 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17263 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17264 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17265 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17266 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17267 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17269 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17271 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17272 Fix thread ID register.
17274 2013-09-25 Joseph Myers <joseph@codesourcery.com>
17276 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17277 [POSIX || UNIX98]: Require rather than permitting all symbols from
17279 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17280 element of struct sched_param.
17281 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17282 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17283 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17284 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17287 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
17289 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17290 argument calculation.
17292 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17294 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17296 [POSIX] (pthread_attr_t): Do not require type.
17297 [POSIX] (pthread_cond_t): Likewise.
17298 [POSIX] (pthread_condattr_t): Likewise.
17299 [POSIX] (pthread_key_t): Likewise.
17300 [POSIX] (pthread_mutex_t): Likewise.
17301 [POSIX] (pthread_mutexattr_t): Likewise.
17302 [POSIX] (pthread_once_t): Likewise.
17303 [POSIX] (pthread_t): Likewise.
17304 [POSIX-based standards] (pthread_atfork): Expect function.
17306 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17307 Richard Sandiford <richard@codesourcery.com>
17309 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17310 (swap_endianness_p): New extern variable.
17311 (set_big_endian): New inline function.
17312 (maybe_swap_uint32): Likewise.
17313 (maybe_swap_uint32_array): Likewise.
17314 (maybe_swap_uint32_obstack): Likewise.
17315 * locale/programs/locfile.c: Include <stdbool.h>.
17316 (swap_endianness_p): New variable.
17317 (add_locale_uint32): Call maybe_swap_uint32.
17318 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17319 (write_locale_data): Call maybe_swap_uint32_array.
17320 * locale/programs/ld-collate.c (obstack_int32_grow): Call
17322 (obstack_int32_grow_fast): Likewise.
17323 (output_weightwc): Call maybe_swap_uint32_obstack.
17324 (collate_output): Likewise.
17325 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17326 (OPT_LITTLE_ENDIAN): Likewise.
17327 (options): Add --little-endian and --big-endian options.
17328 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17329 * locale/programs/locarchive.c: Include "locfile.h".
17333 (create_archive): Use the new macros to access fields of
17334 structures directly mapped from or written to locale archives.
17335 (oldlocrecentcmp): Likewise.
17336 (enlarge_archive): Likewise.
17337 (insert_name): Likewise.
17338 (add_alias): Likewise.
17339 (add_locale): Likewise.
17340 (delete_locales_from_archive): Likewise.
17341 (show_archive_content): Likewise.
17342 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
17345 2013-09-24 Roland McGrath <roland@hack.frob.com>
17347 * manual/freemanuals.texi: Updated from (newly) canonical copy at
17348 http://www.gnu.org/doc/freemanuals.texi.
17349 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17351 2013-09-24 Will Newton <will.newton@linaro.org>
17353 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17356 2013-09-23 Joseph Myers <joseph@codesourcery.com>
17358 * locale/hashval.h (compute_hashval): Interpret bytes of key as
17361 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
17363 * manual/threads.texi (POSIX Threads): Fix a typo.
17365 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17368 * string/tst-strcoll-overflow.c: New test case.
17369 * string/Makefile (xtests): Add tst-strcoll-overflow.
17370 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17371 cache if string sizes may cause integer overflow.
17374 * string/strcoll_l.c (coll_seq): New members rule, idx,
17375 save_idx and back_us.
17376 (get_next_seq_nocache): New function.
17377 (do_compare_nocache): New function.
17378 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17381 2013-09-23 Carlos O'Donell <carlos@redhat.com>
17384 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17385 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17386 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17389 * elf/Makefile (tests): Add tst-ptrguard1.
17390 (tests-static): Add tst-ptrguard1-static.
17391 (tst-ptrguard1-ARGS): Define.
17392 (tst-ptrguard1-static-ARGS): Define.
17393 * elf/tst-ptrguard1.c: New file.
17394 * elf/tst-ptrguard1-static.c: New file.
17395 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17396 * sysdeps/i386/stackguard-macros.h: Likewise.
17397 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17398 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17399 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17400 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17401 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17402 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17404 2013-09-23 Hector Marco <hecmargi@upv.es>
17405 Ismael Ripoll <iripoll@disca.upv.es>
17406 Carlos O'Donell <carlos@redhat.com>
17409 * sysdeps/generic/stackguard-macros.h: Define
17410 __pointer_chk_guard_local and POINTER_CHK_GUARD.
17411 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17412 Define __pointer_chk_guard_local.
17413 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17414 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17416 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
17419 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17421 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
17423 * include/string.h (__ffs): Declare as hidden.
17424 * string/ffs.c (__ffs): Define as hidden.
17425 * sysdeps/i386/ffs.c (__ffs): Likewise.
17426 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17427 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17428 * sysdeps/s390/ffs.c (__ffs): Likewise.
17429 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17431 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
17433 * NEWS: Mention malloc probes.
17435 * malloc/arena.c (new_heap): New memory_heap_new probe.
17436 (grow_heap): New memory_heap_more probe.
17437 (shrink_heap): New memory_heap_less probe.
17438 (heap_trim): New memory_heap_free probe.
17439 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17440 (systrim): New memory_sbrk_less probe.
17441 * manual/probes.texi: Document them.
17443 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17444 * manual/probes.texi: Document it.
17446 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17447 (__libc_realloc): Add memory_realloc_retry probe.
17448 (__libc_memalign): Add memory_memalign_retry probe.
17449 (__libc_valloc): Add memory_valloc_retry probe.
17450 (__libc_pvalloc): Add memory_pvalloc_retry probe.
17451 (__libc_calloc): Add memory_calloc_retry probe.
17452 * manual/probes.texi: Document them.
17454 * malloc/arena.c (get_free_list): Add probe
17455 memory_arena_reuse_free_list.
17456 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17457 and memory_arena_reuse.
17458 (arena_get2) [!PER_THREAD]: Likewise.
17459 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17460 memory_arena_reuse_realloc.
17461 * manual/probes.texi: Document them.
17463 * malloc/malloc.c (__libc_free): Add
17464 memory_mallopt_free_dyn_thresholds probe.
17465 (__libc_mallopt): Add multiple memory_mallopt probes.
17466 * manual/probes.texi: Document them.
17468 * malloc/malloc.c: Include stap-probe.h.
17469 (__libc_mallopt): Add memory_mallopt probe.
17470 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17471 * manual/probes.texi: New.
17472 * manual/Makefile (chapters): Add probes.
17473 * manual/threads.texi: Set next node.
17475 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
17477 [BZ #15963, #13985]
17478 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17479 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17480 Add `Chinese' to `nan' entry name.
17482 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17484 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17485 (POLYNOMIAL): Likewise.
17486 (TAYLOR_SINCOS): Likewise.
17487 (TAYLOR_SLOW): Likewise.
17488 (__sin): Use TAYLOR_SINCOS.
17490 (slow): Use TAYLOR_SLOW.
17492 (bsloww): Likewise.
17493 (csloww): Likewise.
17495 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17497 * stdlib/strtod_l.c: Fix buffer overrun.
17499 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17501 * benchtests/Makefile (bench): Add sincos.
17502 * benchtests/bench-sincos.c: New file.
17504 * math/libm-test.inc (cos_test_data): New test inputs.
17505 (sin_test_data): Likewise.
17507 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17513 (sloww1): Likewise.
17514 (sloww2): Likewise.
17515 (bsloww1): Likewise.
17516 (bsloww2): Likewise.
17517 (cslow2): Likewise.
17518 (csloww1): Likewise.
17519 (csloww2): Likewise.
17521 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17526 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17530 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
17532 * config.h.in (HAVE_MIPS_NAN2008): New macro.
17533 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17534 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17535 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17536 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17537 * elf/cache.c (print_entry): Handle the new cache flags.
17539 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17540 Aldy Hernandez <aldyh@redhat.com>
17542 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17543 Change condition to [_SOFT_FLOAT].
17544 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17545 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17546 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17547 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17548 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17549 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17550 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17551 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17552 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17553 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17554 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17555 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17556 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17557 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17558 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17559 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17562 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17564 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17565 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17566 (__longjmp): Use LOAD_GP to load saved GPRs.
17567 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17568 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17569 (__sigsetjmp): Use SAVE_GP to save GPRs.
17571 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17572 Do not append -msoft-float.
17573 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17575 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17577 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17579 2013-09-17 Joseph Myers <joseph@codesourcery.com>
17582 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17583 (_FPU_GETCW): Use initial "__" on variable and field names but not
17584 on macro parameter name.
17585 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
17586 parentheses around reference to macro parameter.
17588 2013-09-13 Richard Sandiford <richard@codesourcery.com>
17590 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17592 (ctype_startup): Use uint32_t in cast and sizeof for
17595 2013-09-11 Jia Liu <proljc@gmail.com>
17597 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17599 [__FreeBSD__]: Likewise.
17601 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
17603 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17604 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17605 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17606 (strchr): Remove __strchr_sse42 ifunc selection.
17607 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17608 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17610 2013-09-11 Will Newton <will.newton@linaro.org>
17612 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17613 parameter to RES. Remove hardcoded 1000 value.
17614 * benchtests/bench-skeleton.c (main): Pass RES parameter
17615 to TIMING_INIT and multiply result by 1000.
17617 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17621 2013-09-11 Andreas Schwab <schwab@suse.de>
17623 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17625 (O_TMPFILE) [__USE_GNU]: Define.
17626 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17629 2013-09-11 Will Newton <will.newton@linaro.org>
17632 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17635 2013-09-11 Will Newton <will.newton@linaro.org>
17638 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17641 2013-09-11 Will Newton <will.newton@linaro.org>
17644 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17647 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
17649 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17650 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17651 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17652 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17653 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17655 2013-09-10 Allan McRae <allan@archlinux.org>
17658 * manual/arith.texi (Parsing of Floats): Clarify
17662 * manual/install.texi (Running make install): Mention
17664 * INSTALL: Regenerated.
17666 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17668 * csu/init-first.c (_init): Remove the !SHARED condition around
17669 FPU control word initialization.
17670 * elf/dl-support.c (_dl_fpu_control): New variable.
17671 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17672 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17673 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17674 * math/test-fpucw-static.c: New file.
17675 * math/test-fpucw-ieee.c: New file.
17676 * math/test-fpucw-ieee-static.c: New file.
17677 * math/Makefile (tests): Add `test-fpucw-ieee' and
17679 (tests-static): New variable.
17680 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17682 [($(build-shared),yes)]
17683 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17685 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17688 2013-09-09 Allan McRae <allan@archlinux.org>
17691 * manual/string.texi (Collation Functions): Fix typo in
17693 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17696 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17699 * libio/memstream.c (open_memstream): Fix memory leak.
17700 * libio/wmemstream.c (open_wmemstream): Likewise.
17703 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17705 2013-09-09 Will Newton <will.newton@linaro.org>
17707 * malloc/Makefile: Add tst-realloc to tests.
17708 * malloc/tst-realloc.c: New file.
17710 2013-09-09 Allan McRae <allan@archlinux.org>
17713 * COPYING: Update from GNU website to fix FSF address.
17714 * COPYING.LIB: Likewise.
17716 2013-09-06 David S. Miller <davem@davemloft.net>
17718 * po/zh_TW.po: Update Chinese (traditional) translation from
17719 translation project.
17721 2013-09-06 Richard Sandiford <richard@codesourcery.com>
17722 Joseph Myers <joseph@codesourcery.com>
17724 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17726 (obstack_chunk_alloc): New macro.
17727 (obstack_chunk_free): Likewise.
17728 (record_offset): New function.
17729 (init_locale_data): Likewise.
17730 (align_locale_data): Likewise.
17731 (add_locale_empty): Likewise.
17732 (add_locale_raw_data): Likewise.
17733 (add_locale_raw_obstack): Likewise.
17734 (add_locale_string): Likewise.
17735 (add_locale_wstring): Likewise.
17736 (add_locale_uint32): Likewise.
17737 (add_locale_uint32_array): Likewise.
17738 (add_locale_char): Likewise.
17739 (start_locale_structure): Likewise.
17740 (end_locale_structure): Likewise.
17741 (start_locale_prelude): Likewise.
17742 (end_locale_prelude): Likewise.
17743 (write_locale_data): Take locale_file structure rather than an
17745 * locale/programs/locfile.h: Include "obstack.h".
17746 (struct locale_file): Change to store locale file contents instead
17748 (init_locale_data): New prototype.
17749 (align_locale_data): Likewise.
17750 (add_locale_empty): Likewise.
17751 (add_locale_raw_data): Likewise.
17752 (add_locale_raw_obstack): Likewise.
17753 (add_locale_string): Likewise.
17754 (add_locale_wstring): Likewise.
17755 (add_locale_uint32): Likewise.
17756 (add_locale_uint32_array): Likewise.
17757 (add_locale_char): Likewise.
17758 (start_locale_structure): Likewise.
17759 (end_locale_structure): Likewise.
17760 (start_locale_prelude): Likewise.
17761 (end_locale_prelude): Likewise.
17762 (write_locale_data): Update prototype.
17763 * locale/programs/3level.h (struct TABLE): Remove result field.
17764 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17765 Use new locale_file interface.
17766 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17767 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17768 * locale/programs/ld-address.c (address_output): Use new
17769 locale_file interface.
17770 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17772 (collate_finish): Don't call collseq_table_finalize.
17773 (collate_output): Use new locale_file interface.
17774 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17776 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17777 (TABLE): Move defines earlier in file.
17778 (ELEMENT): Likewise.
17779 (DEFAULT): Likewise.
17780 (wctrans_table_add): Move macro and inline function earlier in
17782 (struct wctype_table): Move type earlier in file.
17783 (add_locale_wctype_table): New static prototype.
17784 (struct locale_ctype_t): Use logical types instead of struct iovec
17785 pointers for members.
17786 (ctype_output): Use new locale_file interface.
17787 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17788 new locale_file interface.
17789 (allocate_arrays): Update for use of new locale_file interface.
17790 * locale/programs/ld-identification.c (identification_output): Use
17791 new locale_file interface.
17792 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17793 * locale/programs/ld-messages.c (messages_output): Likewise.
17794 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17795 * locale/programs/ld-name.c (name_output): Likewise.
17796 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17797 * locale/programs/ld-paper.c (paper_output): Likewise.
17798 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17799 * locale/programs/ld-time.c (time_output): Likewise.
17801 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17803 * benchtests/Makefile: Add memrchr benchmark.
17804 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17805 benchmark as memrchr.
17806 * benchtests/bench-memrchr-ifunc.c: New file.
17807 * benchtests/bench-memrchr.c: New file.
17809 2013-09-06 Will Newton <will.newton@linaro.org>
17811 * benchtests/Makefile (string-bench): Add memcpy.
17813 2013-09-05 Carlos O'Donell <carlos@redhat.com>
17814 Cong Wang <amwang@redhat.com>
17817 * sysdeps/unix/sysv/linux/bits/in.h
17818 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17819 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17820 before __USE_KERNEL_IPV6_DEFS uses.
17821 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17823 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17824 sockaddr_in6, or ipv6_mreq.
17826 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17828 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17829 memory access for final bytes in some large inputs.
17830 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17832 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17834 * string/test-memrchr.c: New file.
17835 * string/test-memrchr-ifunc.c: New file.
17836 * string/Makefile: Add new memrchr testcase.
17838 2013-09-05 Mike Frysinger <vapier@gentoo.org>
17840 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17841 fanotify_init returns EPERM.
17843 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17845 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17847 (top level): Treat second token from macro or constant entries for
17848 allowed headers as allowed.
17849 * include/complex.h: Condition internal declarations on
17851 * include/fenv.h: Condition include of <stdbool.h> and internal
17852 declarations on [!_ISOMAC].
17854 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17857 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17859 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17861 * configure.in (--enable-versioning): Remove configure option.
17862 (libc_cv_asm_symver_directive): Remove configure test.
17863 (libc_cv_ld_version_script_option): Likewise.
17864 (VERSIONING): Remove variable and AC_SUBST.
17865 (DO_VERSIONING): Remove AC_DEFINE.
17866 * configure: Regenerated.
17867 * config.h.in (DO_VERSIONING): Remove macro.
17868 * Makerules [$(versioning) = yes]: Change conditionals to
17869 [$(build-shared) = yes].
17870 * config.make.in (versioning): Remove variable.
17871 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17872 [$(build-shared) = yes].
17873 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17874 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17875 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17876 [$(build-shared) = yes].
17877 * extra-lib.mk [$(versioning) = yes]: Likewise.
17878 * hurd/Makefile [$(versioning) = yes]: Likewise.
17879 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17881 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17883 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17884 [SHARED && !NO_HIDDEN].
17885 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17887 [SHARED && DO_VERSIONING]: Likewise..
17888 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17889 [$(build-shared) = yes].
17890 * manual/install.texi (--disable-versioning): Remove
17892 * INSTALL: Regenerated.
17893 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17895 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17896 [$(build-shared) = yes].
17897 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17898 * sysdeps/i386/i686/multiarch/strstr-c.c
17899 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17900 [SHARED && !NO_HIDDEN].
17901 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17902 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17903 * sysdeps/powerpc/powerpc32/dl-machine.c
17904 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17905 * sysdeps/powerpc/powerpc32/sysdep.h
17906 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17907 to [SHARED && PIC && !NO_HIDDEN].
17908 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17909 conditional to [SHARED].
17911 2013-09-04 Will Newton <will.newton@linaro.org>
17913 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17914 * benchtests/bench-string.h: Include bench-timing.h instead
17915 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17916 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17917 call to HP_TIMING_DIFF_INIT.
17918 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17919 instead of hp-timing.h macros.
17920 * benchtests/bench-memchr.c: Likewise.
17921 * benchtests/bench-memcmp.c: Likewise.
17922 * benchtests/bench-memcpy.c: Likewise.
17923 * benchtests/bench-memmem.c: Likewise.
17924 * benchtests/bench-memmove.c: Likewise.
17925 * benchtests/bench-memset.c: Likewise.
17926 * benchtests/bench-rawmemchr.c: Likewise.
17927 * benchtests/bench-strcasecmp.c: Likewise.
17928 * benchtests/bench-strcasestr.c: Likewise.
17929 * benchtests/bench-strcat.c: Likewise.
17930 * benchtests/bench-strchr.c: Likewise.
17931 * benchtests/bench-strcmp.c: Likewise.
17932 * benchtests/bench-strcpy.c: Likewise.
17933 * benchtests/bench-strcpy_chk.c: Likewise.
17934 * benchtests/bench-strlen.c: Likewise.
17935 * benchtests/bench-strncasecmp.c: Likewise.
17936 * benchtests/bench-strncat.c: Likewise.
17937 * benchtests/bench-strncmp.c: Likewise.
17938 * benchtests/bench-strncpy.c: Likewise.
17939 * benchtests/bench-strnlen.c: Likewise.
17940 * benchtests/bench-strpbrk.c: Likewise.
17941 * benchtests/bench-strrchr.c: Likewise.
17942 * benchtests/bench-strspn.c: Likewise.
17943 * benchtests/bench-strstr.c: Likewise.
17945 2013-09-04 Will Newton <will.newton@linaro.org>
17947 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17949 2013-09-03 Joseph Myers <joseph@codesourcery.com>
17952 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17953 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17954 * math/libm-test.inc (lgamma_test_data): Add more tests.
17955 * sysdeps/i386/fpu/libm-test-ulps: Update.
17956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17958 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17960 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17961 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17963 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17964 Add strcmp-sse2-unaligned
17965 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17967 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17969 * Versions.def (libc): Add GLIBC_2.19.
17971 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17973 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17974 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17976 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17979 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17980 intermediate calculations in recurrence.
17981 (__ieee754_ynf): Likewise.
17982 * math/libm-test.inc (jn_test_data): Do not allow spurious
17983 underflow exception. Add more tests.
17984 (yn_test_data): Add more tests.
17985 * sysdeps/i386/fpu/libm-test-ulps: Update.
17986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17988 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17990 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17992 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17994 * csu/init-first.c: Fix then/than typos.
17995 * locale/programs/ld-collate.c: Likewise.
17996 * locale/programs/linereader.h: Likewise.
17997 * manual/charset.texi: Likewise.
17998 * manual/filesys.texi: Likewise.
17999 * manual/stdio.texi: Likewise.
18000 * manual/string.texi: Likewise.
18001 * stdlib/fmtmsg.c: Likewise.
18002 * sysdeps/i386/stpncpy.S: Likewise.
18003 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18004 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18005 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18006 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18008 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18010 * elf/dl-open.c: Fix typos.
18011 * iconvdata/gbbig5.c: Likewise.
18012 * iconvdata/iso-2022-jp.c: Likewise.
18013 * iconv/gconv_int.h: Likewise.
18014 * iconv/loop.c: Likewise.
18015 * nis/rpcsvc/nis.h: Likewise.
18016 * resolv/ns_name.c: Likewise.
18017 * stdio-common/vfscanf.c: Likewise.
18018 * streams/stropts.h: Likewise.
18019 * sunrpc/rpc_thread.c: Likewise.
18020 * sysdeps/i386/strpbrk.S: Likewise.
18021 * sysdeps/ieee754/k_standard.c: Likewise.
18022 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18023 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18024 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18025 * sysdeps/mach/hurd/profil.c: Likewise.
18026 * sysdeps/s390/dl-procinfo.h: Likewise.
18027 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18028 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18029 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18030 * sysdeps/x86_64/dl-trampoline.S: Likewise.
18031 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18033 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18035 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18036 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18038 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
18040 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18041 aix specific files.
18042 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18043 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18044 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18045 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18046 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18047 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18048 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18049 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18051 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18052 Roland McGrath <roland@hack.frob.com>
18054 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18055 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18057 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18059 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18060 __executable_start symbol instead of _start.
18062 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18064 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18065 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18067 * sysdeps/gnu/ldsodefs.h: ... this new file.
18069 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18070 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18071 instead of ELFOSABI_LINUX.
18073 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18074 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18075 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18076 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18078 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18079 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18080 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18082 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18083 (ibm_extended_long_double): Add ieee_nan member.
18084 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18085 (do_test): New function.
18087 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18089 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18090 functions, renamed from truncdfsf_test, trunctfsf_test,
18092 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18094 (do_test): Run all these.
18096 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
18098 * argp/argp-help.c: Fix typos.
18099 * argp/argp-parse.c: Likewise.
18100 * debug/backtracesyms.c: Likewise.
18101 * elf/elf.h: Likewise.
18102 * malloc/malloc.c: Likewise.
18103 * nis/nis_print.c: Likewise.
18104 * resolv/res_comp.c: Likewise.
18105 * stdlib/stdlib.h: Likewise.
18106 * sunrpc/clnt_tcp.c: Likewise.
18107 * sunrpc/clnt_udp.c: Likewise.
18108 * sunrpc/clnt_unix.c: Likewise.
18109 * sysdeps/unix/bsd/ptsname.c: Likewise.
18110 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18111 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18118 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18120 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18122 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18123 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18125 2013-08-27 Mike Frysinger <vapier@gentoo.org>
18128 * dlfcn/Makefile (tests): Add bug-dl-leaf.
18129 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18130 ($(objpfx)bug-dl-leaf): New rule.
18131 ($(objpfx)bug-dl-leaf.so): Likewise.
18132 ($(objpfx)bug-dl-leaf.out): Likewise.
18133 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18134 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18135 * dlfcn/bug-dl-leaf.c: New test.
18136 * dlfcn/bug-dl-leaf-lib.c: Likewise.
18137 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18138 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18139 (dlclose): Likewise.
18140 (dlmopen): Likewise.
18142 2013-08-27 Roland McGrath <roland@hack.frob.com>
18144 * include/netdb.h [!_ISOMAC]:
18145 Don't include <tls.h>.
18146 (h_errno, __libc_h_errno): Move declaration and macros out of
18149 * include/resolv.h [_RESOLV_H_]:
18150 Don't include <tls.h>.
18151 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18152 * resolv/res_libc.c: Don't include <tls.h>.
18153 (_res): Use __attribute__ ((nocommon)) in place of
18154 __attribute__ ((section (".bss"))).
18156 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18157 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18159 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18161 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18162 only under [SIOCGIFCONF && SIOCGIFNETMASK].
18164 * resolv/res_mkquery.c: Include <sys/time.h>.
18166 * inet/ifreq.c: Moved to ...
18167 * sysdeps/unix/ifreq.c: ... here.
18168 * inet/ifreq.c: New file, true stub version.
18170 * socket/sa_len.c: New file.
18171 * socket/Makefile (aux): Add it.
18172 * sysdeps/unix/sysv/linux/Makefile
18173 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18174 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18175 and #include <socket/sa_len.c>.
18176 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18177 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18179 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18180 * bits/socket.h: ... here.
18182 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18183 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18184 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18186 2013-08-27 Andreas Schwab <schwab@suse.de>
18189 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18190 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18191 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18192 * string/test-strcasecmp.c (test_main): Run tests in several
18194 * string/test-strncasecmp.c (test_main): Likewise.
18196 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18197 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18198 to __strcasecmp_nonascii and __strncasecmp_nonascii.
18199 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18200 (__strncasecmp_ssse3) [PIC]: Likewise.
18202 2013-08-26 Roland McGrath <roland@hack.frob.com>
18204 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18206 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18207 instead of explicitly declaring xdecrypt.
18208 * nis/nss_nis/nis-publickey.c: Likewise.
18210 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18213 * nscd/aicache.c: Include res_hconf.h.
18214 (addhstaiX): Initialize res_hconf.
18216 2013-08-26 Andreas Schwab <schwab@suse.de>
18218 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18219 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18221 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18223 * nscd/aicache.c (addhstaiX): Fix indentation.
18225 2013-08-25 Mike Frysinger <vapier@gentoo.org>
18227 * configure.ac: Quote $build_pt_chown test.
18228 * configure: Regenerated.
18230 2013-08-23 Joseph Myers <joseph@codesourcery.com>
18233 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18234 * math/s_cexpf.c (__cexpf): Likewise.
18235 * math/s_cexpl.c (__cexpl): Likewise.
18236 * math/libm-test.inc (cexp_test_data): Correct expected return
18237 value for NaN + i0. Add another test.
18239 2013-08-22 David S. Miller <davem@davemloft.net>
18241 * po/ca.po: Update Catalan translation from translation project.
18242 * po/uk.po: Add Ukrainian translations from translation project.
18244 2013-08-21 Joseph Myers <joseph@codesourcery.com>
18247 * math/s_fdim.c (__fdim): Check for infinite arguments if result
18248 is infinite, not alongside NaN test.
18249 * math/s_fdimf.c (__fdimf): Likewise.
18250 * math/s_fdiml.c (__fdiml): Likewise.
18251 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
18252 errno is unchanged.
18254 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
18256 * argp/argp-help.c: Fix typos.
18257 * crypt/speeds.c: Likewise.
18258 * csu/check_fds.c: Likewise.
18259 * elf/dl-load.c: Likewise.
18260 * elf/dl-open.c: Likewise.
18261 * elf/reldep3.c: Likewise.
18262 * elf/reldep.c: Likewise.
18263 * elf/sprof.c: Likewise.
18264 * iconv/iconv_charmap.c: Likewise.
18265 * iconv/skeleton.c: Likewise.
18266 * iconv/strtab.c: Likewise.
18267 * io/lockf64.c: Likewise.
18268 * libio/libioP.h: Likewise.
18269 * resolv/gai_notify.c: Likewise.
18270 * resolv/ns_name.c: Likewise.
18271 * resolv/ns_samedomain.c: Likewise.
18272 * resolv/res_send.c: Likewise.
18273 * stdlib/random.c: Likewise.
18274 * sunrpc/rpc/xdr.h: Likewise.
18275 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18276 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18277 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18278 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18279 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18280 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18281 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18282 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18283 * sysdeps/mach/hurd/check_fds.c: Likewise.
18284 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18285 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18286 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18287 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18288 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18289 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18290 * sysdeps/pthread/aio_notify.c: Likewise.
18291 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18292 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18293 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18294 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18295 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18297 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18299 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18300 version if bit_Slow_SSE4_2 is set.
18301 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18302 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18304 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18307 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18308 trampoline stack frame information.
18309 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18310 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18311 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18312 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18313 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18314 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18315 (_libc_vdso_platform_setup): Initialize the signal trampolines.
18316 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18318 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18319 interrupting a syscall and set with option SA_SIGINFO.
18321 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18324 * math/s_cproj.c (__cproj): Only return an infinity if one part of
18325 argument is infinite.
18326 * math/s_cprojf.c (__cprojf): Likewise.
18327 * math/s_cprojl.c (__cprojl): Likewise.
18328 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18329 * math/libm-test.inc (cproj_test_data): Add more tests.
18331 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18333 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18334 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18335 size. Use __ffs to determine corresponding shift.
18337 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18338 Roland McGrath <roland@hack.frob.com>
18340 * Makefile (INSTALL): Remove trailing blank lines from output of
18343 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18345 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18346 Align 32 bit compat elf_greg to 8 bytes.
18348 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
18350 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18352 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18354 * string/strcoll_l.c (coll_seq): New structure.
18355 (get_next_seq_cached): New function.
18356 (get_next_seq): New function.
18357 (do_compare): New function.
18358 (STRCOLL): Use GNU style definition. Simplify implementation
18359 by using get_next_seq, get_next_seq_cached and do_compare.
18361 2013-08-16 Florian Weimer <fweimer@redhat.com>
18365 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18367 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18369 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18370 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18371 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
18373 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18374 GETDENTS_64BIT_ALIGNED.
18375 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18376 * manual/filesys.texi (Reading/Closing Directory): Document
18377 ENAMETOOLONG return value of readdir_r. Recommend readdir more
18379 * manual/conf.texi (Limits for Files): Add portability note to
18380 NAME_MAX, PATH_MAX.
18381 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18383 2013-08-13 Andreas Schwab <schwab@suse.de>
18386 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18388 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18389 LDBL_MAX_EXP >= 16384]: Add tests for it.
18391 2013-08-12 David S. Miller <davem@davemloft.net>
18393 * version.h (RELEASE): Set to "development".
18394 (VERSION): Set to "2.18.90".
18395 * NEWS: Add 2.19 section.
18397 2013-08-03 David S. Miller <davem@davemloft.net>
18399 * po/ko.po: Update Korean translation from translation project.
18401 2013-08-01 David S. Miller <davem@davemloft.net>
18403 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
18404 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18407 2013-07-30 David S. Miller <davem@davemloft.net>
18409 * po/fr.po: Update French translation from translation project.
18411 2013-07-28 David S. Miller <davem@davemloft.net>
18413 * po/cs.po: Update Czech translation from translation project.
18415 * po/sv.po: Update Swedish translation from translation project.
18417 2013-07-27 David S. Miller <davem@davemloft.net>
18419 * po/eo.po: Update Esperanto translation from translation project.
18421 * po/vi.po: Update Vietnamese translation from translation project.
18423 * po/de.po: Update German translation from translation project.
18425 2013-07-26 David S. Miller <davem@davemloft.net>
18427 * po/bg.po: Update Bulgarian translation from translation project.
18429 * po/nl.po: Update Dutch translation from translation project.
18430 * po/pl.po: Update Polish translation from translation project.
18431 * po/ru.po: Update Russian translation from translation project.
18433 2013-07-24 David S. Miller <davem@davemloft.net>
18435 * po/libc.pot: Update.
18437 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18439 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18440 variable page size.
18441 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18442 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18443 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18445 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18447 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18449 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18450 Andreas Schwab <schwab@suse.de>
18451 Roland McGrath <roland@hack.frob.com>
18452 Joseph Myers <joseph@codesourcery.com>
18453 Carlos O'Donell <carlos@redhat.com>
18456 * config.h.in: Define HAVE_PT_CHOWN.
18457 * config.make.in (build-pt-chown): New variable.
18458 * configure.in (--enable-pt_chown): New configure option.
18459 * configure: Regenerate.
18460 * login/Makefile: Include Makeconfig. Build pt_chown only if
18461 build-pt-chown is enabled.
18462 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18463 pt_chown to fix pty ownership.
18464 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18466 * manual/install.texi (Configuring and compiling): Mention
18467 --enable-pt_chown. Add @findex for grantpt.
18468 * INSTALL: Regenerate.
18470 2013-07-20 David S. Miller <davem@davemloft.net>
18472 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18473 difference between 32-bit and 64-bit.
18475 2013-07-15 Carlos O'Donell <carlos@redhat.com>
18478 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18479 Avoid system header dependency with -ffreestanding.
18480 ($(objpfx)bits/syscall%d): Likewise.
18482 2013-07-13 David S. Miller <davem@davemloft.net>
18484 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18485 underflows from atanl/atan2l due to bug 15319.
18486 (casinh_test_data): Likewise.
18488 2013-07-07 David S. Miller <davem@davemloft.net>
18490 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18492 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
18494 * sysdeps/i386/fpu/libm-test-ulps: Update.
18495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18497 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18499 * configure.in (--enable-lock-elision): Fix message text.
18500 * INSTALL: Regenerate.
18501 * configure: Regenerate.
18503 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18507 2013-07-03 Andreas Jaeger <aj@suse.de>
18509 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18511 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18512 (ptrace_peeksiginfo_args): Add.
18513 (__ptrace_peeksiginfo_flags): Add.
18514 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18515 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18516 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18518 2013-07-03 Allan McRae <allan@archlinux.org>
18520 * sysdeps/i386/fpu/libm-test-ulps: Update.
18522 2013-07-02 David S. Miller <davem@davemloft.net>
18524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18526 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
18528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18530 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18532 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18535 2013-07-02 Andi Kleen <ak@linux.intel.com>
18537 * config.h.in (ENABLE_LOCK_ELISION): Add.
18538 * configure.in (--enable-lock-elision): Add option.
18539 * manual/install.texi: Document --enable lock elision.
18540 * configure: Regenerate
18541 * INSTALL: Regenerate.
18543 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
18545 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18546 SSE4.2 strcasecmp for libc.a.
18547 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18549 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18552 * soft-fp/op-common.h (_FP_FMA): New macro.
18553 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18554 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
18555 (_FP_MUL_MEAT_1_imm): ... here.
18556 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
18557 (_FP_MUL_MEAT_1_wide): ... here.
18558 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
18559 (_FP_MUL_MEAT_1_hard): ... here.
18560 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18561 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
18562 (_FP_MUL_MEAT_2_wide): ... here.
18563 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
18564 (_FP_MUL_MEAT_2_wide_3mul): ... here.
18565 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
18566 (_FP_MUL_MEAT_2_gmp): ... here.
18567 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18568 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
18569 (_FP_MUL_MEAT_4_wide): ... here.
18570 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
18571 (_FP_MUL_MEAT_4_gmp): ... here.
18572 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18573 (_FP_WFRACBITS_DW_S): Likewise.
18574 (_FP_WFRACXBITS_DW_S): Likewise.
18575 (_FP_HIGHBIT_DW_S): Likewise.
18576 (FP_FMA_S): Likewise.
18577 (_FP_FRAC_HIGH_DW_S): Likewise.
18578 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18579 (_FP_WFRACBITS_DW_D): Likewise.
18580 (_FP_WFRACXBITS_DW_D): Likewise.
18581 (_FP_HIGHBIT_DW_D): Likewise.
18582 (FP_FMA_D): Likewise.
18583 (_FP_FRAC_HIGH_DW_D): Likewise.
18584 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18585 (_FP_WFRACBITS_DW_E): Likewise.
18586 (_FP_WFRACXBITS_DW_E): Likewise.
18587 (_FP_HIGHBIT_DW_E): Likewise.
18588 (FP_FMA_E): Likewise.
18589 (_FP_FRAC_HIGH_DW_E): Likewise.
18590 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18591 (_FP_WFRACBITS_DW_Q): Likewise.
18592 (_FP_WFRACXBITS_DW_Q): Likewise.
18593 (_FP_HIGHBIT_DW_Q): Likewise.
18594 (FP_FMA_Q): Likewise.
18595 (_FP_FRAC_HIGH_DW_Q): Likewise.
18596 * soft-fp/fmasf4.c: New file.
18597 * soft-fp/fmadf4.c: Likewise.
18598 * soft-fp/fmatf4.c: Likewise.
18600 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18602 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18603 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18605 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18607 (index_Slow_SSE4_2): Likewise.
18608 (index_Prefer_PMINUB_for_stringop): Likewise.
18609 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18610 bit_Slow_SSE4_2 is set.
18611 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18612 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18614 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18616 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18617 rtld_global._dl_hwcap2.
18618 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18620 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18621 POWER8 feature descriptions defined in _dl_hwcap2.
18622 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18623 string handling for POWER8 feature bits.
18624 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18625 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18626 _dl_powerpc_cap_flags.
18627 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18628 * sysdeps/powerpc/rtld-global-offsets.sym
18629 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18630 _dl_hwcap2 in the rtld_global_ro structure.
18632 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18634 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18635 hardware capabilities in support of AT_HWCAP2.
18636 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18637 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18639 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18640 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18641 explicitly the unknown a_type display mechanism is used.
18642 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18643 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18645 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18646 to macro prototype for AT_HWCAP2 support.
18647 * sysdeps/i386/dl-procinfo.h: Likewise.
18648 * sysdeps/s390/dl-procinfo.h: Likewise.
18649 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18650 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18651 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18652 return -1 for unknown a_type display fallback.
18653 * sysdeps/sparc/dl-procinfo.h: Likewise.
18654 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18655 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18657 2013-06-28 Joseph Myers <joseph@codesourcery.com>
18659 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18660 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18662 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18665 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18666 mprotect making __stack_prot writable.
18668 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18669 Joseph Myers <joseph@codesourcery.com>
18671 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18672 as being properly aligned.
18674 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18676 * dlfcn/modstatic5.c: New file.
18677 * dlfcn/tststatic5.c: New file.
18678 * dlfcn/Makefile (tests): Add tststatic5.
18679 (tests-static): Likewise.
18680 (modules-names): Add modstatic5.
18681 (tststatic5-ENV): New variable.
18682 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18685 * elf/dl-support.c (_dl_main_map): New variable.
18686 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18687 (_dl_nns, _dl_load_adds): Set to 1.
18688 (_dl_initial_searchlist): Refer to _dl_main_map.
18689 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18690 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18691 call to _dl_get_origin.
18692 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18694 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18695 * dlfcn/modstatic3.c: New file.
18696 * dlfcn/tststatic3.c: New file.
18697 * dlfcn/tststatic4.c: New file.
18698 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18699 (tests-static): Likewise.
18700 (modules-names): Add modstatic3.
18701 (tststatic3-ENV, tststatic4-ENV): New variables.
18702 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18703 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18705 2013-06-26 Joseph Myers <joseph@codesourcery.com>
18707 * configure.in (CC): Require GCC version 4.4 or later.
18708 * configure: Regenerated.
18709 * manual/install.texi (Tools for Compilation): Update GCC version
18711 * INSTALL: Regenerated.
18713 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18716 * string/test-memcmp.c (check2): New.
18717 (main): Call check2.
18719 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18721 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18724 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18726 (dl_open_worker) [!SHARED]: ... here.
18728 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18730 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18732 2013-06-25 Richard Henderson <rth@redhat.com>
18734 * locale/programs/locarchive.c: Include <libc-internal.h>
18736 2013-06-25 Joseph Myers <joseph@codesourcery.com>
18738 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18739 trailing whitespace removed.
18741 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18744 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18745 * locale/programs/locarchive.c: Include libc-mmap.h.
18746 (prepare_address_space): Take two new outputs (the mmap base and len).
18747 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18749 (create_archive): Declare new mmap base and len values for
18750 prepare_address_space, and store the result in ah.
18751 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18752 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18753 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18754 Declare new mmap base and len values for
18755 prepare_address_space, and store the result in new_ah.
18756 (open_archive): Declare new mmap base and len values for
18757 prepare_address_space, and store the result in ah.
18758 (close_archive): If ah->mmap_base is not NULL, use that and
18759 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18760 * sysdeps/generic/libc-mmap.h: New file.
18762 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18764 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18765 (ALIGN_UP): Likewise.
18766 (PTR_ALIGN_DOWN): Likewise.
18767 (PTR_ALIGN_UP): Likewise.
18769 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18771 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18772 entry mapped to PPC_PLATFORM_POWER8.
18773 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18775 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18776 (_dl_string_platform): Add case for exporting platform position for
18778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18779 search path to sysdeps/powerpc/powerpc32/power8 directory.
18780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18781 search path to sysdeps/powerpc/powerpc64/power8 directory.
18782 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18783 power7 directories.
18784 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18785 power7 directories.
18787 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18789 * INSTALL: Regenerate.
18791 * nscd/connections.c (nscd_init): Fix comment.
18793 2013-06-22 Joseph Myers <joseph@codesourcery.com>
18795 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18798 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18799 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18801 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18803 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18805 (DL_DST_REQ_STATIC): Remove macro.
18807 2013-06-21 Joseph Myers <joseph@codesourcery.com>
18810 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18811 with a shift of 0 bits.
18813 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18815 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18818 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18821 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18823 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18825 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18826 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18827 accepts -fno-tree-loop-distribute-patterns.
18828 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18829 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18831 * string/memset.c (memset): Likewise.
18832 * string/test-memmove.c (simple_memmove): Disable loop transformation
18834 * string/test-memset.c (simple_memset): Likewise.
18835 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18836 * benchtests/bench-memset.c (simple_memset): Likewise.
18837 * configure: Regenerated.
18839 2013-06-20 Joseph Myers <joseph@codesourcery.com>
18841 * math/test-misc.c (main): Ignore fesetround failure when failures
18842 of subsequent rounding tests would be ignored.
18845 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18846 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18847 * math/fegetenv.c (__fegetenv): Return 0.
18848 * math/fegetexcept.c (fegetexcept): Return 0.
18849 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18851 * math/feholdexcpt.c (feholdexcept): Return 0.
18852 * math/fesetenv.c (__fesetenv): Return 0.
18853 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18854 argument FE_TONEAREST.
18855 * math/feupdateenv.c (__feupdateenv): Return 0.
18856 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18858 2013-06-18 Roland McGrath <roland@hack.frob.com>
18860 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18861 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18862 ($(objpfx)rtld-%.os rules): Use them.
18864 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18866 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18869 2013-06-17 Roland McGrath <roland@hack.frob.com>
18871 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18872 length of target pattern, then descending length of dependency pattern.
18873 * configure.in (AWK): Require gawk 3.1.2 or newer.
18874 * manual/install.texi (Tools for Compilation): Say that we do.
18875 * configure: Regenerated.
18877 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18878 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18879 * scripts/sysd-rules.awk: ... this new script.
18880 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18881 than a glob-style pattern.
18883 2013-06-17 Joseph Myers <joseph@codesourcery.com>
18885 * math/test-misc.c (main): Do not treat incorrectly rounded
18886 conversions as failure unless ROUNDING_TESTS passes.
18888 2013-06-15 Joseph Myers <joseph@codesourcery.com>
18891 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18892 restore exception state around main square root computation, then
18893 check for inexactness explicitly.
18895 * math/libm-test.inc (fma_test_data): Add another test.
18897 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18899 * manual/threads.texi (Non-POSIX Extensions): New document
18900 node. Document pthread_getattr_default_np and
18901 pthread_setattr_default_np.
18903 * Versions.def (libpthread): Add GLIBC_2.18.
18904 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18913 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18924 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18926 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18927 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18929 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18930 H.J. Lu <hjl.tools@gmail.com>
18933 * sysdeps/x86_64/rtld-memset.c: Remove file.
18934 * sysdeps/x86_64/rtld-memset.S: New file.
18936 2013-06-14 Joseph Myers <joseph@codesourcery.com>
18938 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18939 (test_in_one_mode): Take arguments for whether the rounding mode
18940 is supported for each floating-point type.
18941 (do_test): Pass new arguments to test_in_one_mode using
18944 2013-06-13 Roland McGrath <roland@hack.frob.com>
18946 * posix/tst-waitid.c (do_test): Distinguish different instances of
18947 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18948 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18949 before entering the kernel for waitpid.
18951 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18953 * NEWS: Fix note on clock function precision. Text by Roland
18956 2013-06-13 Roland McGrath <roland@hack.frob.com>
18958 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18959 it into place only when and if the sanity check passes.
18961 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18963 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18964 output for whether conversion result is exact. Take argument
18965 indicating whether type is IBM long double.
18966 (round_for_all): Change need_exact field to ibm_ld.
18967 * stdlib/tst-strtod-round.c (struct exactness): New type.
18968 (struct test): Change bool ld_ok field to struct exactness exact.
18969 (TEST): Update all definitions for change to field.
18970 (tests): Regenerate array contents.
18971 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18972 field value. Check for IBM long double here.
18973 (do_test): Update calls to test_in_one_mode.
18975 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18978 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18979 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18981 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18984 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18985 generated by the compiler on loop optimizations.
18986 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18987 general definitions.
18989 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18991 * math/bug-nextafter.c: Include <math-tests.h>.
18992 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18994 * math/bug-nexttoward.c: Include <math-tests.h>.
18995 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18997 * math/test-misc.c: Include <math-tests.h>.
18998 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19001 2013-06-12 Andreas Jaeger <aj@suse.de>
19003 * po/ia.po: Update Interlingua translation from translation
19006 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19008 * include/fenv.h: Include stdbool.h.
19009 (struct rm_ctx): New structure.
19010 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19012 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19013 (SET_RESTORE_ROUNDF): Likewise.
19014 (SET_RESTORE_ROUNDL): Likewise.
19015 (SET_RESTORE_ROUND_NOEX): Likewise.
19016 (SET_RESTORE_ROUND_NOEXF): Likewise.
19017 (SET_RESTORE_ROUND_NOEXL): Likewise.
19018 (SET_RESTORE_ROUND_53BIT): Likewise.
19019 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19020 (libc_feresetround_noexf_ctx): Likewise.
19021 (libc_feresetround_noexl_ctx): Likewise.
19022 (libc_feholdsetround_53bit_ctx): Likewise.
19023 (libc_feresetround_53bit_ctx): Likewise.
19024 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19025 (libc_feholdexcept_setround_sse_ctx): New function.
19026 (libc_fesetenv_sse_ctx): Likewise.
19027 (libc_feupdateenv_sse_ctx): Likewise.
19028 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19029 (libc_feholdexcept_setround_387_ctx): Likewise.
19030 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19031 (libc_feholdsetround_387_prec_ctx): Likewise.
19032 (libc_feholdsetround_387_ctx): Likewise.
19033 (libc_feholdsetround_387_53bit_ctx): Likewise.
19034 (libc_feholdsetround_sse_ctx): Likewise.
19035 (libc_feresetround_sse_ctx): Likewise.
19036 (libc_feresetround_387_ctx): Likewise.
19037 (libc_feupdateenv_387_ctx): Likewise.
19038 (libc_feholdexcept_setroundf_ctx): Define macro.
19039 (libc_fesetenvf_ctx): Likewise.
19040 (libc_feupdateenvf_ctx): Likewise.
19041 (libc_feholdsetroundf_ctx): Likewise.
19042 (libc_feresetroundf_ctx): Likewise.
19043 (libc_feholdexcept_setround_ctx): Likewise.
19044 (libc_fesetenv_ctx): Likewise.
19045 (libc_feupdateenv_ctx): Likewise.
19046 (libc_feholdsetround_ctx): Likewise.
19047 (libc_feresetround_ctx): Likewise.
19048 (libc_feholdexcept_setroundl_ctx): Likewise.
19049 (libc_feupdateenvl_ctx): Likewise.
19050 (libc_feholdsetroundl_ctx): Likewise.
19051 (libc_feresetroundl_ctx): Likewise.
19052 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19053 (libc_feresetround_53bit_ctx): Likewise.
19055 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19057 * locale/iso-639.def: Convert to UTF-8.
19059 2013-06-11 Joseph Myers <joseph@codesourcery.com>
19061 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19062 (EXCEPTION_TESTS_double): Likewise.
19063 (EXCEPTION_TESTS_long_double): Likewise.
19064 (EXCEPTION_TESTS): Likewise.
19065 * math/libm-test.inc (test_exceptions): Only test exceptions if
19066 EXCEPTION_TESTS (FLOAT).
19068 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19070 * benchtests/Makefile (string-bench): Add strcpy_chk and
19072 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19073 * benchtests/bench-stpcpy_chk.c: New file.
19074 * benchtests/bench-strcpy_chk-ifunc.c: New file.
19075 * benchtests/bench-strcpy_chk.c: New file.
19076 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19078 (do_test): Likewise.
19080 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19082 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19083 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19084 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19085 with tabs where appropriate.
19086 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19088 [PPC_PLATFORM_PPC440]: Likewise.
19089 [PPC_PLATFORM_PPC464]: Likewise.
19090 [PPC_PLATFORM_PPC476]: Likewise.
19091 (_dl_string_platform): Add support for detecting ppc405, ppc440,
19092 ppc464, and ppc476 platform strings merging from ports/
19095 2013-06-11 Andreas Schwab <schwab@suse.de>
19098 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19099 (from_ucs4_idx): Regenerate.
19100 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19101 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19102 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19103 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19104 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19105 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19106 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19107 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19108 from FROM_LOOP and TO_LOOP specific macros.
19109 (BODY): Handle combining characters.
19110 * iconvdata/BIG5HKSCS.irreversible: Update.
19111 * iconvdata/BIG5HKSCS.precomposed: New file.
19112 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19114 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19116 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19118 * include/sys/time.h: Fix indentation and add copyright header.
19120 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19121 (do_test): Likewise.
19122 * string/test-memchr.c (do_one_test): Likewise.
19123 (do_test): Likewise.
19124 * string/test-memcmp.c (do_one_test): Likewise.
19125 (do_test): Likewise.
19126 * string/test-memcpy.c (do_one_test): Likewise.
19127 (do_test): Likewise.
19128 * string/test-memmem.c (do_one_test): Likewise.
19129 (do_test): Likewise.
19130 (do_random_tests): Likewise.
19131 * string/test-memmove.c (do_one_test): Likewise.
19132 (do_test): Likewise.
19133 * string/test-memset.c (do_one_test): Likewise.
19134 (do_test): Likewise.
19135 * string/test-rawmemchr.c (do_one_test): Likewise.
19136 (do_test): Likewise.
19137 * string/test-strcasecmp.c (do_one_test): Likewise.
19138 (do_test): Likewise.
19139 * string/test-strcasestr.c (do_one_test): Likewise.
19140 (do_test): Likewise.
19141 * string/test-strcat.c (do_one_test): Likewise.
19142 (do_test): Likewise.
19143 * string/test-strchr.c (do_one_test): Likewise.
19144 (do_test): Likewise.
19145 * string/test-strcmp.c (do_one_test): Likewise.
19146 (do_test): Likewise.
19147 * string/test-strcpy.c (do_one_test): Likewise.
19148 (do_test): Likewise.
19149 * string/test-string.h: Likewise.
19150 (test_init): Likewise.
19151 * string/test-strlen.c (do_one_test): Likewise.
19152 (do_test): Likewise.
19153 * string/test-strncasecmp.c (do_one_test): Likewise.
19154 (do_test): Likewise.
19155 * string/test-strncat.c (do_one_test): Likewise.
19156 (do_test): Likewise.
19157 * string/test-strncmp.c (do_one_test): Likewise.
19158 (do_test_limit): Likewise.
19159 (do_test): Likewise.
19160 * string/test-strncpy.c (do_one_test): Likewise.
19161 (do_test): Likewise.
19162 * string/test-strnlen.c (do_one_test): Likewise.
19163 (do_test): Likewise.
19164 * string/test-strpbrk.c (do_one_test): Likewise.
19165 (do_test): Likewise.
19166 * string/test-strrchr.c (do_one_test): Likewise.
19167 (do_test): Likewise.
19168 * string/test-strspn.c (do_one_test): Likewise.
19169 (do_test): Likewise.
19170 * string/test-strstr.c (do_one_test): Likewise.
19171 (do_test): Likewise.
19173 * benchtests/Makefile (string-bench): Add string benchmarks.
19174 * benchtests/bench-bcopy-ifunc.c: New file.
19175 * benchtests/bench-bcopy.c: New file.
19176 * benchtests/bench-bzero-ifunc.c: New file.
19177 * benchtests/bench-bzero.c: New file.
19178 * benchtests/bench-memccpy-ifunc.c: New file.
19179 * benchtests/bench-memccpy.c: New file.
19180 * benchtests/bench-memchr-ifunc.c: New file.
19181 * benchtests/bench-memchr.c: New file.
19182 * benchtests/bench-memcmp-ifunc.c: New file.
19183 * benchtests/bench-memcmp.c: New file.
19184 * benchtests/bench-memmem-ifunc.c: New file.
19185 * benchtests/bench-memmem.c: New file.
19186 * benchtests/bench-memmove-ifunc.c: New file.
19187 * benchtests/bench-memmove.c: New file.
19188 * benchtests/bench-mempcpy-ifunc.c: New file.
19189 * benchtests/bench-mempcpy.c: New file.
19190 * benchtests/bench-memset-ifunc.c: New file.
19191 * benchtests/bench-memset.c: New file.
19192 * benchtests/bench-rawmemchr-ifunc.c: New file.
19193 * benchtests/bench-rawmemchr.c: New file.
19194 * benchtests/bench-stpcpy-ifunc.c: New file.
19195 * benchtests/bench-stpcpy.c: New file.
19196 * benchtests/bench-stpncpy-ifunc.c: New file.
19197 * benchtests/bench-stpncpy.c: New file.
19198 * benchtests/bench-strcasecmp-ifunc.c: New file.
19199 * benchtests/bench-strcasecmp.c: New file.
19200 * benchtests/bench-strcasestr-ifunc.c: New file.
19201 * benchtests/bench-strcasestr.c: New file.
19202 * benchtests/bench-strcat-ifunc.c: New file.
19203 * benchtests/bench-strcat.c: New file.
19204 * benchtests/bench-strchr-ifunc.c: New file.
19205 * benchtests/bench-strchr.c: New file.
19206 * benchtests/bench-strchrnul-ifunc.c: New file.
19207 * benchtests/bench-strchrnul.c: New file.
19208 * benchtests/bench-strcmp-ifunc.c: New file.
19209 * benchtests/bench-strcmp.c: New file.
19210 * benchtests/bench-strcpy-ifunc.c: New file.
19211 * benchtests/bench-strcpy.c: New file.
19212 * benchtests/bench-strcspn-ifunc.c: New file.
19213 * benchtests/bench-strcspn.c: New file.
19214 * benchtests/bench-strlen-ifunc.c: New file.
19215 * benchtests/bench-strlen.c: New file.
19216 * benchtests/bench-strncasecmp-ifunc.c: New file.
19217 * benchtests/bench-strncasecmp.c: New file.
19218 * benchtests/bench-strncat-ifunc.c: New file.
19219 * benchtests/bench-strncat.c: New file.
19220 * benchtests/bench-strncmp-ifunc.c: New file.
19221 * benchtests/bench-strncmp.c: New file.
19222 * benchtests/bench-strncpy-ifunc.c: New file.
19223 * benchtests/bench-strncpy.c: New file.
19224 * benchtests/bench-strnlen-ifunc.c: New file.
19225 * benchtests/bench-strnlen.c: New file.
19226 * benchtests/bench-strpbrk-ifunc.c: New file.
19227 * benchtests/bench-strpbrk.c: New file.
19228 * benchtests/bench-strrchr-ifunc.c: New file.
19229 * benchtests/bench-strrchr.c: New file.
19230 * benchtests/bench-strspn-ifunc.c: New file.
19231 * benchtests/bench-strspn.c: New file.
19232 * benchtests/bench-strstr-ifunc.c: New file.
19233 * benchtests/bench-strstr.c: New file.
19235 * benchtests/Makefile: Disable parallel execution of targets.
19236 (string-bench): Add memcpy.
19237 (benchset): New variable to store a list of benchmark sets.
19238 (bench-func): Renamed from bench.
19239 (bench-set): New target.
19240 (bench): Depend on bench-func and bench-set.
19241 * benchtests/README: Add section on benchmark sets.
19242 * benchtests/bench-memcpy-ifunc.c: New file.
19243 * benchtests/bench-memcpy.c: New file.
19244 * benchtests/bench-string.h: New file.
19246 2013-06-11 Andreas Schwab <schwab@suse.de>
19249 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19250 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19251 values in the triple.
19252 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19253 terminator in the group key.
19255 2013-06-11 Andreas Jaeger <aj@suse.de>
19257 * po/zh_TW.po: Update Chinese (traditional) translation from
19258 translation project.
19260 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19262 * include/time.h (__clock_gettime): Add libc_hidden_proto.
19263 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19264 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
19265 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19266 (clock_getcpuclockid): Likewise.
19267 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19268 Add weak_alias and libc_hidden_def.
19269 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19270 * rt/clock_gettime.c (clock_gettime): Rename to
19271 __clock_gettime. Add weak_alias and libc_hidden_def.
19272 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19273 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19274 __clock_nanosleep. Add weak_alias and libc_hidden_def.
19275 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19276 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19278 * rt/clock_settime.c (clock_settime): Rename to
19279 __clock_settime. Add weak_alias and libc_hidden_def.
19280 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19282 2013-06-10 Joseph Myers <joseph@codesourcery.com>
19284 * mach/err_boot.sub: Remove trailing whitespace.
19285 * mach/err_ipc.sub: Likewise.
19286 * mach/err_mach.sub: Likewise.
19288 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19289 (ROUNDING_TESTS_double): Likewise.
19290 (ROUNDING_TESTS_long_double): Likewise.
19291 (ROUNDING_TESTS): Likewise.
19292 * math/libm-test.inc: Include <math-tests.h>.
19293 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19294 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19295 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19296 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19298 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19300 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19303 2013-06-08 Joseph Myers <joseph@codesourcery.com>
19305 * sysdeps/gnu/errlist.awk: Do not generate space at end of
19306 otherwise empty TRANS lines.
19307 * sysdeps/gnu/errlist.c: Regenerated.
19309 * catgets/gencat.c (error_print): Use (void) in function
19311 * crypt/crypt_util.c (__init_des): Likewise.
19312 * crypt/speeds.c (Stop): Likewise.
19314 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19315 * inet/ruserpass.c (token): Likewise.
19316 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19317 * intl/localealias.c (extend_alias_table): Likewise.
19318 * intl/plural-exp.c (init_germanic_plural): Likewise.
19319 * libio/fcloseall.c (__fcloseall): Likewise.
19320 * libio/genops.c (_IO_flush_all): Likewise.
19321 (_IO_flush_all_linebuffered): Likewise.
19322 (_IO_cleanup): Likewise.
19323 (_IO_iter_begin): Likewise.
19324 (_IO_iter_end): Likewise.
19325 (_IO_list_lock): Likewise.
19326 (_IO_list_unlock): Likewise.
19327 (_IO_list_resetlock): Likewise.
19328 * libio/getchar.c (getchar): Likewise.
19329 * libio/getchar_u.c (getchar_unlocked): Likewise.
19330 * libio/getwchar.c (getwchar): Likewise.
19331 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19332 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19333 * login/getpt.c (__getpt): Likewise.
19334 * login/tst-utmp.c (main): Likewise.
19335 * malloc/hooks.c (__malloc_check_init): Likewise.
19336 * malloc/malloc.c (__malloc_stats): Likewise.
19337 * malloc/mtrace.c (tr_break): Likewise.
19338 (mtrace): Likewise.
19339 (muntrace): Likewise.
19340 * misc/fstab.c (endfsent): Likewise.
19341 * misc/getclktck.c (__getclktck): Likewise.
19342 * misc/getdtsz.c (__getdtablesize): Likewise.
19343 * misc/gethostid.c (gethostid): Likewise.
19344 * misc/getpagesize.c (__getpagesize): Likewise.
19345 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19346 (__get_nprocs): Likewise.
19347 (__get_phys_pages): Likewise.
19348 (__get_avphys_pages): Likewise.
19349 * misc/getttyent.c (getttyent): Likewise.
19350 (setttyent): Likewise.
19351 (endttyent): Likewise.
19352 * misc/getusershell.c (getusershell): Likewise.
19353 (endusershell): Likewise.
19354 (setusershell): Likewise.
19355 (initshells): Likewise.
19356 * misc/hsearch.c (__hdestroy): Likewise.
19357 * misc/sync.c (sync): Likewise.
19358 * misc/syslog.c (closelog_internal): Likewise.
19359 (closelog): Likewise.
19360 * misc/ttyslot.c (ttyslot): Likewise.
19361 * misc/vhangup.c (vhangup): Likewise.
19362 * posix/fork.c (__fork): Likewise.
19363 * posix/getegid.c (__getegid): Likewise.
19364 * posix/geteuid.c (__geteuid): Likewise.
19365 * posix/getgid.c (__getgid): Likewise.
19366 * posix/getpid.c (__getpid): Likewise.
19367 * posix/getppid.c (__getppid): Likewise.
19368 * posix/getuid.c (__getuid): Likewise.
19369 * posix/pause.c (pause): Likewise.
19370 * posix/setpgrp.c (setpgrp): Likewise.
19371 * posix/setsid.c (__setsid): Likewise.
19372 * posix/test-vfork.c (noop): Likewise.
19373 * resolv/gethnamaddr.c (_endhtent): Likewise.
19374 (_gethtent): Likewise.
19375 (ht_endhostent): Likewise.
19376 (gethostent): Likewise.
19377 (dns_service): Likewise.
19378 * stdlib/drand48.c (drand48): Likewise.
19379 * stdlib/lrand48.c (lrand48): Likewise.
19380 * stdlib/mrand48.c (mrand48): Likewise.
19381 * stdlib/rand.c (rand): Likewise.
19382 * stdlib/random.c (__random): Likewise.
19383 * stdlib/setenv.c (clearenv): Likewise.
19384 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19385 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19386 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19387 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19388 (__get_nprocs): Likewise.
19389 (__get_phys_pages): Likewise.
19390 (__get_avphys_pages): Likewise.
19391 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19392 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19393 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19394 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19395 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19396 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19397 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19398 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19399 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19400 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19401 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19402 * sysdeps/mach/hurd/sync.c (sync): Likewise.
19403 * sysdeps/posix/clock.c (clock): Likewise.
19404 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19405 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19406 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19407 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19408 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19409 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19410 (__get_nprocs_conf): Likewise.
19411 (__get_phys_pages): Likewise.
19412 (__get_avphys_pages): Likewise.
19413 * time/clock.c (clock): Likewise.
19414 * time/tzset.c (__tzname_max): Likewise.
19416 2013-06-07 Joseph Myers <joseph@codesourcery.com>
19418 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19419 (__bswap_32): Do not use "register".
19420 * crypt/crypt.c (_ufc_doit_r): Likewise.
19421 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19422 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19423 * gmon/gmon.c (__monstartup): Likewise.
19424 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19425 * hurd/hurdmalloc.c (more_memory): Likewise.
19426 (malloc): Likewise.
19428 (realloc): Likewise.
19429 (malloc_fork_prepare): Likewise.
19430 (malloc_fork_parent): Likewise.
19431 (malloc_fork_child): Likewise.
19432 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19433 (_svcauth_des): Likewise.
19434 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19435 * inet/inet_net.c (inet_network): Likewise.
19436 * inet/inet_netof.c (inet_netof): Likewise.
19437 * inet/rcmd.c (__validuser2_sa): Likewise.
19438 * io/fts.c (fts_open): Likewise.
19439 (fts_load): Likewise.
19440 (fts_close): Likewise.
19441 (fts_read): Likewise.
19442 (fts_children): Likewise.
19443 (fts_build): Likewise.
19444 (fts_stat): Likewise.
19445 (fts_sort): Likewise.
19446 (fts_alloc): Likewise.
19447 (fts_lfree): Likewise.
19448 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19449 (_IO_file_xsgetn): Likewise.
19450 (_IO_file_xsgetn_mmap): Likewise.
19451 * libio/iofopncook.c (_IO_cookie_read): Likewise.
19452 (_IO_cookie_write): Likewise.
19453 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19454 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19455 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19456 * malloc/obstack.c (_obstack_begin): Likewise.
19457 (_obstack_begin_1): Likewise.
19458 (_obstack_newchunk): Likewise.
19459 (_obstack_allocated_p): Likewise.
19460 (obstack_free): Likewise.
19461 (_obstack_memory_used): Likewise.
19462 * misc/getttyent.c (getttynam): Likewise.
19463 (getttyent): Likewise.
19466 * misc/getusershell.c (initshells): Likewise.
19467 * misc/syslog.c (__vsyslog_chk): Likewise.
19468 * misc/ttyslot.c (ttyslot): Likewise.
19469 * nis/nis_hash.c (__nis_hash): Likewise.
19470 * posix/fnmatch_loop.c (FCT): Likewise.
19471 * posix/getconf.c (print_all): Likewise.
19473 * posix/getopt.c (exchange): Likewise.
19474 * posix/glob.c (globfree): Likewise.
19475 (prefix_array): Likewise.
19476 (__glob_pattern_type): Likewise.
19477 * resolv/arpa/nameser.h (NS_GET16): Likewise.
19478 (NS_GET32): Likewise.
19479 (NS_PUT16): Likewise.
19480 (NS_PUT32): Likewise.
19481 * resolv/gethnamaddr.c (getanswer): Likewise.
19482 (gethostbyname2): Likewise.
19483 (gethostbyaddr): Likewise.
19484 (_gethtent): Likewise.
19485 (_gethtbyname2): Likewise.
19486 (_gethtbyaddr): Likewise.
19487 * resolv/ns_print.c (dst_s_get_int16): Likewise.
19488 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19489 * resolv/res_init.c (__res_vinit): Likewise.
19490 (net_mask): Likewise.
19491 * resolv/res_mkquery.c (outchar): Likewise.
19493 * stdio-common/printf_fp.c (outchar): Likewise.
19495 * stdio-common/printf_fphex.c (outchar): Likewise.
19497 * stdio-common/printf_size.c (outchar): Likewise.
19499 * stdio-common/test_rdwr.c (main): Likewise.
19500 * stdio-common/tfformat.c (matches): Likewise.
19501 * stdio-common/vfprintf.c (outchar): Likewise.
19502 (printf_unknown): Likewise.
19503 (buffered_vfprintf): Likewise.
19504 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19505 * stdio-common/xbug.c (AppendToBuffer): Likewise.
19506 (ReadFile): Likewise.
19507 * stdlib/qsort.c (SWAP): Likewise.
19508 (_quicksort): Likewise.
19509 * stdlib/setenv.c (__add_to_environ): Likewise.
19510 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19511 * stdlib/strtol_l.c (__strtol_l): Likewise.
19512 * stdlib/tst-strtod.c (main): Likewise.
19513 * stdlib/tst-strtol.c (main): Likewise.
19514 * stdlib/tst-strtoll.c (main): Likewise.
19515 * string/bits/string2.h (__strcmp_cc): Likewise.
19516 (__strcmp_cg): Likewise.
19517 (__strcspn_c1): Likewise.
19518 (__strcspn_c2): Likewise.
19519 (__strcspn_c3): Likewise.
19520 (__strspn_c1): Likewise.
19521 (__strspn_c2): Likewise.
19522 (__strspn_c3): Likewise.
19523 (__strsep_1c): Likewise.
19524 (__strsep_2c): Likewise.
19525 (__strsep_3c): Likewise.
19526 * string/memccpy.c (__memccpy): Likewise.
19527 * string/stpcpy.c (__stpcpy): Likewise.
19528 * string/strcmp.c (strcmp): Likewise.
19529 * string/strrchr.c (strrchr): Likewise.
19530 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19532 * sysdeps/mach/hurd/getcwd.c
19533 (_hurd_canonicalize_directory_name_internal): Likewise.
19534 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19535 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19536 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19537 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19538 Likewise, in both definitions.
19539 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19541 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19542 64] (__bswap_64): Likewise.
19543 * time/test_time.c (main): Likewise.
19544 * time/tzfile.c (__tzfile_read): Likewise.
19545 (__tzfile_compute): Likewise.
19546 * time/tzset.c (__tzset_parse_tz): Likewise.
19547 (tzset_internal): Likewise.
19548 (compute_change): Likewise.
19549 * wcsmbs/wcscat.c (__wcscat): Likewise.
19550 * wcsmbs/wcschr.c (wcschr): Likewise.
19551 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19552 * wcsmbs/wcscspn.c (wcscspn): Likewise.
19553 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19554 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19555 * wcsmbs/wcsspn.c (wcsspn): Likewise.
19556 * wcsmbs/wcsstr.c (wcsstr): Likewise.
19557 * wcsmbs/wmemchr.c (wmemchr): Likewise.
19558 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19559 * wcsmbs/wmemset.c (wmemset): Likewise.
19561 2013-06-06 Joseph Myers <joseph@codesourcery.com>
19563 * scripts/config.guess: Update to version 2013-05-16.
19564 * scripts/config.sub: Update to version 2013-04-24.
19565 * scripts/install-sh: Update to version 2011-11-20.07.
19566 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19567 * scripts/move-if-change: Update to version 2012-01-06 07:23.
19569 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
19571 * debug/fgetws_u_chk.c: Fix leading whitespaces.
19572 * elf/sln.c: Likewise.
19573 * hurd/hurd/ioctl.h: Likewise.
19574 * hurd/hurdmalloc.c: Likewise.
19575 * hurd/xattr.c: Likewise.
19576 * include/shlib-compat.h: Likewise.
19577 * inet/ruserpass.c: Likewise.
19578 * libio/iofgets_u.c: Likewise.
19579 * libio/iofgetws_u.c: Likewise.
19580 * locale/programs/ld-identification.c: Likewise.
19581 * locale/programs/ld-time.c: Likewise.
19582 * mach/msg-destroy.c: Likewise.
19583 * nss/nss_files/files-netgrp.c: Likewise.
19584 * resolv/res_data.c: Likewise.
19585 * soft-fp/op-1.h: Likewise.
19586 * soft-fp/op-2.h: Likewise.
19587 * soft-fp/op-4.h: Likewise.
19588 * soft-fp/op-common.h: Likewise.
19589 * stdio-common/printf_fphex.c: Likewise.
19590 * stdlib/strtod_l.c: Likewise.
19591 * sunrpc/rpc/clnt.h: Likewise.
19592 * sysdeps/generic/framestate.c: Likewise.
19593 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19594 * sysdeps/i386/bsd-setjmp.S: Likewise.
19595 * sysdeps/i386/__longjmp.S: Likewise.
19596 * sysdeps/i386/setjmp.S: Likewise.
19597 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19598 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19599 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19600 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19601 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19602 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19603 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19604 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19605 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19606 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19607 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19608 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19609 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19610 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19611 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19612 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19613 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19614 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19615 * sysdeps/ieee754/support.c: Likewise.
19616 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19617 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19618 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19619 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19620 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19621 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19622 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19623 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19624 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19625 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19626 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19627 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19628 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19629 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19630 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19631 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19632 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19635 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
19637 * posix/transbug.c: Remove executable mode.
19639 2013-06-05 Joseph Myers <joseph@codesourcery.com>
19641 * crypt/speeds.c: Remove trailing whitespace.
19642 * dlfcn/default.c: Likewise.
19643 * elf/ifuncdep2.c: Likewise.
19644 * elf/ifuncmain1.c: Likewise.
19645 * elf/ifuncmain1vis.c: Likewise.
19646 * elf/testobj.h: Likewise.
19647 * elf/tst-stackguard1.c: Likewise.
19648 * gmon/sys/gmon.h: Likewise.
19649 * hurd/hurdmsg.c: Likewise.
19650 * hurd/new-fd.c: Likewise.
19651 * hurd/ports-get.c: Likewise.
19652 * iconvdata/ibm1008_420.c: Likewise.
19653 * inet/tst-getni1.c: Likewise.
19654 * inet/tst-getni2.c: Likewise.
19655 * libio/ioungetc.c: Likewise.
19656 * libio/wfiledoalloc.c: Likewise.
19657 * manual/libm-err-tab.pl: Likewise.
19658 * math/w_dremf.c: Likewise.
19659 * misc/ftruncate.c: Likewise.
19660 * posix/bug-glob2.c: Likewise.
19661 * posix/tst-pcre.c: Likewise.
19662 * posix/wait4.c: Likewise.
19663 * resolv/README: Likewise.
19664 * resolv/res_debug.h: Likewise.
19665 * resolv/tst-inet_ntop.c: Likewise.
19666 * setjmp/bug269-setjmp.c: Likewise.
19667 * soft-fp/extended.h: Likewise.
19668 * soft-fp/op-1.h: Likewise.
19669 * soft-fp/op-2.h: Likewise.
19670 * soft-fp/op-4.h: Likewise.
19671 * soft-fp/op-8.h: Likewise.
19672 * soft-fp/testit.c: Likewise.
19673 * stdio-common/bug16.c: Likewise.
19674 * stdlib/random.c: Likewise.
19675 * sunrpc/rpcsvc/rquota.x: Likewise.
19676 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19677 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19678 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19679 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19680 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19681 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19682 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19683 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19684 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19685 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19686 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19687 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19688 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19689 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19690 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19691 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19692 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19693 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19694 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19695 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19696 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19697 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19698 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19699 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19700 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19701 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19702 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19703 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19704 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19705 * sysdeps/ieee754/s_lib_version.c: Likewise.
19706 * sysdeps/mach/hurd/check_fds.c: Likewise.
19707 * sysdeps/mach/hurd/getsockname.c: Likewise.
19708 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19709 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19710 * sysdeps/powerpc/bits/link.h: Likewise.
19711 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19712 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19713 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19714 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19715 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19716 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19717 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19718 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19719 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19720 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19721 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19722 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19723 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19724 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19725 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19726 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19727 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19728 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19729 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19730 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19731 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19732 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19733 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19734 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19735 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19736 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19737 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19738 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19739 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19740 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19741 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19742 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19743 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19744 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19745 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19746 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19747 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19748 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19749 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19750 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19751 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19752 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19753 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19754 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19755 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19756 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19757 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19758 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19759 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19760 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19761 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19762 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19763 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19764 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19765 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19766 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19767 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19768 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19769 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19770 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19771 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19772 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19773 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19774 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19775 * sysdeps/powerpc/sysdep.h: Likewise.
19776 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19777 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19778 * sysdeps/sh/dl-trampoline.S: Likewise.
19779 * sysdeps/sh/memset.S: Likewise.
19780 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19781 * sysdeps/sh/strlen.S: Likewise.
19782 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19783 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19784 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19785 * sysdeps/sparc/sparc32/rem.S: Likewise.
19786 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19787 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19788 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19789 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19790 * sysdeps/sparc/sparc32/urem.S: Likewise.
19791 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19792 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19793 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19794 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19795 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19796 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19797 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19798 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19799 * sysdeps/unix/bsd/times.c: Likewise.
19800 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19801 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19805 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19806 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19807 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19808 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19809 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19810 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19811 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19812 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19813 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19814 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19815 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19816 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19817 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19818 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19819 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19820 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19821 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19822 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19823 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19824 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19825 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19826 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19827 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19828 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19829 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19830 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19831 * sysdeps/x86_64/strcspn.S: Likewise.
19833 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19835 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19836 generated file. Regenerate properly from gen-translit.pl.
19837 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19838 locale/C-translit.h.
19840 2013-06-05 Andreas Schwab <schwab@suse.de>
19843 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19844 week as 6 instead of -1.
19845 * time/tst-strptime.c (day_tests): Add test case.
19847 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19849 * sysdeps/generic/math_private.h
19850 (libc_feholdexcept_setround_53bit): Replace with
19851 libc_feholdsetround_53bit.
19852 (libc_feupdateenv_53bit): Replace with
19853 libc_feresetround_53bit.
19854 (SET_RESTORE_ROUND_53BIT): Adjust.
19856 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19858 * string/test-strchrnul.c: Add copyright header.
19860 * posix/tst-getaddrinfo4.c: Increase test timeout.
19862 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19865 * math/libm-test.inc (MAX_EXP): Remove
19867 (ulp): Use MIN_EXP - MANT_DIG.
19868 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19870 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19872 * po/be.po: Revert last change.
19873 * po/zh_CN.po: Likewise.
19874 * po/header.pot: Likewise.
19876 2013-05-31 Joseph Myers <joseph@codesourcery.com>
19878 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19879 link-libc-deps to empty as target-specific variable.
19880 * Makerules (link-libc-args): New variable.
19881 (libc-for-link): Likewise.
19882 (link-libc-deps): Likewise.
19883 (lib%.so): Depend on $(link-libc-deps). Link with
19885 (build-module): Link with $(link-libc-args).
19886 (build-module-asneeded): Likewise.
19887 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19889 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19890 target-specific variable.
19891 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19892 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19893 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19895 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19897 ($(objpfx)libpcprofile.so): Likewise.
19898 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19900 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19901 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19902 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19904 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19905 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19906 * login/Makefile ($(objpfx)libutil.so): Likewise.
19907 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19908 * math/Makefile ($(objpfx)libm.so): Likewise.
19909 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19910 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19911 variable instead of depending directly on libc.
19912 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19913 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19915 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19917 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19918 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19919 ($(objpfx)libanl.so): Likewise.
19920 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19922 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19924 * sysdeps/i386/fpu/Makefile: Remove file.
19925 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19926 ($(objpfx)libm.so): Remove dependency on ld.so.
19928 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
19931 * nis/yp_xdr.c (XDRMAXNAME): Define.
19932 (XDRMAXRECORD): Define.
19933 (xdr_domainname): Use XDRMAXNAME.
19934 (xdr_mapname): Likewise.
19935 (xdr_peername): Likewise.
19936 (xdr_keydat): Use XDRMAXRECORD.
19937 (xdr_valdat): Likewise.
19939 2013-05-30 Jeff Law <law@redhat.com>
19942 * manual/errno.texi (ESTALE): Update to account for more than
19943 just NFS file systems.
19944 * sysdeps/gnu/errlist.c: Regenerated.
19946 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19949 * elf/Makefile (tests): Add tst-null-argv.
19950 (modules-names): Add tst-null-argv-lib.
19951 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19952 (tst-null-argv-ENV): Set environment for tst-null-argv.
19953 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19954 (RTLD_PROGNAME): New macro.
19955 * elf/tst-null-argv.c: New test case.
19956 * elf/tst-null-argv-lib.c: Library for test case.
19957 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19958 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19959 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19960 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19961 * elf/dl-init.c (call_init): Likewise.
19962 (_dl_init): Likewise.
19963 * elf/dl-load.c (print_search_path): Likewise.
19964 (_dl_map_object): Likewise.
19965 * elf/dl-lookup.c (do_lookup_x): Likewise.
19966 (add_dependency): Likewise.
19967 (_dl_lookup_symbol_x): Likewise.
19968 (_dl_debug_bindings): Likewise.
19969 * elf/dl-open.c (_dl_show_scope): Likewise.
19970 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19971 * elf/dl-version.c (match_symbol): Likewise.
19972 (_dl_check_map_versions): Likewise.
19973 * elf/rtld.c (dl_main): Likewise.
19974 (print_unresolved): Use RTLD_PROGNAME.
19975 (print_missing_version): Likewise.
19976 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19977 (elf_machine_rela): Likewise.
19978 * sysdeps/powerpc/powerpc32/dl-machine.c
19979 (__process_machine_rela): Likewise.
19980 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19982 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19984 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19986 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19987 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19989 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19991 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19993 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19995 * po/be.po: Add descriptive title.
19996 * po/zh_CN.po: Likewise.
19997 * po/header.pot: Likewise.
19999 2013-05-28 Mike Frysinger <vapier@gentoo.org>
20001 * locale/programs/locarchive.c (create_archive): Inlucde fname in
20003 (enlarge_archive): Likewise.
20005 2013-05-28 Ben North <ben@redfrontdoor.org>
20007 * manual/arith.texi (frexp): It is the magnitude of the return
20008 value which lies in [0.5, 1), not the return value itself.
20010 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20014 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
20016 * stdio-common/bug26.c (main): Correct fscanf template.
20018 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20019 declare _dl_skip_args.
20021 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20024 * manual/platform.texi: Add missing @end deftypefun.
20026 2013-05-24 Joseph Myers <joseph@codesourcery.com>
20029 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20030 bit of mantissa of 2^16382.
20031 * math/libm-test.inc (hypot_test_data): Add more tests.
20033 * math/libm-test.inc: Add drem and pow10 to list of tested
20035 (pow10_test): New function.
20036 (drem_test): Likewise.
20037 (drem_test_tonearest): Likewise.
20038 (drem_test_towardzero): Likewise.
20039 (drem_test_downward): Likewise.
20040 (drem_test_upward): Likewise.
20041 (main): Call the new functions.
20043 * math/libm-test.inc (finite_test_data): Remove.
20044 (finite_test): Run tests from isfinite_test_data.
20045 (gamma_test_data): Remove.
20046 (gamma_test): Run tests from lgamma_test_data.
20047 * sysdeps/i386/fpu/libm-test-ulps: Update.
20048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20050 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20052 * manual/platform.texi: Add PowerPC PPR function set documentation.
20053 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20056 2013-05-24 Carlos O'Donell <carlos@redhat.com>
20058 * math/libm-test.inc (MAX_EXP): Define.
20060 (ulp): New function.
20061 (check_float_internal): Use ULPDIFF.
20062 (cpow_test): Disable failing test.
20063 (check_ulp): Test ulp() implemetnation.
20064 (main): Call check_ulp before starting tests.
20066 2013-05-24 Joseph Myers <joseph@codesourcery.com>
20068 * math/gen-libm-test.pl (generate_testfile): Do not handle
20069 START_DATA and END_DATA.
20070 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20072 (acos_tonearest_test_data): Likewise.
20073 (acos_towardzero_test_data): Likewise.
20074 (acos_downward_test_data): Likewise.
20075 (acos_upward_test_data): Likewise.
20076 (acosh_test_data): Likewise.
20077 (asin_test_data): Likewise.
20078 (asin_tonearest_test_data): Likewise.
20079 (asin_towardzero_test_data): Likewise.
20080 (asin_downward_test_data): Likewise.
20081 (asin_upward_test_data): Likewise.
20082 (asinh_test_data): Likewise.
20083 (atan_test_data): Likewise.
20084 (atanh_test_data): Likewise.
20085 (atan2_test_data): Likewise.
20086 (cabs_test_data): Likewise.
20087 (cacos_test_data): Likewise.
20088 (cacosh_test_data): Likewise.
20089 (carg_test_data): Likewise.
20090 (casin_test_data): Likewise.
20091 (casinh_test_data): Likewise.
20092 (catan_test_data): Likewise.
20093 (catanh_test_data): Likewise.
20094 (cbrt_test_data): Likewise.
20095 (ccos_test_data): Likewise.
20096 (ccosh_test_data): Likewise.
20097 (ceil_test_data): Likewise.
20098 (cexp_test_data): Likewise.
20099 (cimag_test_data): Likewise.
20100 (clog_test_data): Likewise.
20101 (clog10_test_data): Likewise.
20102 (conj_test_data): Likewise.
20103 (copysign_test_data): Likewise.
20104 (cos_test_data): Likewise.
20105 (cos_tonearest_test_data): Likewise.
20106 (cos_towardzero_test_data): Likewise.
20107 (cos_downward_test_data): Likewise.
20108 (cos_upward_test_data): Likewise.
20109 (cosh_test_data): Likewise.
20110 (cosh_tonearest_test_data): Likewise.
20111 (cosh_towardzero_test_data): Likewise.
20112 (cosh_downward_test_data): Likewise.
20113 (cosh_upward_test_data): Likewise.
20114 (cpow_test_data): Likewise.
20115 (cproj_test_data): Likewise.
20116 (creal_test_data): Likewise.
20117 (csin_test_data): Likewise.
20118 (csinh_test_data): Likewise.
20119 (csqrt_test_data): Likewise.
20120 (ctan_test_data): Likewise.
20121 (ctan_tonearest_test_data): Likewise.
20122 (ctan_towardzero_test_data): Likewise.
20123 (ctan_downward_test_data): Likewise.
20124 (ctan_upward_test_data): Likewise.
20125 (ctanh_test_data): Likewise.
20126 (ctanh_tonearest_test_data): Likewise.
20127 (ctanh_towardzero_test_data): Likewise.
20128 (ctanh_downward_test_data): Likewise.
20129 (ctanh_upward_test_data): Likewise.
20130 (erf_test_data): Likewise.
20131 (erfc_test_data): Likewise.
20132 (exp_test_data): Likewise.
20133 (exp_tonearest_test_data): Likewise.
20134 (exp_towardzero_test_data): Likewise.
20135 (exp_downward_test_data): Likewise.
20136 (exp_upward_test_data): Likewise.
20137 (exp10_test_data): Likewise.
20138 (exp2_test_data): Likewise.
20139 (expm1_test_data): Likewise.
20140 (fabs_test_data): Likewise.
20141 (fdim_test_data): Likewise.
20142 (finite_test_data): Likewise.
20143 (floor_test_data): Likewise.
20144 (fma_test_data): Likewise.
20145 (fma_towardzero_test_data): Likewise.
20146 (fma_downward_test_data): Likewise.
20147 (fma_upward_test_data): Likewise.
20148 (fmax_test_data): Likewise.
20149 (fmin_test_data): Likewise.
20150 (fmod_test_data): Likewise.
20151 (fpclassify_test_data): Likewise.
20152 (frexp_test_data): Likewise.
20153 (gamma_test_data): Likewise.
20154 (hypot_test_data): Likewise.
20155 (ilogb_test_data): Likewise.
20156 (isfinite_test_data): Likewise.
20157 (isgreater_test_data): Likewise.
20158 (isgreaterequal_test_data): Likewise.
20159 (isinf_test_data): Likewise.
20160 (isless_test_data): Likewise.
20161 (islessequal_test_data): Likewise.
20162 (islessgreater_test_data): Likewise.
20163 (isnan_test_data): Likewise.
20164 (isnormal_test_data): Likewise.
20165 (issignaling_test_data): Likewise.
20166 (isunordered_test_data): Likewise.
20167 (j0_test_data): Likewise.
20168 (j1_test_data): Likewise.
20169 (jn_test_data): Likewise.
20170 (ldexp_test_data): Likewise.
20171 (lgamma_test_data): Likewise.
20172 (lrint_test_data): Likewise.
20173 (lrint_tonearest_test_data): Likewise.
20174 (lrint_towardzero_test_data): Likewise.
20175 (lrint_downward_test_data): Likewise.
20176 (lrint_upward_test_data): Likewise.
20177 (llrint_test_data): Likewise.
20178 (llrint_tonearest_test_data): Likewise.
20179 (llrint_towardzero_test_data): Likewise.
20180 (llrint_downward_test_data): Likewise.
20181 (llrint_upward_test_data): Likewise.
20182 (log_test_data): Likewise.
20183 (log10_test_data): Likewise.
20184 (log1p_test_data): Likewise.
20185 (log2_test_data): Likewise.
20186 (logb_test_data): Likewise.
20187 (logb_downward_test_data): Likewise.
20188 (lround_test_data): Likewise.
20189 (llround_test_data): Likewise.
20190 (modf_test_data): Likewise.
20191 (nearbyint_test_data): Likewise.
20192 (nextafter_test_data): Likewise.
20193 (nexttoward_test_data): Likewise.
20194 (pow_test_data): Likewise.
20195 (pow_tonearest_test_data): Likewise.
20196 (pow_towardzero_test_data): Likewise.
20197 (pow_downward_test_data): Likewise.
20198 (pow_upward_test_data): Likewise.
20199 (remainder_test_data): Likewise.
20200 (remainder_tonearest_test_data): Likewise.
20201 (remainder_towardzero_test_data): Likewise.
20202 (remainder_downward_test_data): Likewise.
20203 (remainder_upward_test_data): Likewise.
20204 (remquo_test_data): Likewise.
20205 (rint_test_data): Likewise.
20206 (rint_tonearest_test_data): Likewise.
20207 (rint_towardzero_test_data): Likewise.
20208 (rint_downward_test_data): Likewise.
20209 (rint_upward_test_data): Likewise.
20210 (round_test_data): Likewise.
20211 (scalb_test_data): Likewise.
20212 (scalbn_test_data): Likewise.
20213 (scalbln_test_data): Likewise.
20214 (signbit_test_data): Likewise.
20215 (sin_test_data): Likewise.
20216 (sin_tonearest_test_data): Likewise.
20217 (sin_towardzero_test_data): Likewise.
20218 (sin_downward_test_data): Likewise.
20219 (sin_upward_test_data): Likewise.
20220 (sincos_test_data): Likewise.
20221 (sinh_test_data): Likewise.
20222 (sinh_tonearest_test_data): Likewise.
20223 (sinh_towardzero_test_data): Likewise.
20224 (sinh_downward_test_data): Likewise.
20225 (sinh_upward_test_data): Likewise.
20226 (sqrt_test_data): Likewise.
20227 (tan_test_data): Likewise.
20228 (tan_tonearest_test_data): Likewise.
20229 (tan_towardzero_test_data): Likewise.
20230 (tan_downward_test_data): Likewise.
20231 (tan_upward_test_data): Likewise.
20232 (tanh_test_data): Likewise.
20233 (tgamma_test_data): Likewise.
20234 (trunc_test_data): Likewise.
20235 (y0_test_data): Likewise.
20236 (y1_test_data): Likewise.
20237 (yn_test_data): Likewise.
20238 (significand_test_data): Likewise.
20240 * math/gen-libm-test.pl (@functions): Remove variable.
20241 (generate_testfile): Don't handle START and END lines.
20242 * math/libm-test.inc (START): New macro.
20244 (END_COMPLEX): Likewise.
20245 (acos_test): Use END macro without arguments.
20246 (acos_test_tonearest): Likewise.
20247 (acos_test_towardzero): Likewise.
20248 (acos_test_downward): Likewise.
20249 (acos_test_upward): Likewise.
20250 (acosh_test): Likewise.
20251 (asin_test): Likewise.
20252 (asin_test_tonearest): Likewise.
20253 (asin_test_towardzero): Likewise.
20254 (asin_test_downward): Likewise.
20255 (asin_test_upward): Likewise.
20256 (asinh_test): Likewise.
20257 (atan_test): Likewise.
20258 (atanh_test): Likewise.
20259 (atan2_test): Likewise.
20260 (cabs_test): Likewise.
20261 (cacos_test): Use END_COMPLEX macro without arguments.
20262 (cacosh_test): Likewise.
20263 (carg_test): Use END macro without arguments.
20264 (casin_test): Use END_COMPLEX macro without arguments.
20265 (casinh_test): Likewise.
20266 (catan_test): Likewise.
20267 (catanh_test): Likewise.
20268 (cbrt_test): Use END macro without arguments.
20269 (ccos_test): Use END_COMPLEX macro without arguments.
20270 (ccosh_test): Likewise.
20271 (ceil_test): Use END macro without arguments.
20272 (cexp_test): Use END_COMPLEX macro without arguments.
20273 (cimag_test): Use END macro without arguments.
20274 (clog_test): Use END_COMPLEX macro without arguments.
20275 (clog10_test): Likewise.
20276 (conj_test): Likewise.
20277 (copysign_test): Use END macro without arguments.
20278 (cos_test): Likewise.
20279 (cos_test_tonearest): Likewise.
20280 (cos_test_towardzero): Likewise.
20281 (cos_test_downward): Likewise.
20282 (cos_test_upward): Likewise.
20283 (cosh_test): Likewise.
20284 (cosh_test_tonearest): Likewise.
20285 (cosh_test_towardzero): Likewise.
20286 (cosh_test_downward): Likewise.
20287 (cosh_test_upward): Likewise.
20288 (cpow_test): Use END_COMPLEX macro without arguments.
20289 (cproj_test): Likewise.
20290 (creal_test): Use END macro without arguments.
20291 (csin_test): Use END_COMPLEX macro without arguments.
20292 (csinh_test): Likewise.
20293 (csqrt_test): Likewise.
20294 (ctan_test): Likewise.
20295 (ctan_test_tonearest): Likewise.
20296 (ctan_test_towardzero): Likewise.
20297 (ctan_test_downward): Likewise.
20298 (ctan_test_upward): Likewise.
20299 (ctanh_test): Likewise.
20300 (ctanh_test_tonearest): Likewise.
20301 (ctanh_test_towardzero): Likewise.
20302 (ctanh_test_downward): Likewise.
20303 (ctanh_test_upward): Likewise.
20304 (erf_test): Use END macro without arguments.
20305 (erfc_test): Likewise.
20306 (exp_test): Likewise.
20307 (exp_test_tonearest): Likewise.
20308 (exp_test_towardzero): Likewise.
20309 (exp_test_downward): Likewise.
20310 (exp_test_upward): Likewise.
20311 (exp10_test): Likewise.
20312 (exp2_test): Likewise.
20313 (expm1_test): Likewise.
20314 (fabs_test): Likewise.
20315 (fdim_test): Likewise.
20316 (finite_test): Likewise.
20317 (floor_test): Likewise.
20318 (fma_test): Likewise.
20319 (fma_test_towardzero): Likewise.
20320 (fma_test_downward): Likewise.
20321 (fma_test_upward): Likewise.
20322 (fmax_test): Likewise.
20323 (fmin_test): Likewise.
20324 (fmod_test): Likewise.
20325 (fpclassify_test): Likewise.
20326 (frexp_test): Likewise.
20327 (gamma_test): Likewise.
20328 (hypot_test): Likewise.
20329 (ilogb_test): Likewise.
20330 (isfinite_test): Likewise.
20331 (isgreater_test): Likewise.
20332 (isgreaterequal_test): Likewise.
20333 (isinf_test): Likewise.
20334 (isless_test): Likewise.
20335 (islessequal_test): Likewise.
20336 (islessgreater_test): Likewise.
20337 (isnan_test): Likewise.
20338 (isnormal_test): Likewise.
20339 (issignaling_test): Likewise.
20340 (isunordered_test): Likewise.
20341 (j0_test): Likewise.
20342 (j1_test): Likewise.
20343 (jn_test): Likewise.
20344 (ldexp_test): Likewise.
20345 (lgamma_test): Likewise.
20346 (lrint_test): Likewise.
20347 (lrint_test_tonearest): Likewise.
20348 (lrint_test_towardzero): Likewise.
20349 (lrint_test_downward): Likewise.
20350 (lrint_test_upward): Likewise.
20351 (llrint_test): Likewise.
20352 (llrint_test_tonearest): Likewise.
20353 (llrint_test_towardzero): Likewise.
20354 (llrint_test_downward): Likewise.
20355 (llrint_test_upward): Likewise.
20356 (log_test): Likewise.
20357 (log10_test): Likewise.
20358 (log1p_test): Likewise.
20359 (log2_test): Likewise.
20360 (logb_test): Likewise.
20361 (logb_test_downward): Likewise.
20362 (lround_test): Likewise.
20363 (llround_test): Likewise.
20364 (modf_test): Likewise.
20365 (nearbyint_test): Likewise.
20366 (nextafter_test): Likewise.
20367 (nexttoward_test): Likewise.
20368 (pow_test): Likewise.
20369 (pow_test_tonearest): Likewise.
20370 (pow_test_towardzero): Likewise.
20371 (pow_test_downward): Likewise.
20372 (pow_test_upward): Likewise.
20373 (remainder_test): Likewise.
20374 (remainder_test_tonearest): Likewise.
20375 (remainder_test_towardzero): Likewise.
20376 (remainder_test_downward): Likewise.
20377 (remainder_test_upward): Likewise.
20378 (remquo_test): Likewise.
20379 (rint_test): Likewise.
20380 (rint_test_tonearest): Likewise.
20381 (rint_test_towardzero): Likewise.
20382 (rint_test_downward): Likewise.
20383 (rint_test_upward): Likewise.
20384 (round_test): Likewise.
20385 (scalb_test): Likewise.
20386 (scalbn_test): Likewise.
20387 (scalbln_test): Likewise.
20388 (signbit_test): Likewise.
20389 (sin_test): Likewise.
20390 (sin_test_tonearest): Likewise.
20391 (sin_test_towardzero): Likewise.
20392 (sin_test_downward): Likewise.
20393 (sin_test_upward): Likewise.
20394 (sincos_test): Likewise.
20395 (sinh_test): Likewise.
20396 (sinh_test_tonearest): Likewise.
20397 (sinh_test_towardzero): Likewise.
20398 (sinh_test_downward): Likewise.
20399 (sinh_test_upward): Likewise.
20400 (sqrt_test): Likewise.
20401 (tan_test): Likewise.
20402 (tan_test_tonearest): Likewise.
20403 (tan_test_towardzero): Likewise.
20404 (tan_test_downward): Likewise.
20405 (tan_test_upward): Likewise.
20406 (tanh_test): Likewise.
20407 (tgamma_test): Likewise.
20408 (trunc_test): Likewise.
20409 (y0_test): Likewise.
20410 (y1_test): Likewise.
20411 (yn_test): Likewise.
20412 (significand_test): Likewise.
20414 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
20417 * libio/genops.c (_IO_no_init): Initialize wide struct info.
20419 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
20422 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20423 __ppc_mdoio and __ppc_mdoom.
20424 * manual/platform.texi: Document new functions __ppc_yield,
20425 __ppc_mdoio and __ppc_mdoom.
20427 2013-05-22 Carlos O'Donell <carlos@redhat.com>
20429 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20430 (main): Mention "tls" pseudo-hwcap is legacy.
20431 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20433 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20435 * math/gen-libm-test.pl (parse_args): Output only string of
20436 arguments as text for test name, not full call or descriptions of
20437 tests for extra outputs.
20438 (generate_testfile): Do not pass function name to parse_args.
20439 Generate this_func variable from START.
20440 * math/libm-test.inc (struct test_f_f_data): Rename test_name
20442 (struct test_ff_f_data): Likewise.
20443 (test_ff_f_data_nexttoward): Likewise.
20444 (struct test_fi_f_data): Likewise.
20445 (struct test_fl_f_data): Likewise.
20446 (struct test_if_f_data): Likewise.
20447 (struct test_fff_f_data): Likewise.
20448 (struct test_c_f_data): Likewise.
20449 (struct test_f_f1_data): Likewise. Remove field extra_name.
20450 (struct test_fF_f1_data): Likewise.
20451 (struct test_ffI_f1_data): Likewise.
20452 (struct test_c_c_data): Rename test_name field to arg_str.
20453 (struct test_cc_c_data): Likewise.
20454 (struct test_f_i_data): Likewise.
20455 (struct test_ff_i_data): Likewise.
20456 (struct test_f_l_data): Likewise.
20457 (struct test_f_L_data): Likewise.
20458 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
20460 (COMMON_TEST_SETUP): New macro.
20461 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20462 (COMMON_TEST_CLEANUP): Likewise.
20463 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20464 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
20466 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20467 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
20469 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20470 (RUN_TEST_fff_f): Take argument string. Call new setup and
20472 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20473 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
20475 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20476 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
20478 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20479 (RUN_TEST_fF_f1): Take argument string. Call new setup and
20481 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20482 (RUN_TEST_fI_f1): Take argument string. Call new setup and
20484 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20485 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
20487 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20488 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
20490 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20491 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
20493 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20494 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
20496 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20497 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
20499 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20500 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
20502 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20503 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
20505 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20506 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
20508 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20509 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
20511 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20512 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
20514 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20515 (RUN_TEST_fFF_11): Take argument string. Call new setup and
20517 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20519 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20521 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20522 to _sifields.sigfault.
20523 (si_addr_lsb): Define new macro.
20524 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20525 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20526 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20528 2013-05-03 Carlos O'Donell <carlos at redhat.com>
20531 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20533 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20535 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20536 loading the domain.
20538 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20540 * math/gen-libm-test.pl (parse_args): Do not include expected
20541 result in test name.
20542 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20543 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20544 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20545 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20546 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20549 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20551 * benchtests/Makefile: Sort function entries.
20553 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20554 tanh, asinh, acosh, atanh.
20555 * benchtests/acos-inputs: New file.
20556 * benchtests/acosh-inputs: New file.
20557 * benchtests/asin-inputs: New file.
20558 * benchtests/asinh-inputs: New file.
20559 * benchtests/atanh-inputs: New file.
20560 * benchtests/cosh-inputs: New file.
20561 * benchtests/log-inputs: New file.
20562 * benchtests/sinh-inputs: New file.
20563 * benchtests/tanh-inputs: New file.
20565 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
20568 * posix/tst-getaddrinfo4.c: New test.
20569 * posix/Makefile (tests): Add it.
20571 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20574 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20575 when no services were used.
20576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20577 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20579 2013-05-21 Andreas Schwab <schwab@suse.de>
20582 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20583 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20585 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20586 redundant variable declarations and reallocation of buffer when
20587 parsing as IPv6 address. Always set NSS status when called from
20588 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
20589 buffer too small. Correct computation of needed size.
20590 * nss/Makefile (tests): Add test-digits-dots.
20591 * nss/test-digits-dots.c: New test.
20593 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20595 * benchtests/Makefile: Remove instructions for adding
20597 * benchtests/README: New file to explain how to execute and
20598 enhance the benchmark tests.
20600 2013-05-21 Andreas Schwab <schwab@suse.de>
20603 * setjmp/Makefile (tests): Add tst-sigsetjmp.
20604 * setjmp/tst-sigsetjmp.c: New test.
20606 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20608 * sysdeps/x86_64/memset.S (memset): New implementation.
20609 (__bzero): Likewise.
20610 (__memset_tail): New function.
20612 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20614 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20615 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20616 __memcpy_sse2_unaligned ifunc selection.
20617 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20618 Add memcpy-sse2-unaligned.S.
20619 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20620 Add: __memcpy_sse2_unaligned.
20622 2013-05-19 Joseph Myers <joseph@codesourcery.com>
20625 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20626 math_force_eval before restoring floating-point envrionment.
20627 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20628 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20630 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20632 (__nearbyintl): Use math_force_eval before restoring
20633 floating-point environment.
20634 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20636 * math/gen-libm-test.pl (special_functions): Remove.
20637 (parse_args): Don't handle TEST_extra. Handle functions with no
20639 * math/libm-test.inc (struct test_sincos_data): Replace with
20640 struct test_fFF_11_data.
20641 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20642 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20643 (sincos_test_data): Change element type to struct
20644 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20645 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20646 RUN_TEST_LOOP_sincos.
20647 * math/README.libm-test: Don't mention special handling of
20648 individual functions.
20649 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20650 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20651 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20652 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20653 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20656 * math/gen-libm-test.pl (get_variable): Remove function.
20657 (parse_args): Don't show pointer parameters to call in test
20658 names. Use "extra output N" in test names for extra outputs
20659 rather than naming variables.
20661 2013-05-18 Joseph Myers <joseph@codesourcery.com>
20664 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20665 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20666 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20668 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20670 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20673 * math/gen-libm-test.pl (@tests): Remove variable.
20674 ($count): Likewise.
20675 (new_test): Remove function.
20676 (show_exceptions): New function.
20677 (special_functions): Use show_exceptions instead of new_test.
20678 (parse_args): Likewise.
20679 (generate_testfile): Pass only function name in generated call to
20680 print_max_error or print_complex_max_error.
20681 (get_ulps): Do not handle complex tests specially.
20682 (output_test): Rename to ...
20683 (get_all_ulps_for_test): ... this. Return a string rather than
20684 printing to a file. Require ulps to be present.
20685 (output_ulps): Generate arrays rather than #defines.
20686 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20687 (struct ulp_data): New type.
20688 (BUILD_COMPLEX_ULP): Remove macro.
20689 (compare_ulp_data): New function.
20690 (find_ulps): Likewise.
20691 (find_test_ulps): Likewise.
20692 (find_function_ulps): Likewise.
20693 (find_complex_function_ulps): Likewise.
20694 (print_max_error): Determine allowed ulps using
20695 find_function_ulps.
20696 (print_complex_max_error): Determine allowed ulps using
20697 find_complex_function_ulps.
20698 (check_float_internal): Determine max ulps using find_test_ulps.
20699 (check_float): Do not take max_ulp parameter. Update call to
20700 check_float_internal.
20701 (check_complex): Likewise.
20702 (check_int): Do not take max_ulp parameter.
20703 (check_long): Likewise.
20704 (check_bool): Likewise.
20705 (check_longlong): Likewise.
20706 (struct test_f_f_data): Remove max_ulp field.
20707 (struct test_ff_f_data): Likewise.
20708 (struct test_ff_f_data_nexttoward): Likewise.
20709 (struct test_fi_f_data): Likewise.
20710 (struct test_fl_f_data): Likewise.
20711 (struct test_if_f_data): Likewise.
20712 (struct test_fff_f_data): Likewise.
20713 (struct test_c_f_data): Likewise.
20714 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20715 (struct test_fF_f1_data): Likewise.
20716 (struct test_ffI_f1_data): Likewise.
20717 (struct test_c_c_data): Remove max_ulp field.
20718 (struct test_cc_c_data): Likewise.
20719 (struct test_f_i_data): Likewise.
20720 (struct test_ff_i_data): Likewise.
20721 (struct test_f_l_data): Likewise.
20722 (struct test_f_L_data): Likewise.
20723 (struct test_sincos_data): Likewise.
20724 (RUN_TEST_f_f): Do not handle ulps.
20725 (RUN_TEST_LOOP_f_f): Likewise.
20726 (RUN_TEST_2_f): Likewise.
20727 (RUN_TEST_LOOP_2_f): Likewise.
20728 (RUN_TEST_fff_f): Likewise.
20729 (RUN_TEST_LOOP_fff_f): Likewise.
20730 (RUN_TEST_c_f): Likewise.
20731 (RUN_TEST_LOOP_c_f): Likewise.
20732 (RUN_TEST_f_f1): Likewise.
20733 (RUN_TEST_LOOP_f_f1): Likewise.
20734 (RUN_TEST_fF_f1): Likewise.
20735 (RUN_TEST_LOOP_fF_f1): Likewise.
20736 (RUN_TEST_fI_f1): Likewise.
20737 (RUN_TEST_LOOP_fI_f1): Likewise.
20738 (RUN_TEST_ffI_f1): Likewise.
20739 (RUN_TEST_LOOP_ffI_f1): Likewise.
20740 (RUN_TEST_c_c): Likewise.
20741 (RUN_TEST_LOOP_c_c): Likewise.
20742 (RUN_TEST_cc_c): Likewise.
20743 (RUN_TEST_LOOP_cc_c): Likewise.
20744 (RUN_TEST_f_i): Likewise.
20745 (RUN_TEST_LOOP_f_i): Likewise.
20746 (RUN_TEST_f_i_tg): Likewise.
20747 (RUN_TEST_LOOP_f_i_tg): Likewise.
20748 (RUN_TEST_ff_i_tg): Likewise.
20749 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20750 (RUN_TEST_f_b): Likewise.
20751 (RUN_TEST_LOOP_f_b): Likewise.
20752 (RUN_TEST_f_b_tg): Likewise.
20753 (RUN_TEST_LOOP_f_b_tg): Likewise.
20754 (RUN_TEST_f_l): Likewise.
20755 (RUN_TEST_LOOP_f_l): Likewise.
20756 (RUN_TEST_f_L): Likewise.
20757 (RUN_TEST_LOOP_f_L): Likewise.
20758 (RUN_TEST_sincos): Likewise.
20759 (RUN_TEST_LOOP_sincos): Likewise.
20761 2013-05-17 Joseph Myers <joseph@codesourcery.com>
20765 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20766 main case of finite arguments, set rounding mode to FE_TONEAREST
20767 and discard exceptions.
20768 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20770 (remainder_tonearest_test_data): New variable.
20771 (remainder_test_tonearest): New function.
20772 (remainder_towardzero_test_data): New variable.
20773 (remainder_test_towardzero): New function.
20774 (remainder_downward_test_data): New variable.
20775 (remainder_test_downward): New function.
20776 (remainder_upward_test_data): New variable.
20777 (remainder_test_upward): New function.
20778 (main): Call the new test functions.
20780 * math/libm-test.inc (struct test_f_f1_data): Remove field
20782 (struct test_fF_f1_data): Likewise.
20783 (struct test_ffI_f1_data): Likewise.
20784 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20785 based on value of EXTRA_EXPECTED.
20786 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20787 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20788 EXTRA_VAR based on value of EXTRA_EXPECTED.
20789 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20790 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20791 EXTRA_VAR based on value of EXTRA_EXPECTED.
20792 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20793 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20794 EXTRA_VAR based on value of EXTRA_EXPECTED.
20795 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20796 * math/gen-libm-test.pl (parse_args): Don't output initializers
20797 for extra output values.
20799 * math/libm-test.inc (check_int): Expect result to be exactly
20800 equal to expected value and do not handle ulps.
20801 (check_long): Likewise.
20802 (check_longlong): Likewise.
20804 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20806 (cimag_test_data): Likewise.
20807 (conj_test_data): Likewise.
20808 (copysign_test_data): Likewise.
20809 (cproj_test_data): Likewise.
20810 (creal_test_data): Likewise.
20811 (fabs_test_data): Likewise.
20812 (fdim_test_data): Likewise.
20813 (finite_test_data): Likewise.
20814 (floor_test_data): Likewise.
20815 (fmax_test_data): Likewise.
20816 (fmin_test_data): Likewise.
20817 (fmod_test_data): Likewise.
20818 (fpclassify_test_data): Likewise.
20819 (frexp_test_data): Likewise.
20820 (ilogb_test_data): Likewise.
20821 (isfinite_test_data): Likewise.
20822 (isgreater_test_data): Likewise.
20823 (isgreaterequal_test_data): Likewise.
20824 (isinf_test_data): Likewise.
20825 (isless_test_data): Likewise.
20826 (islessequal_test_data): Likewise.
20827 (islessgreater_test_data): Likewise.
20828 (isnan_test_data): Likewise.
20829 (isnormal_test_data): Likewise.
20830 (issignaling_test_data): Likewise.
20831 (isunordered_test_data): Likewise.
20832 (ldexp_test_data): Likewise.
20833 (lrint_test_data): Likewise.
20834 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20835 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20836 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20837 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20838 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20839 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20841 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20842 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20843 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20844 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20846 (lrint_downward_test_data): Test for "inexact" exceptions.
20847 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20848 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20849 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20851 (lrint_upward_test_data): Test for "inexact" exceptions.
20852 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20854 (llrint_test_data): Test for "inexact" exceptions.
20855 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20856 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20857 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20858 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20859 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20860 (llrint_downward_test_data): Test for "inexact" exceptions.
20861 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20862 (llrint_upward_test_data): Test for "inexact" exceptions.
20863 (logb_test_data): Likewise.
20864 (logb_downward_test_data): Likewise.
20865 (nextafter_test_data): Likewise.
20866 (nexttoward_test_data): Likewise.
20867 (remainder_test_data): Likewise.
20868 (remquo_test_data): Likewise.
20869 (scalbn_test_data): Likewise.
20870 (scalbln_test_data): Likewise.
20871 (signbit_test_data): Likewise.
20872 (sqrt_test_data): Likewise.
20873 (significand_test_data): Likewise.
20875 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20878 * benchtests/bench-modf.c (struct args): Mark arg0 as
20880 * scripts/bench.pl: Mark members of struct args as volatile.
20882 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20885 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20886 negative infinity on POWER6 or lower.
20887 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20889 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20892 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20893 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20894 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20895 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20896 (_FP_SETQNAN): New macro.
20897 (_FP_SETQNAN_SEMIRAW): Likewise.
20898 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20899 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20900 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20901 (FP_EXTEND): Use _FP_FRAC_SNANP.
20902 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20903 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20905 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20907 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20910 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20912 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20913 with DIVIDE_BY_ZERO_EXCEPTION.
20914 (gamma_test_data): Likewise.
20915 (lgamma_test_data): Likewise.
20916 (log_test_data): Likewise.
20917 (log10_test_data): Likewise.
20918 (log2_test_data): Likewise.
20919 (tgamma_test_data): Likewise.
20921 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20922 (acos_test_tonearest): Likewise.
20923 (acos_test_towardzero): Likewise.
20924 (acos_test_downward): Likewise.
20925 (acos_test_upward): Likewise.
20926 (acosh_test): Likewise.
20927 (asin_test): Likewise.
20928 (asin_test_tonearest): Likewise.
20929 (asin_test_towardzero): Likewise.
20930 (asin_test_downward): Likewise.
20931 (asin_test_upward): Likewise.
20932 (asinh_test): Likewise.
20933 (atan_test): Likewise.
20934 (atanh_test): Likewise.
20935 (atan2_test): Likewise.
20936 (cabs_test): Likewise.
20937 (cacos_test): Likewise.
20938 (cacosh_test): Likewise.
20939 (casin_test): Likewise.
20940 (casinh_test): Likewise.
20941 (catan_test): Likewise.
20942 (catanh_test): Likewise.
20943 (cbrt_test): Likewise.
20944 (ccos_test): Likewise.
20945 (ccosh_test): Likewise.
20946 (cexp_test): Likewise.
20947 (clog_test): Likewise.
20948 (clog10_test): Likewise.
20949 (cos_test): Likewise.
20950 (cos_test_tonearest): Likewise.
20951 (cos_test_towardzero): Likewise.
20952 (cos_test_downward): Likewise.
20953 (cos_test_upward): Likewise.
20954 (cosh_test): Likewise.
20955 (cosh_test_tonearest): Likewise.
20956 (cosh_test_towardzero): Likewise.
20957 (cosh_test_downward): Likewise.
20958 (cosh_test_upward): Likewise.
20959 (cpow_test): Likewise.
20960 (csin_test): Likewise.
20961 (csinh_test): Likewise.
20962 (csqrt_test): Likewise.
20963 (ctan_test): Likewise.
20964 (ctan_test_tonearest): Likewise.
20965 (ctan_test_towardzero): Likewise.
20966 (ctan_test_downward): Likewise.
20967 (ctan_test_upward): Likewise.
20968 (ctanh_test): Likewise.
20969 (ctanh_test_tonearest): Likewise.
20970 (ctanh_test_towardzero): Likewise.
20971 (ctanh_test_downward): Likewise.
20972 (ctanh_test_upward): Likewise.
20973 (erf_test): Likewise.
20974 (erfc_test): Likewise.
20975 (exp_test): Likewise.
20976 (exp_test_tonearest): Likewise.
20977 (exp_test_towardzero): Likewise.
20978 (exp_test_downward): Likewise.
20979 (exp_test_upward): Likewise.
20980 (exp10_test): Likewise.
20981 (exp2_test): Likewise.
20982 (expm1_test): Likewise.
20983 (fmod_test): Likewise.
20984 (gamma_test): Likewise.
20985 (hypot_test): Likewise.
20986 (j0_test): Likewise.
20987 (j1_test): Likewise.
20988 (jn_test): Likewise.
20989 (lgamma_test): Likewise.
20990 (log_test): Likewise.
20991 (log10_test): Likewise.
20992 (log1p_test): Likewise.
20993 (log2_test): Likewise.
20994 (logb_test_downward): Likewise.
20995 (pow_test): Likewise.
20996 (pow_test_tonearest): Likewise.
20997 (pow_test_towardzero): Likewise.
20998 (pow_test_downward): Likewise.
20999 (pow_test_upward): Likewise.
21000 (remainder_test): Likewise.
21001 (remquo_test): Likewise.
21002 (sin_test): Likewise.
21003 (sin_test_tonearest): Likewise.
21004 (sin_test_towardzero): Likewise.
21005 (sin_test_downward): Likewise.
21006 (sin_test_upward): Likewise.
21007 (sincos_test): Likewise.
21008 (sinh_test): Likewise.
21009 (sinh_test_tonearest): Likewise.
21010 (sinh_test_towardzero): Likewise.
21011 (sinh_test_downward): Likewise.
21012 (sinh_test_upward): Likewise.
21013 (sqrt_test): Likewise.
21014 (tan_test): Likewise.
21015 (tan_test_tonearest): Likewise.
21016 (tan_test_towardzero): Likewise.
21017 (tan_test_downward): Likewise.
21018 (tan_test_upward): Likewise.
21019 (tanh_test): Likewise.
21020 (tgamma_test): Likewise.
21021 (y0_test): Likewise.
21022 (y1_test): Likewise.
21023 (yn_test): Likewise.
21025 * math/gen-libm-test.pl (adjust_arg): Remove function.
21026 (special_function): Remove argument $in_func. Only handle
21027 generating output for tables of tests, not inside functions.
21028 (parse_args): Likewise.
21029 (generate_testfile): Remove variable $in_func. Update call to
21031 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21032 (MINUS_ZERO_INIT): Rename macro to minus_zero.
21033 (PLUS_INFTY_INIT): Rename macro to plus_infty.
21034 (MINUS_INFTY_INIT): Rename macro to minus_infty.
21035 (QNAN_VALUE_INIT): Rename macro to qnan_value.
21036 (MAX_VALUE_INIT): Rename macro to max_value.
21037 (MIN_VALUE_INIT): Rename macro to min_value.
21038 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21039 (plus_zero): Remove variable.
21040 (minus_zero): Likewise.
21041 (plus_infty): Likewise.
21042 (minus_infty): Likewise.
21043 (qnan_value): Likewise.
21044 (max_value): Likewise.
21045 (min_value): Likewise.
21046 (min_subnorm_value): Likewise.
21048 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21050 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21051 uint64_t or uint32_t usage.
21052 * crypt/sha256-block.c: Likewise.
21053 * crypt/sha256-crypt.c: Likewise.
21054 * crypt/sha256.c: Likewise.
21055 * crypt/sha512-block.c: Likewise.
21056 * crypt/sha512-crypt.c: Likewise.
21057 * crypt/sha512.c: Likewise.
21058 * debug/backtrace-tst.c: Likewise.
21059 * debug/pcprofiledump.c: Likewise.
21060 * elf/cache.c: Likewise.
21061 * elf/dl-cache.c: Likewise.
21062 * elf/dl-misc.c: Likewise.
21063 * elf/dl-profile.c: Likewise.
21064 * elf/dl-support.c: Likewise.
21065 * elf/ldconfig.c: Likewise.
21066 * elf/sprof.c: Likewise.
21067 * iconv/dummy-repertoire.c: Likewise.
21068 * iconv/iconv_charmap.c: Likewise.
21069 * iconv/skeleton.c: Likewise.
21070 * iconvdata/8bit-generic.c: Likewise.
21071 * iconvdata/cp737.h: Likewise.
21072 * iconvdata/cp775.h: Likewise.
21073 * iconvdata/ibm1008.h: Likewise.
21074 * iconvdata/ibm1025.h: Likewise.
21075 * iconvdata/ibm1046.h: Likewise.
21076 * iconvdata/ibm1097.h: Likewise.
21077 * iconvdata/ibm1112.h: Likewise.
21078 * iconvdata/ibm1122.h: Likewise.
21079 * iconvdata/ibm1123.h: Likewise.
21080 * iconvdata/ibm1124.h: Likewise.
21081 * iconvdata/ibm1129.h: Likewise.
21082 * iconvdata/ibm1130.h: Likewise.
21083 * iconvdata/ibm1132.h: Likewise.
21084 * iconvdata/ibm1133.h: Likewise.
21085 * iconvdata/ibm1137.h: Likewise.
21086 * iconvdata/ibm1140.h: Likewise.
21087 * iconvdata/ibm1141.h: Likewise.
21088 * iconvdata/ibm1142.h: Likewise.
21089 * iconvdata/ibm1143.h: Likewise.
21090 * iconvdata/ibm1144.h: Likewise.
21091 * iconvdata/ibm1145.h: Likewise.
21092 * iconvdata/ibm1146.h: Likewise.
21093 * iconvdata/ibm1147.h: Likewise.
21094 * iconvdata/ibm1148.h: Likewise.
21095 * iconvdata/ibm1149.h: Likewise.
21096 * iconvdata/ibm1153.h: Likewise.
21097 * iconvdata/ibm1154.h: Likewise.
21098 * iconvdata/ibm1155.h: Likewise.
21099 * iconvdata/ibm1156.h: Likewise.
21100 * iconvdata/ibm1157.h: Likewise.
21101 * iconvdata/ibm1158.h: Likewise.
21102 * iconvdata/ibm1160.h: Likewise.
21103 * iconvdata/ibm1161.h: Likewise.
21104 * iconvdata/ibm1162.h: Likewise.
21105 * iconvdata/ibm1163.h: Likewise.
21106 * iconvdata/ibm1164.h: Likewise.
21107 * iconvdata/ibm1166.h: Likewise.
21108 * iconvdata/ibm1167.h: Likewise.
21109 * iconvdata/ibm12712.h: Likewise.
21110 * iconvdata/ibm1390.h: Likewise.
21111 * iconvdata/ibm1399.h: Likewise.
21112 * iconvdata/ibm16804.h: Likewise.
21113 * iconvdata/ibm4517.h: Likewise.
21114 * iconvdata/ibm4899.h: Likewise.
21115 * iconvdata/ibm4909.h: Likewise.
21116 * iconvdata/ibm4971.h: Likewise.
21117 * iconvdata/ibm5347.h: Likewise.
21118 * iconvdata/ibm803.h: Likewise.
21119 * iconvdata/ibm856.h: Likewise.
21120 * iconvdata/ibm901.h: Likewise.
21121 * iconvdata/ibm902.h: Likewise.
21122 * iconvdata/ibm9030.h: Likewise.
21123 * iconvdata/ibm9066.h: Likewise.
21124 * iconvdata/ibm921.h: Likewise.
21125 * iconvdata/ibm922.h: Likewise.
21126 * iconvdata/ibm9448.h: Likewise.
21127 * iconvdata/isiri-3342.h: Likewise.
21128 * iconvdata/jis0201.h: Likewise.
21129 * include/link.h: Likewise.
21130 * include/netdb.h: Likewise.
21131 * inet/check_native.c: Likewise.
21132 * inet/check_pf.c: Likewise.
21133 * inet/getipv4sourcefilter.c: Likewise.
21134 * inet/getnameinfo.c: Likewise.
21135 * inet/getsourcefilter.c: Likewise.
21136 * inet/htonl.c: Likewise.
21137 * inet/setipv4sourcefilter.c: Likewise.
21138 * inet/setsourcefilter.c: Likewise.
21139 * inet/test-inet6_opt.c: Likewise.
21140 * inet/tst-network.c: Likewise.
21141 * locale/C-collate.c: Likewise.
21142 * locale/C-ctype.c: Likewise.
21143 * locale/C-time.c: Likewise.
21144 * locale/C-translit.h: Likewise.
21145 * locale/loadarchive.c: Likewise.
21146 * locale/programs/3level.h: Likewise.
21147 * locale/programs/charmap.c: Likewise.
21148 * locale/programs/charmap.h: Likewise.
21149 * locale/programs/ld-address.c: Likewise.
21150 * locale/programs/ld-collate.c: Likewise.
21151 * locale/programs/ld-ctype.c: Likewise.
21152 * locale/programs/ld-identification.c: Likewise.
21153 * locale/programs/ld-measurement.c: Likewise.
21154 * locale/programs/ld-messages.c: Likewise.
21155 * locale/programs/ld-monetary.c: Likewise.
21156 * locale/programs/ld-name.c: Likewise.
21157 * locale/programs/ld-numeric.c: Likewise.
21158 * locale/programs/ld-paper.c: Likewise.
21159 * locale/programs/ld-telephone.c: Likewise.
21160 * locale/programs/ld-time.c: Likewise.
21161 * locale/programs/linereader.c: Likewise.
21162 * locale/programs/locale.c: Likewise.
21163 * locale/programs/locarchive.c: Likewise.
21164 * locale/programs/locfile.h: Likewise.
21165 * locale/programs/repertoire.c: Likewise.
21166 * locale/programs/simple-hash.c: Likewise.
21167 * locale/programs/simple-hash.h: Likewise.
21168 * malloc/memusage.c: Likewise.
21169 * malloc/memusagestat.c: Likewise.
21170 * nis/nis_defaults.c: Likewise.
21171 * nis/nis_hash.c: Likewise.
21172 * nis/nis_print.c: Likewise.
21173 * nis/nis_xdr.c: Likewise.
21174 * nscd/connections.c: Likewise.
21175 * nscd/hstcache.c: Likewise.
21176 * nscd/nscd_gethst_r.c: Likewise.
21177 * nscd/nscd_getserv_r.c: Likewise.
21178 * nscd/nscd_helper.c: Likewise.
21179 * nscd/servicescache.c: Likewise.
21180 * nss/makedb.c: Likewise.
21181 * nss/nss_db/db-XXX.c: Likewise.
21182 * nss/nss_db/db-initgroups.c: Likewise.
21183 * nss/nss_db/db-netgrp.c: Likewise.
21184 * nss/nss_files/files-network.c: Likewise.
21185 * nss/nss_files/files-parse.c: Likewise.
21186 * posix/bug-regex5.c: Likewise.
21187 * posix/fnmatch_loop.c: Likewise.
21188 * posix/regcomp.c: Likewise.
21189 * posix/regexec.c: Likewise.
21190 * posix/tst-rfc3484-2.c: Likewise.
21191 * posix/tst-rfc3484-3.c: Likewise.
21192 * posix/tst-rfc3484.c: Likewise.
21193 * resolv/nss_dns/dns-canon.c: Likewise.
21194 * resolv/nss_dns/dns-network.c: Likewise.
21195 * resolv/res_init.c: Likewise.
21196 * resolv/res_mkquery.c: Likewise.
21197 * resolv/tst-aton.c: Likewise.
21198 * stdlib/cxa_atexit.c: Likewise.
21199 * stdlib/cxa_finalize.c: Likewise.
21200 * stdlib/gen-fpioconst.c: Likewise.
21201 * stdlib/strtol_l.c: Likewise.
21202 * string/tst-endian.c: Likewise.
21203 * sunrpc/auth_des.c: Likewise.
21204 * sunrpc/clnt_udp.c: Likewise.
21205 * sunrpc/rtime.c: Likewise.
21206 * sunrpc/svcauth_des.c: Likewise.
21207 * sunrpc/xdr.c: Likewise.
21208 * sunrpc/xdr_intXX_t.c: Likewise.
21209 * sunrpc/xdr_rec.c: Likewise.
21210 * sysdeps/generic/ldconfig.h: Likewise.
21211 * sysdeps/generic/ldsodefs.h: Likewise.
21212 * sysdeps/generic/memusage.h: Likewise.
21213 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21214 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21215 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21216 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21217 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21218 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21219 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21220 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21221 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21222 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21223 * sysdeps/posix/getaddrinfo.c: Likewise.
21224 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21225 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21226 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21227 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21228 * sysdeps/powerpc/test-gettimebase.c: Likewise.
21229 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21230 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21231 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21232 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21233 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21234 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21235 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21236 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21237 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21238 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21239 * sysdeps/x86_64/dl-tls.h: Likewise.
21240 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21241 * time/alt_digit.c: Likewise.
21242 * time/era.c: Likewise.
21243 * wcsmbs/tst-c16c32-1.c: Likewise.
21245 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21247 * math/libm-test.inc (struct test_sincos_data): New type.
21248 (RUN_TEST_LOOP_sincos): New macro.
21249 (sincos_test_data): New variable.
21250 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21252 2013-05-16 Richard Henderson <rth@redhat.com>
21254 * math/atest-exp2.c (LIMB64): New macro.
21255 (CONSTSZ): New macro.
21256 (mp_exp1, mp_exp_m1, mp_log2): New variables.
21258 (print_mpn_fp): ... to function scope.
21259 (read_mpn_hex): Remove.
21260 (get_log2): Remove.
21261 (exp2_mpn): Use mp_log2.
21262 (main): Use mp_exp1.
21264 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21266 * math/libm-test.inc: Remove comment about not testing "inexact"
21268 (INEXACT_EXCEPTION): New macro.
21269 (NO_INEXACT_EXCEPTION): Likewise.
21270 (INVALID_EXCEPTION_OK): Update value.
21271 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21272 (OVERFLOW_EXCEPTION_OK): Likewise.
21273 (UNDERFLOW_EXCEPTION_OK): Likewise.
21274 (IGNORE_ZERO_INF_SIGN): Likewise.
21275 (ERRNO_UNCHANGED): Likewise.
21276 (ERRNO_EDOM): Likewise.
21277 (ERRNO_ERANGE): Likewise.
21278 (test_exceptions): Handle testing "inexact" exceptions.
21279 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21280 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21281 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21282 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21284 (rint_towardzero_test_data): Likewise.
21285 (rint_downward_test_data): Likewise.
21286 (rint_upward_test_data): Likewise.
21288 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21289 with OVERFLOW_EXCEPTION.
21290 (exp10_test_data): Likewise.
21291 (exp2_test_data): Likewise.
21292 (expm1_test_data): Likewise.
21293 (lgamma_test_data): Likewise.
21294 (pow_test_data): Likewise.
21295 (tgamma_test_data): Likewise.
21296 (yn_test_data): Remove duplicate test of overflow.
21298 * math/libm-test.inc (struct test_cc_c_data): New type.
21299 (RUN_TEST_LOOP_cc_c): New macro.
21300 (cpow_test_data): New variable.
21301 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21303 * math/libm-test.inc (struct test_f_L_data): New type.
21304 (RUN_TEST_LOOP_f_L): New macro.
21305 (llrint_test_data): New variable.
21306 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21307 (llrint_tonearest_test_data): New variable.
21308 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21309 (llrint_towardzero_test_data): New variable.
21310 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21311 (llrint_downward_test_data): New variable.
21312 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21313 (llrint_upward_test_data): New variable.
21314 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21315 (llround_test_data): New variable.
21316 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21318 2013-05-13 Peter Collingbourne <pcc@google.com>
21320 * math/atest-exp2.c (get_log2): Remove const attribute.
21322 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21324 * math/libm-test.inc (struct test_f_l_data): New type.
21325 (RUN_TEST_LOOP_f_l): New macro.
21326 (lrint_test_data): New variable.
21327 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21328 (lrint_tonearest_test_data): New variable.
21329 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21330 (lrint_towardzero_test_data): New variable.
21331 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21332 (lrint_downward_test_data): New variable.
21333 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21334 (lrint_upward_test_data): New variable.
21335 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21336 (lround_test_data): New variable.
21337 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21339 2013-05-15 Peter Collingbourne <pcc@google.com>
21341 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21342 (EXTRACT_WORDS64) Use where appropriate.
21343 (INSERT_WORDS64) Likewise.
21345 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21346 constraints with x constraints.
21347 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21349 * malloc/obstack.c (_obstack_compat): Add initializer.
21351 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
21353 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21354 si_trapno and add si_addr_lsb to _sifields.sigfault.
21355 (si_trapno): Remove macro.
21356 (si_addr_lsb): Define new macro.
21357 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21359 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21361 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21362 instead of TEST_f_l.
21363 (llrint_test_tonearest): Likewise.
21364 (llrint_test_towardzero): Likewise.
21365 (llrint_test_downward): Likewise.
21366 (llrint_test_upward): Likewise.
21367 (llround_test): Likewise.
21369 * math/libm-test.inc (struct test_f_i_data): Add comment.
21370 (RUN_TEST_LOOP_f_b): New macro.
21371 (RUN_TEST_LOOP_f_b_tg): Likewise.
21372 (finite_test_data): New variable.
21373 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21374 (isfinite_test_data): New variable.
21375 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21376 (isinf_test_data): New variable.
21377 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21378 (isnan_test_data): New variable.
21379 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21380 (isnormal_test_data): New variable.
21381 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21382 (issignaling_test_data): New variable.
21383 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21384 (signbit_test_data): New variable.
21385 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21387 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21388 with INVALID_EXCEPTION.
21389 (acosh_test_data): Likewise.
21390 (asin_test_data): Likewise.
21391 (atanh_test_data): Likewise.
21392 (fmod_test_data): Likewise.
21393 (log_test_data): Likewise.
21394 (log10_test_data): Likewise.
21395 (log2_test_data): Likewise.
21396 (pow_test_data): Likewise.
21397 (sqrt_test_data): Likewise.
21398 (y0_test_data): Likewise.
21399 (y1_test_data): Likewise.
21400 (yn_test_data): Likewise.
21402 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21405 * math/libm-test.inc (struct test_ff_i_data): New type.
21406 (RUN_TEST_LOOP_ff_i_tg): New macro.
21407 (isgreater_test_data): New variable.
21408 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21409 (isgreaterequal_test_data): New variable.
21410 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21411 (isless_test_data): New variable.
21412 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21413 (islessequal_test_data): New variable.
21414 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21415 (islessgreater_test_data): New variable.
21416 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21417 (isunordered_test_data): New variable.
21418 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21420 2013-05-14 David S. Miller <davem@davemloft.net>
21422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21424 2013-05-14 Joseph Myers <joseph@codesourcery.com>
21426 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21428 * math/libm-test.inc (struct test_fF_f1_data): Change type of
21430 (struct test_f_i_data): Change type of max_ulp to int.
21432 * math/libm-test.inc (test_ffI_f1_data): New type.
21433 (RUN_TEST_LOOP_ffI_f1): New macro.
21434 (remquo_test_data): New variable.
21435 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21437 * setjmp/tst-setjmp-fp.c: New file.
21438 * setjmp/Makefile (tests): Add tst-setjmp-fp.
21439 (link-libm): New variable.
21440 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21442 * math/libm-test.inc (struct test_f_i_data): New type.
21443 (RUN_TEST_LOOP_f_i): New macro.
21444 (RUN_TEST_LOOP_f_i_tg): Likewise.
21445 (fpclassify_test_data): New variable.
21446 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21447 (ilogb_test_data): New variable.
21448 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21450 * math/libm-test.inc (scalbln_test): Correct function name in END
21453 * math/libm-test.inc (struct test_f_f1_data): Add comment.
21454 (RUN_TEST_LOOP_fI_f1): New macro.
21455 (frexp_test_data): New variable.
21456 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21458 * math/libm-test.inc (struct test_fF_f1_data): New type.
21459 (RUN_TEST_LOOP_fF_f1): New macro.
21460 (modf_test_data): New variable.
21461 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21463 * math/libm-test.inc (struct test_f_f1_data): New type.
21464 (RUN_TEST_LOOP_f_f1): New macro.
21465 (gamma_test_data): New variable.
21466 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21467 (lgamma_test_data): New variable.
21468 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21470 2013-05-13 Carlos O'Donell <carlos@redhat.com>
21472 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21473 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21474 (main): Comment "tls" pseudo-hwcap.
21476 2013-05-13 Joseph Myers <joseph@codesourcery.com>
21478 * math/libm-test.inc (struct test_fl_f_data): New type.
21479 (RUN_TEST_LOOP_fl_f): New variable.
21480 (scalbln_test_data): New variable.
21481 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21483 * math/libm-test.inc (struct test_fi_f_data): New type.
21484 (RUN_TEST_LOOP_fi_f): New macro.
21485 (ldexp_test_data): New variable.
21486 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21487 (scalbn_test_data): New variable.
21488 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21490 * math/libm-test.inc (struct test_c_f_data): New type.
21491 (RUN_TEST_LOOP_c_f): New macro.
21492 (cabs_test_data): New variable.
21493 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21494 (carg_test_data): New variable.
21495 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21496 (cimag_test_data): New variable.
21497 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21498 (creal_test_data): New variable.
21499 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21501 * math/libm-test.inc (struct test_if_f_data): New type.
21502 (RUN_TEST_LOOP_if_f): New macro.
21503 (jn_test_data): New variable.
21504 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21505 (yn_test_data): New variable.
21506 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21508 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21510 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21512 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21513 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21515 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21517 * benchtests/Makefile (CPPFLAGS-nonlib): Add
21518 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21519 (bench-deps): Add bench-timing.h.
21520 * benchtests-bench-skeleton.c: Include bench-timing.h.
21521 (main): Use TIMING_* macros instead of clock_gettime.
21522 * benchtests/bench-timing.h: New file.
21525 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21526 Renamed from _LIB_VERSION.
21527 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21529 2013-05-12 Joseph Myers <joseph@codesourcery.com>
21531 * math/libm-test.inc (struct test_fff_f_data): New type.
21532 (RUN_TEST_LOOP_fff_f): New macro.
21533 (fma_test_data): New variable.
21534 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21535 (fma_towardzero_test_data): New variable.
21536 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21537 (fma_downward_test_data): New variable.
21538 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21539 (fma_upward_test_data): New variable.
21540 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21542 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21543 (struct test_c_c_data): New type.
21544 (RUN_TEST_LOOP_c_c): New macro.
21545 (cacos_test_data): New variable.
21546 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21547 (cacosh_test_data): New variable.
21548 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21549 (casin_test_data): New variable.
21550 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21551 (casinh_test_data): New variable.
21552 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21553 (catan_test_data): New variable.
21554 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21555 (catanh_test_data): New variable.
21556 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21557 (ccos_test_data): New variable.
21558 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21559 (ccosh_test_data): New variable.
21560 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21561 (cexp_test_data): New variable.
21562 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21563 (clog_test_data): New variable.
21564 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21565 (clog10_test_data): New variable.
21566 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21567 (conj_test_data): New variable.
21568 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21569 (cproj_test_data): New variable.
21570 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21571 (csin_test_data): New variable.
21572 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21573 (csinh_test_data): New variable.
21574 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21575 (csqrt_test_data): New variable.
21576 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21577 (ctan_test_data): New variable.
21578 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21579 (ctan_tonearest_test_data): New variable.
21580 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21581 (ctan_towardzero_test_data): New variable.
21582 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21583 (ctan_downward_test_data): New variable.
21584 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21585 (ctan_upward_test_data): New variable.
21586 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21587 (ctanh_test_data): New variable.
21588 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21589 (ctanh_tonearest_test_data): New variable.
21590 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21591 (ctanh_towardzero_test_data): New variable.
21592 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21593 (ctanh_downward_test_data): New variable.
21594 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21595 (ctanh_upward_test_data): New variable.
21596 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21597 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21600 * math/libm-test.inc (struct test_ff_f_data): New type.
21601 (struct test_ff_f_data_nexttoward): Likewise.
21602 (RUN_TEST_LOOP_2_f): New macro.
21603 (RUN_TEST_LOOP_ff_f): Likewise.
21604 (atan2_test_data): New variable.
21605 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21606 (copysign_test_data): New variable.
21607 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21608 (fdim_test_data): New variable.
21609 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21610 (fmax_test_data): New variable.
21611 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21612 (fmin_test_data): New variable.
21613 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21614 (fmod_test_data): New variable.
21615 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21616 (hypot_test_data): New variable.
21617 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21618 (nextafter_test_data): New variable.
21619 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21620 (nexttoward_test_data): New variable.
21621 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21622 (pow_test_data): New variable.
21623 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21624 (pow_tonearest_test_data): New variable.
21625 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21626 (pow_towardzero_test_data): New variable.
21627 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21628 (pow_downward_test_data): New variable.
21629 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21630 (pow_upward_test_data): New variable.
21631 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21632 (remainder_test_data): New variable.
21633 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21634 (scalb_test_data): New variable.
21635 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21636 * sysdeps/i386/fpu/libm-test-ulps: Update.
21638 2013-05-11 Joseph Myers <joseph@codesourcery.com>
21640 * math/libm-test.inc (fma_test): Use max_value instead of local
21642 (nextafter_test): Likewise.
21644 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21645 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21646 (acos_downward_test_data): New variable.
21647 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21648 (acos_upward_test_data): New variable.
21649 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21650 (acosh_test_data): New variable.
21651 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21652 (asin_test_data): New variable.
21653 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21654 (asin_tonearest_test_data): New variable.
21655 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21656 (asin_towardzero_test_data): New variable.
21657 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21658 (asin_downward_test_data): New variable.
21659 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21660 (asin_upward_test_data): New variable.
21661 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21662 (asinh_test_data): New variable.
21663 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21664 (atan_test_data): New variable.
21665 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21666 (atanh_test_data): New variable.
21667 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21668 (cbrt_test_data): New variable.
21669 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21670 (ceil_test_data): New variable.
21671 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21672 (cos_test_data): New variable.
21673 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21674 (cos_tonearest_test_data): New variable.
21675 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21676 (cos_towardzero_test_data): New variable.
21677 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21678 (cos_downward_test_data): New variable.
21679 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21680 (cos_upward_test_data): New variable.
21681 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21682 (cosh_test_data): New variable.
21683 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21684 (cosh_tonearest_test_data): New variable.
21685 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21686 (cosh_towardzero_test_data): New variable.
21687 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21688 (cosh_downward_test_data): New variable.
21689 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21690 (cosh_upward_test_data): New variable.
21691 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21692 (erf_test_data): New variable.
21693 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21694 (erfc_test_data): New variable.
21695 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21696 (exp_test_data): New variable.
21697 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21698 (exp_tonearest_test_data): New variable.
21699 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21700 (exp_towardzero_test_data): New variable.
21701 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21702 (exp_downward_test_data): New variable.
21703 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21704 (exp_upward_test_data): New variable.
21705 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21706 (exp10_test_data): New variable.
21707 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21708 (exp2_test_data): New variable.
21709 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21710 (expm1_test_data): New variable.
21711 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21712 (fabs_test_data): New variable.
21713 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21714 (floor_test_data): New variable.
21715 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21716 (j0_test_data): New variable.
21717 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21718 (j1_test_data): New variable.
21719 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21720 (log_test_data): New variable.
21721 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21722 (log10_test_data): New variable.
21723 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21724 (log1p_test_data): New variable.
21725 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21726 (log2_test_data): New variable.
21727 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21728 (logb_test_data): New variable.
21729 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21730 (logb_downward_test_data): New variable.
21731 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21732 (nearbyint_test_data): New variable.
21733 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21734 (rint_test_data): New variable.
21735 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21736 (rint_tonearest_test_data): New variable.
21737 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21738 (rint_towardzero_test_data): New variable.
21739 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21740 (rint_downward_test_data): New variable.
21741 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21742 (rint_upward_test_data): New variable.
21743 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21744 (round_test_data): New variable.
21745 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21746 (sin_test_data): New variable.
21747 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21748 (sin_tonearest_test_data): New variable.
21749 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21750 (sin_towardzero_test_data): New variable.
21751 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21752 (sin_downward_test_data): New variable.
21753 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21754 (sin_upward_test_data): New variable.
21755 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21756 (sinh_test_data): New variable.
21757 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21758 (sinh_tonearest_test_data): New variable.
21759 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21760 (sinh_towardzero_test_data): New variable.
21761 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21762 (sinh_downward_test_data): New variable.
21763 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21764 (sinh_upward_test_data): New variable.
21765 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21766 (sqrt_test_data): New variable.
21767 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21768 (tan_test_data): New variable.
21769 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21770 (tan_tonearest_test_data): New variable.
21771 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21772 (tan_towardzero_test_data): New variable.
21773 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21774 (tan_downward_test_data): New variable.
21775 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21776 (tan_upward_test_data): New variable.
21777 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21778 (tanh_test_data): New variable.
21779 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21780 (tgamma_test_data): New variable.
21781 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21782 (trunc_test_data): New variable.
21783 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21784 (y0_test_data): New variable.
21785 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21786 (y1_test_data): New variable.
21787 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21788 (significand_test_data): New variable.
21789 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21791 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21794 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21796 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21798 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21800 2013-05-10 Andreas Jaeger <aj@suse.de>
21803 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21804 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21806 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21808 * math/gen-libm-test.pl (adjust_arg): New function.
21809 (special_functions): Handle generating output in both functions
21811 (parse_args): Likewise.
21812 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21813 $in_func argument to parse_args.
21814 * math/libm-test.inc (struct test_f_f_data): New type.
21815 (IF_ROUND_INIT_): New macro.
21816 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21817 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21818 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21819 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21820 (ROUND_RESTORE_): Likewise.
21821 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21822 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21823 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21824 (ROUND_RESTORE_FE_UPWARD): Likewise.
21825 (RUN_TEST_LOOP_f_f): New macro.
21826 (acos_test_data): New variable.
21827 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21828 (acos_tonearest_test_data): New variable.
21829 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21831 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21833 * benchtests/bench-skeleton.c (startup): Fix coding style.
21835 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21838 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21839 negative infinity argument.
21840 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21841 negative infinity argument.
21842 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21843 negative infinity argument.
21844 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21847 2013-05-10 Florian Weimer <fweimer@redhat.com>
21849 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21850 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21851 * iconv/iconv_prog.c (main): Likewise.
21852 * locale/programs/charmap-dir.c (charmap_readdir)
21853 (fopen_uncompressed): Likewise.
21854 * locale/programs/locfile.c (siblings_uncached)
21855 (write_locale_data): Use lstat64 instead of lstat.
21856 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21859 2013-05-10 Andreas Jaeger <aj@suse.de>
21862 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21864 Include <locale.h>.
21866 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21868 * elf/dl-close.c (_dl_close_worker): Add comments.
21870 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21873 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21875 (__ieee754_rem_pio2l): Update comments.
21878 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21880 (__ieee754_rem_pio2l): Update comments.
21882 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21883 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21885 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21888 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21889 (M_PI_34_LOG10El): Likewise.
21890 (M_PI2_LOG10El): Likewise.
21891 (M_PI4_LOG10El): Likewise.
21892 (M_PI_LOG10El): Likewise.
21894 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21898 2013-05-08 Joseph Myers <joseph@codesourcery.com>
21900 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21901 (MINUS_ZERO_INIT): Likewise.
21902 (PLUS_INFTY_INIT): Likewise.
21903 (MINUS_INFTY_INIT): Likewise.
21904 (QNAN_VALUE_INIT): Likewise.
21905 (MAX_VALUE_INIT): Likewise.
21906 (MIN_VALUE_INIT): Likewise.
21907 (MIN_SUBNORM_VALUE_INIT): Likewise.
21908 (plus_zero): Initialize with PLUS_ZERO_INIT.
21909 (minus_zero): Initialize with MINUS_ZERO_INIT.
21910 (plus_infty): Initialize with PLUS_INFTY_INIT.
21911 (minus_infty): Initialize with MINUS_INFTY_INIT.
21912 (qnan_value): Initialize with QNAN_VALUE_INIT.
21913 (max_value): Initialize with MAX_VALUE_INIT.
21914 (min_value): Initialize with MIN_VALUE_INIT.
21915 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21917 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21918 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21919 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21920 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21922 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21923 (RUN_TEST_2_f): Likewise.
21924 (RUN_TEST_ff_f): Likewise.
21925 (RUN_TEST_fi_f): Likewise.
21926 (RUN_TEST_fl_f): Likewise.
21927 (RUN_TEST_fff_f): Likewise.
21928 (RUN_TEST_c_f): Likewise.
21929 (RUN_TEST_f_f1): Likewise.
21930 (RUN_TEST_fF_f1): Likewise.
21931 (RUN_TEST_fI_f1): Likewise.
21932 (RUN_TEST_ffI_f1): Likewise.
21933 (RUN_TEST_c_c): Likewise.
21934 (RUN_TEST_cc_c): Likewise.
21935 (RUN_TEST_f_i): Likewise.
21936 (RUN_TEST_f_i_tg): Likewise.
21937 (RUN_TEST_ff_i_tg): Likewise.
21938 (RUN_TEST_f_b): Likewise.
21939 (RUN_TEST_f_b_tg): Likewise.
21940 (RUN_TEST_f_l): Likewise.
21941 (RUN_TEST_f_L): Likewise.
21942 (RUN_TEST_sincos): Likewise.
21943 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21944 whether to show exceptions. Do not include ");\n" in return
21946 (special_functions): Output call to RUN_TEST_sincos instead of
21947 check_float calls. Update calls to new_test.
21948 (parse_args): Output call to single RUN_TEST_* macro instead of
21949 check_* calls and other assignments. Update calls to new_test.
21955 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21956 input to result for tgamma overflow.
21957 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21958 (gamma_coeff): New variable.
21959 (NCOEFF): New macro.
21960 (gamma_positive): New function.
21961 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21962 underflow here. Use gamma_positive instead of exp (lgamma) for
21964 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21965 (gamma_coeff): New variable.
21966 (NCOEFF): New macro.
21967 (gammaf_positive): New function.
21968 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21969 underflow here. Use gamma_positive instead of exp (lgamma) for
21971 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21972 (gamma_coeff): New variable.
21973 (NCOEFF): New macro.
21974 (gammal_positive): New function.
21975 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21976 underflow here. Use gamma_positive instead of exp (lgamma) for
21978 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21979 (gamma_coeff): New variable.
21980 (NCOEFF): New macro.
21981 (gammal_positive): New function.
21982 (__ieee754_gammal_r): Handle positive infinity, overflow and
21983 underflow here. Handle NaN the same as positive infinity. Remove
21984 check x < 0xffffffff for negative integers. Use gamma_positive
21985 instead of exp (lgamma) for other arguments.
21986 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21987 (gamma_coeff): New variable.
21988 (NCOEFF): New macro.
21989 (gammal_positive): New function.
21990 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21991 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21992 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21993 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21994 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21995 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21996 * sysdeps/generic/math_private.h (__gamma_productf): New
21998 (__gamma_product): Likewise.
21999 (__gamma_productl): Likewise.
22000 * math/Makefile (libm-calls): Add gamma_product.
22001 * math/libm-test.inc (tgamma_test): Add more tests.
22002 * sysdeps/i386/fpu/libm-test-ulps: Update.
22003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22005 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
22007 * benchtests/bench-skeleton.c (main): Preheat CPU.
22009 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
22011 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22013 2013-05-07 Roland McGrath <roland@hack.frob.com>
22015 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22016 and _dl_skip_args_internal.
22018 2013-05-07 Carlos O'Donell <carlos@redhat.com>
22020 * manual/message.texi (Message Translation): Talk about users.
22021 Message to key mapping impacts design.
22023 2013-05-06 Roland McGrath <roland@hack.frob.com>
22025 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22027 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22029 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22030 * sysdeps/wordsize-64/glob64.c: ... here.
22032 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22033 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22036 * debug/getlogin_r_chk.c: Moved to ...
22037 * login/getlogin_r_chk.c: ... here.
22038 * debug/Makefile (routines): Move getlogin_r_chk to ...
22039 * login/Makefile (routines): ... here.
22040 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22041 * login/Versions (libc: GLIBC_2.4): ... here.
22043 * io/poll.c (__poll): Renamed from poll.
22044 Add libc_hidden_def.
22045 (poll): Define as weak alias.
22047 * debug/ptsname_r_chk.c: Moved to ...
22048 * login/ptsname_r_chk.c: ... here.
22049 * debug/Makefile (routines): Move ptsname_r_chk to ...
22050 * login/Makefile (routines): ... here.
22051 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22052 * login/Versions (libc: GLIBC_2.4): ... here.
22054 * posix/getlogin.c: Moved to ...
22055 * login/getlogin.c: ... here.
22056 * posix/getlogin_r.c: Moved to ...
22057 * login/getlogin_r.c: ... here.
22058 * posix/getlogin_r.c: Moved to ...
22059 * login/getlogin_r.c: ... here.
22060 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22061 * login/Makefile (routines): ... here.
22062 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22063 * login/Versions (libc: GLIBC_2.0): ... here.
22065 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22066 (setrlimit): Define as weak alias.
22068 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22069 Call __ names for open, ftruncate, and close.
22070 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22071 (truncate): Define as weak alias.
22073 2013-05-06 Joseph Myers <joseph@codesourcery.com>
22075 * math/gen-libm-test.pl (parse_args): Initialize x before each
22076 test of frexp, modf and remquo.
22078 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22079 test signgam value.
22081 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22085 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22087 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22089 2013-05-06 Roland McGrath <roland@hack.frob.com>
22091 * elf/dl-writev.h: New file.
22092 * elf/dl-misc.c: Include it.
22093 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22094 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22096 2013-05-04 Joseph Myers <joseph@codesourcery.com>
22098 * math/libm-test.inc (noXFails): Remove variable.
22099 (noXPasses): Likewise.
22100 (BUILD_COMPLEX_INT): Remove macro.
22101 (print_screen): Remove xfail argument.
22102 (print_screen_max_error): Likewise.
22103 (update_stats): Likewise.
22104 (print_max_error): Likewise. Update calls to other affected
22106 (print_complex_max_error): Likewise.
22107 (test_single_exception): Update calls to print_screen.
22108 (test_single_errno): Likewise.
22109 (check_float_internal): Remove xfail argument. Update calls to
22110 other affected functions.
22111 (check_float): Likewise.
22112 (check_complex): Likewise.
22113 (check_int): Likewise.
22114 (check_long): Likewise.
22115 (check_bool): Likewise.
22116 (check_longlong): Likewise.
22117 (main): Don't print noXFails and noXPasses.
22118 * math/gen-libm-test.pl (top level): Don't mention expected
22119 failure handling in comment.
22120 (new_test): Don't handle expected failures.
22121 (parse_args): Don't mention expected failure handling in comment.
22122 (generate_testfile): Don't handle expected failures.
22123 (parse_ulps): Likewise.
22124 (print_ulps_file): Likewise.
22125 (get_failure): Remove function.
22126 (output_test): Don't handle expected failures.
22127 * make/README.libm-test: Don't mention expected failure handling.
22129 * math/libm-test.inc (plus_zero): Make const. Add initializer.
22130 (minus_zero): Likewise.
22131 (plus_infty): Likewise.
22132 (minus_infty): Likewise.
22133 (qnan_value): Likewise.
22134 (max_value): Likewise.
22135 (min_value): Likewise.
22136 (min_subnorm_value): Likewise.
22137 (initialize): Do not initialize those variables dynamically.
22139 2013-05-03 Roland McGrath <roland@hack.frob.com>
22141 * io/open.c (__open_2): Moved to ...
22142 * io/open_2.c: ... this new file.
22143 * io/open64.c (__open64_2): Moved to ...
22144 * io/open64_2.c: ... this new file.
22145 * io/openat.c (__openat_2): Moved to ...
22146 * io/openat_2.c: ... this new file.
22147 * io/openat64.c (__openat64_2): Moved to ...
22148 * io/openat64_2.c: ... this new file.
22149 * io/Makefile (routines): Add them.
22150 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22151 * sysdeps/unix/sysv/linux/open_2.c: File removed.
22152 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22153 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22154 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22155 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22156 (__openat64): Add hidden_ver.
22157 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22158 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22160 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22161 Separately conditionalize setting of GLRO(dl_sysinfo) so
22162 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22163 as well, but the actual setting is only under [NEED_DL_SYSINFO].
22165 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22167 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22168 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22170 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22171 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22172 (_libc_vdso_platform_setup): Add __vdso_time initialization.
22173 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22174 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22176 2013-05-03 Joseph Myers <joseph@codesourcery.com>
22178 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22179 test signgam value.
22181 * math/libm-test.inc (hypot_test): Do not use
22182 IGNORE_ZERO_INF_SIGN.
22184 2013-05-03 Andreas Jaeger <aj@suse.de>
22186 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22188 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22189 (PF_MAX): Adjust for VSOCK change.
22191 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22195 2013-05-02 Carlos O'Donell <carlos@redhat.com>
22198 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22199 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22200 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22202 2013-05-02 David S. Miller <davem@davemloft.net>
22204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22206 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
22208 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22210 2013-05-01 Roland McGrath <roland@hack.frob.com>
22212 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22214 2013-05-01 Richard Smith <richard@metafoo.co.uk>
22217 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22218 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22219 Use __attribute__ ((__gnu_inline__)).
22220 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22221 Don't use __attribute__ ((__gnu_inline__)).
22223 2013-05-01 Joseph Myers <joseph@codesourcery.com>
22226 * math/s_catan.c (__catan): Handle small real or imaginary part of
22227 input specially to avoid spurious underflow.
22228 * math/s_catanf.c (__catanf): Likewise.
22229 * math/s_catanh.c (__catanh): Likewise.
22230 * math/s_catanhf.c (__catanhf): Likewise.
22231 * math/s_catanhl.c (__catanhl): Likewise.
22232 * math/s_catanl.c (__catanl): Likewise.
22233 * math/libm-test.inc (catan_test): Add more tests.
22234 (catanh_test): Likewise.
22235 * sysdeps/i386/fpu/libm-test-ulps: Update.
22236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22238 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22242 2013-04-30 Joseph Myers <joseph@codesourcery.com>
22245 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22246 accurately for denominator in atan2.
22247 * math/s_catanf.c (__catanf): Likewise.
22248 * math/s_catanh.c (__catanh): Likewise.
22249 * math/s_catanhf.c (__catanhf): Likewise.
22250 * math/s_catanhl.c (__catanhl): Likewise.
22251 * math/s_catanl.c (__catanl): Likewise.
22252 * math/libm-test.inc (catan_test): Add more tests.
22253 (catanh_test): Likewise.
22254 * sysdeps/i386/fpu/libm-test-ulps: Update.
22255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22257 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22259 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22261 * benchtests/Makefile (bench): Remove slow benchmarks.
22262 * benchtests/atan-inputs: Add slow benchmark inputs.
22263 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22264 (BENCH_FUNC): Accept variant offset.
22266 * benchtests/bench-skeleton.c (main): Run benchmark for each
22268 * benchtests/cos-inputs: Add slow benchmark inputs.
22269 * benchtests/exp-inputs: Likewise.
22270 * benchtests/pow-inputs: Likewise.
22271 * benchtests/sin-inputs: Likewise.
22272 * benchtests/slowatan-inputs: Remove.
22273 * benchtests/slowatan.c: Remove.
22274 * benchtests/slowcos-inputs: Remove.
22275 * benchtests/slowcos.c: Remove.
22276 * benchtests/slowexp-inputs: Remove.
22277 * benchtests/slowexp.c: Remove.
22278 * benchtests/slowpow-inputs: Remove.
22279 * benchtests/slowpow.c: Remove.
22280 * benchtests/slowsin-inputs: Remove.
22281 * benchtests/slowsin.c: Remove.
22282 * benchtests/slowtan-inputs: Remove.
22283 * benchtests/slowtan.c: Remove.
22284 * benchtests/tan-inputs: Add slow benchmark inputs.
22285 * scripts/bench.pl: Parse comments and directives.
22287 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
22289 ($(objpfx)bench-%.c): Remove *-ITER.
22290 * benchtests/bench-modf.c: Remove definition of ITER.
22291 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22292 (main): Loop for DURATION seconds instead of fixed number of
22294 * scripts/bench.pl: Don't expect iterations in parameters.
22296 2013-04-29 Roland McGrath <roland@hack.frob.com>
22298 * io/fchdir.c (__fchdir): Renamed from fchdir.
22299 (fchdir): Define as weak alias.
22301 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22303 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22304 (ERRNO_EDOM): Likewise.
22305 (ERRNO_ERANGE): Likewise.
22306 (noErrnoTests): New variable.
22307 (init_max_error): Set errno to 0.
22308 (test_single_errno): New function.
22309 (test_errno): Likewise.
22310 (check_float_internal): Call test_errno. Set errno to 0.
22311 (check_complex): Refer to errno tests in comment.
22312 (check_int): Call test_errno. Set errno to 0.
22313 (check_long): Likewise.
22314 (check_bool): Likewise.
22315 (check_longlong): Likewise.
22316 (cos_test): Use ERRNO_* flags for errno tests instead of
22318 (expm1_test): Likewise.
22319 (fmod_test): Likewise.
22320 (ilogb_test): Likewise.
22321 (lgamma_test): Likewise.
22322 (pow_test): Likewise.
22323 (remainder_test): Likewise.
22324 (sin_test): Likewise.
22325 (tan_test): Likewise.
22326 (yn_test): Likewise.
22327 (initialize): Set errno to 0.
22328 (main): Print number of errno tests.
22329 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22331 2013-04-29 Andreas Jaeger <aj@suse.de>
22334 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22338 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22339 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22343 * stdlib/random.c (__initstate): Return NULL if
22347 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22348 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22351 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22355 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22357 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22358 of individual tests.
22359 (casin_test): Likewise.
22360 (casinh_test): Likewise.
22362 2013-04-27 Joseph Myers <joseph@codesourcery.com>
22365 * math/s_catan.c (__catan): Handle arguments with large real or
22366 imaginary part separately without squaring.
22367 * math/s_catanf.c (__catanf): Likewise.
22368 * math/s_catanh.c (__catanh): Likewise.
22369 * math/s_catanhf.c (__catanhf): Likewise.
22370 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22372 (__catanhl): Handle arguments with large real or imaginary part
22373 separately without squaring.
22374 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22376 (__catanl): Handle arguments with large real or imaginary part
22377 separately without squaring.
22378 * math/libm-test.inc (catan_test): Add more tests.
22379 (catanh_test): Likewise.
22380 * sysdeps/i386/fpu/libm-test-ulps: Update.
22381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22383 2013-04-27 Andreas Jaeger <aj@suse.de>
22386 * stdlib/stdlib.h: Update guards for qecvt.
22387 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22390 2013-04-27 Allan McRae <allan@archlinux.org>
22392 * sysdeps/i386/fpu/libm-test-ulps: Update.
22394 2013-04-26 Joseph Myers <joseph@codesourcery.com>
22397 * math/s_catan.c: Include <float.h>.
22398 (__catan): Ensure underflow exception occurs for underflowed
22400 * math/s_catanf.c: Include <float.h>.
22401 (__catanf): Ensure underflow exception occurs for underflowed
22403 * math/s_catanh.c: Include <float.h>.
22404 (__catanh): Ensure underflow exception occurs for underflowed
22406 * math/s_catanhf.c: Include <float.h>.
22407 (__catanhf): Ensure underflow exception occurs for underflowed
22409 * math/s_catanhl.c: Include <float.h>.
22410 (__catanhl): Ensure underflow exception occurs for underflowed
22412 * math/s_catanl.c: Include <float.h>.
22413 (__catanl): Ensure underflow exception occurs for underflowed
22415 * math/libm-test.inc (catan_test): Add more tests.
22416 (catanh_test): Likewise.
22419 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22420 underflowed result.
22421 * math/s_ccoshf.c (__ccoshf): Likewise.
22422 * math/s_ccoshl.c (__ccoshl): Likewise.
22423 * math/s_csin.c (__csin): Likewise.
22424 * math/s_csinf.c (__csinf): Likewise.
22425 * math/s_csinh.c (__csinh): Likewise.
22426 * math/s_csinhf.c (__csinhf): Likewise.
22427 * math/s_csinhl.c (__csinhl): Likewise.
22428 * math/s_csinl.c (__csinl): Likewise.
22429 * math/libm-test.inc (ccos_test): Add more tests.
22430 (ccosh_test): Likewise.
22431 (csin_test): Likewise.
22432 (csinh_test): Likewise.
22434 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22436 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22437 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22438 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22439 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22440 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22441 powerpc/power5+/fpu folders.
22442 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22445 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22447 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22449 2013-04-25 Joseph Myers <joseph@codesourcery.com>
22451 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22452 additions to variable.
22453 [$(config-machine) = x86_64] (modules-names): Likewise.
22454 ($(objpfx)tst-audit3): Remove dependency.
22455 ($(objpfx)tst-audit3.out): Likewise.
22456 ($(objpfx)tst-audit4): Likewise.
22457 ($(objpfx)tst-audit4.out): Likewise.
22458 ($(objpfx)tst-audit5): Likewise.
22459 ($(objpfx)tst-audit5.out): Likewise.
22460 ($(objpfx)tst-audit6): Likewise.
22461 ($(objpfx)tst-audit6.out): Likewise.
22462 ($(objpfx)tst-audit7): Likewise.
22463 ($(objpfx)tst-audit7.out): Likewise.
22464 (tst-audit3-ENV): Remove variable.
22465 (tst-audit4-ENV): Likewise.
22466 (tst-audit5-ENV): Likewise.
22467 (tst-audit6-ENV): Likewise.
22468 (tst-audit7-ENV): Likewise.
22469 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22470 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22471 addition to variable.
22472 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22473 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22474 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22475 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22476 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22477 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22478 tst-audit3, tst-audit4 and tst-audit5.
22479 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22480 tst-audit6 and tst-audit7.
22481 [$(subdir) = elf] (modules-names): Add audit modules for those
22483 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22484 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22485 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22486 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22487 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22488 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22489 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22490 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22491 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22492 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22493 [$(subdir) = elf] (tst-audit3-ENV): New variable.
22494 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22495 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22496 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22497 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22498 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22500 [$(subdir) = elf && $(config-cflags-avx) = yes]
22501 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22502 [$(subdir) = elf && $(config-cflags-avx) = yes]
22503 (CFLAGS-tst-auditmod4a.c): Likewise.
22504 [$(subdir) = elf && $(config-cflags-avx) = yes]
22505 (CFLAGS-tst-auditmod4b.c): Likewise.
22506 [$(subdir) = elf && $(config-cflags-avx) = yes]
22507 (CFLAGS-tst-auditmod6b.c): Likewise.
22508 [$(subdir) = elf && $(config-cflags-avx) = yes]
22509 (CFLAGS-tst-auditmod6c.c): Likewise.
22510 [$(subdir) = elf && $(config-cflags-avx) = yes]
22511 (CFLAGS-tst-auditmod7b.c): Likewise.
22512 * elf/tst-audit3.c: Move to ...
22513 * sysdeps/x86_64/tst-audit3.c: ... here.
22514 * elf/tst-audit4.c: Move to ...
22515 * sysdeps/x86_64/tst-audit4.c: ... here.
22516 * elf/tst-audit5.c: Move to ...
22517 * sysdeps/x86_64/tst-audit5.c: ... here.
22518 * elf/tst-audit6.c: Move to ...
22519 * sysdeps/x86_64/tst-audit6.c: ... here.
22520 * elf/tst-audit7.c: Move to ...
22521 * sysdeps/x86_64/tst-audit7.c: ... here.
22522 * elf/tst-auditmod3a.c: Move to ...
22523 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22524 * elf/tst-auditmod3b.c: Move to ...
22525 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22526 * elf/tst-auditmod4a.c: Move to ...
22527 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22528 * elf/tst-auditmod4b.c: Move to ...
22529 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22530 * elf/tst-auditmod5a.c: Move to ...
22531 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22532 * elf/tst-auditmod5b.c: Move to ...
22533 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22534 * elf/tst-auditmod6a.c: Move to ...
22535 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22536 * elf/tst-auditmod6b.c: Move to ...
22537 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22538 * elf/tst-auditmod6c.c: Move to ...
22539 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22540 * elf/tst-auditmod7a.c: Move to ...
22541 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22542 * elf/tst-auditmod7b.c: Move to ...
22543 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22545 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
22548 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22549 define unconditionally.
22550 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22551 define unconditionally.
22552 (INT8_C, INT16_C, etc.): Likewise.
22554 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
22556 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22557 __ehdr_start with hidden visibility.
22559 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22561 2013-04-24 Carlos O'Donell <carlos@redhat.com>
22563 * math/libm-test.inc (cos_test): Use accurate hex constants.
22564 (sincost_test): Likewise.
22566 2013-04-24 Joseph Myers <joseph@codesourcery.com>
22568 * math/libm-test.inc (catan_test): Add more tests.
22569 (catanh_test): Likewise.
22571 * math/s_catanf.c (__catanf): Use suffixed floating-point
22573 * math/s_catanhf.c (__catanhf): Likewise.
22574 * math/s_catanhl.c (__catanhl): Likewise.
22575 * math/s_catanl.c (__catanl): Likewise.
22578 * math/s_catan.c (__catan): Calculate imaginary part of result
22579 with log1p not log unless computing log of number close to 0.
22580 * math/s_catanf.c (__catanf): Likewise.
22581 * math/s_catanl.c (__catanl): Likewise.
22582 * math/s_catanh.c (__catanh): Calculate real part of result with
22583 log1p not log unless computing log of number close to 0.
22584 * math/s_catanhf.c (__catanhf): Likewise.
22585 * math/s_catanhl.c (__catanhl): Likewise.
22586 * math/libm-test.inc (catan_test): Add more tests.
22587 (catanh_test): Likewise.
22588 * sysdeps/i386/fpu/libm-test-ulps: Update.
22589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22591 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22593 * benchtests/Makefile: Mention files in which fast and slow
22594 paths of math functions are implemented.
22596 2013-04-23 Roland McGrath <roland@hack.frob.com>
22598 * sysdeps/posix/timespec_get.c: New file.
22600 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22602 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22604 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22606 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22607 powerpc/power5/fpu folders.
22608 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22609 * benchtests/Makefile: Add modf testcase.
22610 * benchtests/bench-modf.c: New file: Benchmark test for mo
22612 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22615 * time/Makefile (tests): Add tst-strptime-whitespace.
22616 * time/strptime_l.c (get_number): Use ISSPACE.
22617 (__strptime_internal): Likewise.
22618 * time/tst-strptime-whitespace.c: New test case.
22620 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
22622 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22624 (_nss_files_init): Set it here.
22626 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
22628 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22629 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22632 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22634 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22636 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22638 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22641 2013-04-21 David S. Miller <davem@davemloft.net>
22643 * po/ru.po: Update Russion translation from translation project.
22645 2013-04-17 Adam Conrad <adconrad@0c3.net>
22647 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22650 2013-04-17 Carlos O'Donell <carlos@redhat.com>
22652 * configure.in: Remove i386 configure warning. Remove i386 case.
22653 * configure: Regenerate.
22654 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22655 Add example to error message.
22656 * sysdeps/i386/configure: Regenerate.
22658 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22660 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22662 * benchtests/cos-inputs: New file.
22663 * benchtests/slowcos-inputs: New file.
22664 * benchtests/slowcos.c: New file.
22665 * benchtests/slowtan-inputs: New file.
22666 * benchtests/slowtan.c: New file.
22667 * benchtests/tan-inputs: New file.
22669 2013-04-16 Roland McGrath <roland@hack.frob.com>
22671 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22674 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22676 * benchtests/Makefile: Include cppflags-iterator.mk to add
22677 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22679 * Makefile.in (bench-clean): New target.
22680 * benchtests/Makefile (bench-clean): Likewise.
22682 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22684 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22686 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22688 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22690 2013-04-15 Andreas Schwab <schwab@suse.de>
22692 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22693 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22694 * nscd/pwdcache.c (cache_addpw): Likewise.
22695 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22698 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22700 * benchtests/Makefile (bench): Write all output to
22701 bench-out.tmp together.
22703 2013-04-15 Andreas Schwab <schwab@suse.de>
22705 * nscd/nscd.c (main): Don't fork again after closing files.
22707 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22709 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22711 * benchtests/Rules (bench-deps): Collect dependencies into a
22712 single variable. Add Makefile to dependencies.
22713 ($(objpfx)bench-%.c): Depend on bench-deps.
22715 2013-04-12 Roland McGrath <roland@hack.frob.com>
22716 Xavier Roche <roche+kml2@exalead.com>
22719 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22720 just that it's a file descriptor.
22721 * manual/llio.texi (Synchronizing AIO Operations): Update description
22722 for EBADF error from aio_fsync.
22724 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22726 * Rules (bench): Move target definition...
22727 * benchtests/Makefile: ... here.
22729 2013-04-11 Carlos O'Donell <carlos@redhat.com>
22731 * math/libm-test.inc (cos_test): Fix PI/2 test.
22732 (sincos_test): Likewise.
22733 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22734 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22736 2013-04-11 Andreas Schwab <schwab@suse.de>
22739 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22740 accept exponent character only when digits were seen.
22741 * stdio-common/Makefile (tests): Add bug26.
22742 * stdio-common/bug26.c: New file.
22745 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22748 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22750 * Makeconfig (rtld-prefix): Define built linker prefix.
22751 * Rules (run-bench): Use it.
22752 * math/Makefile (run-regen-ulps): Likewise.
22754 * Rules (bench): Remove eval.
22756 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22757 Roland McGrath <roland@hack.frob.com>
22758 Ondrej Bilka <neleai@seznam.cz>
22761 * time/getdate.c: Include ctype.h and alloca.h.
22762 (__getdate_r): Trim leading and trailing spaces of input.
22763 * time/tst-getdate.c (tests): Add tests with leading and
22766 2013-04-08 Roland McGrath <roland@hack.frob.com>
22769 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22770 when computing value.
22772 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22774 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22775 Use testrun.sh to run libm tests.
22778 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22780 2013-04-06 Marko Myllynen <myllynen@redhat.com>
22783 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22785 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22787 * Makefile.in (regen-ulps): New target.
22788 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22789 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22790 [ifneq (no,$(PERL)] (regen-ulps): New target.
22791 [ifeq (no,$(PERL)] (regen-ulps): New target.
22792 * math/libm-test.inc (ulps_file_name): Define.
22793 (output_dir): New variable.
22794 (options): Add "output-dir" option.
22795 (parse_opt): Handle 'o' case.
22796 (main): If output_dir is non-NULL use it as a prefix
22798 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22800 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22802 [BZ #10060, #10062]
22803 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22804 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22805 fail configure if __sync_val_compare_and_swap is not inlined.
22806 * sysdeps/i386/configure: Regenerate.
22807 * configure.in: Build for i686 when configured for i386.
22808 * configure: Regenerate.
22809 * README: Remove i386 reference.
22811 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22813 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22814 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22816 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22818 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22819 (lmsnanval): New variables.
22820 (F): Add conversion tests.
22821 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22822 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22824 * stdio-common/tstdiomisc.c (F): Properly collect individual
22827 [BZ #14686, #15336]
22828 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22829 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22830 Instead, use input NaN values or generate a qNaN by arithmetic
22831 operation. Also fix bugs to comply with the standard.
22832 * math/libm-test.inc (remainder_test): Add more tests.
22834 [BZ #15335, #15342]
22835 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22836 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22837 input NaN values or generate a qNaN by arithmetic operation.
22839 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22842 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22845 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22848 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22849 underflowed result.
22850 * math/s_cexpf.c (__cexpf): Likewise.
22851 * math/s_cexpl.c (__cexpl): Likewise.
22852 * math/libm-test.inc (cexp_test): Add more tests.
22854 2013-04-03 Andreas Schwab <schwab@suse.de>
22857 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22858 order arrays from heap if bigger than alloca cutoff.
22860 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22862 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22863 (SNAN_TESTS_double): Refer to GCC PR56831.
22864 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22867 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22869 * Rules (bench): Move bench.out after the run is complete.
22871 * Rules (bench): Echo currently running benchmark.
22873 * benchtests/Makefile (bench): Add atan and slowatan.
22874 * benchtests/atan-inputs: New file.
22875 * benchtests/slowatan-inputs: New file.
22876 * benchtests/slowatan.c: New file.
22878 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22879 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22883 * sysdeps/unix/sysv/linux/kernel-features.h
22884 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22885 __ASSUME_XFS_RESTRICTED_CHOWN.
22886 * sysdeps/unix/sysv/linux/pathconf.c
22887 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22888 Save and restore errno.
22890 2013-04-02 Joseph Myers <joseph@codesourcery.com>
22893 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22894 arguments using __kernel_casinh.
22895 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22896 arguments using __kernel_casinhf.
22897 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22898 arguments using __kernel_casinhl.
22899 * math/libm-test.inc (cacosh_test): Add more tests.
22900 * sysdeps/i386/fpu/libm-test-ulps: Update.
22901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22903 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22905 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22906 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22908 * bench/Makefile (bench): Add sin and slowsin.
22909 * benchtests/sin-inputs: New file.
22910 * benchtests/slowsin-inputs: New file.
22911 * benchtests/slowsin.c: New file.
22913 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22914 (bench): Add slowexp and slowpow.
22915 (exp-ITER): Increase iterations.
22916 (pow-ITER): Likewise.
22917 * benchtests/exp-inputs: Change input.
22918 * benchtests/pow-inputs: Likewise.
22919 * benchtests/slowexp-inputs: New file.
22920 * benchtests/slowexp.c: New file.
22921 * benchtests/slowpow-inputs: New file.
22922 * benchtests/slowpow.c: New file.
22924 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22926 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22928 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22929 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22930 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22931 * benchtests/Makefile: Add rint benchtest.
22932 * benchtests/rint-inputs: Input for rint benchtest.
22934 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22936 * Versions.def (libm): Add GLIBC_2.18.
22937 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22938 hidden libm prototypes.
22939 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22940 * math/Makefile (libm-calls): Add s_issignaling.
22941 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22942 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22943 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22945 * math/math.h [__USE_GNU] (issignaling): New macro.
22946 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22947 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22948 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22949 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22950 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22951 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22952 * manual/arith.texi (issignaling): New section.
22953 * manual/libm-err-tab.pl (@all_functions): Update comment.
22954 * math/gen-libm-test.pl (parse_args): Apply special handling for
22956 * math/libm-test.inc (print_float, issignaling_test): New
22958 (check_float_internal): Add issignaling checks.
22959 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22960 default definition.
22961 * sysdeps/powerpc/math-tests.h: New file.
22962 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22964 * math/test-snan.c (TEST_FUNC): Likewise.
22966 2013-03-30 David S. Miller <davem@davemloft.net>
22968 * po/de.po: Update from translation team.
22970 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22973 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22974 imaginary part less than 1.0 and real part less than 0.5
22976 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22977 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22978 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22979 (cacos_test): Add more tests.
22980 (casin_test): Likewise.
22981 (casinh_test): Likewise.
22982 * sysdeps/i386/fpu/libm-test-ulps: Update.
22983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22985 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22987 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22988 ONE with its value.
22990 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22991 (__pow_mp): Replace ONE and MONE with their values.
22992 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22993 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22994 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22995 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22996 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22997 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22999 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23001 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23002 (__pow_mp): Replace ZERO and MZERO with their values.
23003 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23004 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23005 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23006 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23007 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23008 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23011 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23013 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23015 2013-03-28 Roland McGrath <roland@hack.frob.com>
23017 * include/stdlib.h [!SHARED] (__call_tls_dtors):
23018 Declare with __attribute__ ((weak)).
23019 * stdlib/exit.c (__libc_atexit) [!SHARED]:
23020 Call __call_tls_dtors only if it's not NULL.
23022 2013-03-28 Roland McGrath <roland@hack.frob.com>
23024 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23025 didn't do it already, then set _dl_phdr and _dl_phnum based on the
23026 magic __ehdr_start linker symbol if it's defined.
23027 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23028 them up here if it was already done.
23030 * elf/dl-support.c (_dl_phdr): Make pointer to const.
23031 (_dl_aux_init): Use const in cast when setting it.
23032 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23033 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23034 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23036 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23038 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23039 * csu/libc-tls.c: Nor here.
23040 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23042 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23043 (__libc_message): Never call vsyslog.
23045 2013-03-28 Alan Modra <amodra@gmail.com>
23047 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23049 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23052 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23055 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23059 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23062 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23063 Don't add gid passed as argument.
23065 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23067 2013-03-27 Joseph Myers <joseph@codesourcery.com>
23070 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23071 imaginary part between 1.0 and 1.5 and real part less than 0.5
23073 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23074 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23075 * math/libm-test.inc (cacos_test): Add more tests.
23076 (casin_test): Likewise.
23077 (casinh_test): Likewise.
23078 * sysdeps/i386/fpu/libm-test-ulps: Update.
23079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23081 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23083 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23086 (denorm): Likewise.
23087 (__dbl_mp): Likewise.
23088 (add_magnitudes): Likewise.
23089 (sub_magnitudes): Likewise.
23097 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23099 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23100 (__dubcos): Likewise.
23101 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23102 (__ieee754_acos): Likewise.
23103 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23104 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23105 (__exp1): Likewise.
23106 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23107 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23109 (my_log2): Likewise.
23110 (checkint): Likewise.
23111 * sysdeps/ieee754/dbl-64/e_remainder.c
23112 (__ieee754_remainder): Likewise.
23113 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23114 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23115 (bsloww): Likewise.
23116 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23118 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23119 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23120 MANTISSA_STORE_T to store computations on mantissa. Use
23121 macros for rounding and division.
23122 (denorm): Likewise.
23123 (__dbl_mp): Likewise.
23124 (add_magnitudes): Likewise.
23125 (sub_magnitudes): Likewise.
23128 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23129 powers of two in terms of TWOPOW macro.
23130 (mp_no): Make type of mantissa as MANTISSA_T.
23131 [!RADIXI]: Define RADIXI.
23132 [!TWO52]: Define TWO52.
23133 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23135 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23137 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23138 llroundl symbol when building for PPC32.
23140 2013-03-24 Mark H Weaver <mhw@netris.org>
23142 * manual/arith.texi (Normalization Functions): Fix prototypes for
23143 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23145 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23148 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23149 high value to check if expl overflow.
23150 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23151 to check for underflow and overflow.
23152 * math/libm-test.inc: Add exp test.
23154 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
23157 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23160 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23162 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23165 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
23167 * math/gen-libm-test.pl (parse_args, special_functions): Properly
23168 wrap blocks consisting of several statements.
23170 * sysdeps/generic/math-tests.h: New file.
23171 * sysdeps/i386/fpu/math-tests.h: Likewise.
23172 * math/test-snan.c: Include it.
23173 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23175 2013-03-21 Joseph Myers <joseph@codesourcery.com>
23178 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23179 (__ieee754_j0l): Do not improve calculations using cos of twice
23180 input for inputs above LDBL_MAX / 2.0L.
23181 (__ieee754_y0l): Likewise.
23182 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23183 (__ieee754_j1l): Do not improve calculations using cos of twice
23184 input for inputs above LDBL_MAX / 2.0L.
23185 (__ieee754_y1l): Likewise.
23186 * math/libm-test.inc (j0_test): Add another test.
23187 (j1_test): Likewise.
23188 (y0_test): Likewise.
23189 (y1_test): Likewise.
23190 * sysdeps/i386/fpu/libm-test-ulps: Update.
23192 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23194 * Rules ($(objpfx)bench-%.c): Include code from a C source
23197 2013-03-21 Joseph Myers <joseph@codesourcery.com>
23200 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23201 imaginary part 1.0 and real part less than 0.5 specially.
23202 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23203 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23204 * math/libm-test.inc (cacos_test): Add more tests.
23205 (casin_test): Likewise.
23206 (casinh_test): Likewise.
23207 * sysdeps/i386/fpu/libm-test-ulps: Update.
23208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23210 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23212 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23213 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23215 2013-03-20 Joseph Myers <joseph@codesourcery.com>
23217 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23218 * config.make.in (config-cflags-sse4): Remove variable.
23219 (config-cflags-avx): Likewise.
23220 (config-cflags-sse2avx): Likewise.
23221 (config-cflags-novzeroupper): Likewise.
23222 (config-asflags-i686): Likewise.
23223 (have-mfma4): Likewise.
23224 (have-as-vis3): Likewise.
23226 * configure.in (MIG): Do not AC_SUBST.
23227 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23228 (libc_cv_cc_sse4): Do not AC_SUBST.
23229 (libc_cv_cc_avx): Likewise.
23230 (libc_cv_cc_sse2avx): Likewise.
23231 (libc_cv_cc_novzeroupper): Likewise.
23232 (libc_cv_cc_fma4): Likewise.
23233 (libc_cv_as_i686): Likewise.
23234 (libc_cv_sparc_as_vis3): Likewise.
23235 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23237 (config-asflags-i686): Likewise.
23238 (config-cflags-avx): Likewise.
23239 (config-cflags-sse2avx): Likewise.
23240 (have-mfma4): Likewise.
23241 (config-cflags-novzeroupper): Likewise.
23242 * sysdeps/mach/configure.in (MIG): Likewise.
23243 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23244 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23246 (config-cflags-avx): Likewise.
23247 (config-cflags-sse2avx): Likewise.
23248 (have-mfma4): Likewise.
23249 (config-cflags-novzeroupper): Likewise.
23250 * configure: Regenerated.
23251 * sysdeps/i386/configure: Likewise.
23252 * sysdeps/mach/configure: Likewise.
23253 * sysdeps/sparc/configure: Likewise.
23254 * sysdeps/x86_64/configure: Likewise.
23256 2013-03-20 Roland McGrath <roland@hack.frob.com>
23259 * locale/programs/localedef.c (options): Put N_ translation marker
23260 on argument names, not just descriptions.
23262 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23264 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23266 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
23269 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23271 2013-03-19 Roland McGrath <roland@hack.frob.com>
23273 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23274 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23275 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23276 [!BEFORE_ABORT] (before_abort): New function.
23277 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23278 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23279 (writev_for_fatal): New function.
23280 (WRITEV_FOR_FATAL): New macro; call that.
23281 (backtrace_and_maps): New function.
23282 (BEFORE_ABORT): New macro; call that.
23283 (struct str_list): Type removed.
23284 (__libc_message, __libc_fatal): Functions removed.
23285 Include <sysdeps/posix/libc_fatal.c> instead.
23287 2013-03-19 Joseph Myers <joseph@codesourcery.com>
23289 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23291 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23294 2013-03-19 Andreas Schwab <schwab@suse.de>
23296 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23297 * sysdeps/gnu/configure: Regenerate.
23299 * configure.in: Substitute libc_cv_rtlddir.
23300 * configure: Regenerate.
23301 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23302 * Makeconfig (rtlddir, inst_rtlddir): New variables.
23303 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23304 * elf/Makefile (install-others, CFLAGS-interp.c)
23305 (ldso_install, common-ldd-rewrite): Likewise.
23306 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23307 $(inst_slibdir)/$(rtld-installed-name).
23308 * scripts/rellns-sh: Add -p option.
23309 * Makerules (make-shlib-link): Use rellns-sh to get relative name
23312 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23314 * manual/nptl.texi: Renamed to ...
23315 * manual/threads.texi: ... this.
23316 * manual/Makefile (chapters): Update.
23318 2013-03-18 Roland McGrath <roland@hack.frob.com>
23321 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23322 on argument names, not just descriptions.
23323 * malloc/memusagestat.c (options): Likewise.
23324 * nss/getent.c (options): Likewise.
23326 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
23329 * iconv/iconv_prog.c (options): Put N_ translation marker
23330 on argument names, not just descriptions.
23331 * iconv/iconvconfig.c (options): Likewise.
23333 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
23335 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23336 implementation which is faster on all x86_64 architectures.
23337 Tested on AMD, Intel Nehalem, SNB, IVB.
23338 * sysdeps/x86_64/strnlen.S: Likewise.
23340 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23341 Remove all multiarch strlen and strnlen versions.
23342 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23343 Remove strlen and strnlen related parts.
23345 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23346 Inline strlen part.
23347 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23349 * sysdeps/x86_64/multiarch/strlen.S: Remove.
23350 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23351 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23352 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23353 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23354 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23356 2013-03-17 Carlos O'Donell <carlos@redhat.com>
23358 * manual/memory.texi (Malloc Tunable Parameters):
23359 Sort parameters alphabetically. Add comments for missing entries.
23361 2013-03-17 David S. Miller <davem@davemloft.net>
23363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23365 2013-03-16 Joseph Myers <joseph@codesourcery.com>
23368 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23369 for arguments at most half maximum finite value.
23370 * math/libm-test.inc (j0_test): Add more tests.
23371 (j1_test): Likewise.
23372 (y0_test): Likewise.
23373 (y1_test): Likewise.
23374 * sysdeps/i386/fpu/libm-test-ulps: Update.
23375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23378 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23379 1 / x and functions P and Q for arguments above 0x1p256L.
23380 (__ieee754_y0l): Likewise.
23381 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23382 (__ieee754_y1l): Likewise.
23383 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23384 (j1_test): Likewise.
23385 (y0_test): Likewise.
23386 (y1_test): Likewise.
23388 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
23390 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23393 2013-03-15 Roland McGrath <roland@hack.frob.com>
23395 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23396 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23397 zero since it's initialized to EXEC_PAGESIZE.
23399 * sysdeps/unix/sysv/linux/ldsodefs.h
23400 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23401 * sysdeps/generic/ldsodefs.h: ... here.
23403 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
23405 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23407 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23409 * math/test-snan.c: Renamed from
23410 sysdeps/powerpc/fpu/test-powerpc-snan.c.
23411 * math/Makefile (tests): Add test-snan.
23412 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23415 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23416 SUFFIX. Initialize qNaN_var with __builtin_nan family of
23418 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
23419 __builtin_nan family of functions.
23420 * math/libm-test.inc (initialize): Initialize qnan_value with
23421 __builtin_nan family of functions.
23422 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23424 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23426 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
23427 storage class. Initialize qNaN_var and sNaN_var with
23428 __builtin_nan and __builtin_nans families of functions,
23431 * math/libm-test.inc (acosh_test): Also test with qNaN input.
23432 (sqrt_test): Remove duplicate test with qNaN input.
23433 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23434 (round_test, signbit_test, significand_test): Note missing +/-Inf
23435 as well as qNaN tests.
23437 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23438 qNaN_var. Fix a few strings, too.
23439 * math/libm-test.inc (nan_value): Rename to qnan_value.
23440 * math/gen-libm-test.pl (%beautify): Adjust to that.
23441 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23442 * math/test-misc.c (main): Likewise.
23443 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23444 to __qnan_bytes, and __qnan_union, respectively.
23445 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23447 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23448 and lqnanval, respectively.
23449 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23450 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23451 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23452 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23454 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23455 * math/test-misc.c (main) [__x86_64__]: Enable test for long
23458 * math/test-misc.c (main): Fix copy'n'pastos.
23459 * misc/tst-efgcvt.c (special): Likewise.
23461 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23462 Remove declarations.
23464 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23466 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23467 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23468 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23469 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23471 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23473 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23474 macro to return vdso values correctly in IFUNC implementations.
23475 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23476 Optimization by using IFUNC.
23478 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23479 Richard Henderson <rth@redhat.com>
23480 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23482 * Makefile.in (bench): New target.
23483 * NEWS: Mention the benchmark framework.
23484 * Rules (bench): Likewise.
23485 (binaries-bench): Generate binaries for functions to
23487 * benchtests/Makefile: New makefile for benchmark tests.
23488 * benchtests/bench-skeleton.c: New skeleton file for benchmark
23490 * benchtests/exp-inputs: New input file for EXP function.
23491 * benchtests/pow-inputs: New input file for POW function.
23492 * scripts/bench.pl: New script to generate source files for
23493 benchmark programs.
23495 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23497 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23498 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23499 computations on mantissa. Use macros for rounding and
23501 (denorm): Likewise.
23502 (__dbl_mp): Likewise.
23503 (add_magnitudes): Likewise.
23504 (sub_magnitudes): Likewise.
23507 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23508 powers of two in terms of TWOPOW macro.
23509 (mp_no): Make type of mantissa as MANTISSA_T.
23510 [!RADIXI]: Define RADIXI.
23511 [!TWO52]: Define TWO52.
23512 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23514 * manual/nptl.texi (cindex): Modify threads to pthreads.
23516 2013-03-15 Joseph Myers <joseph@codesourcery.com>
23518 * sysdeps/x86_64/preconfigure: Regenerated.
23520 2013-03-14 Joseph Myers <joseph@codesourcery.com>
23523 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23525 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23526 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23528 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23529 * math/libm-test.inc (j0_test): Do not allow one spurious
23530 underflow exception.
23531 (y1_test): Likewise.
23533 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23535 * manual/Makefile (chapters): Add nptl.
23536 * manual/debug.texi (Debugging Support): Add link to Threads
23538 * manual/nptl.texi: New file.
23540 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23542 2013-03-14 Petr Baudis <pasky@ucw.cz>
23544 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23545 for non-NULL pointer before the memory validity test. Pointed
23546 out by Holger Brunck <holger.brunck@keymile.com>.
23548 2013-03-13 Andreas Schwab <schwab@suse.de>
23550 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23553 2013-03-13 Joseph Myers <joseph@codesourcery.com>
23555 * timezone/zic.c: Update from tzcode 2013b.
23557 2013-03-12 Carlos O'Donell <carlos@redhat.com>
23559 * manual/install.texi (Configuring and compiling):
23560 Mention i686 and i586.
23561 * INSTALL: Regenerate.
23563 2013-03-12 Roland McGrath <roland@hack.frob.com>
23565 * sysdeps/init_array/elf-init.c: New file.
23567 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23568 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23570 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23571 __gmon_start__ as global, but as static with a .preinit_array pointer.
23572 * sysdeps/init_array/gmon-start.c: New file. Use that.
23573 * sysdeps/init_array/crti.S: New file, empty except for comments.
23574 * sysdeps/init_array/crtn.S: Likewise.
23576 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
23578 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23580 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23581 Remove Prefer_SSE_for_memop.
23582 * sysdeps/x86_64/multiarch/init-arch.h: Remove
23583 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23584 HAS_PREFER_SSE_FOR_MEMOP.
23585 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23587 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23588 Remove bzero, memset ifunc support.
23589 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23590 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23591 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23592 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23594 2013-03-11 Andreas Schwab <schwab@suse.de>
23597 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23600 (GLIBC_2.16): Remove pthread_atfork.
23602 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23604 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23605 (ptestcases.h): Likewise.
23607 2013-03-08 Roland McGrath <roland@hack.frob.com>
23609 * Makeconfig ($(common-objpfx)config.status): Depend on
23610 sysdeps/*/preconfigure{,.in} too.
23612 2013-03-08 Joseph Myers <joseph@codesourcery.com>
23614 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23615 (__free_hook): Use void * instead of __malloc_ptr_t.
23616 (__malloc_hook): Likewise.
23617 (__realloc_hook): Likewise.
23618 (__memalign_hook): Likewise.
23619 (__after_morecore_hook): Likewise.
23620 * malloc/arena.c (save_malloc_hook): Likewise.
23621 (save_free_hook): Likewise.
23622 * malloc/hooks.c (malloc_hook_ini): Likewise.
23623 (realloc_hook_ini): Likewise.
23624 (memalign_hook_ini): Likewise.
23625 * malloc/malloc.c (malloc_hook_ini): Likewise.
23626 (realloc_hook_ini): Likewise.
23627 (memalign_hook_ini): Likewise.
23628 (__free_hook): Likewise.
23629 (__malloc_hook): Likewise.
23630 (__realloc_hook): Likewise.
23631 (__memalign_hook): Likewise.
23632 (__libc_malloc): Likewise.
23633 (__libc_free): Likewise.
23634 (__libc_realloc): Likewise.
23635 (__libc_memalign): Likewise.
23636 (__libc_valloc): Likewise.
23637 (__libc_pvalloc): Likewise.
23638 (__libc_calloc): Likewise.
23639 (__posix_memalign): Likewise.
23640 * malloc/morecore.c (__sbrk): Likewise.
23641 (__default_morecore): Likewise.
23643 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23645 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23646 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23647 __malloc_ptrdiff_t.
23649 * malloc/malloc.h (__malloc_size_t): Remove macro.
23650 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23652 (old_memalign_hook): Likewise.
23653 (old_realloc_hook): Likewise.
23654 (struct hdr): Likewise.
23656 (mallochook): Likewise.
23657 (memalignhook): Likewise.
23658 (reallochook): Likewise.
23659 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23660 (tr_old_realloc_hook): Likewise.
23661 (tr_old_memalign_hook): Likewise.
23662 (tr_mallochook): Likewise.
23663 (tr_reallochook): Likewise.
23664 (tr_memalignhook): Likewise.
23666 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23668 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23669 default_ldbl_pack and using as default implementation.
23670 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23672 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23673 redundant definition.
23674 (ldbl_insert_mantissa): Likewise.
23675 (ldbl_canonicalize): Likewise.
23676 (ldbl_nearbyint): Likewise.
23677 (ldbl_pack): Rename to ldbl_pack_ppc.
23678 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23679 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23680 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23682 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23684 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23685 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23686 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23687 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23689 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23690 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23691 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23693 2013-03-07 Andreas Jaeger <aj@suse.de>
23695 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23698 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23700 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23701 Include mpa.h and declare __MPEXP.
23702 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23703 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23704 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23705 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23706 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23707 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23708 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23710 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23711 (__slowpow): Use long double EXPL and LOGL functions to
23713 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23714 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23715 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23716 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23717 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23718 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23720 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23721 intermediate variable to calculate exponent.
23723 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23727 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23728 [!NO__SQR]: Define __sqr.
23729 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23730 and NO__SQR. Remove all code except __mul and __sqr. Include
23731 sysdeps/ieee754/dbl-64/mpa.c.
23732 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23735 * posix/Makefile (tests): Add tst-pathconf.
23736 * posix/tst-pathconf.c: New test case.
23737 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23739 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23741 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
23743 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23745 2013-03-06 Andreas Jaeger <aj@suse.de>
23747 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23748 definition via __MAP_ANONYMOUS.
23750 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23751 it's not part of Linux headers.
23753 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23754 (MAP_HUGE_MASK): Define.
23756 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23758 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23759 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23761 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23762 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23764 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23765 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23767 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23769 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23770 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23771 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23772 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23773 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23774 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23776 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23779 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23780 Handle f2fs and efivarfs.
23782 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23785 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23786 (EFIVARFS_MAGIC): Add.
23787 (F2FS_LINK_MAX): Add.
23789 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23791 * stdio-common/vfprintf.c: Replace __builtin_expect with
23794 2013-03-06 Joseph Myers <joseph@codesourcery.com>
23797 * sysdeps/generic/bp-sym.h: Remove file.
23798 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23799 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23800 <bp-sym.h> and <bp-asm.h>.
23801 (__longjmp): Don't use BP_SYM.
23802 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23804 (memcpy): Don't use BP_SYM.
23805 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23806 <bp-sym.h> and <bp-asm.h>.
23807 (memcpy): Don't use BP_SYM.
23808 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23810 (memcpy): Don't use BP_SYM.
23811 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23813 (memset): Don't use BP_SYM.
23814 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23815 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23816 (__bzero): Don't use BP_SYM.
23817 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23818 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23819 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23820 <bp-sym.h> and <bp-asm.h>.
23821 (memcmp): Don't use BP_SYM. Remove comment about bounded
23823 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23824 <bp-sym.h> and <bp-asm.h>.
23825 (memcpy): Don't use BP_SYM.
23826 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23827 <bp-sym.h> and <bp-asm.h>.
23828 (memset): Don't use BP_SYM.
23829 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23830 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23831 (__bzero): Don't use BP_SYM.
23832 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23833 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23834 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23835 <bp-sym.h> and <bp-asm.h>.
23836 (strncmp): Don't use BP_SYM. Remove comment about bounded
23838 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23839 <bp-sym.h> and <bp-asm.h>.
23840 (memcpy): Don't use BP_SYM.
23841 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23842 <bp-sym.h> and <bp-asm.h>.
23843 (memset): Don't use BP_SYM.
23844 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23845 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23846 (__bzero): Don't use BP_SYM.
23847 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23848 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23849 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23850 <bp-sym.h> and <bp-asm.h>.
23851 (__memchr): Don't use BP_SYM.
23852 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23853 <bp-sym.h> and <bp-asm.h>.
23854 (memcmp): Don't use BP_SYM. Remove comment about bounded
23856 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23857 <bp-sym.h> and <bp-asm.h>.
23858 (memcpy): Don't use BP_SYM.
23859 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23860 <bp-sym.h> and <bp-asm.h>.
23861 (__mempcpy): Don't use BP_SYM.
23862 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23863 <bp-sym.h> and <bp-asm.h>.
23864 (__memrchr): Don't use BP_SYM.
23865 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23866 <bp-sym.h> and <bp-asm.h>.
23867 (memset): Don't use BP_SYM.
23868 (__bzero): Likewise.
23869 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23870 <bp-sym.h> and <bp-asm.h>.
23871 (__rawmemchr): Don't use BP_SYM.
23872 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23873 <bp-sym.h> and <bp-asm.h>.
23874 (__STRCMP): Don't use BP_SYM.
23875 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23876 <bp-sym.h> and <bp-asm.h>.
23877 (strchr): Don't use BP_SYM.
23878 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23879 <bp-sym.h> and <bp-asm.h>.
23880 (__strchrnul): Don't use BP_SYM.
23881 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23882 <bp-sym.h> and <bp-asm.h>.
23883 (strlen): Don't use BP_SYM.
23884 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23885 <bp-sym.h> and <bp-asm.h>.
23886 (strncmp): Don't use BP_SYM. Remove comment about bounded
23888 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23889 <bp-sym.h> and <bp-asm.h>.
23890 (__strnlen): Don't use BP_SYM.
23891 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23892 <bp-sym.h> and <bp-asm.h>.
23893 (__GI__setjmp): Don't use BP_SYM.
23894 (_setjmp): Likewise.
23895 (__sigsetjmp): Likewise.
23896 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23897 (L(start_addresses)): Don't use BP_SYM.
23898 (_start): Likewise.
23899 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23901 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23902 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23903 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23904 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23905 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23907 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23908 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23909 about bounded pointers.
23910 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23911 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23912 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23914 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23915 about bounded pointers. Remove GKM FIXME comments.
23916 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23917 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23919 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23920 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23921 Remove GKM FIXME comments.
23922 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23923 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23924 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23926 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23927 about bounded pointers. Remove GKM FIXME comment.
23928 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23930 (strncmp): Don't use BP_SYM. Remove comment about bounded
23932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23933 <bp-sym.h> and <bp-asm.h>.
23934 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23936 <bp-sym.h> and <bp-asm.h>.
23937 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23940 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23942 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23945 2013-03-05 David S. Miller <davem@davemloft.net>
23947 * po/es.po: Update from translation team.
23949 2013-03-05 Andreas Jaeger <aj@suse.de>
23951 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23952 <bits/mman-linux.h>.
23953 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23955 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23956 <bits/mman-linux.h> to end of file.
23957 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23959 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23960 <bits/mman-linux.h> to end of file.
23961 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23963 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23964 <bits/mman-linux.h> to end of file.
23966 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23967 (MCL_CURRENT, MCL_FUTURE): Define here.
23969 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23972 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23974 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23976 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23978 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23979 fourth parameter needed for rt_sigprocmask syscall.
23980 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23981 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23982 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23983 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23984 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23985 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23987 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23990 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23991 comment about bounded pointers.
23992 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23993 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23995 2013-03-04 Andreas Jaeger <aj@suse.de>
23997 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23998 common definitions.
24000 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24001 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24002 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24003 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24004 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24005 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24007 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24010 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24011 __ieee754_sqrl instead of __sqrl.
24013 2013-03-01 Joseph Myers <joseph@codesourcery.com>
24015 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24016 * sysdeps/powerpc/fpu_control.h: ... here.
24017 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24018 * sysdeps/powerpc/bits/fenvinline.h: ... here.
24019 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24020 * sysdeps/powerpc/bits/mathinline.h: ... here.
24022 2013-03-01 Roland McGrath <roland@hack.frob.com>
24024 * elf/dl-hwcaps.c (_dl_important_hwcaps):
24025 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24026 to just [NEED_DL_SYSINFO_DSO].
24027 * elf/dl-support.c: Likewise.
24028 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24029 * elf/rtld.c (dl_main): Likewise.
24030 * elf/setup-vdso.h (setup_vdso): Likewise.
24031 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24032 * sysdeps/unix/sysv/linux/dl-sysdep.c
24033 (_dl_discover_osversion): Likewise.
24035 2013-03-01 Carlos O'Donell <carlos@redhat.com>
24037 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24038 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24040 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
24042 * NEWS: Mention libm performance improvements and non-x86 PI
24045 * csu/libc-start.c (__pthread_initialize_minimal): Change
24046 function arguments.
24047 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24049 2013-02-28 Joseph Myers <joseph@codesourcery.com>
24052 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24053 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24054 <bp-sym.h> and <bp-asm.h>.
24055 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24056 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24058 (memcpy): Don't use BP_SYM.
24059 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24061 (__mpn_add_n): Don't use BP_SYM.
24062 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24063 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24065 (__mpn_addmul_1): Don't use BP_SYM.
24066 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24067 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24069 (_setjmp): Don't use BP_SYM.
24070 (__novmx_setjmp): Likewise.
24071 (__GI__setjmp): Likewise.
24072 (__vmx_setjmp): Likewise.
24073 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24075 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24076 (__bzero): Don't use BP_SYM.
24077 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24078 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24079 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24080 <bp-sym.h> and <bp-asm.h>.
24081 (memcpy): Don't use BP_SYM.
24082 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24083 <bp-sym.h> and <bp-asm.h>.
24084 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24085 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24086 <bp-sym.h> and <bp-asm.h>.
24087 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24088 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24090 (__mpn_lshift): Don't use BP_SYM.
24091 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24092 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24094 (memset): Don't use BP_SYM.
24095 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24096 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24097 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24099 (__mpn_mul_1): Don't use BP_SYM.
24100 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24101 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24102 <bp-sym.h> and <bp-asm.h>.
24103 (memcmp): Don't use BP_SYM.
24104 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24105 <bp-sym.h> and <bp-asm.h>.
24106 (memcpy): Don't use BP_SYM.
24107 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24108 <bp-sym.h> and <bp-asm.h>.
24109 (memset): Don't use BP_SYM.
24110 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24111 <bp-sym.h> and <bp-asm.h>.
24112 (strncmp): Don't use BP_SYM.
24113 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24114 <bp-sym.h> and <bp-asm.h>.
24115 (memcpy): Don't use BP_SYM.
24116 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24117 <bp-sym.h> and <bp-asm.h>.
24118 (memset): Don't use BP_SYM.
24119 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24120 <bp-sym.h> and <bp-asm.h>.
24121 (__memchr): Don't use BP_SYM.
24122 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24123 <bp-sym.h> and <bp-asm.h>.
24124 (memcmp): Don't use BP_SYM.
24125 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24126 <bp-sym.h> and <bp-asm.h>.
24127 (memcpy): Don't use BP_SYM.
24128 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24129 <bp-sym.h> and <bp-asm.h>.
24130 (__mempcpy): Don't use BP_SYM.
24131 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24132 <bp-sym.h> and <bp-asm.h>.
24133 (__memrchr): Don't use BP_SYM.
24134 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24135 <bp-sym.h> and <bp-asm.h>.
24136 (memset): Don't use BP_SYM.
24137 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24138 <bp-sym.h> and <bp-asm.h>.
24139 (__rawmemchr): Don't use BP_SYM.
24140 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24141 <bp-sym.h> and <bp-asm.h>.
24142 (__STRCMP): Don't use BP_SYM.
24143 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24144 <bp-sym.h> and <bp-asm.h>.
24145 (strchr): Don't use BP_SYM.
24146 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24147 <bp-sym.h> and <bp-asm.h>.
24148 (__strchrnul): Don't use BP_SYM.
24149 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24150 <bp-sym.h> and <bp-asm.h>.
24151 (strlen): Don't use BP_SYM.
24152 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24153 <bp-sym.h> and <bp-asm.h>.
24154 (strncmp): Don't use BP_SYM.
24155 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24156 <bp-sym.h> and <bp-asm.h>.
24157 (__strnlen): Don't use BP_SYM.
24158 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24160 (__mpn_rshift): Don't use BP_SYM.
24161 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24162 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24163 <bp-sym.h> and <bp-asm.h>.
24164 (__sigsetjmp): Don't use BP_SYM.
24165 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24166 (L(start_addresses)): Don't use BP_SYM.
24167 (_start): Likewise.
24168 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24170 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24171 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24172 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24173 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24175 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24176 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24177 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24178 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24180 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24182 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24183 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24185 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
24187 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24188 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24189 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24191 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24193 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24195 (strncmp): Don't use BP_SYM,
24196 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24198 (__mpn_sub_n): Don't use BP_SYM.
24199 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24200 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24202 (__mpn_submul_1): Don't use BP_SYM.
24203 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24205 <bp-sym.h> and <bp-asm.h>.
24206 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24208 <bp-sym.h> and <bp-asm.h>.
24209 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24212 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24214 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24215 Use ZK to minimize writes to Z.
24216 (sub_magnitudes): Simplify code a bit.
24217 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24218 Use ZK to minimize writes to Z.
24219 (sub_magnitudes): Simplify code a bit.
24221 2013-02-27 Roland McGrath <roland@hack.frob.com>
24223 * csu/gmon-start.c: Add special exception to license text.
24225 2013-02-27 Richard Henderson <rth@redhat.com>
24227 * scripts/config.guess: Update from config.git.
24228 * scripts/config.sub: Likewise.
24230 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24232 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24234 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24236 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24238 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24240 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24242 2013-02-26 Roland McGrath <roland@hack.frob.com>
24244 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24245 [$(build-shared = yes].
24247 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24249 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24250 (__mul): Reduce iterations for calculating mantissa.
24252 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24254 (__mpranred): Likewise.
24257 * malloc/memusagestat.c (main): Draw graphs for heap and stack
24258 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24260 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
24262 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24263 Define __attribute__.
24265 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24267 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24269 * posix/regex_internal.h (__attribute): Remove.
24270 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24271 (re_string_context_at): Likewise.
24272 (bitset_not): Use __attribute__ and mark function as possibly
24274 (bitset_merge): Likewise.
24275 (bitset_mask): Likewise.
24276 (re_string_char_size_at): Likewise.
24277 (re_string_wchar_at): Likewise.
24278 (re_string_elem_size_at): Likewise.
24280 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24282 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24286 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24290 (denorm): Likewise.
24291 (__dbl_mp): Likewise.
24292 (add_magnitudes): Likewise.
24293 (sub_magnitudes): Likewise.
24297 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24300 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24303 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24307 up changes with default code.
24308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24311 2013-02-24 Allan McRae <allan@archlinux.org>
24313 * manual/socket.texi (The Internet Namespace): Order menu items
24314 to match that in the file.
24316 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24317 node listing of the info page menu.
24319 2013-02-21 Joseph Myers <joseph@codesourcery.com>
24322 * sysdeps/i386/bp-asm.h: Remove file.
24323 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24324 (PARMS): Do not use macros from bp-asm.h.
24328 (__mpn_add_n): Do not use BP_SYM
24329 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24331 (PARMS): Do not use macros from bp-asm.h.
24334 (__mpn_addmul_1): Do not use BP_SYM
24335 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24337 (PARMS): Do not use macros from bp-asm.h.
24338 (SIGMSK): Likewise.
24339 (_setjmp): Likewise. Do not use BP_SYM.
24340 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24342 (PARMS): Do not use macros from bp-asm.h.
24343 (SIGMSK): Likewise.
24344 (setjmp): Likewise. Do not use BP_SYM.
24345 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24347 (PARMS): Do not use macros from bp-asm.h.
24348 (__frexp): Do not use BP_SYM.
24350 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24352 (PARMS): Do not use macros from bp-asm.h.
24353 (__frexpf): Do not use BP_SYM.
24354 (frexpf): Likewise.
24355 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24357 (PARMS): Do not use macros from bp-asm.h.
24358 (__frexpl): Do not use BP_SYM.
24359 (frexpl): Likewise.
24360 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24362 (PARMS): Do not use macros from bp-asm.h.
24363 (__remquo): Do not use BP_SYM.
24364 (remquo): Likewise.
24365 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24367 (PARMS): Do not use macros from bp-asm.h.
24368 (__remquof): Do not use BP_SYM.
24369 (remquof): Likewise.
24370 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24372 (PARMS): Do not use macros from bp-asm.h.
24373 (__remquol): Do not use BP_SYM.
24374 (remquol): Likewise.
24375 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24377 (PARMS): Do not use macros from bp-asm.h.
24380 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
24381 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24383 (PARMS): Do not use macros from bp-asm.h.
24384 (strlen): Do not use BP_SYM.
24385 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24387 (PARMS): Do not use macros from bp-asm.h.
24391 (__mpn_add_n): Do not use BP_SYM.
24392 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24394 (PARMS): Do not use macros from bp-asm.h.
24397 (__mpn_addmul_1): Do not use BP_SYM.
24398 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24401 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24403 (PARMS): Do not use macros from bp-asm.h.
24406 (__mpn_lshift): Do not use BP_SYM.
24407 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24409 (PARMS): Do not use macros from bp-asm.h.
24413 (memcpy): Likewise. Do not use BP_SYM.
24414 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24415 libc_hidden_def and weak_alias.
24416 (mempcpy): Do not use BP_SYM in weak_alias.
24417 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24419 (PARMS): Do not use macros from bp-asm.h.
24422 [!BZERO_P] (CHR): Likewise.
24423 (memset): Likewise. Do not use BP_SYM.
24424 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24426 (PARMS): Do not use macros from bp-asm.h.
24429 (__mpn_mul_1): Do not use BP_SYM.
24430 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24432 (PARMS): Do not use macros from bp-asm.h.
24435 (__mpn_rshift): Do not use BP_SYM.
24436 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24438 (PARMS): Do not use macros from bp-asm.h.
24441 (strchr): Likewise. Do not use BP_SYM.
24442 (index): Do not use BP_SYM in weak_alias.
24443 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24445 (PARMS): Do not use macros from bp-asm.h.
24448 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
24449 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24451 (PARMS): Do not use macros from bp-asm.h.
24452 (strlen): Do not use BP_SYM.
24453 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24455 (PARMS): Do not use macros from bp-asm.h.
24459 (__mpn_sub_n): Do not use BP_SYM.
24460 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24462 (PARMS): Do not use macros from bp-asm.h.
24465 (__mpn_submul_1): Do not use BP_SYM.
24466 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24468 (PARMS): Do not use macros from bp-asm.h.
24472 (__mpn_add_n): Do not use BP_SYM.
24473 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24476 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24478 (PARMS): Do not use macros from bp-asm.h.
24481 (memcmp): Do not use BP_SYM.
24482 (bcmp): Do not use BP_SYM in weak_alias.
24483 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24485 (PARMS): Do not use macros from bp-asm.h.
24489 (memcpy): Likewise. Do not use BP_SYM.
24490 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24492 (PARMS): Do not use macros from bp-asm.h.
24496 (memmove): Likewise. Do not use BP_SYM.
24497 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24499 (PARMS): Do not use macros from bp-asm.h.
24503 (__mempcpy): Likewise. Do not use BP_SYM.
24504 (mempcpy): Do not use BP_SYM in weak_alias.
24505 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24507 (PARMS): Do not use macros from bp-asm.h.
24510 [!BZERO_P] (CHR): Likewise.
24511 (memset): Likewise. Do not use BP_SYM.
24512 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24514 (PARMS): Do not use macros from bp-asm.h.
24516 (strcmp): Do not use BP_SYM.
24517 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24519 (PARMS): Do not use macros from bp-asm.h.
24522 [USE_AS_STRTOK_R] (SAVE): Likewise.
24523 (FUNCTION): Likewise. Do not use BP_SYM.
24524 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24526 (strtok_r): Likewise.
24527 (__GI___strtok_r): Likewise.
24528 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24529 (PARMS): Do not use macros from bp-asm.h.
24532 (__mpn_lshift): Do not use BP_SYM.
24533 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24534 (PARMS): Do not use macros from bp-asm.h.
24537 (__memchr): Do not use BP_SYM.
24538 (memchr): Do not use BP_SYM in weak_alias.
24539 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24540 (PARMS): Do not use macros from bp-asm.h.
24543 (memcmp): Do not use BP_SYM.
24544 (bcmp): Do not use BP_SYM in weak_alias.
24545 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24546 (PARMS): Do not use macros from bp-asm.h.
24549 (__mpn_mul_1): Do not use BP_SYM.
24550 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24552 (PARMS): Do not use macros from bp-asm.h.
24555 (__rawmemchr): Do not use BP_SYM.
24556 (rawmemchr): Do not use BP_SYM in weak_alias.
24557 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24558 (PARMS): Do not use macros from bp-asm.h.
24561 (__mpn_rshift): Do not use BP_SYM.
24562 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24563 (PARMS): Do not use macros from bp-asm.h.
24564 (SIGMSK): Likewise.
24565 (__sigsetjmp): Likewise. Do not use BP_SYM.
24566 * sysdeps/i386/start.S: Do not include "bp-sym.h".
24567 (_start): Do not use BP_SYM.
24568 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24569 (PARMS): Do not use macros from bp-asm.h.
24572 (__stpcpy): Likewise. Do not use BP_SYM.
24573 (stpcpy): Do not use BP_SYM in weak_alias.
24574 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24576 (PARMS): Do not use macros from bp-asm.h.
24580 (__stpncpy): Likewise. Do not use BP_SYM.
24581 (stpncpy): Do not use BP_SYM in weak_alias.
24582 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24583 (PARMS): Do not use macros from bp-asm.h.
24586 (strchr): Likewise. Do not use BP_SYM.
24587 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24589 (PARMS): Do not use macros from bp-asm.h.
24592 (__strchrnul): Likewise. Do not use BP_SYM.
24593 (strchrnul): Do not use BP_SYM in weak_alias.
24594 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24596 (PARMS): Do not use macros from bp-asm.h.
24598 (strcspn): Do not use BP_SYM.
24599 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24601 (PARMS): Do not use macros from bp-asm.h.
24604 (strpbrk): Likewise. Do not use BP_SYM.
24605 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24607 (PARMS): Do not use macros from bp-asm.h.
24610 (strrchr): Likewise. Do not use BP_SYM.
24611 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24612 (PARMS): Do not use macros from bp-asm.h.
24614 (strspn): Do not use BP_SYM.
24615 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24616 (PARMS): Do not use macros from bp-asm.h.
24620 (FUNCTION): Likewise. Do not use BP_SYM.
24621 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24623 (strtok_r): Likewise.
24624 (__GI___strtok_r): Likewise.
24625 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24626 (PARMS): Do not use macros from bp-asm.h.
24630 (__mpn_sub_n): Do not use BP_SYM.
24631 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24633 (PARMS): Do not use macros from bp-asm.h.
24636 (__mpn_submul_1): Do not use BP_SYM.
24637 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24639 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24641 (PARMS): Do not use macros from bp-asm.h.
24646 (__clone): Do not use BP_SYM.
24647 (clone): Do not use BP_SYM in weak_alias.
24648 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24650 (PARMS): Do not use macros from bp-asm.h.
24652 (__mmap64): Do not use BP_SYM.
24653 (mmap64): Do not use BP_SYM in weak_alias.
24654 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24655 <bp-sym.h> and <bp-asm.h>.
24656 (PARMS): Do not use macros from bp-asm.h.
24657 (__posix_fadvise64_l64): Do not use BP_SYM.
24658 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24659 (PARMS): Do not use macros from bp-asm.h.
24661 (semtimedop): Do not use BP_SYM.
24662 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24665 2013-02-21 Allan McRae <allan@archlinux.org>
24667 * manual/message.texi (Charset conversion in gettext):
24668 Move @end statement to beginning of line.
24670 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24672 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24674 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24677 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24678 (denorm): Likewise.
24679 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24680 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24682 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24684 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24685 tail-call to the resolved function if pltexit isn't needed.
24687 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24689 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24690 or Y being zero as being unlikely.
24691 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24694 2013-02-20 Carlos O'Donell <carlos@redhat.com>
24696 * manual/nss.texi (System Databases and Name Service Switch):
24697 Remove frobnicate @pxref.
24699 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24701 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24702 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24704 2013-02-20 Petr Machata <pmachata@redhat.com>
24706 * elf/elf.h (R_ARM_TARGET1): New macro.
24707 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24708 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24709 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24710 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24711 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24712 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24713 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24714 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24715 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24716 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24717 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24718 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24719 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24720 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24721 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24722 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24723 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24724 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24725 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24726 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24727 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24728 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24729 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24730 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24731 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24732 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24733 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24734 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24735 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24736 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24737 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24738 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24739 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24740 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24741 (R_ARM_THM_GOT_BREL12): Likewise.
24742 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24743 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24744 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24745 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24746 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24747 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24748 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24749 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24750 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24752 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24754 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24755 __attribute_used__ to __attribute__ ((unused)).
24757 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24759 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24761 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24762 comment formatting.
24763 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24765 2013-02-19 Joseph Myers <joseph@codesourcery.com>
24768 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24770 (ENTER): Remove both macro definitions.
24772 (CHECK_BOUNDS_LOW): Likewise.
24773 (CHECK_BOUNDS_HIGH): Likewise.
24774 (CHECK_BOUNDS_BOTH): Likewise.
24775 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24776 (RETURN_BOUNDED_POINTER): Likewise.
24777 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24778 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24779 (POP_ERRNO_LOCATION_RETURN): Likewise.
24780 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24781 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24782 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24784 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24785 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24786 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24787 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24788 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24789 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24790 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24791 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24792 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24793 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24794 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24795 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24796 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24797 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24799 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24800 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24802 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24803 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24804 * sysdeps/i386/i586/memset.S (memset): Likewise.
24805 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24806 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24807 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24809 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24810 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24811 Change uses of L(2) to L(out).
24812 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24813 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24814 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24815 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24816 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24818 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24819 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24821 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24822 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24823 (RETURN): Do not use macro LEAVE.
24824 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24825 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24826 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24827 * sysdeps/i386/i686/memset.S (memset): Likewise.
24828 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24829 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24830 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24831 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24833 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24834 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24835 L(1_2) and L(1_3) into L(1).
24836 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24837 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24838 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24839 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24840 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24841 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24842 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24843 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24844 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24846 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24847 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24848 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24849 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24850 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24851 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24852 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24853 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24854 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24855 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24856 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24857 * sysdeps/i386/strspn.S (strspn): Likewise.
24858 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24860 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24861 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24862 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24863 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24864 L(1_3) into L(1_1).
24865 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24866 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24867 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24869 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24871 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24873 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24876 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24878 * math/atest-exp.c (exp_mpn): Remove ROUND.
24879 * math/atest-exp2.c (exp_mpn): Likewise.
24880 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24882 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24883 * stdlib/tst-tls-atexit-lib.c: Likewise.
24884 * stdlib/tst-tls-atexit.c: Likewise.
24886 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24888 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24889 and __attribute_alloc_size__.
24891 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24893 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24894 __attribute_alloc_size__.
24895 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24896 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24898 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24900 * include/programs/xmalloc.h: New file.
24901 * catgets/gencat.c: Include it.
24902 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24903 * elf/pldd.c: Likewise.
24904 * iconv/iconv_charmap.c: Likewise.
24905 * iconv/iconvconfig.c: Likewise.
24906 * iconv/strtab.c: Likewise.
24907 * locale/programs/locale.c: Likewise.
24908 * locale/programs/localedef.h: Likewise.
24909 * locale/programs/simple-hash.c: Likewise.
24910 * nscd/nscd.h: Likewise.
24911 * nss/makedb.c: Likewise.
24912 * sysdeps/generic/ldconfig.h: Likewise.
24914 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24916 * Versions.def: Add GLIBC_2.18.
24917 * include/link.h (struct link_map): New member l_tls_dtor_count.
24918 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24919 (__call_tls_dtors): Likewise.
24920 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24921 __cxa_thread_atexit_impl.
24922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24930 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24938 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24939 (tests): Add test case tst-tls-atexit.
24940 (modules-names): Add shared library for tst-tls-atexit.
24941 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24942 (GLIBC_PRIVATE): Add __call_tls_dtors.
24943 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24945 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24946 * stdlib/tst-tls-atexit.c: New test case.
24947 * stdlib/tst-tls-atexit-lib.c: New test case.
24949 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24951 * elf/Versions (ld): Add _dl_find_dso_for_object.
24952 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24953 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24954 (dl_open_worker): Use _dl_find_dso_for_object.
24955 * elf/dl-sym.c (do_sym): Likewise.
24956 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24958 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24960 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24961 Syntactic changes only.
24962 (_dl_runtime_profile): Do a tail-call to the resolved function.
24964 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24967 * sysdeps/x86_64/bp-asm.h: Remove file.
24968 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24969 <bp-sym.h> and <bp-asm.h>.
24970 (__clone): Do not use BP_SYM.
24971 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24972 <bp-sym.h> and <bp-asm.h>.
24973 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24974 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24976 (_setjmp): Do not use BP_SYM.
24977 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24979 (setjmp): Do not use BP_SYM.
24980 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24982 (mempcpy): Do not use BP_SYM in weak_alias.
24983 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24985 (strchr): Do not use BP_SYM.
24986 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24988 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24989 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24990 (_start): Do not use BP_SYM.
24991 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24993 (strcat): Do not use BP_SYM.
24994 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24996 (STRCMP): Do not use BP_SYM.
24997 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24999 (STRCPY): Do not use BP_SYM.
25000 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25002 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25004 (FUNCTION): Do not use BP_SYM.
25005 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25007 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25009 2013-02-17 Andreas Jaeger <aj@suse.de>
25011 * time/Versions: Sort entries.
25012 * string/Versions: Likewise.
25013 * resolv/Versions: Likewise.
25014 * posix/Versions: Likewise.
25015 * iconv/Versions: Likewise.
25016 * elf/Versions: Likewise.
25017 * wcsmbs/Versions: Likewise.
25019 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25021 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25022 loop termination condition.
25024 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25025 variable to calculate EZ.
25028 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25029 the lower precision input.
25031 2013-02-15 Joseph Myers <joseph@codesourcery.com>
25034 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25035 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25036 (run-via-rtld-prefix): Do not handle %-bp tests.
25037 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25038 (all-object-suffixes): Remove .ob.
25039 (bppfx): Remove variable.
25040 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25041 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25042 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25043 [$(build-bounded) = yes] (libtype.ob): Likewise.
25044 * Makerules (elide-routines.ob): Remove variable.
25045 (do-tests-clean): Do not handle *-bp.out.
25046 (common-mostlyclean): Do not handle *-bp and *-bp.out.
25047 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25048 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25049 (tests): Do not include $(tests-bp.out).
25050 (xtests): Do not include $(xtests-bp.out).
25051 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25052 [$(build-bounded) = yes] ($(addprefix
25053 $(objpfx),$(binaries-bounded))): Remove rule.
25054 ($(objpfx)%-bp.out): Remove rule.
25055 * config.make.in (build-bounded): Remove variable.
25056 * crypt/Makefile [$(build-bounded) = yes]
25057 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25058 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25059 append to variable.
25060 [$(build-bounded) = yes] (install-lib): Likewise.
25061 [$(build-bounded) = yes] (generated): Likewise.
25062 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25064 * intl/Makefile [$(build-bounded) = yes]
25065 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25066 * math/Makefile [$(build-bounded) = yes]
25067 ($(tests:%=$(objpfx)%-bp): Likewise.
25068 * misc/Makefile [$(build-bounded) = yes]
25069 ($(objpfx)tst-tsearch-bp): Likewise.
25070 * nptl/Makeconfig (bounded-thread-library): Remove variable.
25071 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25073 * string/Makefile (o-objects.ob): Remove variable.
25074 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25075 (CFLAGS-.ob): Remove variable.
25076 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25077 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25078 both definitions of variable.
25079 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25080 (ASFLAGS-.ob): Remove variable.
25082 2013-02-14 Joseph Myers <joseph@codesourcery.com>
25085 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25086 Remove __BOUNDED_POINTERS__ from condition.
25087 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25088 * string/bits/string2.h [!__NO_STRING_INLINES &&
25089 !__BOUNDED_POINTERS__]: Likewise.
25090 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25092 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25093 Remove conditional code.
25094 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25095 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25096 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25100 * csu/libc-start.c: Do not include <bp-sym.h>.
25101 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25102 * elf/dl-open.c: Do not include <bp-sym.h>.
25103 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25104 * math/fegetenv.c: Do not include <bp-sym.h>.
25105 (fegetenv): Do not use BP_SYM in versioned symbols.
25106 * nptl/sysdeps/pthread/bits/libc-lockP.h
25107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25110 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25112 (__pthread_mutex_destroy): Likewise.
25113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25114 (__pthread_mutex_lock): Likewise.
25115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25116 (__pthread_mutex_trylock): Likewise.
25117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25118 (__pthread_mutex_unlock): Likewise.
25119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25120 (__pthread_mutexattr_init): Likewise.
25121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25122 (__pthread_mutexattr_destroy): Likewise.
25123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25124 (__pthread_mutexattr_settype): Likewise.
25125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25126 (__pthread_rwlock_init): Likewise.
25127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25128 (__pthread_rwlock_destroy): Likewise.
25129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25130 (__pthread_rwlock_rdlock): Likewise.
25131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25132 (__pthread_rwlock_tryrdlock): Likewise.
25133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25134 (__pthread_rwlock_wrlock): Likewise.
25135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25136 (__pthread_rwlock_trywrlock): Likewise.
25137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25138 (__pthread_rwlock_unlock): Likewise.
25139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25140 (__pthread_key_create): Likewise.
25141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25142 (__pthread_setspecific): Likewise.
25143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25144 (__pthread_getspecific): Likewise.
25145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25148 (_pthread_cleanup_push_defer): Likewise.
25149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25150 (_pthread_cleanup_pop_restore): Likewise.
25151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25152 (pthread_setcancelstate): Likewise.
25153 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25155 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25156 (memchr): Do not use BP_SYM in weak_alias.
25157 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25158 (fegetenv): Do not use BP_SYM in versioned symbols.
25159 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25160 (fesetenv): Do not use BP_SYM in versioned symbols.
25161 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25162 (feupdateenv): Do not use BP_SYM in versioned symbols.
25163 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25164 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25165 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25166 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25167 (open64): Do not use BP_SYM in weak_alias.
25168 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25169 (fegetenv): Do not use BP_SYM in versioned symbols.
25170 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25171 (fesetenv): Do not use BP_SYM in versioned symbols.
25172 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25173 (feupdateenv): Do not use BP_SYM in versioned symbols.
25174 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25175 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25176 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25177 (feraiseexcept): Do not use BP_SYM in versioned symbols.
25178 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25179 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25180 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25182 (__libc_start_main): Do not use BP_SYM.
25184 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25186 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25187 redundant return line.
25189 (denorm): Likewise.
25190 (dbl_mp): Likewise.
25191 (sub_magnitudes): Likewise.
25197 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25199 (denorm): Likewise.
25200 (dbl_mp): Likewise.
25201 (sub_magnitudes): Likewise.
25208 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25210 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25211 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25214 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25215 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25216 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25217 of __mul for squares.
25218 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25220 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25222 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25223 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25225 2013-02-13 Joseph Myers <joseph@codesourcery.com>
25228 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25230 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25231 prototype or function definition. Rename ubp_* variables and
25232 parameters. Remove argv definitions conditional on
25233 [__BOUNDED_POINTERS__].
25234 * debug/backtrace.c (__backtrace): Do not use __unbounded.
25235 * elf/dl-runtime.c (_dl_fixup): Likewise.
25236 * include/set-hooks.h (RUN_HOOK): Likewise.
25237 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25239 * string/strcpy.c (strcpy): Do not use __unbounded.
25240 * sysdeps/generic/frame.h (struct layout): Likewise.
25241 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25242 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25243 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25244 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25245 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25246 (__backtrace): Likewise.
25247 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25249 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25250 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25251 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25253 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25254 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25255 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25256 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25257 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25258 Do not use __unbounded.
25259 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25260 Rename __unboundedrlimits parameter to rlimits in prototype.
25261 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25262 Do not use __unbounded.
25263 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25264 not use __ptrvalue.
25265 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25266 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25267 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25268 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25269 __ptrvalue or __unbounded.
25270 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25271 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25273 (__new_msgctl): Do not use __ptrvalue.
25274 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25276 (__libc_msgrcv): Do not use __ptrvalue.
25277 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25278 startup_info): Do not use __unbounded.
25279 (__libc_start_main): Likewise. Rename ubp_* variables and
25280 parameters. Remove argv definitions conditional on
25281 [__BOUNDED_POINTERS__].
25282 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25284 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25286 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25288 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25290 (__new_shmctl): Do not use __ptrvalue.
25291 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25292 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25294 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25295 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25296 (__libc_sigaction): Likewise.
25297 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25298 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25300 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25302 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
25304 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25306 * string/mempcpy.c: Implement by calling memcpy.
25308 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25310 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25312 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25315 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25316 values in the mantissa.
25318 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25319 minimize writes to Z.
25320 (sub_magnitudes): Simplify code a bit.
25322 2013-02-12 Roland McGrath <roland@hack.frob.com>
25324 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25325 from the message. The linker prefixes all warnings with that already.
25327 2013-02-12 Andreas Schwab <schwab@suse.de>
25330 * posix/regexec.c (extend_buffers): Add parameter min_len.
25331 (check_matching): Pass minimum needed length.
25332 (clean_state_log_if_needed): Likewise.
25333 (get_subexp): Likewise.
25334 * posix/Makefile (tests): Add bug-regex34.
25335 (bug-regex34-ENV): Define.
25336 * posix/bug-regex34.c: New file.
25339 * posix/regcomp.c (parse_bracket_exp): When looking up collating
25340 elements compare against the byte sequence of it, not its name.
25341 * posix/Makefile (tests): Add bug-regex35.
25342 (bug-regex35-ENV): Define.
25343 * posix/bug-regex35.c: New file.
25345 2013-02-11 Tom de Vries <tom@codesourcery.com>
25347 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
25349 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25350 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25351 (CHECK_EOL): Add undef.
25353 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
25355 * bits/stdlib-bsearch.h: New file.
25356 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25357 * stdlib/stdlib.h: Likewise.
25359 2013-02-11 Roland McGrath <roland@hack.frob.com>
25361 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25362 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25364 * manual/search.texi (Array Search Function): Add missing const in
25366 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25367 declaration to use rlim_t.
25368 (Basic Scheduling Functions): Remove erroneous const from
25369 sched_getparam prototype. Remove erroneous * from
25370 sched_get_priority_max and sched_get_priority_min prototypes.
25371 (Resource Usage): Fix summary @comment on vtimes to refer to
25372 sys/vtimes.h rather than vtimes.h.
25373 Add missing *s in vtimes prototype.
25374 (Limits on Resources): Fix ulimit prototype to return long int.
25375 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25376 prototypes to use long int rather than double.
25377 (BSD Random): Fix initstate and setstate to use char *, not void *.
25378 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25379 prototype to make second argument 'struct aiocb64 *const[]'.
25380 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25381 (Status of AIO Operations): Remove erroneous const in aio_return and
25382 aio_return64 prototypes.
25383 (Synchronizing I/O): Fix sync prototype to return void.
25384 * manual/startup.texi (Suboptions): Remove an erroneous const in
25385 getsubopt prototype.
25386 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25387 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25388 use size_t rather than int.
25389 (Scanning All Users): Likewise for getpwent_r.
25390 (Setting Groups): Add missing const to setgroups prototype.
25391 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25392 * manual/socket.texi (Host Names): Fix gethostbyaddr and
25393 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25394 'const void *' rather than 'const char *'.
25395 (Host Address Functions): Likewise for inet_ntop.
25396 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25397 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25398 ssize_t for return value.
25399 (Sending Data): Likewise for send, sendto, sendmsg.
25400 (Socket Option Functions): Add a missing const in setsockopt prototype.
25401 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25402 use wchar_t for the argument.
25403 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25404 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25406 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25407 double/float/long double for second argument.
25408 Fix return types of significand, significandf, significandl.
25409 * manual/filesys.texi (Setting Permissions): Use mode_t for second
25410 argument in fchmod prototype.
25411 (File Owner): Use uid_t and gid_t in fchown prototype.
25412 (File Times): Add const to utimes, futimes, and lutimes prototypes.
25413 (Making Special Files): Use mode_t and dev_t in mknod prototype.
25414 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25415 use 'const struct dirent **' as argument types to CMP function pointer
25417 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25418 (File Times): Fix summary magic @comment for struct utimbuf and utime
25419 to refer to utime.h, not time.h.
25420 * manual/string.texi (Argz Functions): Add missing const in
25421 argz_extract and argz_next prototypes.
25422 (Finding Tokens in a String): Likewise for basename.
25423 (String/Array Comparison): Fix typo in wcscasecmp prototype.
25424 (Copying and Concatenation): Fix typo in wmemmove prototype.
25425 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25426 (Signal Stack): Remove erroneous const in sigstack prototype.
25427 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25429 (Simple Calendar Time): Likewise for stime.
25430 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25432 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25433 say sys/sysctl.h instead.
25434 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25435 and vsyslog prototypes.
25437 2013-02-11 Tom de Vries <tom@codesourcery.com>
25439 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25442 2013-02-11 Roland McGrath <roland@hack.frob.com>
25444 * misc/sys/mman.h: Fix typo in mremap comment.
25446 2013-02-08 Roland McGrath <roland@hack.frob.com>
25448 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25449 the '\0' terminator.
25451 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25454 * debug/segfault.c: Don't include <bp-checks.h>.
25455 * sysdeps/generic/bp-checks.h: Remove file.
25456 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25457 (__GETDENTS): Don't use CHECK_N.
25458 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25459 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25460 (__getgroups): Don't use CHECK_N.
25461 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25462 (setgroups): Don't use CHECK_N.
25463 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25464 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25465 (__libc_msgrcv): Don't use CHECK_N.
25466 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25467 (__libc_msgsnd): Don't use CHECK_N.
25468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25470 (__libc_pread): Don't use CHECK_N.
25471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25472 include <bp-checks.h>.
25473 (__libc_pread64): Don't use CHECK_N.
25474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25475 include <bp-checks.h>.
25476 (__libc_pwrite): Don't use CHECK_N.
25477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25478 include <bp-checks.h>.
25479 (__libc_pwrite64): Don't use CHECK_N.
25480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25482 (__libc_pread): Don't use CHECK_N.
25483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25484 include <bp-checks.h>.
25485 (__libc_pread64): Don't use CHECK_N.
25486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25487 include <bp-checks.h>.
25488 (__libc_pwrite): Don't use CHECK_N.
25489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25490 include <bp-checks.h>.
25491 (__libc_pwrite64): Don't use CHECK_N.
25492 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25493 (do_pread): Don't use CHECK_N.
25494 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25495 (do_pread64): Don't use CHECK_N.
25496 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25497 (do_pwrite): Don't use CHECK_N.
25498 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25499 (do_pwrite64): Don't use CHECK_N.
25500 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25501 (__libc_readv): Don't use CHECK_N.
25502 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25503 (semop): Don't use CHECK_N.
25504 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25506 (semtimedop): Don't use CHECK_N.
25507 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25508 (__libc_pread): Don't use CHECK_N.
25509 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25511 (__libc_pread64): Don't use CHECK_N.
25512 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25514 (__libc_pwrite): Don't use CHECK_N.
25515 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25517 (__libc_pwrite64): Don't use CHECK_N.
25518 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25520 (__libc_msgrcv): Don't use CHECK_N.
25521 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25522 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
25523 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25524 (__libc_writev): Don't use CHECK_N.
25526 2013-02-08 Roland McGrath <roland@hack.frob.com>
25528 * string/strcpy.c: Removed unused variable.
25530 * Makeconfig (+sysdep-includes): Define with := rather than =.
25531 Use an existing include/ subdir of each sysdeps dir before it.
25533 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25535 * nscd/connection.c (register_traced_file): Comment function.
25536 [HAVE_INOTIFY] (union __inev): Define.
25537 [HAVE_INOTIFY] (inotify_check_files): New function.
25538 [HAVE_INOTIFY] (clear_db_cache): Likewise.
25539 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25541 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25543 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25545 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25546 loaded if not already and that a failure is permanent.
25548 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25551 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25552 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25554 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25557 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25558 (CHECK_1_NULL_OK): Likewise.
25559 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25560 (__fxstat): Do not use CHECK_1.
25561 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25563 (___fxstat64): Do not use CHECK_1.
25564 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25566 (__fxstatat): Do not use CHECK_1.
25567 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25569 (__fxstatat64): Do not use CHECK_1.
25570 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25572 (__fxstat): Do not use CHECK_1.
25573 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25575 (__fxstatat): Do not use CHECK_1.
25576 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25578 (__getresgid): Do not use CHECK_1.
25579 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25581 (__getresuid): Do not use CHECK_1.
25582 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25584 (__lxstat): Do not use CHECK_1.
25585 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25587 (__old_msgctl): Do not use CHECK_1.
25588 (__new_msgctl): Likewise.
25589 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25591 (__new_setrlimit): Do not use CHECK_1.
25592 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25594 (__old_shmctl): Do not use CHECK_1.
25595 (__new_shmctl): Likewise.
25596 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25598 (__xstat): Do not use CHECK_1.
25599 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25600 (__lxstat): Do not use CHECK_1.
25601 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25603 (___lxstat64): Do not use CHECK_1.
25604 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25605 (__old_msgctl): Do not use CHECK_1.
25606 (__new_msgctl): Likewise.
25607 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25609 (__gettimeofday): Do not use CHECK_1.
25610 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25611 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25612 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25614 (__gettimeofday): Do not use CHECK_1.
25615 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25616 (__old_shmctl): Do not use CHECK_1_NULL_OK.
25617 (__new_shmctl): Do not use CHECK_1.
25618 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25620 (do_sigtimedwait): Do not use CHECK_1.
25621 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25623 (do_sigwaitinfo): Do not use CHECK_1.
25624 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25626 (msgctl): Do not use CHECK_1.
25627 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25629 (shmctl): Do not use CHECK_1.
25630 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25631 (ustat): Do not use CHECK_1.
25632 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25634 (__fxstat): Do not use CHECK_1.
25635 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25637 (__fxstatat): Do not use CHECK_1.
25638 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25640 (__lxstat): Do not use CHECK_1.
25641 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25643 (__xstat): Do not use CHECK_1.
25644 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25645 (__xstat): Do not use CHECK_1.
25646 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25647 (___xstat64): Do not use CHECK_1.
25650 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25652 (CHECK_BOUNDS_HIGH): Likewise.
25653 * string/strcpy.c: Do not include <bp-checks.h>.
25654 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25656 2013-02-07 Roland McGrath <roland@hack.frob.com>
25658 * nscd/nscd-client.h (__nscd_drop_map_ref):
25659 Add __attribute__ ((unused)).
25660 * nis/nss-nisplus.h (niserr2nss): Likewise.
25662 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25663 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25665 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25666 Remove inline keyword.
25667 * include/rounding-mode.h (round_away): Likewise.
25668 * libio/wfileops.c (adjust_wide_data): Likewise.
25669 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25670 (__m128i_strloadu_tolower): Likewise.
25671 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25672 (__m128i_strloadu_tolower): Likewise.
25673 * time/mktime.c (ydhms_diff): Likewise.
25674 * locale/elem-hash.h (elem_hash): Likewise.
25675 * locale/setlocale.c (setdata): Likewise.
25676 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25677 (re_string_wchar_at): Likewise.
25678 (bitset_not, bitset_merge, bitset_mask): Likewise.
25679 [!(__GNUC__ > 3)] (inline): Remove macro.
25680 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25681 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25682 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25683 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25684 * string/memcmp.c (memcmp_bytes): Likewise.
25685 * locale/programs/locarchive.c (compute_hashval): Likewise.
25686 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25687 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25688 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25689 * nss/getent.c (print_rpc, print_protocols): Likewise.
25690 (print_passwd, print_group, print_aliases): Likewise.
25691 * nis/nss-nisplus.h (niserr2nss): Likewise.
25692 * nscd/connections.c (restart_p): Likewise.
25693 Change return type to bool.
25695 2013-02-05 Roland McGrath <roland@hack.frob.com>
25697 * Makeconfig (all-Depend-files): Add existing
25698 $(sorted-subdirs:=/Depend) files.
25699 (all-subdirs): Remove nss.
25700 * sysdeps/unix/inet/Subdirs: Add it here instead.
25701 * hesiod/Depend: New file.
25703 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25704 instead of calling alloca.
25706 * io/lseek.c (__lseek): Rename to __libc_lseek.
25707 Define __lseek as an alias.
25709 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25711 2013-02-04 Carlos O'Donell <carlos@redhat.com>
25713 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25714 else clause and remove check for non-standard endianness.
25716 2013-02-04 David S. Miller <davem@davemloft.net>
25718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25720 2013-02-04 Joseph Myers <joseph@codesourcery.com>
25723 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25724 (__ubp_memchr): Remove prototype.
25725 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25726 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25727 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25728 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25729 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25731 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25732 (__ubp_memchr): Likewise.
25733 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25734 (__ubp_memchr): Likewise.
25735 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25736 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25737 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25738 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25740 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25741 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25742 (__getcwd): Do not use CHECK_STRING.
25743 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25745 (__real_chown): Do not use CHECK_STRING.
25746 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25748 (fchownat): Do not use CHECK_STRING.
25749 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25751 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25753 (__lchown): Do not use CHECK_STRING.
25754 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25755 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25756 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25757 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25759 include <bp-checks.h>.
25760 (truncate64): Do not use CHECK_STRING.
25761 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25763 (__real_chown): Do not use CHECK_STRING.
25764 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25766 (__lchown): Do not use CHECK_STRING.
25767 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25769 (__chown): Do not use CHECK_STRING.
25770 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25772 (truncate64): Do not use CHECK_STRING.
25773 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25775 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25776 (__xmknod): Do not use CHECK_STRING.
25777 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25779 (__xmknodat): Do not use CHECK_STRING.
25780 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25781 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25783 2013-02-04 Andreas Schwab <schwab@suse.de>
25786 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25787 * include/netdb.h: Likewise for h_errno.
25788 * elf/tst-stackguard1.c: Include <tls.h>.
25790 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25792 * elf/link.h (struct link_map): Extend the l_addr comment.
25793 * include/link.h (struct link_map): Likewise.
25795 2013-02-01 Joseph Myers <joseph@codesourcery.com>
25798 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25799 (BOUNDED_1): Remove macro.
25800 * debug/backtrace.c: Don't include <bp-checks.h>.
25801 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25802 (__backtrace): Likewise.
25803 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25805 (__backtrace): Don't use BOUNDED_1.
25806 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25808 (__backtrace): Don't use BOUNDED_1.
25809 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25810 (__backtrace): Don't use BOUNDED_1.
25811 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25812 (shmat): Don't use BOUNDED_N.
25814 2013-01-31 Joseph Myers <joseph@codesourcery.com>
25817 * sysdeps/generic/bp-start.h: Remove file.
25818 * csu/libc-start.c: Don't include <bp-start.h>.
25819 (LIBC_START_MAIN): Set up __environ directly instead of using
25820 INIT_ARGV_and_ENVIRON.
25821 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25825 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25827 (CHECK_FCNTL): Likewise.
25828 (CHECK_N_PAGES): Likewise.
25831 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25833 (CHECK_SIGSET_NULL_OK): Likewise.
25834 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25836 (sigpending): Don't use CHECK_SIGSET.
25837 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25839 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25840 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25842 (do_sigsuspend): Don't use CHECK_SIGSET.
25843 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25845 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25846 (do_sigwait): Don't use CHECK_SIGSET.
25847 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25849 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25850 include <bp-checks.h>.
25851 (sigpending): Don't use CHECK_SIGSET.
25852 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25853 include <bp-checks.h>.
25854 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25855 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25857 (sigpending): Don't use CHECK_SIGSET.
25858 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25860 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25863 * sysdeps/generic/bp-semctl.h: Remove file.
25864 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25865 <bp-checks.h> and <bp-semctl.h>.
25866 (__old_semctl): Don't use CHECK_SEMCTL.
25867 (__new_semctl): Likewise.
25868 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25870 (__old_semctl): Don't use CHECK_SEMCTL.
25871 (__new_semctl): Likewise.
25872 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25873 <bp-checks.h> and <bp-semctl.h>.
25874 (__old_semctl): Don't use CHECK_SEMCTL.
25875 (__new_semctl): Likewise.
25876 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25877 <bp-checks.h> and <bp-semctl.h>.
25878 (semctl): Don't use CHECK_SEMCTL.
25881 * Makerules (elide-bp-thunks): Remove variable.
25882 (elide-routines.oS): Don't use $(elide-bp-thunks).
25883 (elide-routines.os): Likewise.
25884 (elide-routines.o): Likewise.
25885 (elide-routines.op): Likewise.
25886 (elide-routines.og): Likewise.
25887 (objects): Don't use $(bp-thunks).
25888 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25890 (common-generated): Do not add s-proto-bp.d.
25891 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25894 Do not generate makefile rules for bounded-pointer thunks.
25895 * sysdeps/generic/bp-thunks.h: Remove file.
25896 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25897 * sysdeps/unix/s-proto-bp.S: Likewise.
25900 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25901 parts of result separately when argument is not close to line from
25902 -i to i and one part of argument is small.
25903 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25904 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25905 * math/libm-test.inc (cacos_test): Add more tests.
25906 (casin_test): Likewise.
25907 (casinh_test): Likewise.
25908 * sysdeps/i386/fpu/libm-test-ulps: Update.
25909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25911 2013-01-31 David S. Miller <davem@davemloft.net>
25913 * po/de.po: Update from translation team.
25915 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25917 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25919 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25921 * configure.in (_AC_PROG_CC_C89): New definition.
25922 * configure: Regenerate.
25924 * configure.in (AC_PROG_CPP): New definition.
25925 * configure: Regenerate.
25927 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25929 * debug/tst-backtrace.h: New file.
25930 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25931 (ret): Remove variable.
25933 (FAIL): Remove macro.
25934 (NO_INLINE): Likewise.
25935 (fn1): Use match function instead of strstr.
25936 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25937 (ret): Remove variable.
25939 (FAIL): Remove macro.
25940 (NO_INLINE): Likewise.
25941 (fn): Use match function instead of strstr.
25942 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25943 (ret): Remove variable.
25945 (FAIL): Remove macro.
25946 (NO_INLINE): Likewise.
25947 (handle_signal): Use match function instead of strstr.
25948 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25949 (ret): Remove variable.
25951 (FAIL): Remove macro.
25952 (NO_INLINE): Likewise.
25953 (handle_signal): Use match function instead of strstr.
25955 2013-01-23 Roland McGrath <roland@hack.frob.com>
25957 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25959 2013-01-23 David S. Miller <davem@davemloft.net>
25961 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25962 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25963 argument of CAS if possible.
25964 * sysdeps/sparc/sparc64/bits/atomic.h
25965 (__arch_compare_and_exchange_val_32_acq): Likewise.
25966 (__arch_compare_and_exchange_val_64_acq): Likewise.
25968 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25970 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25971 * sysdeps/posix/ulimit.c: ... this.
25972 Include <limits.h>.
25973 * sysdeps/unix/bsd/ulimit.c: Remove file.
25975 2013-01-23 Adam Conrad <adconrad@0c3.net>
25977 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25978 (LDFLAGS-tst-array5): Likewise.
25980 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25983 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25984 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25985 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25986 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25988 2013-01-21 David S. Miller <davem@davemloft.net>
25990 * sysdeps/sparc/backtrace.c: New file.
25991 * sysdeps/sparc/sparc32/backtrace.h: New file.
25992 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25993 * sysdeps/sparc/sparc64/backtrace.h: New file.
25994 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25995 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25998 2013-01-21 Andreas Schwab <schwab@suse.de>
26001 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26004 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
26006 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26008 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26010 2013-01-18 Joseph Myers <joseph@codesourcery.com>
26011 Mark Mitchell <mark@codesourcery.com>
26012 Tom de Vries <tom@codesourcery.com>
26013 Paul Pluzhnikov <ppluzhnikov@google.com>
26015 * debug/tst-backtrace2.c: New file.
26016 * debug/tst-backtrace3.c: Likewise.
26017 * debug/tst-backtrace4.c: Likewise.
26018 * debug/tst-backtrace5.c: Likewise.
26019 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26020 (CFLAGS-tst-backtrace3.c): Likewise.
26021 (CFLAGS-tst-backtrace4.c): Likewise.
26022 (CFLAGS-tst-backtrace5.c): Likewise.
26023 (LDFLAGS-tst-backtrace2): Likewise.
26024 (LDFLAGS-tst-backtrace3): Likewise.
26025 (LDFLAGS-tst-backtrace4): Likewise.
26026 (LDFLAGS-tst-backtrace5): Likewise.
26027 (tests): Add new tests tst-backtrace2, tst-backtrace3,
26028 tst-backtrace4 and tst-backtrace5.
26030 2013-01-18 Anton Blanchard <anton@samba.org>
26031 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26033 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26034 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26035 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26036 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26038 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26039 "+r" and remove output regs list as redundant. Add explicit inline
26040 asm to specify register of return val to work around compiler codegen
26041 bug. Remove (int) cast on return value. Add return type parameter to
26042 use in macro so that this macro does not truncate return value for
26044 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26045 pass to INTERNAL_VSYSCALL_NCS.
26046 (INLINE_VSYSCALL): Add 'long int' as return type to
26047 INTERNAL_VSYSCALL_NCS macro invocation.
26048 (INTERNAL_VSYSCALL): Add 'long int' as return type to
26049 INTERNAL_VSYSCALL_NCS macro invocation.
26050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26052 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26055 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26056 Fix application of SIMD FP exception mask.
26058 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26059 mp_no from a power of two.
26060 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26061 __mpexp_twomm1. Use __pow_mp.
26063 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26066 2013-01-17 David S. Miller <davem@davemloft.net>
26068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26070 2013-01-17 Joseph Myers <joseph@codesourcery.com>
26073 * include/complex.h: Condition contents on [!_COMPLEX_H].
26074 (__kernel_casinhf): New prototype.
26075 (__kernel_casinh): Likewise.
26076 (__kernel_casinhl): Likewise.
26077 * math/Makefile (libm_calls): Add k_casinh.
26078 * math/k_casinh.c: New file.
26079 * math/k_casinhf.c: Likewise.
26080 * math/k_casinhl.c: Likewise.
26081 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26082 finite nonzero arguments.
26083 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26084 finite nonzero arguments.
26085 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26086 finite nonzero arguments.
26087 * math/s_casinh.c: Do not include <float.h>.
26088 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26089 * math/s_casinhf.c: Do not include <float.h>.
26090 (__casinhf): Move code for finite nonzero arguments to
26092 * math/s_casinhl.c: Do not include <float.h>.
26093 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26095 (__casinhl): Move code for finite nonzero arguments to
26097 * math/libm-test.inc (cacos_test): Add more tests.
26098 * sysdeps/i386/fpu/libm-test-ulps: Update.
26099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26101 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
26103 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26104 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26105 [!HAVE_MREMAP]: Remove [defined linux] case.
26106 * malloc/arena.c: Do not include <malloc-sysdep.h>.
26108 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26110 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26112 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
26114 * elf/elf.h (R_386_SIZE32): New relocation.
26115 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26117 (elf_machine_rela): Likewise.
26118 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26119 R_X86_64_SIZE64 and R_X86_64_SIZE32.
26121 2013-01-17 Joseph Myers <joseph@codesourcery.com>
26123 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26124 (FP_FAST_FMA): Do not define.
26125 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26126 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26127 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26128 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26129 !_SOFT_FLOAT]: Likewise.
26130 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26131 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26133 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26134 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26135 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26136 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26137 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26138 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26141 2013-01-16 Andreas Schwab <schwab@suse.de>
26144 * include/stdlib.h (__mktemp): Add declaration.
26145 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26146 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26148 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26150 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26152 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26153 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26154 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26156 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26157 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26159 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26161 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26162 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26163 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26165 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26166 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26168 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26170 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26172 2013-01-15 David S. Miller <davem@davemloft.net>
26174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26175 trunc{,f} to libm-sysdep_routes.
26176 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26186 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26187 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26188 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26189 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26190 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26191 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26194 nearbyint{,f} to libm-sysdep_routes.
26195 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26206 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26208 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26209 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26211 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26212 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26213 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26215 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26216 libc_feholdexcept and libc_fesetenv.
26218 2013-01-15 Mike Frysinger <vapier@gentoo.org>
26220 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26222 2013-01-14 David S. Miller <davem@davemloft.net>
26224 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26225 (SPARC_ASM_VIS2_IFUNC): Likewise.
26226 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26228 use of 'siam' instruction.
26229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26235 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26237 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26238 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26247 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26248 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26249 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26250 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26257 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26258 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26259 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26262 routines to libm-sysdep_routines.
26263 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26266 fdim/fdimf to libm-sysdep_routines.
26267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26275 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26276 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26277 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26278 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26280 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26282 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26283 to optimize copies.
26285 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26286 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26287 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26290 local variable MPTWO.
26291 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26294 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26296 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26299 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26301 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26303 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26305 * manual/pattern.texi (glob_t): Document gl_flags.
26306 (glob64_t): Likewise.
26308 2013-01-11 David S. Miller <davem@davemloft.net>
26310 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26311 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26312 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
26313 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26314 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26315 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26316 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26317 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26318 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26319 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26320 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26321 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26322 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26324 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26325 sparc V9 rather than using V8 code.
26326 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26327 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26329 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26331 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26334 2013-01-11 Roland McGrath <roland@hack.frob.com>
26336 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26337 not in the main loop.
26338 * configure: Regenerated.
26340 2013-01-11 Joseph Myers <joseph@codesourcery.com>
26342 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26343 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26345 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
26346 [!__GLIBC_HAVE_LONG_LONG] case.
26347 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26348 condition to just #else.
26349 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26350 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26351 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26352 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26354 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26355 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26356 #elif condition to just #else.
26357 * sysdeps/unix/sysv/linux/sys/sysmacros.h
26358 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26359 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26360 #elif condition to just #else.
26362 2013-01-11 Steve Ellcey <sellcey@mips.com>
26364 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26365 (EF_MIPS_ARCH_64): Fix value.
26366 (EF_MIPS_ARCH_32R2): New.
26367 (EF_MIPS_ARCH_64R2): New.
26369 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
26371 * Makeconfig (+link-pie-before-libc): New.
26372 (+link-pie-after-libc): Likewise.
26373 (+link-pie-tests): Likewise.
26374 (+link-pie): Rewritten.
26375 (link-before-libc): Remove $(config-LDFLAGS).
26376 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26377 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26378 (config-LDFLAGS): Renamed to ...
26379 (rtld-LDFLAGS): This.
26380 (rtld-tests-LDFLAGS): New macro.
26381 (link-libc-rpath-link): Likewise.
26382 (link-libc-tests-rpath-link): Likewise.
26383 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26384 (link-libc): Prepand $(link-libc-rpath-link).
26385 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26386 (test-program-prefix): New macro.
26387 (test-via-rtld-prefix): Likewise.
26388 (test-program-cmd): Likewise.
26389 (host-test-program-cmd): Likewise.
26390 * Makefile ($(common-objpfx)testrun.sh): Replace
26391 $(run-program-prefix) with $(test-program-prefix).
26392 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26394 ($(common-objpfx)shlib.lds): Likewise.
26395 (build-module-helper): Likewise.
26396 ($(common-objpfx)format.lds): Likewise.
26397 * Rules (binaries-pie-tests): New.
26398 (binaries-pie-notests): Likewise.
26399 (binaries-pie): Rewritten.
26400 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26401 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26402 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26403 (make-test-out): Replace $(host-built-program-cmd) with
26404 $(host-test-program-cmd).
26405 * config.make.in (build-hardcoded-path-in-tests): New variable.
26406 * configure.in (--enable-hardcoded-path-in-tests): New configure
26408 (hardcoded_path_in_tests): New AC_SUBST.
26409 * configure: Regenerated.
26410 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26411 $(built-program-cmd) with $(test-program-cmd).
26412 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26413 (test_program_cmd): This.
26414 * elf/Makefile ($(objpfx)order.out): Run test with
26415 $(test-program-prefix).
26416 ($(objpfx)order2.out): Likewise.
26417 ($(objpfx)tst-initorder.out): Likewise.
26418 ($(objpfx)tst-initorder2.out): Likewise.
26419 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26420 $(test-program-cmd).
26421 ($(objpfx)tst-array1-static.out): Likewise.
26422 ($(objpfx)tst-array2.out): Likewise.
26423 ($(objpfx)tst-array3.out): Likewise.
26424 ($(objpfx)tst-array4.out): Likewise.
26425 ($(objpfx)tst-array5.out): Likewise.
26426 ($(objpfx)tst-array5-static.out): Likewise.
26427 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26428 $(test-program-cmd).
26429 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26430 $(run-program-prefix) with $(test-program-prefix).
26431 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26432 (test_program_prefix): This.
26433 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26434 $(run-program-prefix) with $(test-program-prefix).
26435 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26436 (test_program_prefix): This.
26437 * iconvdata/tst-tables.sh: Likewise.
26438 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26439 $(run-program-prefix) with $(test-program-prefix).
26440 ($(objpfx)tst-translit.out): Likewise.
26441 ($(objpfx)tst-gettext2.out): Likewise.
26442 ($(objpfx)tst-gettext4.out): Likewise.
26443 ($(objpfx)tst-gettext6.out): Likewise.
26444 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26445 (test_program_prefix): This.
26446 * intl/tst-gettext2.sh: Likewise.
26447 * intl/tst-gettext4.sh Likewise.
26448 * intl/tst-gettext6.sh: Likewise.
26449 * intl/tst-translit.sh: Likewise.
26450 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26451 with $(test-program-cmd).
26452 * libio/Makefile ($(objpfx)test-freopen.out): Replace
26453 $(run-program-prefix) with $(test-program-prefix).
26454 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26455 (test_program_prefix): This.
26456 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26457 $(run-program-prefix) with $(test-program-prefix).
26458 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26459 (test_program_prefix): This.
26460 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26461 * posix/Makefile ($(objpfx)globtest.out): Replace
26462 $(run-via-rtld-prefix) and $(test-wrapper) with
26463 $(test-program-prefix) and $(test-via-rtld-prefix).
26464 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26465 $(test-program-prefix).
26466 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26467 $(host-test-program-cmd).
26468 (tst-spawn-ARGS): Likewise.
26469 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26470 $(test-program-prefix).
26471 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26472 (test_via_rtld_prefix): This.
26473 (test_wrapper): Renamed to ...
26474 (test_program_prefix): This.
26475 (run_program_prefix): Replaced by test_program_prefix.
26476 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26477 (test_program_prefix): This.
26478 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26479 with $(host-test-program-cmd).
26480 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26481 $(run-program-prefix) with $(test-program-prefix).
26482 ($(objpfx)tst-printf.out): Likewise.
26483 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26484 $(test-program-cmd).
26485 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26486 (test_program_prefix): This.
26487 * stdio-common/tst-unbputc.sh: Likewise.
26488 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26489 $(run-program-prefix) with $(test-program-prefix).
26490 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26491 (test_program_prefix): This.
26492 * string/Makefile ($(objpfx)tst-svc.out): Replace
26493 $(built-program-cmd) with $(test-program-cmd).
26495 2013-01-11 Andreas Jaeger <aj@suse.de>
26498 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26499 value. Sync with Linux 3.7.
26501 2013-01-10 David S. Miller <davem@davemloft.net>
26503 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26504 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26505 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26507 2013-01-10 Roland McGrath <roland@hack.frob.com>
26509 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26511 * configure: Regenerated.
26513 2013-01-10 David S. Miller <davem@davemloft.net>
26515 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26516 sparc V9 rather than using V8 code.
26517 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26518 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26520 2013-01-10 Roland McGrath <roland@hack.frob.com>
26522 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26523 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26524 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26525 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26526 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26527 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26528 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26529 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26530 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26531 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26532 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26533 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26534 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26535 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26536 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26537 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26538 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26539 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26540 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26541 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26542 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26543 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26544 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26545 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26546 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26547 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26548 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26550 2013-01-10 David S. Miller <davem@davemloft.net>
26552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26554 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26556 * posix/Makefile (tests-static): New variable.
26557 (tests): Add $(tests-static).
26558 (tst-exec-static-ARGS): New variable.
26559 (tst-spawn-static-ARGS): Likewise.
26560 * posix/tst-exec-static.c: New file.
26561 * posix/tst-spawn-static.c: Likewise.
26562 * posix/tst-exec.c: Support run directly.
26563 * posix/tst-spawn.c: Likewise.
26565 2013-01-10 Joseph Myers <joseph@codesourcery.com>
26567 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26569 * math/bits/mathcalls.h (llrint): Likewise.
26570 (llround): Likewise.
26571 * stdlib/stdlib.h (struct drand48_data): Likewise.
26572 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26573 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26574 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26576 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26578 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26579 (elf_greg_t): Likewise.
26580 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26581 (__jmp_buf): Likewise.
26582 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26584 (llrint): Likewise, for all definitions.
26585 (llrintl): Likewise.
26587 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26588 Remove [__GNUC__] condition.
26589 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26590 condition to just [__USE_ISOC99].
26591 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26593 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26596 * sysdeps/unix/sysv/linux/x86/bits/environments.h
26597 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26599 (_POSIX_V6_ILP32_OFF32): Likewise.
26600 (_XBS5_ILP32_OFF32): Likewise.
26601 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26602 (__ILP32_OFFBIG_LDFLAGS): Likewise.
26604 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26606 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26608 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26609 doubles __mpexp_twomm1. Adjust usage.
26610 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26613 2013-01-10 Andreas Schwab <schwab@suse.de>
26616 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26617 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26619 2013-01-09 David S. Miller <davem@davemloft.net>
26622 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26623 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26624 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26625 (TCP_FASTOPEN): Define.
26626 (tcp_repair_opt): New structure.
26627 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26629 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26630 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26631 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26632 (tcp_cookie_transactions): New structure.
26634 2013-01-09 Anton Blanchard <anton@samba.org>
26636 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26637 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26638 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26639 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26641 2013-01-09 Joseph Myers <joseph@codesourcery.com>
26643 * include/features.h (__USE_ANSI): Remove.
26645 2013-01-09 Roland McGrath <roland@hack.frob.com>
26647 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26649 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26651 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26653 * sysdeps/s390/fpu/libm-test-ulps: Update.
26655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26657 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26661 (denorm): Likewise.
26662 (__mp_dbl): Likewise.
26663 (__dbl_mp): Likewise.
26664 (add_magnitudes): Likewise.
26665 (sub_magnitudes): Likewise.
26671 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26675 (denorm): Likewise.
26676 (__mp_dbl): Likewise.
26677 (__dbl_mp): Likewise.
26678 (add_magnitudes): Likewise.
26679 (sub_magnitudes): Likewise.
26685 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26689 (denorm): Likewise.
26690 (__mp_dbl): Likewise.
26691 (__dbl_mp): Likewise.
26692 (add_magnitudes): Likewise.
26693 (sub_magnitudes): Likewise.
26700 2013-01-08 Joseph Myers <joseph@codesourcery.com>
26702 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26703 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26704 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26705 2 && __USE_EXTERN_INLINES]: Likewise.
26707 2013-01-08 Andreas Jaeger <aj@suse.de>
26710 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26712 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26713 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26715 2013-01-07 Anton Blanchard <anton@samba.org>
26717 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26718 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26719 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26720 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26721 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26722 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26723 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26724 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26725 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26726 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26727 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26728 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26729 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26730 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26731 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26732 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26733 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26734 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26735 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26736 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26737 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26738 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26739 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26740 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26741 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26742 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26743 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26744 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26745 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26746 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26747 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26748 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26749 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26750 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26751 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26752 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26753 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26754 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26755 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26756 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26757 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26758 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26759 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26761 2013-01-07 Joseph Myers <joseph@codesourcery.com>
26763 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26764 (__MALLOC_PMT): Likewise.
26765 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26766 [__GNUC__], only on [_LIBC].
26767 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26768 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26769 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26770 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26771 forward declaration.
26772 (realloc_hook_ini): Likewise.
26773 (memalign_hook_ini): Likewise.
26774 (__libc_memalign): Do not use __MALLOC_PMT in variable
26776 (__libc_valloc): Likewise.
26777 (__libc_pvalloc): Likewise.
26778 (__libc_calloc): Likewise.
26779 (__posix_memalign): Likewise.
26782 * math/s_casinh.c: Include <float.h>.
26783 (__casinh): Do not do computation with squaring and square root
26784 for large arguments.
26785 * math/s_casinhf.c: Include <float.h>.
26786 (__casinhf): Do not do computation with squaring and square root
26787 for large arguments.
26788 * math/s_casinhl.c: Include <float.h>.
26789 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26790 (__casinhl): Do not do computation with squaring and square root
26791 for large arguments.
26792 * math/libm-test.inc (casin_test): Add more tests.
26793 (casinh_test): Likewise.
26794 * sysdeps/i386/fpu/libm-test-ulps: Update.
26795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26797 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26799 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26800 (__x86_64_raw_data_cache_size): Likewise.
26801 (__x86_64_data_cache_size_half): Likewise.
26802 (__x86_64_raw_data_cache_size_half): Likewise.
26803 (__x86_64_shared_cache_size): Likewise.
26804 (__x86_64_raw_shared_cache_size): Likewise.
26805 (__x86_64_shared_cache_size_half): Likewise.
26806 (__x86_64_raw_shared_cache_size_half): Likewise.
26807 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26809 (__x86_data_cache_size): This.
26810 (__x86_64_raw_data_cache_size): Renamed to ...
26811 (__x86_raw_data_cache_size): This.
26812 (__x86_64_data_cache_size_half): Renamed to ...
26813 (__x86_data_cache_size_half): This.
26814 (__x86_64_raw_data_cache_size_half): Renamed to ...
26815 (__x86_raw_data_cache_size_half): This.
26816 (__x86_64_shared_cache_size): Renamed to ...
26817 (__x86_shared_cache_size): This.
26818 (__x86_64_raw_shared_cache_size): Renamed to ...
26819 (__x86_raw_shared_cache_size): This.
26820 (__x86_64_shared_cache_size_half): Renamed to ...
26821 (__x86_shared_cache_size_half): This.
26822 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26823 (__x86_raw_shared_cache_size_half): This.
26824 * sysdeps/x86_64/memcpy.S: Updated.
26825 * sysdeps/x86_64/memset.S: Likewise.
26826 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26827 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26828 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26830 2013-01-04 David S. Miller <davem@davemloft.net>
26832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26834 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26836 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26837 1 to avoid redefinition warning.
26838 (__USE_GNU): Don't define.
26839 (init_signaling_nan): Protoize.
26841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26843 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26845 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26846 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26847 (__cpymn): Likewise.
26848 (norm): Remove commented code.
26849 (denorm): Likewise.
26850 (__mp_dbl): Likewise.
26852 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26853 (__cpymn): Likewise.
26854 (norm): Remove commented code.
26855 (denorm): Likewise.
26856 (__mp_dbl): Likewise.
26859 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26860 mp_no value for 1.0 and 2.0.
26861 (norm): Use RADIXI instead of radixi.d.
26862 (denorm): Likewise.
26863 (__mul): Use 0.0 instead of zero.d.
26864 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26865 mp_no value for 1.0 and 2.0.
26866 (norm): Use RADIXI instead of radixi.d.
26867 (denorm): Likewise.
26868 (__mul): Use 0.0 instead of zero.d.
26870 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26873 * math/s_casinh.c (__casinh): Reduce finite argument to first
26874 quadrant then set signs of results at the end.
26875 * math/s_casinhf.c (__casinhf): Likewise.
26876 * math/s_casinhl.c (__casinhl): Likewise.
26877 * math/libm-test.inc (casin_test): Add more tests.
26878 (casinh_test): Likewise.
26879 * sysdeps/i386/fpu/libm-test-ulps: Update.
26880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26882 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26884 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26886 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26888 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26890 (denorm): Likewise.
26891 (__mp_dbl): Likewise.
26894 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26895 and adjust the header comment.
26897 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26898 variable name from declaration.
26900 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26903 Initialize COMMON_CPUID_INDEX_7 element.
26904 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26905 (CPUID_RTM): Likewise.
26906 (HAS_RTM): Likewise.
26907 (COMMON_CPUID_INDEX_7): New enum.
26909 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26912 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26913 size is zero, record memory as freed.
26915 2013-01-03 Andreas Jaeger <aj@suse.de>
26917 * po/ia.po: Add new Interlingua translation.
26919 2012-01-03 Allan McRae <allan@archlinux.org>
26921 * locale/programs/localedef.c: Fix description of '--posix' flag.
26923 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26925 * NEWS: Update dates in second copyright notice.
26926 * README: Update copyright dates in example.
26927 * manual/libc.texinfo: Update copyright dates.
26928 * scripts/test-installation.pl: Update copyright date in --version
26931 * hurd/ctty-input.c: Fix copyright notice formatting.
26932 * hurd/ctty-output.c: Likewise.
26933 * hurd/dtable.c: Likewise.
26934 * hurd/hurd-raise.c: Likewise.
26935 * hurd/hurdprio.c: Likewise.
26936 * hurd/msgportdemux.c: Likewise.
26937 * misc/sys/file.h: Likewise.
26938 * misc/sys/ioctl.h: Likewise.
26939 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26940 * sysdeps/mach/hurd/chdir.c: Likewise.
26941 * sysdeps/mach/hurd/fchdir.c: Likewise.
26942 * sysdeps/mach/hurd/rename.c: Likewise.
26943 * sysdeps/mach/hurd/rmdir.c: Likewise.
26944 * sysdeps/mach/hurd/seekdir.c: Likewise.
26945 * sysdeps/mach/hurd/setsid.c: Likewise.
26946 * sysdeps/posix/wait3.c: Likewise.
26948 * All files with FSF copyright notices: Update copyright dates
26949 using scripts/update-copyrights.
26950 * intl/plural.c: Regenerated.
26951 * locale/programs/charmap-kw.h: Likewise.
26952 * locale/programs/locfile-kw.h: Likewise.
26954 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26956 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26959 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26960 calculation loop and add branch prediction.
26962 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26963 check access beyond bounds of m1np.
26965 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26967 (__inv): Remove local variable MPTWO to use the global
26969 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26970 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26972 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26973 MP3HALFS static const.
26975 2013-01-01 David S. Miller <davem@davemloft.net>
26977 * po/ca.po: Update from translation team.
26979 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26981 * scripts/update-copyrights: New file.
26982 * Makeconfig: Reformat copyright notice.
26983 * ctype/ctype.h: Likewise.
26984 * debug/swprintf_chk.c: Likewise.
26985 * elf/dl-cache.c: Likewise.
26986 * elf/dl-debug.c: Likewise.
26987 * elf/dl-object.c: Likewise.
26988 * grp/initgroups.c: Likewise.
26989 * hurd/Makefile: Likewise.
26990 * hurd/hurd/signal.h: Likewise.
26991 * hurd/hurdfault.c: Likewise.
26992 * hurd/hurdioctl.c: Likewise.
26993 * hurd/hurdlookup.c: Likewise.
26994 * hurd/intr-msg.c: Likewise.
26995 * iconv/gconv_open.c: Likewise.
26996 * libio/swprintf.c: Likewise.
26997 * locale/lc-ctype.c: Likewise.
26998 * locale/nl_langinfo.c: Likewise.
26999 * mach/Machrules: Likewise.
27000 * mach/Makefile: Likewise.
27001 * malloc/obstack.h: Likewise.
27002 * manual/Makefile: Likewise.
27003 * manual/tsort.awk: Likewise.
27004 * misc/bits/stab.def: Likewise.
27005 * nis/nis_print_group_entry.c: Likewise.
27006 * nis/nis_table.c: Likewise.
27007 * nis/nss_compat/compat-pwd.c: Likewise.
27008 * nis/nss_compat/compat-spwd.c: Likewise.
27009 * po/Makefile: Likewise.
27010 * posix/fnmatch.c: Likewise.
27011 * posix/regex.h: Likewise.
27012 * resolv/Makefile: Likewise.
27013 * resolv/nss_dns/dns-network.c: Likewise.
27014 * resolv/res_hconf.c: Likewise.
27015 * scripts/gen-sorted.awk: Likewise.
27016 * soft-fp/soft-fp.h: Likewise.
27017 * stdio-common/printf.h: Likewise.
27018 * stdlib/monetary.h: Likewise.
27019 * stdlib/random.c: Likewise.
27020 * stdlib/random_r.c: Likewise.
27021 * sysdeps/generic/Makefile: Likewise.
27022 * sysdeps/gnu/Makefile: Likewise.
27023 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27024 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27025 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27026 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27027 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27028 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27029 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27030 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27031 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27032 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27033 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27034 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27035 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27036 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27037 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27038 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27039 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27040 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27041 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27042 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27043 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27044 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27045 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27046 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27047 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27048 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27049 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27050 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27051 * sysdeps/mach/hurd/errnos.awk: Likewise.
27052 * sysdeps/mach/hurd/fork.c: Likewise.
27053 * sysdeps/mach/hurd/getcwd.c: Likewise.
27054 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27055 * sysdeps/mach/hurd/mmap.c: Likewise.
27056 * sysdeps/mach/hurd/utimes.c: Likewise.
27057 * sysdeps/mach/hurd/xmknod.c: Likewise.
27058 * sysdeps/posix/profil.c: Likewise.
27059 * sysdeps/posix/readdir_r.c: Likewise.
27060 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27061 * sysdeps/powerpc/bits/setjmp.h: Likewise.
27062 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27063 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27064 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27065 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27066 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27067 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27068 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27069 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27070 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27071 * sysdeps/pthread/lio_listio.c: Likewise.
27072 * sysdeps/sparc/dl-procinfo.h: Likewise.
27073 * sysdeps/unix/i386/sysdep.S: Likewise.
27074 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27075 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27076 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27077 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27079 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27080 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27081 * sysdeps/unix/sysv/linux/speed.c: Likewise.
27082 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27083 * sysdeps/wordsize-32/divdi3.c: Likewise.
27084 * time/sys/time.h: Likewise.
27085 * wcsmbs/Makefile: Likewise.
27087 2013-01-01 David S. Miller <davem@davemloft.net>
27089 * po/fr.po: Update from translation team.
27091 * catgets/gencat.c: Update copyright year.
27092 * csu/version.c: Likewise.
27093 * debug/catchsegv.sh: Likewise.
27094 * debug/pcprofiledump.c: Likewise.
27095 * debug/xtrace.sh: Likewise.
27096 * elf/ldconfig.c: Likewise.
27097 * elf/ldd.bash.in: Likewise.
27098 * elf/pldd.c: Likewise.
27099 * elf/sotruss.ksh: Likewise.
27100 * elf/sprof.c: Likewise.
27101 * iconv/iconv_prog.c: Likewise.
27102 * iconv/iconvconfig.c: Likewise.
27103 * locale/programs/locale.c: Likewise.
27104 * locale/programs/localedef.c: Likewise.
27105 * login/programs/pt_chown.c: Likewise.
27106 * malloc/memusage.sh: Likewise.
27107 * malloc/memusagestat.c: Likewise.
27108 * malloc/mtrace.pl: Likewise.
27109 * nscd/nscd.c: Likewise.
27110 * nss/getent.c: Likewise.
27111 * nss/makedb.c: Likewise.
27112 * posix/getconf.c: Likewise.
27114 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27116 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27119 2012-12-30 Mike Frysinger <vapier@gentoo.org>
27121 * math/bits/mathcalls.h (modf): Use __nonnull.
27123 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27125 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27126 (split): Use macro CN instead of the bare value.
27127 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27129 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27130 instead of the bare value.
27131 (power1): Likewise.
27133 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27135 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27137 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27139 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27141 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27142 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27143 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27144 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27146 2012-12-28 Andreas Jaeger <aj@suse.de>
27148 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
27149 values are from Linux 3.7.
27151 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27152 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
27154 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27156 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27159 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27161 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27162 variables with preprocessor constants.
27163 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27164 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27165 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27167 2012-12-27 Bruno Haible <bruno@clisp.org>
27170 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27173 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27175 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27176 and use variable directly.
27177 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27179 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27181 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27182 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27184 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27185 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27186 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27187 include directive. Remove local variable MPONE.
27188 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27189 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27190 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27192 2012-12-25 David S. Miller <davem@davemloft.net>
27194 * version.h (RELEASE): Set to "development".
27195 (VERSION): Set to "2.17.90".
27196 * NEWS: Add 2.18 section.
27198 2012-12-21 David S. Miller <davem@davemloft.net>
27200 * po/hr.po: Update from translation team.
27202 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27204 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27206 2012-12-19 Steve Ellcey <sellcey@mips.com>
27208 * NEWS: Mention new memcpy for MIPS.
27210 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27212 * manual/contrib.texi (Contributors): Spelling correction.
27214 2012-12-15 David S. Miller <davem@davemloft.net>
27216 * po/ru.po: Update from translation team.
27218 2012-12-13 David S. Miller <davem@davemloft.net>
27220 * NEWS: Mention IFUNC testsuite enhancements.
27222 * po/pl.po: Update from translation team.
27223 * po/bg.po: Likewise.
27225 * manual/contrib.texi (Contributors): Update entries for Hongjiu
27226 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
27228 2012-12-11 David S. Miller <davem@davemloft.net>
27230 * po/sv.po: Update from translation team.
27232 * po/vi.po: Update from translation team.
27234 * po/cs.po: Update from translation team.
27236 * po/de.po: Update from translation team.
27237 * po/eo.po: Likewise.
27238 * po/nl.po: Likewise.
27240 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27243 * manual/argp.texi (Argp Helper Functions): Move node to follow
27244 Argp Parsing State.
27247 * manual/conf.texi (Limits on File System Capacity): Mention if
27248 terminating null is included in the max size.
27250 2012-12-10 Andreas Jaeger <aj@suse.de>
27252 * po/cs.po: Update from translation team.
27254 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27256 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27257 void pointer and cast to uintptr_t.
27258 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27260 * sysdeps/s390/s390-64/memcpy.S: Likewise.
27261 * sysdeps/s390/s390-64/memset.S: Likewise.
27263 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
27266 * menual/message.texi (Message Translation): Fix typos.
27267 (Helper programs for gettext): Likewise.
27269 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
27272 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27275 2012-12-07 David S. Miller <davem@davemloft.net>
27277 * po/libc.pot: Update.
27279 2012-12-07 Richard Henderson <rth@redhat.com>
27282 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27283 normal/normal case to before the switch.
27284 (_FP_DIV): Likewise.
27286 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
27287 Mike Frysinger <vapier@gentoo.org>
27289 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27290 check for __NR_fadvise64_64.
27292 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
27294 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27295 0, not just to plain "0" as a statement.
27296 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27299 2012-12-06 Joseph Myers <joseph@codesourcery.com>
27301 * NEWS: Use sourceware.org in Bugzilla URL.
27303 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27306 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27308 * stdio-common/tst-put-error.c (do_test): Add newline to the
27309 padded test to ensure flush.
27311 2012-12-05 Jeff Law <law@redhat.com>
27313 * sunrpc/etc.rpc (fedfs_admin): Add entry.
27315 2012-12-05 Joseph Myers <joseph@codesourcery.com>
27317 * README: Don't refer to ports add-on as distributed separately.
27318 Mention AArch64 in list of systems supported in the ports add-on.
27320 * LICENSES: Add more non-FSF copyright and license notices.
27322 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27325 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27327 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27328 10000 as width of padded output.
27330 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27332 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27334 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27335 variable LX with __attribute__ ((unused)).
27336 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27338 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27339 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27340 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27341 with __attribute__ ((unused)).
27343 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
27345 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27347 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27349 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27350 (CFLAGS-nldbl-acos.c): New variable.
27351 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27352 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27353 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27354 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27355 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27356 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27357 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27358 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27359 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27360 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27361 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27362 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27363 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27364 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27365 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27366 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27367 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27368 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27369 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27370 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27371 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27372 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27373 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27374 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27375 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27376 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27377 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27378 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27379 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27380 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27381 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27382 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27383 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27384 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27385 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27386 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27387 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27388 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27389 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27390 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27391 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27392 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27393 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27394 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27395 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27396 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27397 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27398 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27399 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27400 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27401 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27402 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27403 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27404 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27405 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27406 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27407 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27408 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27409 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27410 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27411 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27412 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27413 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27414 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27415 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27416 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27417 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27418 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27419 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27420 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27421 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27422 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27423 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27424 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27425 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27426 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27427 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27428 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27429 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27430 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27431 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27432 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27433 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27434 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27435 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27436 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27437 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27438 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27439 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27440 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27441 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27442 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27443 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27444 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27445 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27446 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27447 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27450 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27453 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27454 whole low double instead of just low 47 bits when splitting values
27457 2012-12-03 Allan McRae <allan@archlinux.org>
27459 * manual/stdio.texi (Predefined Printf Handlers): Remove
27460 @hsep and @vsep usage.
27462 2012-12-03 Mike Frysinger <vapier@gentoo.org>
27464 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27465 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27467 2012-12-03 Jeff Law <law@redhat.com>
27469 * time/sys/time.h (settimeofday): Do not mark TV argument
27472 2012-12-01 Mike Frysinger <vapier@gentoo.org>
27474 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27475 when currently writing and seek to current position when not.
27476 * libio/Makefile (tests): Remove bug-fclose1.
27477 * libio/bug-fclose1.c: Delete.
27479 2012-12-01 Joseph Myers <joseph@codesourcery.com>
27481 * manual/arith.texi (feenableexcept): Fix typo.
27482 (fedisableexcept): Likewise.
27484 2012-11-30 Roland McGrath <roland@hack.frob.com>
27486 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27487 second, differently-typed declaration, rather than a cast.
27489 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27491 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27492 * include/rpc/svc.h: ... here.
27494 2012-11-30 Aurelien Jarno <aurel32@debian.org>
27497 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27498 depending n and resplen2 to catch cases where answer
27501 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
27503 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27504 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27506 2012-11-29 Mike Frysinger <vapier@gentoo.org>
27508 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27510 2012-11-29 Roland McGrath <roland@hack.frob.com>
27512 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27514 2012-11-28 Jeff Law <law@redhat.com>
27517 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27518 dataset_temporary. Track alloca usage into alloca_used.
27519 If dataset is large allocate and release it via malloc/free.
27521 2012-06-04 Florian Weimer <fweimer@redhat.com>
27524 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27526 2012-11-28 David S. Miller <davem@davemloft.net>
27528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27530 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27533 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27534 of pi/2 rounded to nearest to 64 bits.
27535 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27536 nearest to 64 bits.
27537 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27540 2012-11-28 Jeff Law <law@redhat.com>
27541 Martin Osvald <mosvald@redhat.com>
27544 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27545 * sunrpc/svc.c: Include time.h.
27546 (__svc_accept_failed): New function.
27547 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27548 any reason other than EINTR, call __svc_accept_failed.
27549 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27550 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27552 2012-11-28 Andreas Schwab <schwab@suse.de>
27554 * scripts/abilist.awk: Also handle indirect functions in .opd
27557 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27560 * sysdeps/x86/fpu/powl_helper.c: New file.
27561 * sysdeps/x86/fpu/Makefile: Likewise.
27562 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27564 (__ieee754_powl): Use __powl_helper for finite arguments except
27565 integer exponents below 8.
27566 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27568 (__ieee754_powl): Use __powl_helper for finite arguments except
27569 integer exponents below 8.
27570 * math/libm-test.inc (pow_test): Add more tests and enable some
27571 previously disabled tests.
27572 * sysdeps/i386/fpu/libm-test-ulps: Update.
27573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27575 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27576 Carlos O'Donell <carlos_odonell@mentor.com>
27578 * nss/makedb.c (is_prime): Assert that input is odd and greater
27579 than 4. Note that fact in a comment too.
27580 (next_prime): Add 4 to input.
27582 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27585 * libio/Makefile (tests): Add test case tst-fwrite-error.
27586 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27587 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27588 * libio/tst-fwrite-error.c: New test case.
27590 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
27592 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27593 before casting to void *.
27594 * include/libc-internal.h (__pointer_type): New macro.
27595 (__integer_if_pointer_type_sub): Likewise.
27596 (__integer_if_pointer_type): Likewise.
27597 (cast_to_integer): Likewise.
27598 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27599 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27600 before casting to atomic64_t.
27601 (atomic_exchange_acq): Likewise.
27602 (__arch_exchange_and_add_body): Likewise.
27603 (__arch_add_body): Likewise.
27604 (atomic_add_negative): Likewise.
27605 (atomic_add_zero): Likewise.
27607 2012-11-26 Joseph Myers <joseph@codesourcery.com>
27609 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27610 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27611 (add_fdes): Likewise.
27612 (linear_search_fdes): Likewise.
27613 (binary_search_unencoded_fdes): Likewise.
27615 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
27617 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27619 2012-11-24 Adam Conrad <adconrad@0c3.net>
27621 * configure.in: Autodetect C++ header directories.
27622 * configure: Regenerated.
27624 2012-11-23 Mike Frysinger <vapier@gentoo.org>
27626 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27628 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
27630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27632 2012-11-22 Joseph Myers <joseph@codesourcery.com>
27634 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27635 LDBL_MANT_DIG == 106]: Disable some tests.
27636 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27638 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27642 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27643 input for small inputs. Return +/- pi/2 for large inputs.
27644 * math/libm-test.inc (atan_test): Add more tests.
27646 * sysdeps/generic/unwind-dw2-fde-glibc.c
27647 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27648 __attribute__ ((unused)).
27651 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27652 x * y if x and y are nonzero and z is zero.
27655 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27656 nonzero exponents with absolute value below 0x1p-117 to +/-
27660 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27661 up arguments below 2**-450, not just those below 2**-500.
27662 * math/libm-test.inc (hypot_test): Add another test.
27665 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27666 Return a+b for ratio over 2**120, not 2**60.
27667 * math/libm-test.inc (hypot_test): Add another test.
27669 * math/libm-test.inc (clog_test): Use
27670 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27671 (clog10_test): Likewise.
27674 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27676 2012-11-22 Andreas Schwab <schwab@suse.de>
27678 * sysdeps/i386/fpu/libm-test-ulps: Update.
27680 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27682 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27683 printf output with newline.
27685 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27688 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27689 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27690 -z nodlopen, -z initfirst and -z execstack support.
27691 * configure: Regenerated.
27693 * elf/elf.h (DF_1_NODIRECT): New macro.
27694 (DF_1_IGNMULDEF): Likewise.
27695 (DF_1_NOKSYMS): Likewise.
27696 (DF_1_NOHDR): Likewise.
27697 (DF_1_EDITED): Likewise.
27698 (DF_1_NORELOC): Likewise.
27699 (DF_1_SYMINTPOSE): Likewise.
27700 (DF_1_GLOBAUDIT): Likewise.
27701 (DF_1_SINGLETON): Likewise.
27702 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27703 DT_1_SUPPORTED_MASK bits.
27704 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27706 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27708 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27710 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27712 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27715 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27716 (sendmmsg): Move declarations...
27717 * socket/sys/socket.h: ... here.
27718 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27719 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27721 * socket/recvmmsg.c: ... this new file.
27722 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27723 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27724 definition of __sendmmsg hidden.
27725 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27726 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27727 Move ENOSYS stub into and include it from...
27728 * socket/sendmmsg.c: ... this new file.
27729 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27730 (sysdep_routines): Move recvmmsg and sendmmsg...
27731 * socket/Makefile (routines): ... here.
27732 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27733 (GLIBC_PRIVATE): Add __sendmmsg.
27734 * include/sys/socket.h (__sendmmsg): Add declarations.
27735 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27738 2012-11-20 Joseph Myers <joseph@codesourcery.com>
27740 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27741 variable I1 with __attribute__ ((unused)).
27742 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27744 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27746 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27747 DUMMY variables with __attribute__ ((unused)).
27749 * bits/byteswap.h: Include <bits/types.h>.
27750 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27752 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27754 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27755 string_t. Do not manually set errno.
27756 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27757 length with __strnlen. Make sure to both set errno and return it on
27760 2012-11-19 David S. Miller <davem@davemloft.net>
27762 With help from Joseph Myers.
27763 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27764 very large arguments properly.
27765 * math/libm-test.inc (atan_test): New tests.
27766 (atan2_test): New tests.
27767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27768 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27770 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27773 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27776 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27777 [POSIX] (EADDRNOTAVAIL): Likewise.
27778 [POSIX] (EAFNOSUPPORT): Likewise.
27779 [POSIX] (EALREADY): Likewise.
27780 [POSIX] (ECONNABORTED): Likewise.
27781 [POSIX] (ECONNREFUSED): Likewise.
27782 [POSIX] (ECONNRESET): Likewise.
27783 [POSIX] (EDESTADDRREQ): Likewise.
27784 [POSIX] (EDQUOT): Likewise.
27785 [POSIX] (EHOSTUNREACH): Likewise.
27786 [POSIX] (EIDRM): Likewise.
27787 [POSIX] (EISCONN): Likewise.
27788 [POSIX] (ELOOP): Likewise.
27789 [POSIX] (EMULTIHOP): Likewise.
27790 [POSIX] (ENETDOWN): Likewise.
27791 [POSIX] (ENETUNREACH): Likewise.
27792 [POSIX] (ENOBUFS): Likewise.
27793 [POSIX] (ENODATA): Likewise.
27794 [POSIX] (ENOLINK): Likewise.
27795 [POSIX] (ENOMSG): Likewise.
27796 [POSIX] (ENOPROTOOPT): Likewise.
27797 [POSIX] (ENOSR): Likewise.
27798 [POSIX] (ENOSTR): Likewise.
27799 [POSIX] (ENOTCONN): Likewise.
27800 [POSIX] (ENOTSOCK): Likewise.
27801 [POSIX] (EOPNOTSUPP): Likewise.
27802 [POSIX] (EOVERFLOW): Likewise.
27803 [POSIX] (EPROTO): Likewise.
27804 [POSIX] (EPROTONOSUPPORT): Likewise.
27805 [POSIX] (EPROTOTYPE): Likewise.
27806 [POSIX] (ESTALE): Likewise.
27807 [POSIX] (ETIME): Likewise.
27808 [POSIX] (ETXTBSY): Likewise.
27809 [POSIX] (EWOULDBLOCK): Likewise.
27810 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27811 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27812 [POSIX] (SEEK_CUR): Likewise.
27813 [POSIX] (SEEK_END): Likewise.
27814 [POSIX || UNIX98] (mode_t): Do not require.
27815 [POSIX] (off_t): Likewise.
27816 [POSIX] (pid_t): Likewise.
27817 [POSIX] (sys/stat.h): Do not allow header.
27818 [POSIX] (unistd.h): Likewise.
27819 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27820 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27821 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27822 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27824 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27825 sigevent): Specify elements.
27826 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27828 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27829 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27831 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27832 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27833 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27834 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27835 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27836 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27837 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27838 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27839 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27840 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27841 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27842 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27843 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27844 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27846 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27848 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27850 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27852 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27853 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27854 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27855 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27856 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27857 Specify lower bound on value.
27858 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27859 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27860 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27861 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27862 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27863 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27864 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27865 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27867 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27869 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27870 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27871 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27872 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27873 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27874 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27875 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27876 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27877 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27878 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27879 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27880 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27881 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27882 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27883 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27884 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27886 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27888 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27889 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27890 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27891 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27892 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27893 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27895 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27896 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27897 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27898 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27899 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27900 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27901 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27903 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27904 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27905 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27906 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27907 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27908 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27909 specify as optional.
27910 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27911 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27912 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27913 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27914 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27915 [XPG3] (NL_LANGMAX): Likewise.
27916 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27917 [POSIX || XPG3] (NL_NMAX): Likewise.
27918 [POSIX || XPG3] (NL_SETMAX): Likewise.
27919 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27920 [XPG3] (NZERO): Likewise.
27921 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27922 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27923 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27924 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27925 (REG_ERANGE): Expect.
27926 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27928 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27929 Use (void) in prototype.
27930 [POSIX] (*_t): Allow.
27931 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27932 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27933 (WRDE_BADVAL): Expect.
27935 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27937 [XPG3 || XPG4] (O_RSYNC): Likewise.
27938 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27940 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27941 [XPG3 || XPG4] (sigqueue): Likewise.
27942 [XPG3 || XPG4] (sigtimedwait): Likewise.
27943 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27944 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27945 [XPG3 || XPG4] (vsnprintf): Likewise.
27946 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27948 [XPG3 || XPG4] (blksize_t): Likewise.
27949 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27951 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27952 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27953 [XPG3 || XPG4] (struct itimerspec): Likewise.
27954 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27955 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27956 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27957 [XPG3 || XPG4] (clockid_t): Likewise.
27958 [XPG3 || XPG4] (timer_t): Likewise.
27959 [XPG3 || XPG4] (clock_getres): Likewise.
27960 [XPG3 || XPG4] (clock_gettime): Likewise.
27961 [XPG3 || XPG4] (clock_settime): Likewise.
27962 [XPG3 || XPG4] (nanosleep): Likewise.
27963 [XPG3 || XPG4] (timer_create): Likewise.
27964 [XPG3 || XPG4] (timer_delete): Likewise.
27965 [XPG3 || XPG4] (timer_gettime): Likewise.
27966 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27967 [XPG3 || XPG4] (timer_settime): Likewise.
27968 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27969 [XPG3 || XPG4] (getlogin_r): Likewise.
27970 [XPG3 || XPG4] (pread): Likewise.
27971 [XPG3 || XPG4] (pthread_atfork): Likewise.
27972 [XPG3 || XPG4] (pwrite): Likewise.
27975 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27978 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27980 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27981 finalizing MALLSTREAM.
27983 * sysdeps/mach/hurd/syncfs.c: New file.
27985 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27988 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27989 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27990 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27991 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27992 (_nss_dns_gethostbyname4_r): Likewise.
27993 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27994 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27996 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27999 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28001 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
28003 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28004 * elf/cache.c (print_entry): Print ",AArch64" for
28007 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28008 * elf/cache.c (print_entry): Print ",hard-float" for
28011 2012-11-18 David S. Miller <davem@davemloft.net>
28013 With help from Joseph Myers.
28014 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28016 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28018 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28019 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28021 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28022 * math/libm-test.inc (y0_test): New tests.
28023 (y1_test): New tests.
28024 * sysdeps/i386/fpu/libm-test-ulps: Update.
28025 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28028 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
28030 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28032 * configure: Regenerated.
28034 2012-11-17 David S. Miller <davem@davemloft.net>
28037 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28038 nonzero exponents with absolute value below 0x1p-128 to +/-
28041 2012-11-17 Joseph Myers <joseph@codesourcery.com>
28043 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28045 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28047 * posix/getconf-speclist.c: New file.
28048 * posix/posix-envs.def: Likewise.
28049 * posix/confstr.c (START_ENV_GROUP): New macro.
28050 (END_ENV_GROUP): Likewise.
28051 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28052 (KNOWN_PRESENT_ENV_STRING): Likewise.
28053 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28054 (UNKNOWN_ENVIRONMENT): Likewise.
28055 (confstr): Include posix-envs.def instead of handling
28056 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28057 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28058 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28059 (END_ENV_GROUP): Likewise.
28060 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28061 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28062 (UNKNOWN_ENVIRONMENT): Likewise.
28063 (__sysconf): Include posix-envs.def instead of handling associated
28064 cases directly here.
28065 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28066 preprocessing getconf-speclist.c rather than running getconf or
28067 generating empty file.
28069 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
28071 * scripts/check-local-headers.sh: Ignore 'mach' headers.
28073 2012-11-16 Andrej Lajovic <natrij@gmail.com>
28076 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28078 2012-11-16 David S. Miller <davem@davemloft.net>
28080 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28081 smaller than LDBL_EPSILON/2.0L, just return xm1.
28083 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
28085 * elf/tst-array1.c (init): Set constructor priority to 1000.
28086 (fini): Set destructor priority to 1000.
28087 * elf/tst-array2dep.c: Likewise.
28089 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28092 * libio/fileops.c (_IO_new_file_write): Correctly return error.
28093 (_IO_new_file_xsputn): Also return EOF if none of the input
28094 data was written when overflow failed.
28095 * libio/iopadn.c (_IO_padn): Likewise.
28096 * libio/iowpadn.c (_IO_wpadn): Likewise.
28097 * stdio-common/tst-put-error.c: Add copyright notice.
28098 (do_test): Add case for printing padded string.
28099 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28100 _IO_padn returned error.
28101 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28102 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28105 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28107 * libio/libioP.h: Add comment note that the references to C++
28108 bits are now obsolete.
28110 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28112 * math/libm-test.inc (check_complex): Use asprintf.
28114 2012-11-14 Joseph Myers <joseph@codesourcery.com>
28116 * debug/pcprofiledump.c (print_version): Update copyright year.
28117 * malloc/memusagestat.c (print_version): Likewise.
28119 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
28122 * elf/Makefile (tests): Add tst-audit8.
28123 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28124 ($(objpfx)tst-audit8.out): New target.
28125 (tst-audit8-ENV): New variable.
28126 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28127 audit if l_reloc_result is NULL.
28128 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28129 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28130 * elf/tst-audit8.c: New file.
28132 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28134 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28135 * misc/Makefile (CFLAGS-select.c): Define.
28136 * posix/Makefile (CFLAGS-pause.c): Define.
28138 2012-11-13 David S. Miller <davem@davemloft.net>
28140 * crypt/Makefile: Move test targets after toplevel Rules
28141 inclusion. Grab any necessary sysdep routines when linking.
28142 * crypt/md5.c (md5_process_block): Remove define, we will always
28143 name it __md5_process_block.
28144 (md5_finish_ctx): Update md5_process_block call.
28145 (md5_stream): Likewise.
28146 (md5_process_bytes): Likewise.
28147 (md5_process_block): Rename to __md5_process_block and move to ...
28148 * crypt/md5-block.c: ... here.
28149 * crypt/sha256.c (sha256_process_block): Move to ...
28150 * crypt/sha256-block.c: ... here.
28151 * crypt/sha512.c (sha512_process_block): Move to ...
28152 * crypt/sha512-block.c: ... here.
28153 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28155 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28156 * sysdeps/sparc/sparc64/multiarch/Makefile
28157 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28159 (localedef-aux): Add md5 crypto assembler when in locale subdir.
28160 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28162 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28163 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28164 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28165 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28166 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28167 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28168 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28169 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28170 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28172 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28173 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28175 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28177 2012-11-13 Joseph Myers <joseph@codesourcery.com>
28179 * timezone/tzselect.ksh: Update from tzcode git revision
28180 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28181 * timezone/zdump.c: Likewise.
28182 * timezone/zic.c: Likewise.
28183 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28184 in TZVERSION setting, not $(PKGVERSION).
28185 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
28186 REPORT_BUGS_TO settings.
28189 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28192 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28194 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28195 detection to immediately after _FP_ROUND().
28196 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28199 2012-11-11 David S. Miller <davem@davemloft.net>
28201 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28203 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28204 __close rather than their public counterparts.
28206 2012-11-10 Joseph Myers <joseph@codesourcery.com>
28208 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28210 [UNIX98] (sem_timedwait): Do not expect.
28211 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28212 [XPG4 || UNIX98] (sockatmark): Do not expect.
28213 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28214 (clock_getcpuclockid): Do not expect.
28215 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28216 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28218 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28219 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28220 [UNIX98] (vwscanf): Likewise.
28221 [UNIX98] (vswscanf): Likewise.
28223 2012-11-09 Joseph Myers <joseph@codesourcery.com>
28225 * timezone/version.h: Remove file.
28226 * timezone/README: Do not refer to version.h.
28227 * timezone/Makefile ($(objpfx)zic.o): New dependency on
28228 $(objpfx)version.h.
28229 ($(objpfx)zdump.o): Likewise.
28230 ($(objpfx)version.h): New target.
28232 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28234 * timezone/README: Don't mention modification to tzselect.ksh.
28235 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28236 work on unmodified tzselect.ksh. Substitute version numbers in
28239 * Makefile (format-me): Remove.
28240 (INSTALL): Adjust indentation. Use commands directly instead of
28241 using $(format-me).
28243 * aclocal.m4 (ACX_PKGVERSION): New macro.
28244 (ACX_BUGURL): Likewise.
28245 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28246 (PKGVERSION): New AC_DEFINE_UNQUOTED.
28247 (REPORT_BUGS_TO): Likewise.
28248 * configure: Regenerated.
28249 * config.h.in (PKGVERSION): New macro.
28250 (REPORT_BUGS_TO): Likewise.
28251 * config.make.in (PKGVERSION): New variable.
28252 (PKGVERSION_TEXI): Likewise.
28253 (REPORT_BUGS_TO): Likewise.
28254 (REPORT_BUGS_TEXI): Likewise.
28255 * Makefile (format-me): Use -I$(common-objpfx)manual.
28256 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28257 ($(common-objpfx)manual/%): New target.
28258 (manual/%): Remove target.
28259 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28260 (print_version): Use PKGVERSION.
28261 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28262 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28263 and REPORT_BUGS_TO.
28264 ($(objpfx)xtrace): Likewise.
28265 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28266 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28267 (print_version): Use PKGVERSION.
28268 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28269 (do_version): Use PKGVERSION.
28270 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28272 (common-ldd-rewrite): Likewise.
28273 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28274 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28275 (print_version): Use PKGVERSION.
28276 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28277 * elf/pldd.c (argp_program_bug_address): Remove variable.
28278 (more_help): New function.
28279 (argp): Use more_help.
28280 (print_version): Use PKGVERSION.
28281 * elf/sln.c (main): Use PKGVERSION.
28282 (usage): Use REPORT_BUGS_TO.
28283 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28284 (top level): Use PKGVERSION.
28285 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28286 (print_version): Use PKGVERSION.
28287 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28288 (print_version): Use PKGVERSION.
28289 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28290 (print_version): Use PKGVERSION.
28291 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28292 (print_version): Use PKGVERSION.
28293 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28294 (print_version): Use PKGVERSION.
28295 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28296 (print_version): Use PKGVERSION.
28297 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28299 ($(objpfx)memusage): Likewise.
28300 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28301 (do_version): Use PKGVERSION.
28302 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28303 (print_version): Use PKGVERSION.
28304 * malloc/mtrace.pl ($PACKAGE): Remove variable.
28305 ($PKGVERSION): New variable.
28306 ($REPORT_BUGS_TO): Likewise.
28307 (usage): Use $REPORT_BUGS_TO.
28308 (top level): Use $PKGVERSION.
28309 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28310 ($(objpfx)pkgvers.texi): New rule.
28311 ($(objpfx)stamp-pkgvers): Likewise.
28312 * manual/install.texi: Include pkgvers.texi.
28313 (--with-pkgversion): Document new configure option.
28314 (--with-bugurl): Likewise.
28315 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28316 than necessarily for this particular distribution. Use
28317 REPORT_BUGS_TO for where to report bugs.
28318 * INSTALL: Regenerated.
28319 * manual/libc.texinfo: Include pkgvers.texi.
28320 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28321 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28322 (print_version): Use PKGVERSION.
28323 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28324 (print_version): Use PKGVERSION.
28325 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28326 (print_version): Use PKGVERSION.
28327 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28328 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28330 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28331 (print_version): Use PKGVERSION.
28332 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28333 (print_version): Use PKGVERSION.
28334 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28337 * timezone/checktab.awk: Update from tzcode 2012i.
28338 * timezone/ialloc.c: Likewise.
28339 * timezone/private.h: Likewise.
28340 * timezone/scheck.c: Likewise.
28341 * timezone/tzfile.h: Likewise.
28342 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28343 (TZVERSION): Hardcode tzcode version number.
28344 * timezone/zdump.c: Update from tzcode 2012i.
28345 * timezone/zic.c: Likewise.
28346 * timezone/version.h: New file.
28347 * timezone/README: Describe version.h. Update upstream location.
28350 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28351 (mktemp): Enable declaration.
28352 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28353 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28354 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28355 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28357 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28359 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28361 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28363 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28365 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28369 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28370 offset in buffer as u_int32_t not u_long. Consistently use memcpy
28371 for copies of such integer values.
28372 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28373 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28375 2012-11-09 Andreas Jaeger <aj@suse.de>
28377 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28378 definitions and declarations that are provided by
28379 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28381 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28383 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28384 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28385 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28388 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28390 * elf/elf.h: Update comment before AArch64 relocations.
28392 2012-11-07 David S. Miller <davem@davemloft.net>
28394 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28395 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28396 (__start_context): Declare.
28397 (__makecontext_ret): Delete.
28398 (__makecontext): Hook up __start_context instead of
28400 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28401 (sysdep_routines): Add __start_context when in stdlib.
28403 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28405 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28406 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28407 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
28409 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
28410 (READELF): New variable. Use it instead of hardcoded "readelf".
28412 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
28414 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28415 * sysdeps/x86/Makefile: Here.
28416 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28417 * sysdeps/x86/tst-xmmymm.sh: This.
28419 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28421 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28423 [UNIX98] (pthread_barrier_t): Do not expect.
28424 [UNIX98] (pthread_barrierattr_t): Likewise.
28425 [UNIX98] (pthread_spinlock_t): Likewise.
28426 [UNIX98] (pthread_barrier_destroy): Likewise.
28427 [UNIX98] (pthread_barrier_init): Likewise.
28428 [UNIX98] (pthread_barrier_wait): Likewise.
28429 [UNIX98] (pthread_barrierattr_destroy): Likewise.
28430 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28431 [UNIX98] (pthread_barrierattr_init): Likewise.
28432 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28433 [UNIX98] (pthread_getcpuclockid): Likewise.
28434 [UNIX98] (pthread_mutex_timedlock): Likewise.
28435 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28436 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28437 [UNIX98] (pthread_sigmask): Likewise.
28438 [UNIX98] (pthread_spin_destroy): Likewise.
28439 [UNIX98] (pthread_spin_init): Likewise.
28440 [UNIX98] (pthread_spin_lock): Likewise.
28441 [UNIX98] (pthread_spin_trylock): Likewise.
28442 [UNIX98] (pthread_spin_unlock): Likewise.
28443 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28445 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28446 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28447 [XPG3 || XPG4] (pthread_cond_t): Likewise.
28448 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28449 [XPG3 || XPG4] (pthread_key_t): Likewise.
28450 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28451 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28452 [XPG3 || XPG4] (pthread_once_t): Likewise.
28453 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28454 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28455 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28456 [XPG3 || XPG4] (pthread_t): Likewise.
28458 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28460 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28462 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28463 Change function return type to int.
28465 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28466 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28467 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28468 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28469 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28470 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28471 [!POSIX] (posix_madvise): Likewise.
28472 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28474 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28475 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28476 (mode_t): Likewise.
28477 (posix_mem_offset): Likewise.
28478 (posix_typed_mem_get_info): Likewise.
28479 (posix_typed_mem_open): Likewise.
28481 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28482 Change condition to [XOPEN2K8].
28484 * conform/conformtest.pl: Preprocess allow-header data with -x c
28485 instead of from stdin.
28486 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28487 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28488 [C99-based standards] (cerfc): Likewise.
28489 [C99-based standards] (cexp2): Likewise.
28490 [C99-based standards] (cexpm1): Likewise.
28491 [C99-based standards] (clog10): Likewise.
28492 [C99-based standards] (clog1p): Likewise.
28493 [C99-based standards] (clog2): Likewise.
28494 [C99-based standards] (clgamma): Likewise.
28495 [C99-based standards] (ctgamma): Likewise.
28496 [C99-based standards] (cerff): Likewise.
28497 [C99-based standards] (cerfcf): Likewise.
28498 [C99-based standards] (cexp2f): Likewise.
28499 [C99-based standards] (cexpm1f): Likewise.
28500 [C99-based standards] (clog10f): Likewise.
28501 [C99-based standards] (clog1pf): Likewise.
28502 [C99-based standards] (clog2f): Likewise.
28503 [C99-based standards] (clgammaf): Likewise.
28504 [C99-based standards] (ctgammaf): Likewise.
28505 [C99-based standards] (cerfl): Likewise.
28506 [C99-based standards] (cerfcl): Likewise.
28507 [C99-based standards] (cexp2l): Likewise.
28508 [C99-based standards] (cexpm1l): Likewise.
28509 [C99-based standards] (clog10l): Likewise.
28510 [C99-based standards] (clog1pl): Likewise.
28511 [C99-based standards] (clog2l): Likewise.
28512 [C99-based standards] (clgammal): Likewise.
28513 [C99-based standards] (ctgammal): Likewise.
28514 * conform/data/inttypes.h-data [C99-based standards]: Include
28515 stdint.h-data. Remove all expectations for stdint.h contents.
28516 [C99-based standards] (PRI*): Do not allow.
28517 [C99-based standards] (SCN*): Likewise.
28518 [C99-based standards] (*_t): Likewise.
28519 [C99-based-standards] (PRId8): Expect macro.
28520 [C99-based-standards] (PRIi8): Likewise.
28521 [C99-based-standards] (PRIo8): Likewise.
28522 [C99-based-standards] (PRIu8): Likewise.
28523 [C99-based-standards] (PRIx8): Likewise.
28524 [C99-based-standards] (PRIX8): Likewise.
28525 [C99-based-standards] (SCNd8): Likewise.
28526 [C99-based-standards] (SCNi8): Likewise.
28527 [C99-based-standards] (SCNo8): Likewise.
28528 [C99-based-standards] (SCNu8): Likewise.
28529 [C99-based-standards] (SCNx8): Likewise.
28530 [C99-based-standards] (PRIdLEAST8): Likewise.
28531 [C99-based-standards] (PRIiLEAST8): Likewise.
28532 [C99-based-standards] (PRIoLEAST8): Likewise.
28533 [C99-based-standards] (PRIuLEAST8): Likewise.
28534 [C99-based-standards] (PRIxLEAST8): Likewise.
28535 [C99-based-standards] (PRIXLEAST8): Likewise.
28536 [C99-based-standards] (SCNdLEAST8): Likewise.
28537 [C99-based-standards] (SCNiLEAST8): Likewise.
28538 [C99-based-standards] (SCNoLEAST8): Likewise.
28539 [C99-based-standards] (SCNuLEAST8): Likewise.
28540 [C99-based-standards] (SCNxLEAST8): Likewise.
28541 [C99-based-standards] (PRIdFAST8): Likewise.
28542 [C99-based-standards] (PRIiFAST8): Likewise.
28543 [C99-based-standards] (PRIoFAST8): Likewise.
28544 [C99-based-standards] (PRIuFAST8): Likewise.
28545 [C99-based-standards] (PRIxFAST8): Likewise.
28546 [C99-based-standards] (PRIXFAST8): Likewise.
28547 [C99-based-standards] (SCNdFAST8): Likewise.
28548 [C99-based-standards] (SCNiFAST8): Likewise.
28549 [C99-based-standards] (SCNoFAST8): Likewise.
28550 [C99-based-standards] (SCNuFAST8): Likewise.
28551 [C99-based-standards] (SCNxFAST8): Likewise.
28552 [C99-based-standards] (PRId16): Likewise.
28553 [C99-based-standards] (PRIi16): Likewise.
28554 [C99-based-standards] (PRIo16): Likewise.
28555 [C99-based-standards] (PRIu16): Likewise.
28556 [C99-based-standards] (PRIx16): Likewise.
28557 [C99-based-standards] (PRIX16): Likewise.
28558 [C99-based-standards] (SCNd16): Likewise.
28559 [C99-based-standards] (SCNi16): Likewise.
28560 [C99-based-standards] (SCNo16): Likewise.
28561 [C99-based-standards] (SCNu16): Likewise.
28562 [C99-based-standards] (SCNx16): Likewise.
28563 [C99-based-standards] (PRIdLEAST16): Likewise.
28564 [C99-based-standards] (PRIiLEAST16): Likewise.
28565 [C99-based-standards] (PRIoLEAST16): Likewise.
28566 [C99-based-standards] (PRIuLEAST16): Likewise.
28567 [C99-based-standards] (PRIxLEAST16): Likewise.
28568 [C99-based-standards] (PRIXLEAST16): Likewise.
28569 [C99-based-standards] (SCNdLEAST16): Likewise.
28570 [C99-based-standards] (SCNiLEAST16): Likewise.
28571 [C99-based-standards] (SCNoLEAST16): Likewise.
28572 [C99-based-standards] (SCNuLEAST16): Likewise.
28573 [C99-based-standards] (SCNxLEAST16): Likewise.
28574 [C99-based-standards] (PRIdFAST16): Likewise.
28575 [C99-based-standards] (PRIiFAST16): Likewise.
28576 [C99-based-standards] (PRIoFAST16): Likewise.
28577 [C99-based-standards] (PRIuFAST16): Likewise.
28578 [C99-based-standards] (PRIxFAST16): Likewise.
28579 [C99-based-standards] (PRIXFAST16): Likewise.
28580 [C99-based-standards] (SCNdFAST16): Likewise.
28581 [C99-based-standards] (SCNiFAST16): Likewise.
28582 [C99-based-standards] (SCNoFAST16): Likewise.
28583 [C99-based-standards] (SCNuFAST16): Likewise.
28584 [C99-based-standards] (SCNxFAST16): Likewise.
28585 [C99-based-standards] (PRId32): Likewise.
28586 [C99-based-standards] (PRIi32): Likewise.
28587 [C99-based-standards] (PRIo32): Likewise.
28588 [C99-based-standards] (PRIu32): Likewise.
28589 [C99-based-standards] (PRIx32): Likewise.
28590 [C99-based-standards] (PRIX32): Likewise.
28591 [C99-based-standards] (SCNd32): Likewise.
28592 [C99-based-standards] (SCNi32): Likewise.
28593 [C99-based-standards] (SCNo32): Likewise.
28594 [C99-based-standards] (SCNu32): Likewise.
28595 [C99-based-standards] (SCNx32): Likewise.
28596 [C99-based-standards] (PRIdLEAST32): Likewise.
28597 [C99-based-standards] (PRIiLEAST32): Likewise.
28598 [C99-based-standards] (PRIoLEAST32): Likewise.
28599 [C99-based-standards] (PRIuLEAST32): Likewise.
28600 [C99-based-standards] (PRIxLEAST32): Likewise.
28601 [C99-based-standards] (PRIXLEAST32): Likewise.
28602 [C99-based-standards] (SCNdLEAST32): Likewise.
28603 [C99-based-standards] (SCNiLEAST32): Likewise.
28604 [C99-based-standards] (SCNoLEAST32): Likewise.
28605 [C99-based-standards] (SCNuLEAST32): Likewise.
28606 [C99-based-standards] (SCNxLEAST32): Likewise.
28607 [C99-based-standards] (PRIdFAST32): Likewise.
28608 [C99-based-standards] (PRIiFAST32): Likewise.
28609 [C99-based-standards] (PRIoFAST32): Likewise.
28610 [C99-based-standards] (PRIuFAST32): Likewise.
28611 [C99-based-standards] (PRIxFAST32): Likewise.
28612 [C99-based-standards] (PRIXFAST32): Likewise.
28613 [C99-based-standards] (SCNdFAST32): Likewise.
28614 [C99-based-standards] (SCNiFAST32): Likewise.
28615 [C99-based-standards] (SCNoFAST32): Likewise.
28616 [C99-based-standards] (SCNuFAST32): Likewise.
28617 [C99-based-standards] (SCNxFAST32): Likewise.
28618 [C99-based-standards] (PRId64): Likewise.
28619 [C99-based-standards] (PRIi64): Likewise.
28620 [C99-based-standards] (PRIo64): Likewise.
28621 [C99-based-standards] (PRIu64): Likewise.
28622 [C99-based-standards] (PRIx64): Likewise.
28623 [C99-based-standards] (PRIX64): Likewise.
28624 [C99-based-standards] (SCNd64): Likewise.
28625 [C99-based-standards] (SCNi64): Likewise.
28626 [C99-based-standards] (SCNo64): Likewise.
28627 [C99-based-standards] (SCNu64): Likewise.
28628 [C99-based-standards] (SCNx64): Likewise.
28629 [C99-based-standards] (PRIdLEAST64): Likewise.
28630 [C99-based-standards] (PRIiLEAST64): Likewise.
28631 [C99-based-standards] (PRIoLEAST64): Likewise.
28632 [C99-based-standards] (PRIuLEAST64): Likewise.
28633 [C99-based-standards] (PRIxLEAST64): Likewise.
28634 [C99-based-standards] (PRIXLEAST64): Likewise.
28635 [C99-based-standards] (SCNdLEAST64): Likewise.
28636 [C99-based-standards] (SCNiLEAST64): Likewise.
28637 [C99-based-standards] (SCNoLEAST64): Likewise.
28638 [C99-based-standards] (SCNuLEAST64): Likewise.
28639 [C99-based-standards] (SCNxLEAST64): Likewise.
28640 [C99-based-standards] (PRIdFAST64): Likewise.
28641 [C99-based-standards] (PRIiFAST64): Likewise.
28642 [C99-based-standards] (PRIoFAST64): Likewise.
28643 [C99-based-standards] (PRIuFAST64): Likewise.
28644 [C99-based-standards] (PRIxFAST64): Likewise.
28645 [C99-based-standards] (PRIXFAST64): Likewise.
28646 [C99-based-standards] (SCNdFAST64): Likewise.
28647 [C99-based-standards] (SCNiFAST64): Likewise.
28648 [C99-based-standards] (SCNoFAST64): Likewise.
28649 [C99-based-standards] (SCNuFAST64): Likewise.
28650 [C99-based-standards] (SCNxFAST64): Likewise.
28651 [C99-based-standards] (PRIdMAX): Likewise.
28652 [C99-based-standards] (PRIiMAX): Likewise.
28653 [C99-based-standards] (PRIoMAX): Likewise.
28654 [C99-based-standards] (PRIuMAX): Likewise.
28655 [C99-based-standards] (PRIxMAX): Likewise.
28656 [C99-based-standards] (PRIXMAX): Likewise.
28657 [C99-based-standards] (SCNdMAX): Likewise.
28658 [C99-based-standards] (SCNiMAX): Likewise.
28659 [C99-based-standards] (SCNoMAX): Likewise.
28660 [C99-based-standards] (SCNuMAX): Likewise.
28661 [C99-based-standards] (SCNxMAX): Likewise.
28662 [C99-based-standards] (PRIdPTR): Likewise.
28663 [C99-based-standards] (PRIiPTR): Likewise.
28664 [C99-based-standards] (PRIoPTR): Likewise.
28665 [C99-based-standards] (PRIuPTR): Likewise.
28666 [C99-based-standards] (PRIxPTR): Likewise.
28667 [C99-based-standards] (PRIXPTR): Likewise.
28668 [C99-based-standards] (SCNdPTR): Likewise.
28669 [C99-based-standards] (SCNiPTR): Likewise.
28670 [C99-based-standards] (SCNoPTR): Likewise.
28671 [C99-based-standards] (SCNuPTR): Likewise.
28672 [C99-based-standards] (SCNxPTR): Likewise.
28673 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28675 * conform/data/stdint.h-data: Update comments to clarify
28677 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28679 [C99-based standards] (INT8_MAX): Likewise.
28680 [C99-based standards] (INT16_MIN): Likewise.
28681 [C99-based standards] (INT16_MAX): Likewise.
28682 [C99-based standards] (INT32_MIN): Likewise.
28683 [C99-based standards] (INT32_MAX): Likewise.
28684 [C99-based standards] (INT64_MIN): Likewise.
28685 [C99-based standards] (INT64_MAX): Likewise.
28686 [C99-based standards] (UINT8_MAX): Likewise.
28687 [C99-based standards] (UINT16_MAX): Likewise.
28688 [C99-based standards] (UINT32_MAX): Likewise.
28689 [C99-based standards] (UINT64_MAX): Likewise.
28690 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28691 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28692 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28693 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28694 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28695 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28696 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28697 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28698 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28699 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28700 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28701 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28702 [C99-based standards] (INT_FAST8_MIN): Likewise.
28703 [C99-based standards] (INT_FAST8_MAX): Likewise.
28704 [C99-based standards] (INT_FAST16_MIN): Likewise.
28705 [C99-based standards] (INT_FAST16_MAX): Likewise.
28706 [C99-based standards] (INT_FAST32_MIN): Likewise.
28707 [C99-based standards] (INT_FAST32_MAX): Likewise.
28708 [C99-based standards] (INT_FAST64_MIN): Likewise.
28709 [C99-based standards] (INT_FAST64_MAX): Likewise.
28710 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28711 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28712 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28713 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28714 [C99-based standards] (INTPTR_MIN): Likewise.
28715 [C99-based standards] (INTPTR_MAX): Likewise.
28716 [C99-based standards] (UINTPTR_MAX): Likewise.
28717 [C99-based standards] (INTMAX_MIN): Likewise.
28718 [C99-based standards] (INTMAX_MAX): Likewise.
28719 [C99-based standards] (UINTMAX_MAX): Likewise.
28720 [C99-based standards] (PTRDIFF_MIN): Likewise.
28721 [C99-based standards] (PTRDIFF_MAX): Likewise.
28722 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28723 [C99-based standards] (SIZE_MAX): Likewise.
28724 [C99-based standards] (WCHAR_MAX): Likewise.
28725 [C99-based standards] (WINT_MAX): Likewise.
28726 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28727 constraint on value.
28728 [C99-based standards] (WCHAR_MIN): Likewise.
28729 [C99-based standards] (WINT_MIN): Likewise.
28730 [C99-based standards] (*_t): Allow.
28731 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28732 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28733 Include math.h-data and complex.h-data. Remove all expectations
28734 of math.h and complex.h contents.
28735 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28737 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28738 (struct tm): Expect tag.
28739 [C99-based-standards] (wcstof): Expect function.
28740 [C99-based-standards] (wcstold): Likewise.
28741 [C99-based-standards] (wcstoll): Likewise.
28742 [C99-based-standards] (wcstoull): Likewise.
28743 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28744 macro-int-constant. Specify type.
28745 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28746 constraint on value.
28747 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28749 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28751 [ISO C standards]: Do not allow headers.
28752 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28753 wcs[abcdefghijklmnopqrstuvwxyz]*.
28754 [ISO C standards] (*_t): Do not allow.
28755 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28757 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28758 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28760 [ISO C standards]: Do not allow headers.
28761 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28762 is[abcdefghijklmnopqrstuvwxyz]*.
28763 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28764 to[abcdefghijklmnopqrstuvwxyz]*.
28765 [ISO C standards] (*_t): Do not allow.
28766 * conform/data/stdalign.h-data: New file.
28767 * conform/data/stdbool.h-data: Likewise.
28768 * conform/data/stdnoreturn.h-data: Likewise.
28770 2012-11-07 Roland McGrath <roland@hack.frob.com>
28773 * manual/filesys.texi (Directory Entries): Typo fix.
28774 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28776 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28778 * elf/elf.h (EM_AARCH64): New macro.
28779 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28780 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28781 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28782 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28783 (R_AARCH64_TLSDESC): Likewise.
28784 (NT_ARM_TLS): Likewise.
28785 (NT_ARM_HW_BREAK): Likewise.
28786 (NT_ARM_HW_WATCH): Likewise.
28788 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28791 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28792 (__ieee754_powl): Saturate nonzero exponents with absolute value
28793 below 0x1p-79 to +/- 0x1p-79.
28794 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28795 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28796 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28797 nonzero exponents with absolute value below 0x1p-32 to +/-
28799 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28800 (__ieee754_powl): Saturate nonzero exponents with absolute value
28801 below 0x1p-79 to +/- 0x1p-79.
28802 * math/libm-test.inc (pow_test): Add more tests.
28804 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28806 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28807 _dl_s390_cap_flags with kernel. Increase string length.
28808 (_dl_s390_platforms): Add z196 and zEC12.
28810 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28812 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28813 Change XOPEN21K to XOPEN2K.
28815 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28817 * string/memmove.c: Use memcpy when possible.
28819 2012-11-06 Andreas Jaeger <aj@suse.de>
28821 * po/eo.po: Update from translation team.
28823 2012-11-06 Joseph Myers <joseph@codesourcery.com>
28826 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28827 exponent and small x and y exponents, scale x or y up. Increase
28828 by 2 the exponent used in scaling up.
28829 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28830 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28831 * math/libm-test.inc (fma_test): Add more tests.
28832 (fma_test_towardzero): Likewise.
28833 (fma_test_downward): Likewise.
28834 (fma_test_upward): Likewise.
28836 2012-11-05 Joseph Myers <joseph@codesourcery.com>
28839 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28843 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28844 namespace for names of struct fields.
28845 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28847 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28848 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28850 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28853 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28855 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28857 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28861 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28864 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28867 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28868 definitely overflow as x * y not x * y + z.
28869 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28870 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28871 * math/libm-test.inc (fma_test): Add more tests.
28872 (fma_test_towardzero): Likewise.
28873 (fma_test_downward): Likewise.
28874 (fma_test_upward): Likewise.
28876 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28880 * include/stub-tag.h: Remove file.
28881 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28883 * manual/maint.texi (Porting): Don't reference it.
28884 * Makerules ($(objpfx)stubs): Likewise.
28885 * dirent/closedir.c: Don't include <stub-tag.h>.
28886 * dirent/dirfd.c: Likewise.
28887 * dirent/fdopendir.c: Likewise.
28888 * dirent/getdents.c: Likewise.
28889 * dirent/getdents64.c: Likewise.
28890 * dirent/opendir.c: Likewise.
28891 * dirent/readdir.c: Likewise.
28892 * dirent/readdir64.c: Likewise.
28893 * dirent/readdir64_r.c: Likewise.
28894 * dirent/readdir_r.c: Likewise.
28895 * dirent/rewinddir.c: Likewise.
28896 * dirent/seekdir.c: Likewise.
28897 * dirent/telldir.c: Likewise.
28898 * gmon/profil.c: Likewise.
28899 * grp/setgroups.c: Likewise.
28900 * inet/if_index.c: Likewise.
28901 * io/access.c: Likewise.
28902 * io/chdir.c: Likewise.
28903 * io/chmod.c: Likewise.
28904 * io/chown.c: Likewise.
28905 * io/close.c: Likewise.
28906 * io/dup.c: Likewise.
28907 * io/dup2.c: Likewise.
28908 * io/dup3.c: Likewise.
28909 * io/euidaccess.c: Likewise.
28910 * io/faccessat.c: Likewise.
28911 * io/fchdir.c: Likewise.
28912 * io/fchmod.c: Likewise.
28913 * io/fchmodat.c: Likewise.
28914 * io/fchown.c: Likewise.
28915 * io/fchownat.c: Likewise.
28916 * io/fcntl.c: Likewise.
28917 * io/flock.c: Likewise.
28918 * io/fstatfs.c: Likewise.
28919 * io/fstatfs64.c: Likewise.
28920 * io/fstatvfs.c: Likewise.
28921 * io/fstatvfs64.c: Likewise.
28922 * io/futimens.c: Likewise.
28923 * io/fxstat.c: Likewise.
28924 * io/fxstat64.c: Likewise.
28925 * io/fxstatat.c: Likewise.
28926 * io/fxstatat64.c: Likewise.
28927 * io/getcwd.c: Likewise.
28928 * io/isatty.c: Likewise.
28929 * io/lchmod.c: Likewise.
28930 * io/lchown.c: Likewise.
28931 * io/link.c: Likewise.
28932 * io/linkat.c: Likewise.
28933 * io/lseek.c: Likewise.
28934 * io/lseek64.c: Likewise.
28935 * io/lxstat64.c: Likewise.
28936 * io/mkdir.c: Likewise.
28937 * io/mkdirat.c: Likewise.
28938 * io/mkfifo.c: Likewise.
28939 * io/mkfifoat.c: Likewise.
28940 * io/open.c: Likewise.
28941 * io/open64.c: Likewise.
28942 * io/openat.c: Likewise.
28943 * io/openat64.c: Likewise.
28944 * io/pipe.c: Likewise.
28945 * io/pipe2.c: Likewise.
28946 * io/poll.c: Likewise.
28947 * io/posix_fadvise.c: Likewise.
28948 * io/posix_fadvise64.c: Likewise.
28949 * io/posix_fallocate.c: Likewise.
28950 * io/posix_fallocate64.c: Likewise.
28951 * io/read.c: Likewise.
28952 * io/readlink.c: Likewise.
28953 * io/readlinkat.c: Likewise.
28954 * io/rmdir.c: Likewise.
28955 * io/sendfile.c: Likewise.
28956 * io/sendfile64.c: Likewise.
28957 * io/statfs.c: Likewise.
28958 * io/statfs64.c: Likewise.
28959 * io/statvfs.c: Likewise.
28960 * io/statvfs64.c: Likewise.
28961 * io/symlink.c: Likewise.
28962 * io/symlinkat.c: Likewise.
28963 * io/ttyname.c: Likewise.
28964 * io/ttyname_r.c: Likewise.
28965 * io/umask.c: Likewise.
28966 * io/unlink.c: Likewise.
28967 * io/unlinkat.c: Likewise.
28968 * io/utime.c: Likewise.
28969 * io/utimensat.c: Likewise.
28970 * io/write.c: Likewise.
28971 * io/xmknod.c: Likewise.
28972 * io/xmknodat.c: Likewise.
28973 * io/xstat.c: Likewise.
28974 * io/xstat64.c: Likewise.
28975 * login/getpt.c: Likewise.
28976 * login/grantpt.c: Likewise.
28977 * login/unlockpt.c: Likewise.
28978 * math/e_acoshl.c: Likewise.
28979 * math/e_acosl.c: Likewise.
28980 * math/e_asinl.c: Likewise.
28981 * math/e_atan2l.c: Likewise.
28982 * math/e_atanhl.c: Likewise.
28983 * math/e_coshl.c: Likewise.
28984 * math/e_expl.c: Likewise.
28985 * math/e_fmodl.c: Likewise.
28986 * math/e_gammal_r.c: Likewise.
28987 * math/e_hypotl.c: Likewise.
28988 * math/e_j0l.c: Likewise.
28989 * math/e_j1l.c: Likewise.
28990 * math/e_jnl.c: Likewise.
28991 * math/e_lgammal_r.c: Likewise.
28992 * math/e_log10l.c: Likewise.
28993 * math/e_log2l.c: Likewise.
28994 * math/e_logl.c: Likewise.
28995 * math/e_powl.c: Likewise.
28996 * math/e_rem_pio2l.c: Likewise.
28997 * math/e_sinhl.c: Likewise.
28998 * math/e_sqrtl.c: Likewise.
28999 * math/fclrexcpt.c: Likewise.
29000 * math/fedisblxcpt.c: Likewise.
29001 * math/feenablxcpt.c: Likewise.
29002 * math/fegetenv.c: Likewise.
29003 * math/fegetexcept.c: Likewise.
29004 * math/fegetround.c: Likewise.
29005 * math/feholdexcpt.c: Likewise.
29006 * math/fesetenv.c: Likewise.
29007 * math/fesetround.c: Likewise.
29008 * math/feupdateenv.c: Likewise.
29009 * math/fgetexcptflg.c: Likewise.
29010 * math/fraiseexcpt.c: Likewise.
29011 * math/fsetexcptflg.c: Likewise.
29012 * math/ftestexcept.c: Likewise.
29013 * math/k_cosl.c: Likewise.
29014 * math/k_rem_pio2l.c: Likewise.
29015 * math/k_sinl.c: Likewise.
29016 * math/k_tanl.c: Likewise.
29017 * math/s_asinhl.c: Likewise.
29018 * math/s_atanl.c: Likewise.
29019 * math/s_cbrtl.c: Likewise.
29020 * math/s_erfl.c: Likewise.
29021 * math/s_expm1l.c: Likewise.
29022 * math/s_log1pl.c: Likewise.
29023 * math/s_tanhl.c: Likewise.
29024 * misc/acct.c: Likewise.
29025 * misc/brk.c: Likewise.
29026 * misc/chflags.c: Likewise.
29027 * misc/chroot.c: Likewise.
29028 * misc/fchflags.c: Likewise.
29029 * misc/fgetxattr.c: Likewise.
29030 * misc/flistxattr.c: Likewise.
29031 * misc/fremovexattr.c: Likewise.
29032 * misc/fsetxattr.c: Likewise.
29033 * misc/fsync.c: Likewise.
29034 * misc/ftruncate.c: Likewise.
29035 * misc/futimes.c: Likewise.
29036 * misc/futimesat.c: Likewise.
29037 * misc/getdomain.c: Likewise.
29038 * misc/getdtsz.c: Likewise.
29039 * misc/gethostid.c: Likewise.
29040 * misc/gethostname.c: Likewise.
29041 * misc/getloadavg.c: Likewise.
29042 * misc/getpagesize.c: Likewise.
29043 * misc/getsysstats.c: Likewise.
29044 * misc/getxattr.c: Likewise.
29045 * misc/gtty.c: Likewise.
29046 * misc/ioctl.c: Likewise.
29047 * misc/lgetxattr.c: Likewise.
29048 * misc/listxattr.c: Likewise.
29049 * misc/llistxattr.c: Likewise.
29050 * misc/lremovexattr.c: Likewise.
29051 * misc/lsetxattr.c: Likewise.
29052 * misc/lutimes.c: Likewise.
29053 * misc/madvise.c: Likewise.
29054 * misc/mincore.c: Likewise.
29055 * misc/mlock.c: Likewise.
29056 * misc/mlockall.c: Likewise.
29057 * misc/mmap.c: Likewise.
29058 * misc/mprotect.c: Likewise.
29059 * misc/msync.c: Likewise.
29060 * misc/munlock.c: Likewise.
29061 * misc/munlockall.c: Likewise.
29062 * misc/munmap.c: Likewise.
29063 * misc/preadv.c: Likewise.
29064 * misc/preadv64.c: Likewise.
29065 * misc/ptrace.c: Likewise.
29066 * misc/pwritev.c: Likewise.
29067 * misc/pwritev64.c: Likewise.
29068 * misc/readv.c: Likewise.
29069 * misc/reboot.c: Likewise.
29070 * misc/remap_file_pages.c: Likewise.
29071 * misc/removexattr.c: Likewise.
29072 * misc/revoke.c: Likewise.
29073 * misc/select.c: Likewise.
29074 * misc/setdomain.c: Likewise.
29075 * misc/setegid.c: Likewise.
29076 * misc/seteuid.c: Likewise.
29077 * misc/sethostid.c: Likewise.
29078 * misc/sethostname.c: Likewise.
29079 * misc/setregid.c: Likewise.
29080 * misc/setreuid.c: Likewise.
29081 * misc/setxattr.c: Likewise.
29082 * misc/sstk.c: Likewise.
29083 * misc/stty.c: Likewise.
29084 * misc/swapoff.c: Likewise.
29085 * misc/swapon.c: Likewise.
29086 * misc/sync.c: Likewise.
29087 * misc/syncfs.c: Likewise.
29088 * misc/syscall.c: Likewise.
29089 * misc/truncate.c: Likewise.
29090 * misc/ualarm.c: Likewise.
29091 * misc/usleep.c: Likewise.
29092 * misc/ustat.c: Likewise.
29093 * misc/utimes.c: Likewise.
29094 * misc/vhangup.c: Likewise.
29095 * misc/writev.c: Likewise.
29096 * posix/_exit.c: Likewise.
29097 * posix/alarm.c: Likewise.
29098 * posix/execve.c: Likewise.
29099 * posix/fexecve.c: Likewise.
29100 * posix/fork.c: Likewise.
29101 * posix/fpathconf.c: Likewise.
29102 * posix/getaddrinfo.c: Likewise.
29103 * posix/getegid.c: Likewise.
29104 * posix/geteuid.c: Likewise.
29105 * posix/getgid.c: Likewise.
29106 * posix/getgroups.c: Likewise.
29107 * posix/getlogin.c: Likewise.
29108 * posix/getlogin_r.c: Likewise.
29109 * posix/getpgid.c: Likewise.
29110 * posix/getpid.c: Likewise.
29111 * posix/getppid.c: Likewise.
29112 * posix/getresgid.c: Likewise.
29113 * posix/getresuid.c: Likewise.
29114 * posix/getsid.c: Likewise.
29115 * posix/getuid.c: Likewise.
29116 * posix/glob64.c: Likewise.
29117 * posix/nanosleep.c: Likewise.
29118 * posix/pathconf.c: Likewise.
29119 * posix/pause.c: Likewise.
29120 * posix/posix_madvise.c: Likewise.
29121 * posix/pread.c: Likewise.
29122 * posix/pread64.c: Likewise.
29123 * posix/pwrite.c: Likewise.
29124 * posix/pwrite64.c: Likewise.
29125 * posix/sched_getaffinity.c: Likewise.
29126 * posix/sched_getp.c: Likewise.
29127 * posix/sched_gets.c: Likewise.
29128 * posix/sched_primax.c: Likewise.
29129 * posix/sched_primin.c: Likewise.
29130 * posix/sched_rr_gi.c: Likewise.
29131 * posix/sched_setaffinity.c: Likewise.
29132 * posix/sched_setp.c: Likewise.
29133 * posix/sched_sets.c: Likewise.
29134 * posix/sched_yield.c: Likewise.
29135 * posix/setgid.c: Likewise.
29136 * posix/setlogin.c: Likewise.
29137 * posix/setpgid.c: Likewise.
29138 * posix/setresgid.c: Likewise.
29139 * posix/setresuid.c: Likewise.
29140 * posix/setsid.c: Likewise.
29141 * posix/setuid.c: Likewise.
29142 * posix/sleep.c: Likewise.
29143 * posix/spawni.c: Likewise.
29144 * posix/sysconf.c: Likewise.
29145 * posix/times.c: Likewise.
29146 * posix/wait.c: Likewise.
29147 * posix/wait3.c: Likewise.
29148 * posix/wait4.c: Likewise.
29149 * posix/waitpid.c: Likewise.
29150 * resolv/gai_sigqueue.c: Likewise.
29151 * resource/getpriority.c: Likewise.
29152 * resource/getrlimit.c: Likewise.
29153 * resource/getrusage.c: Likewise.
29154 * resource/nice.c: Likewise.
29155 * resource/setpriority.c: Likewise.
29156 * resource/setrlimit.c: Likewise.
29157 * resource/ulimit.c: Likewise.
29158 * rt/aio_cancel.c: Likewise.
29159 * rt/aio_fsync.c: Likewise.
29160 * rt/aio_read.c: Likewise.
29161 * rt/aio_sigqueue.c: Likewise.
29162 * rt/aio_suspend.c: Likewise.
29163 * rt/aio_write.c: Likewise.
29164 * rt/clock_getres.c: Likewise.
29165 * rt/clock_gettime.c: Likewise.
29166 * rt/clock_nanosleep.c: Likewise.
29167 * rt/clock_settime.c: Likewise.
29168 * rt/lio_listio.c: Likewise.
29169 * rt/mq_close.c: Likewise.
29170 * rt/mq_getattr.c: Likewise.
29171 * rt/mq_notify.c: Likewise.
29172 * rt/mq_open.c: Likewise.
29173 * rt/mq_receive.c: Likewise.
29174 * rt/mq_send.c: Likewise.
29175 * rt/mq_setattr.c: Likewise.
29176 * rt/mq_timedreceive.c: Likewise.
29177 * rt/mq_timedsend.c: Likewise.
29178 * rt/mq_unlink.c: Likewise.
29179 * rt/shm_open.c: Likewise.
29180 * rt/shm_unlink.c: Likewise.
29181 * rt/timer_create.c: Likewise.
29182 * rt/timer_delete.c: Likewise.
29183 * rt/timer_getoverr.c: Likewise.
29184 * rt/timer_gettime.c: Likewise.
29185 * rt/timer_settime.c: Likewise.
29186 * setjmp/__longjmp.c: Likewise.
29187 * setjmp/setjmp.c: Likewise.
29188 * signal/kill.c: Likewise.
29189 * signal/killpg.c: Likewise.
29190 * signal/raise.c: Likewise.
29191 * signal/sigaction.c: Likewise.
29192 * signal/sigaltstack.c: Likewise.
29193 * signal/sigblock.c: Likewise.
29194 * signal/sigignore.c: Likewise.
29195 * signal/sigintr.c: Likewise.
29196 * signal/signal.c: Likewise.
29197 * signal/sigpause.c: Likewise.
29198 * signal/sigpending.c: Likewise.
29199 * signal/sigqueue.c: Likewise.
29200 * signal/sigreturn.c: Likewise.
29201 * signal/sigset.c: Likewise.
29202 * signal/sigsetmask.c: Likewise.
29203 * signal/sigstack.c: Likewise.
29204 * signal/sigsuspend.c: Likewise.
29205 * signal/sigtimedwait.c: Likewise.
29206 * signal/sigvec.c: Likewise.
29207 * signal/sigwait.c: Likewise.
29208 * signal/sigwaitinfo.c: Likewise.
29209 * signal/sysv_signal.c: Likewise.
29210 * socket/accept.c: Likewise.
29211 * socket/accept4.c: Likewise.
29212 * socket/bind.c: Likewise.
29213 * socket/connect.c: Likewise.
29214 * socket/getpeername.c: Likewise.
29215 * socket/getsockname.c: Likewise.
29216 * socket/getsockopt.c: Likewise.
29217 * socket/isfdtype.c: Likewise.
29218 * socket/listen.c: Likewise.
29219 * socket/recv.c: Likewise.
29220 * socket/recvfrom.c: Likewise.
29221 * socket/recvmsg.c: Likewise.
29222 * socket/send.c: Likewise.
29223 * socket/sendmsg.c: Likewise.
29224 * socket/sendto.c: Likewise.
29225 * socket/setsockopt.c: Likewise.
29226 * socket/shutdown.c: Likewise.
29227 * socket/sockatmark.c: Likewise.
29228 * socket/socket.c: Likewise.
29229 * socket/socketpair.c: Likewise.
29230 * stdio-common/ctermid.c: Likewise.
29231 * stdio-common/cuserid.c: Likewise.
29232 * stdio-common/remove.c: Likewise.
29233 * stdio-common/rename.c: Likewise.
29234 * stdio-common/renameat.c: Likewise.
29235 * stdio-common/tempname.c: Likewise.
29236 * stdlib/getcontext.c: Likewise.
29237 * stdlib/makecontext.c: Likewise.
29238 * stdlib/setcontext.c: Likewise.
29239 * stdlib/swapcontext.c: Likewise.
29240 * stdlib/system.c: Likewise.
29241 * streams/fattach.c: Likewise.
29242 * streams/fdetach.c: Likewise.
29243 * streams/getmsg.c: Likewise.
29244 * streams/getpmsg.c: Likewise.
29245 * streams/putmsg.c: Likewise.
29246 * streams/putpmsg.c: Likewise.
29247 * sysdeps/unix/bsd/getpt.c: Likewise.
29248 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29249 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29250 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29253 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29254 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29255 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29256 * sysvipc/msgctl.c: Likewise.
29257 * sysvipc/msgget.c: Likewise.
29258 * sysvipc/msgrcv.c: Likewise.
29259 * sysvipc/msgsnd.c: Likewise.
29260 * sysvipc/semctl.c: Likewise.
29261 * sysvipc/semget.c: Likewise.
29262 * sysvipc/semop.c: Likewise.
29263 * sysvipc/semtimedop.c: Likewise.
29264 * sysvipc/shmat.c: Likewise.
29265 * sysvipc/shmctl.c: Likewise.
29266 * sysvipc/shmdt.c: Likewise.
29267 * sysvipc/shmget.c: Likewise.
29268 * termios/tcdrain.c: Likewise.
29269 * termios/tcflow.c: Likewise.
29270 * termios/tcflush.c: Likewise.
29271 * termios/tcgetattr.c: Likewise.
29272 * termios/tcgetpgrp.c: Likewise.
29273 * termios/tcsendbrk.c: Likewise.
29274 * termios/tcsetattr.c: Likewise.
29275 * termios/tcsetpgrp.c: Likewise.
29276 * time/adjtime.c: Likewise.
29277 * time/clock.c: Likewise.
29278 * time/getitimer.c: Likewise.
29279 * time/gettimeofday.c: Likewise.
29280 * time/setitimer.c: Likewise.
29281 * time/settimeofday.c: Likewise.
29282 * time/stime.c: Likewise.
29283 * time/time.c: Likewise.
29285 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
29287 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29290 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29292 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29294 2012-11-03 Joseph Myers <joseph@codesourcery.com>
29297 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29298 FE_TONEAREST before applying Dekker multiplication and Knuth
29299 addition. Clear inexact exceptions and check for exact zero
29300 results afterwards.
29301 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29302 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29303 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29304 * math/libm-test.inc (fma_test): Add more tests.
29305 (fma_test_towardzero): Likewise.
29306 (fma_test_downward): Likewise.
29307 (fma_test_upward): Likewise.
29308 * sysdeps/generic/math_private.h (default_libc_fesetround): New
29310 (libc_fesetround): New macro.
29311 (libc_fesetroundf): Likewise.
29312 (libc_fesetroundl): Likewise.
29313 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29315 (libc_fesetround_387): Likewise.
29316 (libc_fesetroundf): New macro.
29317 (libc_fesetround): Likewise.
29318 (libc_fesetroundl): Likewise.
29319 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29321 (libc_fesetroundf): New macro.
29322 (libc_fesetround): Likewise.
29323 (libc_fesetroundl): Likewise.
29324 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29325 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29326 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29328 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29329 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29331 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29332 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29334 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29338 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29339 integer constant usable in #if and use that to give value to enum
29341 (FE_DIVBYZERO): Likewise.
29342 (FE_UNDERFLOW): Likewise.
29343 (FE_OVERFLOW): Likewise.
29344 (FE_INVALID): Likewise.
29345 (FE_INVALID_SNAN): Likewise.
29346 (FE_INVALID_ISI): Likewise.
29347 (FE_INVALID_IDI): Likewise.
29348 (FE_INVALID_ZDZ): Likewise.
29349 (FE_INVALID_IMZ): Likewise.
29350 (FE_INVALID_COMPARE): Likewise.
29351 (FE_INVALID_SOFTWARE): Likewise.
29352 (FE_INVALID_SQRT): Likewise.
29353 (FE_INVALID_INTEGER_CONVERSION): Likewise.
29354 (FE_TONEAREST): Likewise.
29355 (FE_TOWARDZERO): Likewise.
29356 (FE_UPWARD): Likewise.
29357 (FE_DOWNWARD): Likewise.
29358 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29359 (FE_DIVBYZERO): Likewise.
29360 (FE_OVERFLOW): Likewise.
29361 (FE_UNDERFLOW): Likewise.
29362 (FE_INEXACT): Likewise.
29363 (FE_TONEAREST): Likewise.
29364 (FE_DOWNWARD): Likewise.
29365 (FE_UPWARD): Likewise.
29366 (FE_TOWARDZERO): Likewise.
29367 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29368 (FE_UNDERFLOW): Likewise.
29369 (FE_OVERFLOW): Likewise.
29370 (FE_DIVBYZERO): Likewise.
29371 (FE_INVALID): Likewise.
29372 (FE_TONEAREST): Likewise.
29373 (FE_TOWARDZERO): Likewise.
29374 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29375 (FE_OVERFLOW): Likewise.
29376 (FE_UNDERFLOW): Likewise.
29377 (FE_DIVBYZERO): Likewise.
29378 (FE_INEXACT): Likewise.
29379 (FE_TONEAREST): Likewise.
29380 (FE_TOWARDZERO): Likewise.
29381 (FE_UPWARD): Likewise.
29382 (FE_DOWNWARD): Likewise.
29383 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29384 (FE_DIVBYZERO): Likewise.
29385 (FE_OVERFLOW): Likewise.
29386 (FE_UNDERFLOW): Likewise.
29387 (FE_INEXACT): Likewise.
29388 (FE_TONEAREST): Likewise.
29389 (FE_DOWNWARD): Likewise.
29390 (FE_UPWARD): Likewise.
29391 (FE_TOWARDZERO): Likewise.
29393 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
29395 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29397 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
29399 * scripts/cross-test-ssh.sh (command): Use newlines to separate
29400 commands. Quote $PWD.
29401 (blacklist_exports): Don't use remove_newlines. Replace "declare
29403 (remove_newlines): Remove.
29405 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
29407 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29408 * stdlib/stdlib.h (atof): Moved to ...
29409 * include/bits/stdlib-float.h: Here. New file.
29410 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29411 * stdlib/bits/stdlib-float.h: New file.
29412 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29414 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29417 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29419 * conform/conformtest.pl (@headers): Add fenv.h.
29420 * conform/data/fenv.h-data: New file.
29421 * include/fenv.h [_ISOMAC]: Disable all contents of file except
29422 include of <math/fenv.h>.
29424 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29425 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29426 && !UNIX98]. Enables tests for XOPEN2K8.
29427 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29428 POSIX2008]: Likewise.
29430 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29431 (struct rusage): Do not expect type or its members.
29434 * math/math.h (FP_NAN): Define macro to integer constant usable in
29435 #if and use that to give value to enum constant.
29436 (FP_INFINITE): Likewise.
29437 (FP_ZERO): Likewise.
29438 (FP_SUBNORMAL): Likewise.
29439 (FP_NORMAL): Likewise.
29441 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
29443 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29444 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29447 2012-11-02 Roland McGrath <roland@hack.frob.com>
29449 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29450 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29451 autoconf-time if not.
29452 * configure.in: Remove AC_PREREQ.
29454 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29456 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29457 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29458 of the internal implementation.
29460 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29462 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29463 except include of <misc/sys/syslog.h>.
29465 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29468 function returns with a NULL context exit with zero.
29470 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29472 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29474 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
29476 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29477 (run_program_cmd): This.
29478 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29479 (tst_langinfo): New variable. Use it.
29481 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
29483 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29484 floating point opcodes.
29486 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29488 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29491 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29493 * sysdeps/mach/hurd/powerpc: Remove directory.
29494 * sysdeps/mach/powerpc: Likewise.
29496 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29498 * scripts/check-local-headers.sh: Ignore c++ headers.
29500 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29502 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29503 __libc_cleanup_region_start argument.
29505 2012-11-01 Joseph Myers <joseph@codesourcery.com>
29509 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29510 x * y using scaling, not as x * y + z.
29511 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29512 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29513 * math/libm-test.inc (fma_test): Add more tests.
29514 (fma_test_towardzero): Likewise.
29515 (fma_test_downward): Likewise.
29516 (fma_test_upward): Likewise.
29518 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29520 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29522 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29524 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29527 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
29529 * rt/tst-shm.c (worker): Correct checking for mmap failure.
29531 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29538 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29541 Fix the order of the list for glibc 2.17.
29542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29545 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29549 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29552 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29553 for low part of x being zero before using __atanl (y).
29554 * math/libm-test.inc (atan2_test): Add another test.
29556 * manual/install.texi (Configuring and compiling): Document
29557 general use of test-wrapper and test-wrapper-env.
29558 * INSTALL: Regenerated.
29560 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29561 (__fma): Do not extract and scale down low bits on after-rounding
29562 systems when result rounded to normal precision would have normal
29564 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29565 (__fmal): Do not extract and scale down low bits on after-rounding
29566 systems when result rounded to normal precision would have normal
29568 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29569 (__fmal): Do not extract and scale down low bits on after-rounding
29570 systems when result rounded to normal precision would have normal
29572 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29574 (fma_test): Add more tests.
29575 (fma_test_towardzero): Likewise.
29576 (fma_test_downward): Likewise.
29577 (fma_test_upward): Likewise.
29579 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
29581 * sysdeps/i386/tininess.h: Renamed to ...
29582 * sysdeps/x86/tininess.h: This.
29583 * sysdeps/x86_64/tininess.h: Removed.
29585 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29587 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29588 input. Use $(build-program-cmd).
29589 ($(objpfx)tst-array1-static.out): Likewise.
29590 ($(objpfx)tst-array2.out): Likewise.
29591 ($(objpfx)tst-array3.out): Likewise.
29592 ($(objpfx)tst-array4.out): Likewise.
29593 ($(objpfx)tst-array5.out): Likewise.
29594 ($(objpfx)tst-array5-static.out): Likewise.
29596 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
29598 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29601 * nss/nsswitch.h (nss_interface_function): Provide new
29602 macro for use with NSS functions.
29603 * grp/initgroups.c: Use new macro.
29604 * nss/getXXbyYY.c: Likewise.
29605 * nss/getXXbyYY_r.c: Likewise.
29606 * nss/getXXent.c: Likewise.
29607 * nss/getXXent_r.c: Likewise.
29608 * sysdeps/posix/getaddrinfo.c: Likewise.
29610 2012-10-30 Andreas Jaeger <aj@suse.de>
29612 * po/ru.po: Update Russion translation from translation project.
29614 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29618 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29619 result and shift together with sticky bit instead of replicating
29620 round-to-nearest rounding.
29621 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29622 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29623 * math/libm-test.inc (fma_test): Add more tests. Do not permit
29624 missing underflow exceptions.
29625 (fma_test_towardzero): Add more tests.
29626 (fma_test_downward): Likewise.
29627 (fma_test_upward): Likewise.
29630 * sysdeps/generic/tininess.h: New file.
29631 * sysdeps/i386/tininess.h: Likewise.
29632 * sysdeps/sh/tininess.h: Likewise.
29633 * sysdeps/x86_64/tininess.h: Likewise.
29634 * stdlib/tst-strtod-underflow.c: Likewise.
29635 * stdlib/tst-tininess.c: Likewise.
29636 * stdlib/strtod_l.c: Include <tininess.h>.
29637 (round_and_return): Do not set errno for exact underflow cases.
29638 Force an underflow exception when setting errno for underflow.
29639 Determine underflow based on rounding to normal precision if
29640 TININESS_AFTER_ROUNDING.
29641 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29642 ERANGE for exact underflow cases.
29643 * stdlib/Makefile (tests): Add tst-tininess and
29644 tst-strtod-underflow.
29645 ($(objpfx)tst-tininess): Use $(link-libm).
29646 ($(objpfx)tst-strtod-underflow): Likewise.
29648 2012-10-30 Andreas Jaeger <aj@suse.de>
29651 * elf/Makefile (tests): Remove conditional for have-initfini-array
29652 since this is now always required and the variable does not exist
29654 (tests-static): Likewise.
29655 (modules-names): Likewise.
29657 * po/eo.po: Add Esperanto translation from translation project.
29659 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29660 merged with constructor/destructor.
29661 (init_array): Likewise.
29662 * elf/tst-array2dep.c (fini_array): Likewise.
29663 (init_array): Likewise.
29665 2012-10-29 Mike Frysinger <vapier@gentoo.org>
29667 * manual/message.texi: Delete @cartouche tags.
29669 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29671 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29673 * sysdeps/mach/hurd/fsync.c: Likewise.
29675 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29676 [_POSIX_REALTIME_SIGNALS]: Change condition to
29677 [_POSIX_REALTIME_SIGNALS > 0].
29679 2012-10-27 Andreas Jaeger <aj@suse.de>
29681 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29682 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29683 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29684 [__WORDSIZE != 64]: Likewise.
29686 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29688 * iconvdata/tst-table.sh: Remove ${SHELL}.
29689 * iconvdata/tst-tables.sh: Likewise.
29691 2012-10-25 David S. Miller <davem@davemloft.net>
29693 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29694 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29697 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29699 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29700 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29701 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29704 2012-10-25 Roland McGrath <roland@hack.frob.com>
29706 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29707 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29710 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29711 Jim Blandy <jimb@codesourcery.com>
29713 * scripts/cross-test-ssh.sh: New file.
29714 * manual/install.texi (Configuring and compiling): Document use of
29716 * INSTALL: Regenerated.
29718 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29720 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29723 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29725 * Makeconfig (run-program-prefix): Fix comment.
29727 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29728 Jim Blandy <jimb@codesourcery.com>
29730 * Makeconfig (test-wrapper): New variable,
29731 (test-wrapper-env): Likewise.
29732 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29733 (run-built-tests): Define to yes.
29734 (run-program-prefix): Use $(test-wrapper).
29735 (built-program-cmd): Likewise.
29736 * Rules (make-test-out): Use $(test-wrapper-env) and
29737 $(host-built-program-cmd).
29738 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29739 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29741 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29742 $(test-wrapper-env) to tst-rtld-load-self.sh.
29743 ($(objpfx)order2.out): Use $(test-wrapper).
29744 ($(objpfx)tst-initorder.out): Likewise.
29745 ($(objpfx)tst-initorder2.out): Likewise.
29746 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29747 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29748 (test_wrapper_env): New variable. Use it to run ld.so.
29749 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29750 Use it to run ld.so.
29751 (test_wrapper_env): Likewise.
29752 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29753 $(test-wrapper) to run-iconv-test.sh.
29754 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29755 (ICONV): Use $test_wrapper.
29756 * posix/Makefile ($(objpfx)globtest.out): Pass
29757 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29758 globtest.sh, not $(run-program-prefix).
29759 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29760 (test_wrapper): Likewise.
29761 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29762 set together with run_via_rtld_prefix.
29763 (run_program_prefix): Define in terms of test_wrapper and
29764 run_via_rtld_prefix.
29766 2012-10-24 Roland McGrath <roland@hack.frob.com>
29768 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29769 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29773 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29774 Declare __clock_getres, __clock_gettime, __clock_settime,
29775 __clock_nanosleep, and __clock_getcpuclockid.
29776 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29777 Remove librt_hidden_def (clock_gettime).
29778 * sysdeps/unix/clock_gettime.c: Likewise.
29779 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29780 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29781 * rt/clock_getres.c: Define __clock_getres as an alias.
29782 * sysdeps/posix/clock_getres.c: Likewise.
29783 * rt/clock_settime.c: Define __clock_settime as an alias.
29784 * sysdeps/unix/clock_settime.c: Likewise.
29785 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29786 * sysdeps/unix/clock_nanosleep.c: Likewise.
29787 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29788 * rt/clock-compat.c: New file.
29789 * rt/Makefile (librt-routines): Add clock-compat and move
29790 $(clock-routines) to ...
29791 (routines): ... here, new variable.
29792 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29793 Don't add get_clockfreq here.
29794 * rt/Versions (libc: GLIBC_2.17): New version set.
29795 Add clock_* symbols here.
29796 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29797 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29798 (GLIBC_2.17): Add clock_* symbols.
29799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29801 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29810 * NEWS: Mention the move.
29812 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29813 Use __open, __read, __close rather than their public counterparts.
29814 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29815 (__get_clockfreq_via_cpuinfo): Likewise.
29816 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29817 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29819 * config.h.in (HAVE_IFUNC): New #undef.
29820 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29822 * configure: Regenerated.
29824 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29826 * configure.in: Move READELF check to start of file.
29827 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29828 libc_cv_asm_gnu_indirect_function in the process.
29829 * configure: Regenerated.
29831 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29833 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29834 send the output to /dev/null.
29835 (libc_cv_cc_with_libunwind): Likewise.
29836 (libc_cv_as_noexecstack): Likewise.
29837 * configure: Regenerate.
29839 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29841 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29843 * posix/globtest.sh (TMPDIR): Do not set.
29844 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29845 (testout): Likewise.
29847 2012-10-24 Andreas Jaeger <aj@suse.de>
29849 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29850 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29851 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29852 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29853 posix_fadvise64, posix_fallocate64.
29855 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29856 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29857 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29859 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29861 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29863 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29864 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29865 <bits/fcntl-linux.h>.
29866 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29868 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29869 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29870 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29871 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29872 [__WORDSIZE != 64]: Likewise.
29874 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29876 * Makeconfig (run-built-tests): New variable.
29877 * Rules [$(cross-compiling) = yes]: Change condition to
29878 [$(run-built-tests) = no].
29879 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29880 to [$(run-built-tests) = yes].
29881 * elf/Makefile [$(cross-compiling) = no]: Likewise
29882 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29883 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29884 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29885 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29886 * io/Makefile [$(cross-compiling) = no]: Likewise.
29887 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29888 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29889 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29890 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29891 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29892 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29893 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29894 * string/Makefile [$(cross-compiling) = no]: Likewise.
29896 * posix/Makefile ($(objpfx)globtest.out): Pass
29897 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29898 $(rtld-installed-name).
29899 * posix/globtest.sh (elf_objpfx): Remove variable.
29900 (rtld_installed_name): Likewise.
29901 (library_path): Likewise.
29902 (run_program_prefix): New variable. Use for running globtest
29905 2012-10-23 Jim Blandy <jimb@codesourcery.com>
29906 Joseph Myers <joseph@codesourcery.com>
29908 * Makeconfig (host-built-program-cmd): New variable.
29909 * elf/Makefile (tst-stackguard1-ARGS): Use
29910 $(host-built-program-cmd).
29911 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29912 (tst-spawn-ARGS): Likewise.
29913 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29915 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29916 Jim Blandy <jimb@codesourcery.com>
29918 * Makeconfig (run-via-rtld-prefix): New variable.
29919 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29920 (built-program-cmd): Likewise.
29922 2012-10-22 Andreas Jaeger <aj@suse.de>
29924 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29925 __O_RSYNC if it exists, otherwise to O_SYNC.
29927 2012-10-22 Jim Blandy <jimb@codesourcery.com>
29928 Joseph Myers <joseph@codesourcery.com>
29930 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29932 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29934 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29937 2012-10-22 Andreas Jaeger <aj@suse.de>
29939 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29941 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29943 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29944 bits/fcntl-linux.h.
29946 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29947 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29949 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29951 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29954 2012-10-21 Jim Blandy <jimb@codesourcery.com>
29955 Joseph Myers <joseph@codesourcery.com>
29957 * config.make.in (NM): New variable.
29959 2012-10-21 Andreas Jaeger <aj@suse.de>
29961 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29962 definitions and declarations that are provided by
29963 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29965 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29968 * elf/Makefile (tests-static): Add tst-leaks1-static.
29969 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29970 ($(objpfx)tst-leaks1-static): New rule.
29971 ($(objpfx)tst-leaks1-static-mem): Likewise.
29972 (tst-leaks1-static-ENV): New macro.
29973 * elf/dl-open.c (dl_open_worker): Check the main application
29974 only if SHARED is defined.
29975 * elf/tst-leaks1-static.c: New file.
29977 2012-10-20 Andreas Jaeger <aj@suse.de>
29979 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29980 generic values for Linux.
29981 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29982 and declarations that are provided by <bits/fcntl-linux.h> and
29983 include <bits/fcntl-linux.h>.
29984 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29985 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29987 2012-10-20 Roland McGrath <roland@hack.frob.com>
29989 * io/fcntl.h: Move include of <bits/types.h> to the top and
29990 include it unconditionally.
29992 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29994 * wcsmbs/Makefile (tests-ifunc): New variable.
29995 (tests): Add $(tests-ifunc).
29996 * wcsmbs/test-wcschr-ifunc.c: New file.
29997 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29998 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29999 * wcsmbs/test-wcslen-ifunc.c: Likewise.
30000 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30001 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30003 * string/Makefile (tests-ifunc): New variable.
30004 (tests): Add $(tests-ifunc).
30005 * string/test-memccpy.c (TEST_NAME): New macro.
30006 * string/test-memchr.c (TEST_NAME): Likewise.
30007 * string/test-memcmp.c (TEST_NAME): Likewise.
30008 * string/test-memcpy.c (TEST_NAME): Likewise.
30009 * string/test-memmem.c (TEST_NAME): Likewise.
30010 * string/test-memmove.c (TEST_NAME): Likewise.
30011 * string/test-memset.c (TEST_NAME): Likewise.
30012 * string/test-rawmemchr.c (TEST_NAME): Likewise.
30013 * string/test-stpcpy.c (TEST_NAME): Likewise.
30014 * string/test-stpncpy.c (TEST_NAME): Likewise.
30015 * string/test-strcasecmp.c (TEST_NAME): Likewise.
30016 * string/test-strcasestr.c (TEST_NAME): Likewise.
30017 * string/test-strcat.c (TEST_NAME): Likewise.
30018 * string/test-strchr.c (TEST_NAME): Likewise.
30019 * string/test-strcmp.c(TEST_NAME): Likewise.
30020 * string/test-strcpy.c (TEST_NAME): Likewise.
30021 * string/test-strcspn.c (TEST_NAME): Likewise.
30022 * string/test-strlen.c (TEST_NAME): Likewise.
30023 * string/test-strncasecmp.c (TEST_NAME): Likewise.
30024 * string/test-strncmp.c (TEST_NAME): Likewise.
30025 * string/test-strncpy.c (TEST_NAME): Likewise.
30026 * string/test-strnlen.c (TEST_NAME): Likewise.
30027 * string/test-strpbrk.c (TEST_NAME): Likewise.
30028 * string/test-strrchr.c (TEST_NAME): Likewise.
30029 * string/test-strspn.c (TEST_NAME): Likewise.
30030 * string/test-strstr.c (TEST_NAME): Likewise.
30031 * string/test-bcopy-ifunc.c: New file.
30032 * string/test-bzero-ifunc.c: Likewise.
30033 * string/test-memccpy-ifunc.c: Likewise.
30034 * string/test-memchr-ifunc.c: Likewise.
30035 * string/test-memcmp-ifunc.c: Likewise.
30036 * string/test-memcpy-ifunc.c: Likewise.
30037 * string/test-memmem-ifunc.c: Likewise.
30038 * string/test-memmove-ifunc.c: Likewise.
30039 * string/test-mempcpy-ifunc.c: Likewise.
30040 * string/test-memset-ifunc.c: Likewise.
30041 * string/test-rawmemchr-ifunc.c: Likewise.
30042 * string/test-stpcpy-ifunc.c: Likewise.
30043 * string/test-stpncpy-ifunc.c: Likewise.
30044 * string/test-strcasecmp-ifunc.c: Likewise.
30045 * string/test-strcasestr-ifunc.c: Likewise.
30046 * string/test-strcat-ifunc.c: Likewise.
30047 * string/test-strchr-ifunc.c: Likewise.
30048 * string/test-strchrnul-ifunc.c: Likewise.
30049 * string/test-strcmp-ifunc.c: Likewise.
30050 * string/test-strcpy-ifunc.c: Likewise.
30051 * string/test-strcspn-ifunc.c: Likewise.
30052 * string/test-strlen-ifunc.c: Likewise.
30053 * string/test-strncasecmp-ifunc.c: Likewise.
30054 * string/test-strncat-ifunc.c: Likewise.
30055 * string/test-strncmp-ifunc.c: Likewise.
30056 * string/test-strncpy-ifunc.c: Likewise.
30057 * string/test-strnlen-ifunc.c: Likewise.
30058 * string/test-strpbrk-ifunc.c: Likewise.
30059 * string/test-strrchr-ifunc.c: Likewise.
30060 * string/test-strspn-ifunc.c: Likewise.
30061 * string/test-strstr-ifunc.c: Likewise.
30063 * debug/Makefile (tests-ifunc): New variable.
30064 (tests): Add $(tests-ifunc).
30065 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30066 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30067 * debug/test-stpcpy_chk-ifunc.c: New file.
30068 * debug/test-strcpy_chk-ifunc.c: Likewise.
30070 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30073 * elf/dl-load.c (open_verify): Retry read if the entire ELF
30074 header is not read in.
30076 2012-10-19 Joseph Myers <joseph@codesourcery.com>
30078 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
30079 script to $(SHELL) as $<. Pass $(common-objpfx) to script
30080 directly. Pass built executable to script as
30081 $(built-program-cmd).
30082 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
30083 $testprogram without using LD_LIBRARY_PATH and $ldso.
30085 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30086 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30087 $(rtld-installed-name).
30088 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30089 (rtld_installed_name): Likewise.
30090 (library_path): Likewise.
30091 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
30092 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30093 $(run-program-prefix) to tst-tables.sh.
30094 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
30095 it to run tst-table-from and tst-table-to.
30096 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30097 Pass it to tst-table.sh.
30098 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30099 $(run-program-prefix) to tst-gettext.sh.
30100 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30102 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30104 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
30105 to run tst-gettext.
30106 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
30107 to run tst-gettext2.
30108 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
30109 to run tst-translit.
30110 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30111 $(run-program-prefix) to tst-mtrace.sh.
30112 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
30114 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30115 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30116 $(rtld-installed-name).
30117 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30118 (rtld_installed_name): Likewise.
30119 (run_program_prefix): New variable. Use it to run wordexp-test.
30121 * Makeconfig (ARCH): Remove all definitions.
30122 (machine): Likewise.
30123 [ARCH]: Remove conditional code.
30124 [!objdir]: Give error.
30125 [!objdir] (objpfx): Remove.
30126 [!objdir] (common-objpfx): Likewise.
30127 [!objdir] (common-objdir): Likewise.
30128 * configure.in (config_makefile): Remove. Hardcode Makefile in
30129 AC_CONFIG_FILES call.
30130 * configure: Regenerated.
30133 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30135 (testout): Likewise.
30137 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30138 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30139 $(rtld-installed-name).
30140 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30141 (rtld_installed_name): Likwise.
30142 (runit): Remove function.
30143 (run_getconf): New variable, Use it for running getconf binary.
30145 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
30148 * string/test-memmem.c (check_result): New function.
30149 (do_one_test): Use it.
30150 (check1): New function.
30151 (test_main): Use it.
30153 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
30155 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30157 2012-10-18 Joseph Myers <joseph@codesourcery.com>
30159 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30160 (_G_LSEEK64): Likewise.
30161 (_G_MMAP64): Likewise.
30162 (_G_FSTAT64): Likewise.
30163 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30164 (_G_LSEEK64): Likewise.
30165 (_G_MMAP64): Likewise.
30166 (_G_FSTAT64): Likewise.
30167 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30168 unconditional. Call __mmap64 directly.
30169 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30170 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
30171 __lseek64 directly.
30172 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30173 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
30175 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30176 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
30177 __lseek64 directly.
30178 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30179 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
30180 __lseek64 directly.
30181 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30182 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
30183 __lseek64 directly.
30184 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30185 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
30186 __fxstat64 directly.
30187 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30188 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30190 (freopen64) [!_G_OPEN64]: Remove conditional code.
30191 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30193 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30194 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30196 (ftello64) [!_G_LSEEK64]: Remove conditional code.
30197 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30199 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30200 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30202 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30203 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30205 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30206 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30208 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30209 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30211 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30213 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30216 * manual/memory.texi (Malloc Tunable Parameters): Add note
30217 about free list pointers overwriting some perturb bytes.
30218 Wording suggested by Roland McGrath.
30220 2012-10-17 Joseph Myers <joseph@codesourcery.com>
30222 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30223 (lgamma_test): Likewise.
30224 (tgamma_test): Likewise.
30226 2012-10-16 Florian Weimer <fweimer@redhat.com>
30229 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30230 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30232 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
30234 * NEWS: Mention BZ #14716.
30235 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30236 when removing AVAILABLE1_USES_J macro.
30238 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
30240 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30241 (__bswap_64): __uint64_t for unsigned 64-bit int.
30243 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
30245 * include/string.h (memmem): Declare libc hidden alias.
30246 * string/memmem.c (memmem): Define libc hidden alias.
30247 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30248 __read, __close instead of open, read, close.
30250 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
30252 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30253 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30255 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30256 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30257 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30259 (__rawmemchr_sse2): Likewise.
30260 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30261 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30262 (__strchr_sse2): Likewise.
30263 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30264 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30265 (__strcasecmp_sse2): Likewise.
30266 (__strncasecmp_sse2): Likewise.
30267 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30268 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30269 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30270 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30271 (__strrchr_sse2): Likewise.
30272 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30274 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30275 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30276 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30277 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30278 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30279 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30280 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30281 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30282 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30283 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30284 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30285 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30286 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30287 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30288 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30289 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30290 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30291 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30292 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30293 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30294 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30295 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30296 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30297 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30298 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30299 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30300 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30301 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30302 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30303 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30305 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30307 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30308 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30309 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30310 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30312 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30314 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30315 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30316 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30317 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30319 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30320 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30321 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30322 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30323 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30324 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30325 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30326 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30327 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30328 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30329 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30330 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30331 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30332 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30333 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30334 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30335 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30336 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30337 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30338 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30339 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30340 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30341 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30342 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30343 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30344 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30345 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30346 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30347 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30348 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30349 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30350 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30351 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30352 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30353 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30354 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30355 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30356 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30357 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30358 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30359 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30361 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30362 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30363 * include/ifunc-impl-list.h: New file.
30364 * misc/ifunc-impl-list.c: Likewise.
30365 * misc/Makefile (routines): Add ifunc-impl-list.
30366 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30367 * string/test-string.h: Include <ifunc-impl-list.h>.
30368 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30369 TEST_NAME]: New variables.
30370 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30372 (test_init): Call __libc_ifunc_impl_list to initialize
30373 func_list if TEST_IFUNC and TEST_NAME are defined.
30375 * string/Makefile (strop-tests): Add bcopy and bzero.
30376 * string/test-bcopy.c: New file.
30377 * string/test-bzero.c: Likewise.
30378 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30380 * string/test-memset.c: Support bzero test if TEST_BZERO is
30382 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30384 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30386 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30389 2012-10-10 Joseph Myers <joseph@codesourcery.com>
30391 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30392 * configure: Regenerated.
30394 * Makeconfig (+link-static-before-libc): Don't include
30395 $(link-static-libc).
30397 * libio/libio.h (_IO_pos_t): Remove.
30399 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30401 * NEWS: Add note about FIPS mode. Wording suggested by Roland
30404 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30406 * crypt/crypt-entry.c: Include fips-private.h.
30407 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30408 * crypt/md5c-test.c (main): Tolerate disabled MD5.
30409 * sysdeps/unix/sysv/linux/fips-private.h: New file.
30410 * sysdeps/generic/fips-private.h: New file, dummy fallback.
30412 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30414 * crypt/crypt-private.h: Include stdbool.h.
30415 (_ufc_setup_salt_r): Return bool.
30416 * crypt/crypt-entry.c: Include errno.h.
30417 (__crypt_r): Return NULL with EINVAL for bad salt.
30418 * crypt/crypt_util.c (bad_for_salt): New.
30419 (_ufc_setup_salt_r): Check that salt is long enough and within
30420 the specified alphabet.
30421 * crypt/badsalttest.c: New file.
30422 * crypt/Makefile (tests): Add it.
30423 ($(objpfx)badsalttest): New.
30425 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
30427 * NEWS: Add entry for BZ #14602.
30429 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30431 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30433 * math/libm-test.inc: Update comment listing what functions and
30435 (isgreater_test): New function.
30436 (isgreaterequal_test): Likewise.
30437 (isless_test): Likewise.
30438 (islessequal_test): Likewise.
30439 (islessgreater_test): Likewise.
30440 (isunordered_test): Likewise.
30441 (main): Call the new functions.
30443 2012-10-09 Roland McGrath <roland@hack.frob.com>
30445 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30446 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30447 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30448 * sysdeps/i386/configure: Regenerated.
30449 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30450 * sysdeps/mach/configure: Regenerated.
30451 * sysdeps/mach/hurd/configure: Regenerated.
30452 * sysdeps/powerpc/configure: Regenerated.
30453 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30454 * sysdeps/powerpc/powerpc64/configure: Regenerated.
30455 * sysdeps/s390/s390-32/configure: Regenerated.
30456 * sysdeps/s390/s390-64/configure: Regenerated.
30457 * sysdeps/sh/configure: Regenerated.
30458 * sysdeps/sparc/configure: Regenerated.
30459 * sysdeps/unix/sysv/linux/configure: Regenerated.
30460 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30461 * sysdeps/x86_64/configure: Regenerated.
30463 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30464 defined. Don't check if MAP is NULL.
30466 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30468 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30469 (_G_stat64): Likewise.
30470 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30471 (_G_stat64): Likewise.
30472 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30473 instead of struct _G_stat64.
30474 * libio/fileops.c (mmap_remap_check): Likewise.
30475 (decide_maybe_mmap): Likewise.
30476 (_IO_new_file_seekoff): Likewise.
30477 (_IO_file_stat): Likewise.
30478 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30480 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30481 instead of struct _G_stat64.
30482 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30484 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
30487 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30489 (CHECK_EOL): New macro.
30490 (two_way_short_needle): Check beginning of haystack for EOL. Use
30492 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30493 Replace with CHECK_EOL.
30494 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30495 Replace with CHECK_EOL.
30497 2012-10-08 Joseph Myers <joseph@codesourcery.com>
30499 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30501 * math/libm-test.inc: Update comment listing what functions and
30503 (finite_test): New function.
30504 (isinf_test): Likewise.
30505 (isnan_test): Likewise.
30506 (fpclassify_test): Test subnormal input.
30507 (isfinite_test): Likewise.
30508 (isnormal_test): Likewise.
30509 (main): Call the new functions.
30511 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
30514 * Makerules (%.dynsym): Force C locale when running
30515 $(OBJDUMP) --dynamic-syms.
30517 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
30519 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30522 2012-10-06 David S. Miller <davem@davemloft.net>
30524 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30525 upper 32-bits of the length value in %o2 since we use branch-on-register
30526 tests which consider the entire 64-bit register.
30528 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
30530 * string/test-strstr.c (check2): Add a test for page boundary.
30532 2012-10-05 David S. Miller <davem@davemloft.net>
30534 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30535 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30537 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30539 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30540 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30541 and bzero when HWCAP_SPARC_CRYPTO is present.
30543 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
30546 * string/test-strstr.c (check2): New function.
30547 (test_main): Call check2.
30549 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30551 * string/bug-strcasestr1.c (do_test): Moved to ...
30552 * string/test-strcasestr.c (check1): Here. New function.
30553 (do_one_test): Break out result checking code into ...
30554 (check_result): This. New function.
30555 (do_one_test): Call check_result.
30556 (test_main): Call check1.
30557 * string/bug-strchr1.c (do_test): Moved to ...
30558 * string/test-strchr.c (check1): Here. New function.
30559 (do_one_test): Break out result checking code into ...
30560 (check_result): This. New function.
30561 (do_one_test): Call check_result.
30562 (test_main): Call check1.
30563 * string/bug-strstr1.c (main): Moved to ...
30564 * string/test-strstr.c (check1): Here. New function.
30565 (do_one_test): Break out result checking code into ...
30566 (check_result): This. New function.
30567 (do_one_test): Call check_result.
30568 (test_main): Call check1.
30569 * string/bug-strcasestr1.c: Removed.
30570 * string/bug-strchr1.c: Likewise.
30571 * string/bug-strstr1.c: Likewise.
30573 * elf/Makefile (dl-routines): Add hwcaps.
30574 * elf/dl-support.c (_dl_important_hwcaps): Removed.
30575 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30576 (_dl_important_hwcaps): Moved to ...
30577 * elf/dl-hwcaps.c: Here. New file.
30578 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30581 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30582 if IS_IN_rtld isn't defined.
30584 * elf/dl-support.c (_dl_sysinfo_map): New.
30585 Include "get-dynamic-info.h" and "setup-vdso.h".
30586 (_dl_non_dynamic_init): Call setup_vdso.
30587 * elf/dynamic-link.h: Don't include <assert.h>.
30588 (elf_get_dynamic_info): Moved to ...
30589 * elf/get-dynamic-info.h: Here. New file.
30590 * elf/dynamic-link.h: Include "get-dynamic-info.h".
30591 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30592 * elf/setup-vdso.h: Here. New file.
30593 * elf/rtld.c: Include "setup-vdso.h".
30594 (dl_main): Call setup_vdso.
30596 2012-10-05 Joseph Myers <joseph@codesourcery.com>
30598 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30599 creal in comment listing functions tested. List finite, isinf,
30600 isnan, isless, islessequal, isgreater, isgreaterequal,
30601 islessgreater, isunordered, lgamma_r and pow10 as functions and
30602 macros not tested. Mention which functions not tested are aliases
30603 for other functions. Fix typo. Note that signs of NaNs are not
30606 * scripts/config.guess: Update from config.git.
30607 * scripts/config.sub: Likewise.
30609 2012-10-04 Roland McGrath <roland@hack.frob.com>
30611 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30612 * misc/madvise.c (madvise): Renamed to __madvise.
30613 Make madvise a weak alias.
30614 * include/sys/mman.h: Declare __madvise.
30615 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30616 * sysdeps/unix/syscalls.list
30617 (madvise): Make __madvise the strong name, and madvise a weak alias.
30618 * sysdeps/unix/sysv/linux/syscalls.list
30619 (madvise, mmap): Remove redundant entries.
30620 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30621 * malloc/malloc.c (mtrim): Likewise.
30622 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30624 2012-10-03 Roland McGrath <roland@hack.frob.com>
30626 * sysdeps/mach/hurd/dl-cache.c: File removed.
30627 * config.h.in (USE_LDCONFIG): New #undef.
30628 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30629 * configure: Regenerated.
30630 * elf/Makefile (dl-routines): Add dl-cache only under
30631 [$(use-ldconfig) = yes].
30632 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30633 cache on [USE_LDCONFIG].
30634 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30636 * elf/rtld.c (dl_main): Likewise.
30638 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30640 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30641 _SC_LEVEL4_CACHE_LINESIZE.
30643 2012-10-03 Roland McGrath <roland@hack.frob.com>
30645 * sysdeps/unix/bsd/confstr.h: File removed.
30647 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
30649 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30652 2012-10-02 Roland McGrath <roland@hack.frob.com>
30654 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30655 Make 'mapoff' field ElfW(Off) rather than off_t.
30657 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30659 * nscd/Makefile: Remove nscd-cflags and all its users.
30660 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30661 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30664 * malloc.c (malloc_printerr): Clarify error message.
30666 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30669 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30670 Set bit_FMA_Usable if FMA is supported.
30671 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30673 (bit_FMA4_Usable): Updated.
30674 (index_FMA_Usable): New macro.
30675 (CPUID_FMA): Likewise
30676 (HAS_FMA): Defined with bit_FMA_Usable.
30678 2012-10-01 Roland McGrath <roland@hack.frob.com>
30680 * bits/types.h (__swblk_t): Type removed.
30681 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30682 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30683 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30684 (__SWBLK_T_TYPE): Likewise.
30685 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30686 (__SWBLK_T_TYPE): Likewise.
30687 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30688 (__SWBLK_T_TYPE): Likewise.
30689 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30690 (__SWBLK_T_TYPE): Likewise.
30692 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
30693 Honza Horak <hhorak@redhat.com>
30695 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30696 (xdr_mapname): Use YPMAXMAP as maxsize.
30697 (xdr_peername): Use YPMAXPEER as maxsize.
30698 (xdr_keydat): Use YPAXRECORD as maxsize.
30699 (xdr_valdat): Use YPMAXRECORD as maxsize.
30701 2012-10-01 Roland McGrath <roland@hack.frob.com>
30703 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30705 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30706 * csu/init-first.c: ... here.
30707 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30708 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30709 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30710 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30711 * sysdeps/i386/init-first.c: File removed.
30712 * sysdeps/sh/init-first.c: File removed.
30714 2012-10-01 Joseph Myers <joseph@codesourcery.com>
30717 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30718 if x * y might underflow to zero and z is zero.
30719 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30720 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30721 * math/libm-test.inc (min_subnorm_value): New variable.
30722 (fma_test): Add more tests.
30723 (fma_test_towardzero): Likewise.
30724 (fma_test_downward): Likewise
30725 (fma_test_upward): Likewise.
30726 (initialize): Set min_subnorm_value.
30728 2012-09-29 Joseph Myers <joseph@codesourcery.com>
30731 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30733 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30734 mode for addition resulting in exact zero.
30735 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30736 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30738 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30739 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30740 * math/libm-test.inc (fma_test): Add more tests.
30741 (fma_test_towardzero): New function.
30742 (fma_test_downward): Likewise.
30743 (fma_test_upward): Likewise.
30744 (main): Call the new functions.
30746 2012-09-28 David S. Miller <davem@davemloft.net>
30748 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30750 2012-09-28 Roland McGrath <roland@hack.frob.com>
30752 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30753 instead of SIGALRM.
30755 * sysdeps/gnu/_G_config.h: Moved to ...
30756 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30757 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30758 * sysdeps/generic/_G_config.h: ... here.
30760 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30762 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30764 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30765 Conditionalize target on [libnss_test1.so-version].
30767 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30769 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30770 (elfobjdir): Move out of conditionals.
30772 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30773 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30774 (__nss_lookup_function): Conditionalize label remove_from_tree on
30775 [!DO_STATIC_NSS || SHARED], matching its only use.
30777 2012-09-28 David S. Miller <davem@davemloft.net>
30779 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30780 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30782 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30784 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30785 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30786 when HWCAP_SPARC_CRYPTO is present.
30788 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30790 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30792 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30795 * stdio-common/vfprintf.c (process_string_arg): Revert
30798 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30800 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30802 * stdio-common/tst-sprintf.c: Include <locale.h>
30803 (main): Test sprintf's handling of incomplete multibyte
30806 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30808 * elf/dl-runtime.c (VERSYMIDX): Removed.
30809 * elf/dl-version.c (VERSYMIDX): Likewise.
30810 * elf/do-rel.h (VERSYMIDX): Likewise.
30811 (VALIDX): Likewise.
30812 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30813 * elf/rtld.c (VALIDX): Likewise.
30814 (ADDRIDX): Likewise.
30815 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30816 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30817 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30818 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30819 (VALIDX): Likewise.
30820 (ADDRIDX): Likewise.
30822 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30824 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30826 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30829 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30831 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30832 addresses are in the same scope as 192.0.2/24.
30833 * posix/gai.conf: Document new scope table defaults.
30835 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30838 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30839 for ftell. Compute offsets from write pointers instead.
30840 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30842 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30845 * libio/Makefile (tests): New test case tst-fseek.
30846 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30847 combination works in wide mode.
30848 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30849 state when the external buffer state changes.
30851 2012-09-27 David S. Miller <davem@davemloft.net>
30854 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30855 pass reloc->r_addend in as the 'high' argument to
30856 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30860 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30862 * rt/tst-aio2.c: Include <pthread.h>.
30863 * rt/tst-aio3.c: Likewise.
30865 2012-09-27 Steve Ellcey <sellcey@mips.com>
30867 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30869 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30871 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30872 contents on [SHARED].
30874 2012-09-26 Marek Polacek <polacek@redhat.com>
30878 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30879 for C++ and GCC <4.3 as well as for non GCC compilers.
30881 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30883 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30885 2012-09-25 Roland McGrath <roland@hack.frob.com>
30887 * Makefile.in (all, install): Declare with .PHONY.
30888 Reported by Michael Hope <michael.hope@linaro.org>.
30890 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30892 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30893 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30895 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30897 (sydep_routines): Add the new and the internal functions.
30898 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30899 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30901 (GLIBC_2.17): Add the new function.
30902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30903 (GLIBC_2.17): Likewise.
30904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30905 (GLIBC_2.17): Likewise.
30906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30907 (GLIBC_2.17): Likewise.
30908 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30910 2012-09-25 Alan Modra <amodra@gmail.com>
30912 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30913 Add release barrier before setting once_control to say
30914 initialisation is done. Add hints on lwarx. Use macro in
30916 (clear_once_control): Add release barrier.
30918 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30921 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30923 * math/s_clog10.c (__clog10): Likewise.
30924 * math/s_clog10f.c (__clog10f): Likewise.
30925 * math/s_clog10l.c (__clog10l): Likewise.
30926 * math/s_clogf.c (__clogf): Likewise.
30927 * math/s_clogl.c (__clogl): Likewise.
30928 * math/Makefile (libm-calls): Add x2y2m1.
30929 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30930 (__x2y2m1): Likewise.
30931 (__x2y2m1l): Likewise.
30932 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30933 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30934 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30935 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30936 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30937 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30938 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30939 * sysdeps/i386/fpu/libm-test-ulps: Update.
30940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30943 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30944 int as type of variable DEPTH.
30945 (glob): Use size_t instead of int as type of variables NEWCOUNT
30948 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30950 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30951 Add s_sincosf-sse2.
30952 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30953 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30954 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30955 macros for using routine as __sincosf_ia32.
30956 Use macro for function declaration and weak_alias.
30957 * sysdeps/i386/fpu/libm-test-ulps: Update.
30959 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30962 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30963 subnormal argument.
30964 * math/s_cexpf.c (__cexpf): Likewise.
30965 * math/s_csinf.c (__csinf): Likewise.
30966 * math/s_csinhf.c (__csinhf): Likewise.
30967 * math/s_ctanf.c (__ctanf): Likewise.
30968 * math/s_ctanhf.c (__ctanhf): Likewise.
30969 * math/s_ccosh.c (__ccoshf): Likewise.
30970 * math/s_cexp.c (__cexpl): Likewise.
30971 * math/s_csin.c (__csin): Likewise.
30972 * math/s_csinh.c (__csinh): Likewise.
30973 * math/s_ctan.c (__ctan): Likewise.
30974 * math/s_ctanh.c (ctanh): Likewise.
30975 * math/s_ccoshl.c (__ccoshl): Likewise.
30976 * math/s_cexpl.c (__cexpl): Likewise.
30977 * math/s_csinl.c (__csinl): Likewise.
30978 * math/s_csinhl.c (__csinhl): Likewise.
30979 * math/s_ctanl.c (__ctanl): Likewise.
30980 * math/s_ctanhl.c (__ctanhl): Likewise.
30982 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30984 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30985 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30986 (_IO_off_t): Define to __off_t, not _G_off_t.
30987 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30988 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30989 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30990 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30991 type of __dummy and __dummy2 fields.
30992 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30993 (_G_ssize_t): Likewise.
30994 (_G_off_t): Likewise.
30995 (_G_pid_t): Likewise.
30996 (_G_uid_t): Likewise.
30997 (_G_wchar_t): Likewise.
30998 (_G_wint_t): Likewise.
30999 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31000 (_G_ssize_t): Likewise.
31001 (_G_off_t): Likewise.
31002 (_G_pid_t): Likewise.
31003 (_G_uid_t): Likewise.
31004 (_G_wchar_t): Likewise.
31005 (_G_wint_t): Likewise.
31006 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31007 (_G_ssize_t): Likewise.
31008 (_G_off_t): Likewise.
31009 (_G_pid_t): Likewise.
31010 (_G_uid_t): Likewise.
31011 (_G_wchar_t): Likewise.
31012 (_G_wint_t): Likewise.
31014 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31016 * malloc/arena.c: Include malloc-sysdep.h.
31017 (shrink_heap): Use check_may_shrink_heap to decide if madvise
31018 is sufficient to shrink the heap or an unmap is needed.
31019 * sysdeps/generic/malloc-sysdep.h: New file. Define
31020 new function check_may_shrink_heap.
31021 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
31022 new function check_may_shrink_heap.
31024 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31026 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31029 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
31031 * catgets/test-gencat.sh: Add "set -e".
31032 * elf/tst-pathopt.sh: Likewise.
31033 * grp/tst_fgetgrent.sh: Likewise.
31034 * iconvdata/run-iconv-test.sh: Likewise.
31035 * intl/tst-gettext.sh: Likewise.
31036 * intl/tst-gettext2.sh: Likewise.
31037 * intl/tst-gettext4.sh: Likewise.
31038 * intl/tst-gettext6.sh: Likewise.
31039 * intl/tst-translit.sh: Likewise.
31040 * io/ftwtest-sh: Likewise.
31041 * libio/test-freopen.sh: Likewise.
31042 * malloc/tst-mtrace.sh: Likewise.
31043 * posix/globtest.sh: Likewise.
31044 * posix/tst-getconf.sh: Likewise.
31045 * posix/wordexp-tst.sh: Likewise.
31046 * stdio-common/tst-printf.sh: Likewise.
31047 * stdio-common/tst-unbputc.sh: Likewise.
31048 * stdlib/tst-fmtmsg.sh: Likewise.
31049 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31050 * catgets/Makefile: Do not specify -e option when running
31051 testsuite shell scripts.
31052 * elf/Makefile: Likewise.
31053 * grp/Makefile: Likewise.
31054 * iconvdata/Makefile: Likewise.
31055 * intl/Makefile: Likewise.
31056 * io/Makefile: Likewise.
31057 * libio/Makefile: Likewise.
31058 * malloc/Makefile: Likewise.
31059 * posix/Makefile: Likewise.
31060 * stdio-common/Makefile: Likewise.
31061 * stdlib/Makefile: Likewise.
31062 * sysdeps/x86_64/Makefile: Likewise.
31064 * io/ftwtest-sh: Add copyright header.
31065 * posix/globtest.sh: Likewise.
31066 * posix/tst-getconf.sh: Likewise.
31067 * posix/wordexp-tst.sh: Likewise.
31068 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31070 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
31073 * Makeconfig (+link): Defined as $(+link-static) if
31074 $(build-shared) isn't yes.
31075 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31077 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31079 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31082 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31083 new chunk size with MALLOC_ALIGN_MASK.
31085 2012-09-24 Joseph Myers <joseph@codesourcery.com>
31088 * stdio-common/printf_fphex.c: Include <stdbool.h> and
31090 (__printf_fphex): Determine rounding using get_rounding_mode and
31092 * stdio-common/tst-printf-round.c (struct hex_test): New
31094 (hex_tests): New variable.
31095 (test_hex_in_one_mode): New function.
31096 (do_test): Also run tests for hex float output.
31098 2012-09-21 Joseph Myers <joseph@codesourcery.com>
31100 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31101 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31102 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31103 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31104 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31105 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31106 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31107 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31109 2012-09-20 Joseph Myers <joseph@codesourcery.com>
31111 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31112 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31113 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31114 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31116 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
31119 * elf/rtld.c (dl_main): Limit the check for self loading to normal
31121 * elf/tst-rtld-load-self.sh: New test.
31122 * elf/Makefile: Run it.
31124 2012-09-18 Joseph Myers <joseph@codesourcery.com>
31126 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31127 (tst-writev-ENV): Remove.
31128 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31130 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
31132 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31134 2012-09-17 Joseph Myers <joseph@codesourcery.com>
31136 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31138 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31140 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31141 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31142 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31145 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
31148 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31149 * config.make.in (have-cpp-asm-debuginfo): Removed.
31150 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31151 * configure: Regenerated.
31153 2012-09-14 Joseph Myers <joseph@codesourcery.com>
31156 * stdio-common/printf_fp.c: Include <stdbool.h> and
31158 (___printf_fp): Determine rounding using get_rounding_mode and
31160 * stdio-common/tst-printf-round.c: New file.
31161 * stdio-common/Makefile (tests): Add tst-printf-round.
31162 (link-libm): New variable.
31163 ($(objpfx)tst-printf-round): Depend in $(link-libm).
31165 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
31168 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31169 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31171 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31174 2012-09-13 Joseph Myers <joseph@codesourcery.com>
31176 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31177 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31178 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31179 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31181 2012-09-12 Joseph Myers <joseph@codesourcery.com>
31184 * include/rounding-mode.h: New file.
31185 * sysdeps/generic/get-rounding-mode.h: Likewise.
31186 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31187 * stdlib/strtod_l.c: Include <rounding-mode.h>.
31188 (MAX_VALUE): New macro.
31189 (MIN_VALUE): Likewise.
31190 (overflow_value): New function.
31191 (underflow_value): Likewise.
31192 (round_and_return): Use overflow_value and underflow_value to
31193 determine return values in overflow and underflow cases. Use
31194 round_away to determine rounding depending on rounding mode.
31195 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31196 determine return values in overflow and underflow cases.
31197 * stdlib/tst-strtod-round.c: Include <fenv.h>.
31198 (struct test_results): New structure.
31199 (struct test): Use struct test_results to store expected results
31200 for all rounding modes.
31201 (TEST): Include expected results for all rounding modes.
31202 (test_in_one_mode): New function.
31203 (do_test): Use test_in_one_mode to compute and check results.
31204 Check results for all rounding modes.
31205 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31208 2012-12-09 Allan McRae <allan@archlinux.org>
31210 * sysdeps/i386/fpu/libm-test-ulps: Update
31212 2012-09-11 Joseph Myers <joseph@codesourcery.com>
31214 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31215 (_G_int32_t): Likewise.
31216 (_G_uint16_t): Likewise.
31217 (_G_uint32_t): Likewise.
31218 (_G_HAVE_BOOL): Likewise.
31219 (_G_HAVE_ATEXIT): Likewise.
31220 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31221 (_G_HAVE_IO_FILE_OPEN): Likewise.
31222 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31223 (_G_int32_t): Likewise.
31224 (_G_uint16_t): Likewise.
31225 (_G_uint32_t): Likewise.
31226 (_G_HAVE_BOOL): Likewise.
31227 (_G_HAVE_ATEXIT): Likewise.
31228 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31229 (_G_HAVE_IO_FILE_OPEN): Likewise.
31230 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31231 (_G_int32_t): Likewise.
31232 (_G_uint16_t): Likewise.
31233 (_G_uint32_t): Likewise.
31234 (_G_HAVE_BOOL): Likewise.
31235 (_G_HAVE_ATEXIT): Likewise.
31236 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31237 (_G_HAVE_IO_FILE_OPEN): Likewise.
31239 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
31241 * csu/libc-tls.c: Update copyright years.
31243 2012-09-10 Joseph Myers <joseph@codesourcery.com>
31245 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31246 [!_G_USING_THUNKS]: Remove conditional code.
31247 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31248 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31250 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31251 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31252 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31253 (_G_VTABLE_LABEL_PREFIX): Likewise.
31254 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31255 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31256 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31257 (_G_VTABLE_LABEL_PREFIX): Likewise.
31258 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31259 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31260 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31261 (_G_VTABLE_LABEL_PREFIX): Likewise.
31262 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31264 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
31266 * libio/Makefile: Include ../Makeconfig before tests.
31267 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31268 only if $(build-shared) is yes.
31270 * iconv/gconv_db.c: Update copyright years.
31272 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31274 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31275 unwind info if defined PIC. Fix special cases description.
31276 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31278 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31280 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31282 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
31284 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31286 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31289 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31290 (LDLIBS-tst-chk4): This.
31291 (LDFLAGS-tst-chk5): Renamed to ...
31292 (LDLIBS-tst-chk5): This.
31293 (LDFLAGS-tst-chk6): Renamed to ...
31294 (LDLIBS-tst-chk6): This.
31295 (LDFLAGS-tst-lfschk4): Renamed to ...
31296 (LDLIBS-tst-lfschk4): This.
31297 (LDFLAGS-tst-lfschk5): Renamed to ...
31298 (LDLIBS-tst-lfschk5): This.
31299 (LDFLAGS-tst-lfschk6): Renamed to ...
31300 (LDLIBS-tst-lfschk6): This.
31302 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31303 on $(common-objpfx)soversions.mk.
31305 2012-09-07 Joseph Myers <joseph@codesourcery.com>
31308 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31311 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31313 * malloc/arena.c (arena_get_retry): New function that gets
31314 another arena for the caller to try its request on.
31315 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31316 current arena cannot fulfill the request.
31317 (__libc_memalign): Likewise.
31318 (__libc_memalign): Likewise.
31319 (__libc_pvalloc): Likewise.
31320 (__libc_calloc): Likewise.
31322 2012-09-05 John Tobey <john.tobey@gmail.com>
31325 * manual/arith.texi (Operations on Complex): Fix description
31326 of carg branch cut.
31328 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31331 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31335 * manual/memory.texi (Memory): Make order of menu items match
31338 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31340 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31341 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
31342 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31344 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31346 * csu/libc-tls.c (static_dtv): Renamed to ...
31347 (_dl_static_dtv): This. Make it global.
31348 (_dl_initial_dtv): Removed.
31349 (__libc_setup_tls): Updated.
31350 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31351 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31354 2012-09-06 Petr Machata <pmachata@redhat.com>
31356 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31357 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31358 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31359 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31361 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31364 * csu/libc-tls.c (_dl_initial_dtv): New variable.
31365 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31368 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31371 * Makeconfig (link-static-before-libc): Replace $(+prector)
31373 (link-static-after-libc): Replace $(+postctor) with
31375 (link-bounded): Replace $(+prector)/$(+postctor) with
31376 $(+prectorT)/$(+postctorT).
31377 (+prectorT): New macro.
31378 (+postctorT): Likewise.
31380 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31382 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31383 (round_str): Handle values above the maximum for IBM long double
31385 * stdlib/tst-strtod-round.c (tests): Regenerated.
31387 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31389 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31391 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31392 zarch_nohighgprs around the zarch optimized routines.
31393 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31394 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31395 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31398 2012-09-05 David S. Miller <davem@davemloft.net>
31400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31402 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31403 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31404 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31405 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31408 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31410 * malloc/arena.c: Fold copyright years.
31411 * malloc/mcheck.c, malloc/memusage.c: Likewise.
31413 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31415 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31417 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31419 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
31421 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31423 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31424 change internal state upon failure.
31426 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31428 * malloc/mcheck.c (mcheck_check_all): Fix typo.
31429 * malloc/memusage.c (mmap): Likewise.
31430 (mmap64, mremap): Likewise. Adjust name in comment.
31432 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31434 * libio/fileops.c: Fix typos in comments.
31435 * libio/oldfileops.c: Likewise.
31436 * libio/wfileops.c: Likewise.
31438 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31441 * malloc/Makefile (tests): Add tst-malloc-usable test case.
31442 (tst-malloc-usable-ENV): Set environment for test case.
31443 * malloc/hooks.c (malloc_check_get_size): New function to get
31445 * malloc/malloc.c (musable): Use malloc_check_get_size.
31446 * malloc/tst-malloc-usable.c: New test case.
31448 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31450 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31452 2012-09-05 Allan McRae <allan@archlinux.org>
31455 * configure.in (CXX_SYSINCLUDES): Use compiler output to
31456 determine header location.
31457 * configure: Regenerated.
31459 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31461 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31463 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31464 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31466 (test): Regenerate.
31468 2012-09-04 David S. Miller <davem@davemloft.net>
31470 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31471 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31472 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31474 2012-09-04 Florian Weimer <fweimer@redhat.com>
31476 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31479 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31481 2012-09-04 Joseph Myers <joseph@codesourcery.com>
31484 * libio/iogetdelim.c: Include <limits.h>.
31485 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31486 + len + 1 would overflow.
31488 2012-09-03 Andreas Jaeger <aj@suse.de>
31490 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31491 * sysdeps/i386/fpu/libm-test-ulps: Update.
31493 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31495 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31496 Add s_sinf-sse2, s_conf-sse2.
31498 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31499 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31500 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31501 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31503 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31504 for using routine as __sinf_ia32.
31505 Use macro for function declaration and weak_alias.
31506 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31507 for using routine as __cosf_ia32.
31508 Use macro for function declaration and weak_alias.
31510 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31511 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31513 * sysdeps/x86_64/fpu/s_sinf.S: New file.
31514 * sysdeps/x86_64/fpu/s_cosf.S: New file.
31515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31517 * math/libm-test.inc (cos_test): Add more test cases.
31518 (sin_test): Likewise.
31519 (sincos_test): Likewise.
31521 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31523 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31524 (IFUNC_RESOLVE): Make pointers to the specialized implementations
31526 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31528 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
31531 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31532 first element of the GOT.
31533 (elf_machine_load_address): Return the difference between
31534 the runtime address of _DYNAMIC and elf_machine_dynamic ().
31536 2012-09-01 Allan McRae <allan@archlinux.org>
31539 * configure.in (AWK): Require gawk version 3.0 or later.
31540 * configure: Regenerated.
31542 2012-09-01 Joseph Myers <joseph@codesourcery.com>
31544 * sysdeps/unix/sysv/linux/kernel-features.h
31545 (__ASSUME_POSIX_CPU_TIMERS): Remove.
31546 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31547 [__NR_clock_getres]: Make code unconditional.
31548 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31549 (clock_getcpuclockid): Remove code left unreachable by removal of
31551 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31552 code unconditional.
31553 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31554 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31555 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31556 Make code unconditional.
31557 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31558 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31559 * sysdeps/unix/sysv/linux/clock_settime.c
31560 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31562 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31563 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31565 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
31568 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31569 scripts/test-installation.pl.
31571 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31572 and $ld_so_version if it is set.
31574 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31577 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31578 failure if reading from procfs failed.
31579 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31581 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31583 * sysdeps/unix/sysv/linux/kernel-features.h
31584 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31585 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31586 Remove conditional code.
31587 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31588 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31589 Remove conditional code.
31590 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31591 * sysdeps/unix/sysv/linux/i386/fxstat.c
31592 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31593 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31594 * sysdeps/unix/sysv/linux/i386/fxstatat.c
31595 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31596 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31597 * sysdeps/unix/sysv/linux/i386/lxstat.c
31598 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31599 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31600 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31601 Remove conditional code.
31602 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31603 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31604 Remove conditional code.
31605 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31606 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31607 <kernel-features.h>.
31608 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31610 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31611 Remove conditional code.
31612 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31613 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31614 Remove conditional.
31616 2012-08-27 Mike Frysinger <vapier@gentoo.org>
31619 * NEWS: Add fixed bug number.
31621 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31624 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31625 underflowing exponent in case of negative sign.
31626 * stdlib/tst-strtod-round-data: Add more tests.
31627 * stdlib/tst-strtod-round.c (tests): Regenerated.
31630 * stdlib/strtod_l.c (NDIG): Remove.
31631 (HEXNDIG): Likewise.
31632 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31633 smallest representable value.
31634 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31635 lie within an exact representation of 1/2 ulp of the result.
31636 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31638 (TENS_P9_IDX): Define unconditionally.
31639 (TENS_P9_SIZE): Likewise.
31640 (TENS_P10_IDX): Likewise.
31641 (TENS_P10_SIZE): Likewise.
31642 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31643 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31644 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31645 entries for 10^2^13 and 10^2^14.
31646 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31647 (TENS_P13_IDX): Define.
31648 (TENS_P13_SIZE): Likewise.
31649 (TENS_P14_IDX): Likewise.
31650 (TENS_P14_SIZE): Likewise.
31651 (_fpioconst_pow10): Change array size to
31652 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31654 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31655 1024]: Add entries for 10^2^13 and 10^2^14.
31656 [LAST_POW10 > _LAST_POW10]: Remove #error.
31657 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31658 (_fpioconst_pow10): Change array size to
31659 FPIOCONST_POW10_ARRAY_SIZE.
31660 * stdlib/gen-fpioconst.c: New file.
31661 * stdlib/gen-tst-strtod-round.c: Likewise.
31662 * stdlib/tst-strtod-round-data: Likewise.
31663 * stdlib/tst-strtod-round.c: Likewise.
31664 * stdlib/Makefile (tests): Add tst-strtod-round.
31667 * stdlib/strtod_l.c: Include <stdint.h>.
31668 (NDEBUG): Do not define.
31669 (round_and_return): Change EXPONENT parameter to type intmax_t.
31670 Rearrange calculations to avoid internal overflow possibilities.
31671 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31672 Rearrange calculations to avoid internal overflow possibilities.
31673 Assert that number fits inside MPNSIZE limbs.
31674 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31675 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31676 calculations and add assertions to avoid internal overflow
31677 possibilities. Add casts to avoid signed/unsigned operations.
31678 * stdlib/tst-strtod-overflow.c: New file.
31679 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31681 2012-08-25 Marek Polacek <polacek@redhat.com>
31683 * time/time.h: Fix some typos in comments.
31685 2012-08-23 Roland McGrath <roland@hack.frob.com>
31687 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31688 * posix/tst-rfc3484-2.c: Likewise.
31689 * posix/tst-rfc3484-3.c: Likewise.
31691 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31693 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31694 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31696 2012-08-23 Joseph Myers <joseph@codesourcery.com>
31698 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31699 #include of fxstatat64.c.
31701 2012-08-22 Roland McGrath <roland@hack.frob.com>
31703 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31704 * shadow/getspent_r.c: Likewise.
31705 * shadow/getspnam.c: Likewise.
31706 * shadow/getspnam_r.c: Likewise.
31707 * gshadow/getsgent.c: Likewise.
31708 * gshadow/getsgent_r.c: Likewise.
31709 * gshadow/getsgnam.c: Likewise.
31710 * gshadow/getsgnam_r.c: Likewise.
31711 * inet/getnetbyad.c: Likewise.
31712 * inet/getnetbyad_r.c: Likewise.
31713 * inet/getnetbynm.c: Likewise.
31714 * inet/getnetbynm_r.c: Likewise.
31715 * inet/getnetent.c: Likewise.
31716 * inet/getnetent_r.c: Likewise.
31717 * inet/getproto.c: Likewise.
31718 * inet/getproto_r.c: Likewise.
31719 * inet/getprtent.c: Likewise.
31720 * inet/getprtent_r.c: Likewise.
31721 * inet/getprtname.c: Likewise.
31722 * inet/getprtname_r.c: Likewise.
31723 * inet/getrpcbyname.c: Likewise.
31724 * inet/getrpcbyname_r.c: Likewise.
31725 * inet/getrpcbynumber.c: Likewise.
31726 * inet/getrpcbynumber_r.c: Likewise.
31727 * inet/getrpcent.c: Likewise.
31728 * inet/getrpcent_r.c: Likewise.
31729 * inet/getaliasent.c: Likewise.
31730 * inet/getaliasent_r.c: Likewise.
31731 * inet/getaliasname.c: Likewise.
31732 * inet/getaliasname_r.c: Likewise.
31733 * nscd/getgrgid_r.c: Likewise.
31734 * nscd/getgrnam_r.c: Likewise.
31735 * nscd/gethstbyad_r.c: Likewise.
31736 * nscd/gethstbynm3_r.c: Likewise.
31737 * nscd/getpwnam_r.c: Likewise.
31738 * nscd/getpwuid_r.c: Likewise.
31739 * nscd/getsrvbynm_r.c: Likewise.
31740 * nscd/getsrvbypt_r.c: Likewise.
31741 * nscd/gai.c: Likewise.
31743 * configure.in (build_nscd): New substituted variable, set
31744 by --disable-build-nscd and defaults to $use_nscd.
31745 * configure: Regenerated.
31746 * config.make.in (build-nscd): New substituted variable.
31747 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31748 Change conditional to require [$(build-nscd) = yes] as well.
31749 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31752 * configure.in (use_nscd): New substituted variable, set by
31753 --disable-nscd. If enabled, define USE_NSCD.
31754 * configure: Regenerated.
31755 * config.h.in: Add USE_NSCD.
31756 * config.make.in (use-nscd): New substituted variable.
31757 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31758 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31759 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31760 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31761 (CFLAGS-getgrnam_r.c): Likewise.
31762 (CFLAGS-initgroups.c): Likewise.
31763 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31764 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31766 * inet/getnetgrent_r.c
31767 (nscd_setnetgrent): New function, broken out of ...
31768 (setnetgrent): ... here. Call it.
31769 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31770 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31771 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31772 * nscd/Makefile (routines, aux): Move definitions after include of
31773 Makeconfig. Conditionalize on [$(use-nscd) != no].
31774 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31775 Conditionalize on [USE_NSCD].
31776 (is_nscd, nscd_init_cb): Likewise.
31777 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31778 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31779 * nss/nss_db/db-init.c: Likewise.
31780 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31782 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31783 (make_request): Use it.
31784 (cache_valid_p): New function.
31785 (__check_pf): Use it.
31786 * NEWS: Add item for --disable-nscd.
31788 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31790 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31791 to support sed >= 4.2.1-20-ga9bf076.
31792 * configure: Regenerated.
31794 2012-08-22 Roland McGrath <roland@hack.frob.com>
31796 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31797 Conditionalize whole body on [IREL].
31799 2012-08-22 Jeff Law <law@redhat.com>
31802 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31803 if the family is PF_UNSPEC.
31805 2012-08-22 Mike Frysinger <vapier@gentoo.org>
31807 * Makerules (lib-version): Rename from V.
31808 (install-lib-nosubdir): Change V to lib-version.
31810 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31813 * powerpc32/power6/wcschr.c: New file.
31814 * powerpc32/power6/wcscpy.c: New file.
31815 * powerpc32/power6/wcsrchr.c: New file.
31816 * powerpc64/power6/wcschr.c: New file.
31817 * powerpc64/power6/wcscpy.c: New file.
31818 * powerpc64/power6/wcsrchr.c: New file.
31820 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31822 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31823 (two_way_short_needle): Use it.
31824 * string/strstr.c (AVAILABLE1_USES_J): Define.
31825 * string/strcasestr.c: Likewise.
31827 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31829 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31832 * NEWS: Add an entry.
31833 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31834 define their defaults.
31835 (two_way_short_needle): Detect end-of-string on-the-fly.
31836 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31837 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31838 * string/bug-strcasestr1.c: New test.
31839 * string/Makefile: Run it.
31841 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31844 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31845 the first character.
31847 2012-08-21 Roland McGrath <roland@hack.frob.com>
31849 * csu/elf-init.c (__libc_csu_irel): Function removed.
31850 * csu/libc-start.c (apply_irel): New function.
31851 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31853 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31855 * sysdeps/unix/sysv/linux/kernel-features.h
31856 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31857 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31858 <kernel-features.h>.
31859 [__NR_fadvise64_64]: Make code unconditional.
31860 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31861 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31862 !__NR_fadvise64_64)]: Likewise.
31863 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31864 !__NR_fadvise64_64))]: Likewise.
31865 [__NR_fadvise64]: Make code unconditional.
31866 [!__NR_fadvise64]: Remove conditional code.
31867 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31868 <kernel-features.h>.
31869 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31871 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31874 not include <kernel-features.h>.
31875 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31877 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31879 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31880 include <kernel-features.h>.
31881 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31883 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31886 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31888 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31889 slight instruction rearrangements per scrollpipe analysis.
31890 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31892 2012-08-20 Roland McGrath <roland@hack.frob.com>
31894 * manual/syslog.texi (syslog; vsyslog, closelog):
31895 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31896 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31898 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31899 DSOCAPS to match condition on defining it.
31901 2012-08-20 Joseph Myers <joseph@codesourcery.com>
31903 * sysdeps/unix/sysv/linux/kernel-features.h
31904 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31906 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31907 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31909 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31910 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31912 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31913 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31915 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31916 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31918 * sysdeps/unix/sysv/linux/kernel-features.h
31919 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31920 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31922 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31923 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31924 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31925 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31926 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31927 Make code unconditional.
31928 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31929 (__mmap64) [!__NR_mmap2]: Likewise.
31930 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31931 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31932 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31933 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31934 [__NR_mmap2]: Make code unconditional.
31935 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31936 (__mmap64) [!__NR_mmap2]: Likewise.
31938 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31940 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31942 2012-08-18 Andreas Jaeger <aj@suse.de>
31944 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31946 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31948 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31949 * include/unistd.h (__have_sock_cloexec): Likewise.
31950 (__have_pipe2): Likewise.
31951 (__have_dup3): Likewise.
31953 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31956 * include/unistd.h (__have_pipe2): Change define into an extern int.
31957 (__have_dup3): Likewise.
31958 * socket/have_sock_cloexec.c: Include fcntl.h.
31959 (__have_pipe2): New variable.
31960 (__have_dup3): Likewise.
31962 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31964 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31966 2012-08-17 Marek Polacek <polacek@redhat.com>
31968 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31969 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31971 2012-08-17 Roland McGrath <roland@hack.frob.com>
31973 * configure.in: Add AC_SUBST for sysheaders.
31974 * configure: Regenerated.
31975 * config.make.in (sysheaders): New substituted variable.
31977 * sysdeps/unix/mkfifo.c: Moved ...
31978 * sysdeps/posix/mkfifo.c: ... here.
31979 * sysdeps/unix/mkfifoat.c: Moved ...
31980 * sysdeps/posix/mkfifoat.c: ... here.
31982 * sysdeps/unix/utime.c: Moved ...
31983 * sysdeps/posix/utime.c: ... here.
31985 * sysdeps/unix/time.c: Moved ...
31986 * sysdeps/posix/time.c: ... here.
31987 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31988 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31990 * sysdeps/unix/nice.c: Moved ...
31991 * sysdeps/posix/nice.c: ... here.
31993 * sysdeps/unix/alarm.c: Moved ...
31994 * sysdeps/posix/alarm.c: ... here.
31996 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31998 2012-08-17 Jeff Law <law@redhat.com>
32000 * intl/Makefile (codeset_mo): New variable.
32001 ($(codeset_mo)): New target.
32002 (tst-codeset.out): Depend on that. Remove explicit rule.
32003 (tst-gettext3.out, tst-gettext5.out): Likewise.
32004 (LOCPATH-ENV, tst-codeset-ENV): New variables.
32005 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32006 * intl/tst-codeset.sh: Remove.
32007 * intl/tst-gettext3.sh: Likewise.
32008 * intl/tst-gettext5.sh: Likewise.
32010 2012-08-17 Roland McGrath <roland@hack.frob.com>
32012 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
32013 * sysdeps/unix/syscalls.list: ... here.
32015 * sysdeps/posix/getaddrinfo.c
32016 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32017 (gaiconf_init, gaiconf_reload): Use them.
32018 [!_STATBUF_ST_NSEC]
32019 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32020 Define using time_t rather than struct timespec.
32022 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32023 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32025 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32027 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32028 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32031 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32032 __libc_cleanup_push argument.
32034 * bits/param.h: New file.
32035 * misc/sys/param.h: New file.
32036 * include/sys/param.h: New file.
32037 * misc/Makefile (headers): Add bits/param.h.
32038 * sysdeps/generic/sys/param.h: File removed.
32039 * sysdeps/unix/sysv/linux/bits/param.h: New file.
32040 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32041 * sysdeps/mach/hurd/bits/param.h: New file.
32042 * sysdeps/mach/hurd/sys/param.h: File removed.
32044 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32047 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32049 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32050 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32053 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32054 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32055 rather than -D_IO_MTSAFE_IO conditionally.
32056 * stdio-common/Makefile (CPPFLAGS): Likewise.
32057 * wcsmbs/Makefile (CPPFLAGS): Likewise.
32058 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32059 Use $(libio-mtsafe).
32060 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32061 of -D_IO_MTSAFE_IO.
32062 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32063 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32064 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32065 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32066 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32067 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32068 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32069 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32070 (CFLAGS-fread_u_chk.c): Likewise.
32071 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32072 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32073 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32074 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32075 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32076 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32077 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32078 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32079 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32081 * libio/Makefile: Test [$(libc-reentrant) = yes]
32082 instead of [$(filter %REENTRANT, $(defines)) nonempty].
32085 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32086 * sysdeps/pthread/configure: File removed.
32087 * sysdeps/pthread/Makeconfig: New file.
32088 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32089 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32091 2012-08-16 Gary Benson <gbenson@redhat.com>
32093 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32094 unmapping the first object in a namespace.
32096 2012-08-16 Roland McGrath <roland@hack.frob.com>
32098 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32099 (__internal_setnetgrent): ... this. Add internal_function to
32100 definition. Add libc_hidden_def.
32101 (setnetgrent): Update caller.
32102 (internal_endnetgrent): Renamed to ...
32103 (__internal_endnetgrent): ... this. Add internal_function to
32104 definition. Add libc_hidden_def.
32105 (endnetgrent): Update caller.
32106 (internal_getnetgrent_r): Renamed to ...
32107 (__internal_getnetgrent_r): ... this. Add internal_function to
32108 definition. Add libc_hidden_def.
32109 (__getnetgrent_r): Update caller.
32110 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
32112 2012-08-16 Joseph Myers <joseph@codesourcery.com>
32114 * stdlib/longlong.h: Update from GCC.
32116 2012-08-16 Roland McGrath <roland@hack.frob.com>
32118 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32119 on _QL, which is set by umul_ppmm but never used.
32120 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32121 variables, which are set by GMP macros but never used.
32122 * stdio-common/_itowa.c (_itowa): Likewise.
32123 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32124 * stdlib/mod_1.c (mpn_mod_1): Likewise.
32126 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
32128 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32129 struct La_sh_regs is not constant.
32130 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32131 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32132 and struct La_sparc64_regs are not constant.
32134 2012-08-16 Joseph Myers <joseph@codesourcery.com>
32136 * sysdeps/unix/sysv/linux/kernel-features.h
32137 (__ASSUME_POSIX_TIMERS): Remove.
32138 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32139 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32140 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32141 Make code unconditional.
32142 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32143 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32144 Make code unconditional.
32145 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32146 * sysdeps/unix/sysv/linux/clock_nanosleep.c
32147 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32148 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32149 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32150 Make code unconditional.
32151 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32152 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32153 (__libc_missing_posix_timers): Remove.
32155 2012-08-15 Roland McGrath <roland@hack.frob.com>
32157 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32158 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32160 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32162 * elf/dl-sym.c: Include <stdlib.h>.
32164 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32165 constants, which avoids warnings in 32-bit builds.
32167 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32168 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32170 * misc/lseek.c: File moved to ...
32171 * io/lseek.c: ... here.
32173 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32175 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32176 shifting LEN more than 31 bits at once.
32178 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32181 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32182 segmentation fault for a case of two empty input strings.
32183 * string/test-strncasecmp.c (check1): Renamed to...
32184 (bz12205): ...this.
32185 (bz14195): Add new testcase for two empty input strings and N > 0.
32186 (test_main): Call new testcase, adapt for renamed function.
32188 2012-08-15 Andreas Jaeger <aj@suse.de>
32191 * crypt/md5test2.c: New test, based on test supplied by Serge
32192 Belyshev <belyshev@depni.sinp.msu.ru>.
32193 * crypt/Makefile (xtests): Add md5test-giant..
32194 * crypt/Makefile ($(objpfx)md5test-giant): Add.
32196 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
32199 * crypt/md5.c (md5_process_block): Don't assume the buffer
32200 length is less than 2**32.
32201 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32202 length is less than 2**64.
32204 2012-08-15 Roland McGrath <roland@hack.frob.com>
32206 * string/str-two-way.h: Include <sys/param.h>.
32207 (MAX): Macro removed.
32209 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32210 Move #define and #undef of memmove to just before and after
32211 including <string.h>.
32213 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32214 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32215 and after including <string.h>. Move declarations of
32216 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32217 to before #include "string/memmove.c".
32219 * include/dirent.h: Declare __getdirentries.
32221 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32222 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32224 2012-08-14 Mike Frysinger <vapier@gentoo.org>
32226 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32227 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32228 * sysdeps/i386/configure: Regenerated.
32229 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32230 STABS_CURRENT_FILE, and STABS_FUN.
32231 (END): Remove call to STABS_FUN_END.
32232 (STABS_CURRENT_FILE1): Delete.
32233 (STABS_CURRENT_FILE): Likewise.
32234 (STABS_FUN): Likewise.
32235 (STABS_FUN_END): Likewise.
32236 (STABS_FUN2): Likewise.
32237 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32238 * sysdeps/x86_64/configure: Regenerated.
32240 2012-08-14 Roland McGrath <roland@hack.frob.com>
32242 * elf/dl-open.c: Include <atomic.h>.
32243 * elf/dl-lookup.c: Likewise.
32245 2012-08-14 Joseph Myers <joseph@codesourcery.com>
32247 * sysdeps/unix/sysv/linux/kernel-features.h
32248 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32249 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32251 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32253 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32254 condition on __ASSUME_CLONE_THREAD_FLAGS.
32256 2012-08-14 Andreas Jaeger <aj@suse.de>
32258 * sysdeps/i386/fpu/libm-test-ulps: Update.
32260 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
32262 * include/atomic.h (atomic_exchange_and_add): Split into ...
32263 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32266 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
32268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32270 2012-08-13 Jeff Law <law@redhat.com>
32272 * manual/stdio.texi (snprintf): Clarify handling of the trailing
32273 null byte in the output string.
32275 2012-08-10 Joseph Myers <joseph@codesourcery.com>
32277 * sysdeps/unix/sysv/linux/kernel-features.h
32278 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32279 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32280 (__ASSUME_ARG_MAX_STACK_BASED): Define.
32281 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32282 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32283 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
32284 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32286 2012-08-09 Jeff Law <law@redhat.com>
32289 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32290 When avoid_arena is set, don't retry in the that arena. Pick the
32291 next one, whatever it might be.
32292 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32293 (arena_lock): Pass in new parameter to arena_get2.
32294 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32296 (__libc_malloc): Unify retrying after main arena failure with
32297 __libc_memalign version.
32298 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32300 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
32303 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32304 to __redirect_strstr.
32305 (__strstr_sse42): Use typeof __redirect_strstr.
32306 (__strstr_ia32): Likewise.
32307 (__libc_strstr): New prototype.
32308 (strstr): Renamed to ...
32309 (__libc_strstr): This.
32310 (strstr): New strong alias of __libc_strstr.
32311 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32312 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32315 (__libc_time): New prototype.
32316 (time_ifunc): Replace time with __libc_time.
32317 (time): New strong alias and hidden definition of __libc_time.
32318 (__GI_time): Remove strong alias.
32319 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32320 Include <stddef.h>.
32321 (memmove): Redefined to __redirect_memmove.
32322 (__memmove_sse2): Use typeof __redirect_memmove.
32323 (__memmove_ssse3): Likewise.
32324 (__memmove_ssse3_back): Likewise.
32325 (__libc_memmove): New prototype.
32326 (memmove): Renamed to ...
32327 (__libc_memmove): This.
32328 (memmove): New strong alias of __libc_memmove.
32330 2012-08-08 Mark Salter <msalter@redhat.com>
32333 (R_MN10300_TLS_GD): Define.
32334 (R_MN10300_TLS_LD): Likewise.
32335 (R_MN10300_TLS_LDO): Likewise.
32336 (R_MN10300_TLS_GOTIE): Likewise.
32337 (R_MN10300_TLS_IE): Likewise.
32338 (R_MN10300_TLS_LE): Likewise.
32339 (R_MN10300_TLS_DTPMOD): Likewise.
32340 (R_MN10300_TLS_DTPOFF): Likewise.
32341 (R_MN10300_TLS_TPOFF): Likewise.
32342 (R_MN10300_SYM_DIFF): Likewise.
32343 (R_MN10300_ALIGN): Likewise.
32344 (R_MN10300_NUM): Update.
32346 2012-08-08 Joseph Myers <joseph@codesourcery.com>
32348 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32351 2012-08-08 Roland McGrath <roland@hack.frob.com>
32353 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32355 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32356 sysdeps/unix -> sysdeps/posix move.
32357 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32359 2012-08-07 Allan McRae <allan@archlinux.org>
32362 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32363 (SUNOS_CPP): Likewise.
32364 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32366 (open_input): Call CPP using execvp.
32368 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32370 * sysdeps/unix/sysv/linux/kernel-features.h
32371 (__ASSUME_PROT_GROWSUPDOWN): Remove.
32372 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32373 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32374 (__ASSUME_WAITID_SYSCALL): Likewise.
32375 * sysdeps/unix/sysv/linux/dl-execstack.c
32376 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32377 code unconditional.
32378 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32380 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32381 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32382 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32384 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32386 [__ASSUME_WAITID_SYSCALL]: Likewise.
32387 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32389 2012-08-07 Roland McGrath <roland@hack.frob.com>
32391 * sysdeps/unix/closedir.c: Renamed to ...
32392 * sysdeps/posix/closedir.c: ... here.
32393 * sysdeps/unix/dirfd.c: Renamed to ...
32394 * sysdeps/posix/dirfd.c: ... here.
32395 * sysdeps/unix/dirstream.h: Renamed to ...
32396 * sysdeps/posix/dirstream.h: ... here.
32397 * sysdeps/unix/fdopendir.c: Renamed to ...
32398 * sysdeps/posix/fdopendir.c: ... here.
32399 * sysdeps/unix/opendir.c: Renamed to ...
32400 * sysdeps/posix/opendir.c: ... here.
32401 * sysdeps/unix/readdir.c: Renamed to ...
32402 * sysdeps/posix/readdir.c: ... here.
32403 * sysdeps/unix/readdir_r.c: Renamed to ...
32404 * sysdeps/posix/readdir_r.c: ... here.
32405 * sysdeps/unix/rewinddir.c: Renamed to ...
32406 * sysdeps/posix/rewinddir.c: ... here.
32407 * sysdeps/unix/seekdir.c: Renamed to ...
32408 * sysdeps/posix/seekdir.c: ... here.
32409 * sysdeps/unix/telldir.c: Renamed to ...
32410 * sysdeps/posix/telldir.c: ... here.
32411 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32412 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32413 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32414 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32416 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32417 * bits/fcntl.h: ... here.
32419 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32421 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32422 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32423 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32424 (struct flock): Move l_start, l_len to the beginning.
32425 Use __pid_t for l_pid.
32426 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32427 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32428 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32429 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32430 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32431 [__USE_LARGEFILE64] (struct flock64): New type.
32432 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32434 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32435 * bits/dirent.h: ... here.
32437 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32438 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32440 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32442 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32443 Change from 2.6.0 to 2.6.16.
32444 * sysdeps/unix/sysv/linux/configure: Regenerated.
32445 * sysdeps/unix/sysv/linux/kernel-features.h
32446 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32447 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32449 (__ASSUME_UTIMES): Likewise.
32450 (__ASSUME_CLONE_STOPPED): Remove.
32451 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32452 architectures, not kernel version.
32453 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32454 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32455 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32456 (__ASSUME_WAITID_SYSCALL): Likewise.
32457 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32458 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32459 * README: State 2.6.16 as minimum Linux kernel version. Do not
32460 refer to older versions.
32462 2012-08-06 Roland McGrath <roland@hack.frob.com>
32464 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32465 Define alphasort64 as an alias.
32466 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32467 Define versionsort64 as an alias.
32468 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32469 Define scandir64 as an alias.
32470 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32471 Define scandirat64 as an alias.
32472 * dirent/alphasort64.c (alphasort64):
32473 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32474 * dirent/versionsort64.c: Likewise.
32475 * dirent/scandir64.c: Likewise.
32476 * dirent/scandirat64.c: Likewise.
32477 * sysdeps/wordsize-64/alphasort.c: File removed.
32478 * sysdeps/wordsize-64/alphasort64.c: File removed.
32479 * sysdeps/wordsize-64/scandir.c: File removed.
32480 * sysdeps/wordsize-64/scandir64.c: File removed.
32481 * sysdeps/wordsize-64/scandirat.c: File removed.
32482 * sysdeps/wordsize-64/scandirat64.c: File removed.
32483 * sysdeps/wordsize-64/versionsort.c: File removed.
32484 * sysdeps/wordsize-64/versionsort64.c: File removed.
32485 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32486 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32487 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32488 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32489 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32490 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32491 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32492 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32494 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32495 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32496 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32497 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32498 [defined __arch64__ || defined __sparcv9]
32499 (__INO_T_MATCHES_INO64_T): New macro.
32500 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32501 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32502 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32503 * sysdeps/unix/sysv/linux/bits/dirent.h
32504 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32505 (_DIRENT_MATCHES_DIRENT64): New macro.
32507 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32508 Define lockf64 as an alias.
32509 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32510 Define fseeko64 as an alias.
32511 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32512 Define ftello64 as an alias.
32513 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32514 Define _IO_fgetpos64 and fgetpos64 as aliases.
32515 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32516 Define _IO_fsetpos64 and fsetpos64 as aliases.
32517 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32518 Conditionalize body on this.
32519 * libio/fseeko64.c: Likewise.
32520 * libio/ftello64.c: Likewise.
32521 * libio/iofgetpos64.c: Likewise.
32522 * libio/iofsetpos64.c: Likewise.
32523 * sysdeps/wordsize-64/lockf.c: File removed.
32524 * sysdeps/wordsize-64/lockf64.c: File removed.
32525 * sysdeps/wordsize-64/fseeko.c: File removed.
32526 * sysdeps/wordsize-64/fseeko64.c: File removed.
32527 * sysdeps/wordsize-64/ftello.c: File removed.
32528 * sysdeps/wordsize-64/ftello64.c: File removed.
32529 * sysdeps/wordsize-64/iofgetpos.c: File removed.
32530 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32531 * sysdeps/wordsize-64/iofsetpos.c: File removed.
32532 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32533 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32534 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32535 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32536 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32537 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32538 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32539 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32540 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32541 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32542 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32544 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32545 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32546 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32547 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32548 [defined __arch64__ || defined __sparcv9]
32549 (__OFF_T_MATCHES_OFF64_T): New macro.
32550 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32551 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32552 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32553 (__OFF_T_MATCHES_OFF64_T): New macro.
32555 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32557 * stdlib/secure-getenv.c (__secure_getenv): Replace
32558 GLIBC_2_16 with GLIBC_2_17.
32560 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32562 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32563 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32565 2012-08-03 David S. Miller <davem@davemloft.net>
32567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32569 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32571 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32573 (__ASSUME_CORRECT_SI_PID): Likewise.
32574 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32575 (__ASSUME_TMPFS_NAME): Likewise.
32576 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32577 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32578 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32579 (HAVE_AUX_SECURE): Make definition unconditional.
32580 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32581 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32583 2012-08-03 Roland McGrath <roland@hack.frob.com>
32585 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32586 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32587 * sysdeps/mach/hurd/eloop-threshold.h: New file.
32588 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32589 __eloop_threshold instead of SYMLOOP_MAX.
32591 * sysdeps/generic/eloop-threshold.h: New file.
32592 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32594 * elf/chroot_canon.c (chroot_canon): Likewise.
32596 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32599 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32600 Change to 2.6.0 everywhere.
32601 * sysdeps/unix/sysv/linux/configure: Regenerated.
32602 * sysdeps/unix/sysv/linux/kernel-features.h
32603 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32604 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32606 (__ASSUME_POSIX_TIMERS): Define unconditionally.
32607 (__ASSUME_FUTEX_REQUEUE): Remove.
32608 (__ASSUME_STATFS64): Define unconditionally.
32609 (__ASSUME_AT_SECURE): Likewise.
32610 (__ASSUME_CORRECT_SI_PID): Likewise.
32611 (__ASSUME_TGKILL): Define without depending on kernel version for
32613 (__ASSUME_UTIMES): Likewise.
32614 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32616 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32617 (__ASSUME_TMPFS_NAME): Likewise.
32618 * README: Update reference to Linux kernel versions.
32620 2012-08-02 Marek Polacek <polacek@redhat.com>
32623 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
32624 libc_cv_asm_type_prefix with %.
32625 * configure: Regenerated.
32626 * include/libc-symbols.h: Remove comment about
32627 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32628 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32629 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32630 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32631 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32632 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32633 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32634 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32635 * elf/tst-unique2mod1.c: Likewise.
32636 * elf/tst-unique1mod2.c: Likewise.
32637 * elf/tst-unique1mod1.c: Likewise.
32638 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32639 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32640 Replace ASM_TYPE_DIRECTIVE with .type.
32641 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32642 * sysdeps/i386/sysdep.h: Likewise.
32643 * sysdeps/x86_64/sysdep.h: Likewise.
32644 * sysdeps/sh/sysdep.h: Likewise.
32645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32646 Do not define ASM_TYPE_DIRECTIVE.
32647 * sysdeps/powerpc/sysdep.h: Likewise.
32648 * sysdeps/powerpc/powerpc32/sysdep.h:
32649 Replace ASM_TYPE_DIRECTIVE with .type.
32650 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32651 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32652 * sysdeps/i386/fpu/e_powf.S: Likewise.
32653 * sysdeps/i386/fpu/e_expl.S: Likewise.
32654 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32655 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32656 * sysdeps/i386/fpu/e_pow.S: Likewise.
32657 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32658 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32659 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32660 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32661 * sysdeps/i386/fpu/e_log2.S: Likewise.
32662 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32663 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32664 * sysdeps/i386/fpu/e_powl.S: Likewise.
32665 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32666 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32667 * sysdeps/i386/fpu/e_logl.S: Likewise.
32668 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32669 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32670 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32671 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32672 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32673 * sysdeps/i386/fpu/e_log.S: Likewise.
32674 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32675 * sysdeps/i386/fpu/e_logf.S: Likewise.
32676 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32677 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32678 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32679 * sysdeps/i386/fpu/e_log10.S: Likewise.
32680 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32681 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32682 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32683 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32684 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32685 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32686 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32687 * sysdeps/i386/i686/strtok.S: Likewise.
32688 * sysdeps/i386/i386-mcount.S: Likewise.
32689 * sysdeps/i386/strtok.S: Likewise.
32690 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32691 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32692 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32693 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32694 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32695 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32696 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32697 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32698 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32699 * sysdeps/x86_64/_mcount.S: Likewise.
32700 * sysdeps/x86_64/strtok.S: Likewise.
32701 * sysdeps/sh/_mcount.S: Likewise.
32703 2012-08-01 Roland McGrath <roland@hack.frob.com>
32705 * libio/iofopen.c: Include <fcntl.h>.
32706 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32707 (_IO_fopen64, fopen64): Define as aliases.
32708 * libio/iofopen64.c: Include <fcntl.h>.
32709 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32710 Conditionalize body on this.
32711 * sysdeps/wordsize-64/iofopen.c: File removed.
32712 * sysdeps/wordsize-64/iofopen64.c: File removed.
32714 2012-08-01 Marek Polacek <polacek@redhat.com>
32716 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32717 Use dlfcn directly instead of a variable.
32718 (binfmt-subdir): Do not define.
32721 2012-08-01 Joseph Myers <joseph@codesourcery.com>
32723 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32724 Remove all definitions.
32725 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32726 <kernel-features.h>.
32727 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32728 (miss_F_GETOWN_EX): Remove all definitions.
32729 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32731 [!__ASSUME_FCNTL64]: Remove conditional code.
32732 [__ASSUME_FCNTL64]: Make code unconditional.
32733 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32734 <kernel-features.h>.
32735 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32736 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32737 (lockf64) [__NR_fcntl64]: Make code unconditional.
32738 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32740 * sysdeps/unix/sysv/linux/kernel-features.h
32741 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32742 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32743 Make code unconditional.
32744 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32745 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32747 [__NR_vfork]: Make code unconditional.
32748 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32749 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32751 [__NR_vfork]: Make code unconditional.
32752 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32753 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32755 2012-08-01 Roland McGrath <roland@hack.frob.com>
32757 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32758 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32760 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32761 Define mkstemp64 as an alias.
32762 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32763 Define mkstemps64 as an alias.
32764 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32765 Define mkostemp64 as an alias.
32766 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32767 Define mkostemps64 as an alias.
32768 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32769 Conditionalize body on this.
32770 * misc/mkostemp64.c: Likewise.
32771 * misc/mkostemps64.c: Likewise.
32772 * misc/mkstemps64.c: Likewise.
32773 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32774 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32775 * sysdeps/wordsize-64/mkostemp.c: File removed.
32776 * sysdeps/wordsize-64/mkstemp.c: File removed.
32777 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32778 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32779 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32780 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32783 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32784 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32785 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32786 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32788 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32789 compat_symbol macros from <shlib-compat.h> rather than the underlying
32790 default_symbol_version and symbol_version macros, so that DEFAULT
32791 lines in shlib-versions are respected.
32792 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32794 2012-08-01 Florian Weimer <fweimer@redhat.com>
32796 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32797 Declare with warn_unused_result.
32798 (setgid, setregid, setegid, setresgid): Likewise.
32799 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32801 * WUR-REPORT: Remove set*id functions.
32803 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32805 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32807 2012-07-31 Roland McGrath <roland@hack.frob.com>
32810 * include/sys/socket.h (__libc_accept, __libc_accept4):
32811 Add attribute_hidden.
32812 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32814 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32816 * inet/getnetgrent_r.c (setup): Likewise.
32818 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32820 2012-07-31 David S. Miller <davem@davemloft.net>
32822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32824 2012-07-31 Joseph Myers <joseph@codesourcery.com>
32827 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32828 value between 1.0 and 2.0 and smaller part has absolute value less
32830 * math/s_clog10.c (__clog10): Likewise.
32831 * math/s_clog10f.c (__clog10f): Likewise.
32832 * math/s_clog10l.c (__clog10l): Likewise.
32833 * math/s_clogf.c (__clogf): Likewise.
32834 * math/s_clogl.c (__clogl): Likewise.
32835 * math/libm-test.inc (clog_test): Add more tests.
32836 (clog10_test): Likewise.
32837 * sysdeps/i386/fpu/libm-test-ulps: Update.
32838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32840 2012-07-31 Florian Weimer <fweimer@redhat.com>
32842 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32843 Exit with zero in case no suitable GID is found, and write a
32844 message to standard error.
32846 2012-07-30 Roland McGrath <roland@hack.frob.com>
32848 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32850 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32851 (MAXPATHLEN): Removed.
32852 (NOGROUP, NODEV): New macros.
32853 (setbit, clrbit, isset, isclr): New macros.
32854 (howmany, roundup, powerof2): New macros.
32855 (DEV_BSIZE): New macro.
32857 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32858 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32860 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32861 definition on [!__NO_LONG_DOUBLE_MATH].
32863 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32864 PTR_MANGLE and PTR_DEMANGLE.
32866 * socket/accept4.c (accept4): Rename to __libc_accept4.
32867 Define accept4 as a weak alias.
32869 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32870 on [_DIRENT_HAVE_D_TYPE].
32871 * io/ftw.c (ftw_dir): Likewise.
32873 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32875 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32877 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32878 Use the BSD numbers rather than the arbitrary ones we had.
32879 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32880 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32881 (SIGXCPU, SIGXFSZ): New macros.
32884 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32885 initializer on [_LIBC_REENTRANT].
32887 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32888 definitions inside [_POSIX_MAPPED_FILES].
32890 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32892 * dirent/opendir.c: Include <fcntl.h>.
32894 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32895 (__libc_getspecific): Likewise.
32896 (__libc_key_create): Likewise.
32898 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32899 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32900 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32901 (tmpfile64): Define as alias.
32902 * sysdeps/wordsize-64/tmpfile.c: File removed.
32903 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32904 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32905 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32907 * stdio-common/vfscanf.c: Include <stdbool.h>.
32908 * nss/makedb.c: Likewise.
32909 * stdio-common/_i18n_number.h: Likewise.
32910 * argp/argp-help.c: Likewise.
32911 * posix/wordexp.c: Likewise.
32912 * sysdeps/posix/spawni.c: Likewise.
32913 * nss/nss_files/files-initgroups.c: Likewise.
32914 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32915 * nss/nss_files/files-initgroups.c: Likewise.
32916 * nss/nss_db/db-netgrp.c: Likewise.
32917 * nss/nss_db/db-initgroups.c: Likewise.
32918 * io/fchmodat.c: Include <sys/stat.h>.
32920 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32921 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32923 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32926 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32927 Add multiple inclusion protection.
32929 2012-07-27 David S. Miller <davem@davemloft.net>
32931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32933 2012-07-27 Gary Benson <gbenson@redhat.com>
32936 * elf/rtld.c: Include <stap-probe.h>.
32937 (dl_main): Added static probes "init_start" and "init_complete".
32938 * elf/dl-load.c: Include <stap-probe.h>.
32939 (lose): Take new parameter "nsid".
32940 Added static probe "map_failed".
32941 (_dl_map_object_from_fd): Pass namespace id to lose.
32942 Added static probe "map_start".
32943 (open_verify): Pass namespace id to lose.
32944 * elf/dl-open.c: Include <stap-probe.h>.
32945 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32946 and "reloc_complete".
32947 * elf/dl-close.c: Include <stap-probe.h>.
32948 (_dl_close_worker): Added static probes "unmap_start" and
32950 * elf/rtld-debugger-interface.txt: New file documenting the above.
32952 2012-07-26 Roland McGrath <roland@hack.frob.com>
32954 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32955 rather than a string variable.
32956 * sunrpc/rpc_main.c (h_output): Likewise.
32957 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32959 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32961 * inet/check_native.c: New file.
32963 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32966 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32967 if larger part has absolute value 1.0.
32968 * math/s_clog10.c (__clog10): Likewise.
32969 * math/s_clog10f.c (__clog10f): Likewise.
32970 * math/s_clog10l.c (__clog10l): Likewise.
32971 * math/s_clogf.c (__clogf): Likewise.
32972 * math/s_clogl.c (__clogl): Likewise.
32973 * math/libm-test.inc (clog_test): Add more tests.
32974 (clog10_test): Likewise.
32975 * sysdeps/i386/fpu/libm-test-ulps: Update.
32976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32978 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32979 (pltexit): Likewise.
32980 (La_regs): Likewise.
32981 (La_retval): Likewise.
32982 (int_retval): Likewise.
32983 Update #error for removed macros to refer only to definitions in
32985 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32987 (pltexit): Likewise.
32988 (La_regs): Likewise.
32989 (La_retval): Likewise.
32990 (int_retval): Likewise.
32991 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32993 (pltexit): Likewise.
32994 (La_regs): Likewise.
32995 (La_retval): Likewise.
32996 (int_retval): Likewise.
32997 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32999 (pltexit): Likewise.
33000 (La_regs): Likewise.
33001 (La_retval): Likewise.
33002 (int_retval): Likewise.
33003 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33005 (pltexit): Likewise.
33006 (La_regs): Likewise.
33007 (La_retval): Likewise.
33008 (int_retval): Likewise.
33009 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33011 (pltexit): Likewise.
33012 (La_regs): Likewise.
33013 (La_retval): Likewise.
33014 (int_retval): Likewise.
33015 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33017 (pltexit): Likewise.
33018 (La_regs): Likewise.
33019 (La_retval): Likewise.
33020 (int_retval): Likewise.
33021 * sysdeps/generic/tst-audit.h: Update comment to refer only to
33022 macro definitions in tst-audit.h.
33023 * sysdeps/i386/tst-audit.h: New file.
33024 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33025 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33026 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33027 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33028 * sysdeps/sh/tst-audit.h: Likewise.
33029 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33030 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33031 * sysdeps/x86_64/tst-audit.h: Likewise.
33033 2012-07-26 Andreas Jaeger <aj@suse.de>
33035 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33038 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33039 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33040 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33042 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33043 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33044 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33046 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33049 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33051 (si_call_addr, si_syscall, si_arch): Define new macro.
33052 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33054 (si_call_addr, si_syscall, si_arch): Define new marcro.
33055 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33057 (si_call_addr, si_syscall, si_arch): Define new macro.
33058 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33060 (si_call_addr, si_syscall, si_arch): Define new macro.
33062 2012-07-25 Joseph Myers <joseph@codesourcery.com>
33065 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33066 Change to 2.4.21 where previously 2.4.1.
33067 * sysdeps/unix/sysv/linux/configure: Regenerated.
33068 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33069 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33070 Linux kernel version.
33071 (__ASSUME_STD_AUXV): Remove.
33072 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33074 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33075 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33076 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33077 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33078 (__ASSUME_NETLINK_SUPPORT): Likewise.
33079 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33080 (__no_netlink_support): Remove conditional definition.
33081 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33083 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33084 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33085 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33086 (if_nameindex_ioctl): Remove.
33087 (if_nameindex_netlink): Do not handle __no_netlink_support.
33088 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33090 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33091 Remove conditional code.
33092 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33094 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33096 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33097 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33098 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33100 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33101 [!__ASSUME_STD_AUXV]: Remove conditional code.
33102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33103 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33104 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33106 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33107 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33109 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33111 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33112 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33114 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33116 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33119 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33122 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33123 code unconditional.
33124 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33126 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33128 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33131 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33133 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33136 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33137 code unconditional.
33138 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33140 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33142 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33145 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33146 code unconditional.
33147 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33149 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33151 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33154 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
33156 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33157 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33158 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33159 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33160 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33161 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33162 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33163 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33164 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33165 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33166 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33167 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33168 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33169 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33170 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33171 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33172 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33173 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33174 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33175 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33176 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33177 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33178 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33180 2012-07-25 Florian Weimer <fweimer@redhat.com>
33182 * Versions.def: Add GLIBC_2.17.
33183 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33184 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33185 Introduce __libc_secure_getenv.
33186 * stdlib/Versions (2.17): Add secure_getenv
33187 (GLIBC_PRIVATE): Add __libc_secure_getenv.
33188 * stdlib/secure-getenv.c: Rename __secure_getenv to
33189 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
33190 symbol __secure_getenv for GLIBC_2.0.
33191 * stdlib/tst-secure-getenv.c: New.
33192 * stdlib/Makefile (tests): Add testcase.
33193 * manual/startup.texi (Environment Access): Document
33195 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33196 __libc_secure_getenv.
33197 * inet/ruserpass.c (ruserpass): Likewise.
33198 * malloc/mtrace.c (mtrace): Likewise.
33199 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33200 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33201 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33202 * sysdeps/posix/tempname.c: Likewise. Evaluate
33203 HAVE_SECURE_GETENV.
33204 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33205 __secure_getenv to __libc_secure_getenv.
33206 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33213 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33219 2012-07-25 Joseph Myers <joseph@codesourcery.com>
33221 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33222 (struct La_i86_retval): Likewise.
33223 (struct La_x86_64_regs): Likewise.
33224 (struct La_x86_64_retval): Likewise.
33225 (struct La_x32_regs): Likewise.
33226 (struct La_x32_retval): Likewise.
33227 (struct La_ppc32_regs): Likewise.
33228 (struct La_ppc32_retval): Likewise.
33229 (struct La_ppc64_regs): Likewise.
33230 (struct La_ppc64_retval): Likewise.
33231 (struct La_sh_regs): Likewise.
33232 (struct La_sh_retval): Likewise.
33233 (struct La_s390_32_regs): Likewise.
33234 (struct La_s390_32_retval): Likewise.
33235 (struct La_s390_64_regs): Likewise.
33236 (struct La_s390_64_retval): Likewise.
33237 (struct La_sparc32_regs): Likewise.
33238 (struct La_sparc32_retval): Likewise.
33239 (struct La_sparc64_regs): Likewise.
33240 (struct La_sparc64_retval): Likewise.
33241 (struct audit_ifaces): Remove architecture-specific pltenter and
33243 * sysdeps/i386/ldsodefs.h: New file.
33244 * sysdeps/powerpc/ldsodefs.h: Likewise.
33245 * sysdeps/s390/ldsodefs.h: Likewise.
33246 * sysdeps/sh/ldsodefs.h: Likewise.
33247 * sysdeps/sparc/ldsodefs.h: Likewise.
33248 * sysdeps/x86_64/ldsodefs.h: Likewise.
33250 2012-07-25 Marek Polacek <polacek@redhat.com>
33253 * math/libm-test.inc (yn_test): Add another test.
33254 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33255 to ERANGE when the result is +-Inf.
33256 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33257 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33258 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33259 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33261 2012-07-24 Joseph Myers <joseph@codesourcery.com>
33263 * conform/data/time.h-data (NULL): Use macro-constant. Require
33265 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
33267 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
33269 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
33271 * configure.in <sysdeps resolving>: Correct printing
33273 * configure: Regenerate.
33275 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
33277 * math/w_ilogb.c: Include <limits.h>.
33278 * math/w_ilogbl.c: Likewise.
33280 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33282 * manual/lang.texi (__va_copy): Document primarily as ISO C99
33283 va_copy. Document allowing for unavailable va_copy only as
33284 pre-C99 compatibility.
33285 * manual/string.texi (Copying and Concatenation): Use va_copy
33286 instead of __va_copy in concat example.
33288 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
33290 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33291 (__sendto): Use create_address_port. Initialize APORT and deallocate
33294 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33295 with O_NOLINK passed to __file_name_lookup.
33297 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33298 with O_NOLINK passed to __file_name_lookup.
33300 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33301 negative N or less than NGIDS.
33303 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33304 type to string_t. Set ERANGE as errno and return it if NAME is not big
33305 enough. Use memcpy instead of strncpy.
33307 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33309 * elf/Makefile (check-data): Remove.
33310 (localplt.data): New vpath directive.
33311 ($(objpfx)check-localplt.out): Use localplt.data from vpath
33312 instead of $(check-data).
33313 * scripts/data/localplt-generic.data: Move to ...
33314 * sysdeps/generic/localplt.data: ... here.
33315 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33316 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33317 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33320 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33323 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33326 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33329 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33332 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33336 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33338 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33339 PPC32 and PPC64 files.
33340 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33341 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33343 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33345 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33346 __makecontext_ret to ...
33347 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33348 ... here and call exit if uc_link is NULL. New file.
33349 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33350 __makecontext_ret.S.
33351 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33352 __makecontext_ret to ...
33353 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33354 ... here and call exit if uc_link is NULL. New file.
33355 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33356 __makecontext_ret.S.
33358 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33360 * elf/elf.h (R_390_IRELATIVE): New definition.
33361 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33362 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
33363 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33364 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33365 (elf_machine_lazy_rel): Likewise.
33366 * sysdeps/s390/dl-irel.h: New file.
33367 * sysdeps/s390/s390-64/memcpy.S: New asm code.
33368 * sysdeps/s390/s390-64/memset.S: New asm code.
33369 * sysdeps/s390/s390-64/memcmp.S: New asm code.
33370 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33371 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33372 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33373 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33374 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33375 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33376 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33377 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33378 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33379 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33380 * sysdeps/s390/s390-32/memcpy.S: New asm code.
33381 * sysdeps/s390/s390-32/memset.S: New asm code.
33382 * sysdeps/s390/s390-32/memcmp.S: New asm code.
33384 2012-07-17 Marek Polacek <polacek@redhat.com>
33387 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33388 * sysdeps/s390/s390-64/configure.in: Likewise.
33389 * sysdeps/sparc/configure.in: Likewise.
33390 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33391 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33392 * sysdeps/i386/configure.in: Likewise.
33393 * sysdeps/x86_64/configure.in: Likewise.
33394 * sysdeps/sh/configure.in: Likewise.
33395 * sysdeps/s390/s390-32/configure: Regenerated.
33396 * sysdeps/s390/s390-64/configure: Likewise.
33397 * sysdeps/x86_64/configure: Likewise.
33398 * sysdeps/sh/configure: Likewise.
33399 * sysdeps/powerpc/powerpc64/configure: Likewise.
33400 * sysdeps/powerpc/powerpc32/configure: Likewise.
33401 * sysdeps/sparc/configure: Likwise.
33402 * sysdeps/i386/configure: Likewise.
33404 * elf/dl-open.c: Comment fixes.
33406 2012-07-17 Joseph Myers <joseph@codesourcery.com>
33408 * Makefile [CXX] (check-data): Remove.
33409 [CXX] (c++-types.data): New vpath directive.
33410 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33411 vpath. Do not allow for C++ type data being missing.
33412 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33413 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33414 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33415 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33416 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33417 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33418 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33421 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33424 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33427 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33430 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33433 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33436 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33439 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33442 * elf/tls-macros.h (TLS_LE): Move architecture-specific
33443 definitions to architecture-specific files.
33444 (TLS_IE): Likewise.
33445 (TLS_LD): Likewise.
33446 (TLS_GD): Likewise.
33447 * sysdeps/i386/tls-macros.h: New file.
33448 * sysdeps/powerpc/tls-macros.h: Likewise.
33449 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33450 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33451 * sysdeps/sh/tls-macros.h: Likewise.
33452 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33453 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33454 * sysdeps/x86_64/tls-macros.h: Likewise.
33456 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33458 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33459 zero value for regular exit case.
33461 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33462 (__start_context): Preserve zero value for regular exit case.
33464 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33465 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33467 * manual/setjmp.texi (setcontext): Clarify normal process
33468 termination when uc_link is the null pointer.
33469 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33472 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
33474 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33475 preprocessor. Test for each exception mask separately.
33477 2012-07-16 Andreas Jaeger <aj@suse.de>
33479 * po/ru.po: Update from translation team.
33481 2012-07-15 Joseph Myers <joseph@codesourcery.com>
33483 * conform/data/string.h-data (NULL): Use macro-constant. Require
33485 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33486 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33487 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33488 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33489 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33491 2012-07-13 Andreas Jaeger <aj@suse.de>
33493 * po/fr.po: Update from translation team.
33495 2012-07-12 Marek Polacek <polacek@redhat.com>
33498 * math/libm-test.inc (yn_test): Add test for BZ #14173.
33499 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33502 2012-07-12 Joseph Myers <joseph@codesourcery.com>
33505 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33506 Change to 2.4.1 where previously 2.4.0.
33507 * sysdeps/unix/sysv/linux/configure: Regenerated.
33508 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33509 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33511 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33512 (__ASSUME_AT_CLKTCK): Remove.
33513 (__ASSUME_AT_PAGESIZE): Likewise.
33514 (__ASSUME_AT_XID): Likewise.
33515 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33516 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33517 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33519 (HAVE_AUX_PAGESIZE): Likewise.
33520 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33521 [__ASSUME_AT_CLKTCK]: Make code unconditional.
33522 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33524 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
33527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33528 the temporary buffer used to invoke __gethostbyname2_r,
33529 __gethostbyaddr_r and gethostbyname4_r to make room for struct
33530 host_data / struct gaih_addrtuple.
33531 * resolv/nss_dns/dns-host.c (global scope): Move definition of
33532 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33533 header file nss/nsswitch.h.
33534 * nss/nsswitch.h (global scope): Add definition of implementation
33535 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33536 resolv/nss_dns/dns-host.c).
33538 2012-07-11 Andreas Jaeger <aj@suse.de>
33540 * po/fr.po: Update from translation team.
33542 * po/sv.po: Update from translation team
33543 * po/fr.po: Another update from translation team.
33545 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33547 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33548 for subnormals or multiply small sinh result by itself.
33549 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33552 2012-07-11 David S. Miller <davem@davemloft.net>
33554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33556 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
33559 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33560 (INTERNAL_MARK): Shift it here.
33562 2012-07-10 Marek Polacek <polacek@redhat.com>
33565 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
33566 libc_cv_asm_global_directive with .globl.
33567 * configure: Regenerated.
33568 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33570 * sysdeps/i386/configure: Regenerated.
33571 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33573 * sysdeps/x86_64/configure: Regenerated.
33574 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33575 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33576 * elf/tst-unique2mod2.c: Likewise.
33577 * elf/tst-unique2mod1.c: Likewise.
33578 * elf/tst-unique1mod2.c: Likewise.
33579 * elf/tst-unique1mod1.c: Likewise.
33580 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33581 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33582 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33583 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33584 * sysdeps/mach/sysdep.h: Likewise.
33585 * sysdeps/i386/sysdep.h: Likewise.
33586 * sysdeps/i386/i386-mcount.S: Likewise.
33587 * sysdeps/x86_64/_mcount.S: Likewise.
33588 * sysdeps/x86_64/sysdep.h: Likewise.
33589 * sysdeps/sh/_mcount.S: Likewise.
33590 * sysdeps/sh/sysdep.h: Likewise.
33591 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33592 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33593 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33594 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33595 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33596 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33597 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33598 * locale/localeinfo.h: Likewise.
33599 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33600 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33602 2012-07-09 Roland McGrath <roland@hack.frob.com>
33605 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33607 * manual/message.texi (The Uniforum approach): Likewise.
33608 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33609 (glibc iconv Implementation): Likewise.
33611 2012-07-09 Joseph Myers <joseph@codesourcery.com>
33614 * math/s_clog.c (__clog): Avoid scaling a value down where that
33615 could result in underflow.
33616 * math/s_clog10.c (__clog10): Likewise.
33617 * math/s_clog10f.c (__clog10f): Likewise.
33618 * math/s_clog10l.c (__clog10l): Likewise.
33619 * math/s_clogf.c (__clogf): Likewise.
33620 * math/s_clogl.c (__clogl): Likewise.
33621 * math/libm-test.inc (clog_test): Add more tests.
33622 (clog10_test): Likewise.
33623 * sysdeps/i386/fpu/libm-test-ulps: Update.
33624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33626 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
33629 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33630 by 7 not 8 to examine high bit of fractional part.
33633 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33634 for call to __mcount_internal.
33635 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33636 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33637 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33639 2012-07-06 Joseph Myers <joseph@codesourcery.com>
33642 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33643 approximation for values within 0x1p-13f of an odd multiple of
33645 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33646 exception. Add more tests.
33647 * sysdeps/i386/fpu/libm-test-ulps: Update.
33650 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33651 inputs and return -1 for them. Do not check for +Inf in case not
33652 reachable for +Inf.
33653 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33654 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33655 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33656 and return -1 for them. Do not check for +Inf in case not
33657 reachable for +Inf.
33658 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33660 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33661 and return -1 for them. Do not check for +Inf in case not
33662 reachable for +Inf.
33663 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33664 spurious underflow.
33665 * sysdeps/i386/fpu/libm-test-ulps: Update.
33666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33668 2012-07-06 Mike Frysinger <vapier@gentoo.org>
33670 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33672 2012-07-05 Joseph Myers <joseph@codesourcery.com>
33676 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33677 could result in spurious underflow. Scale down values above
33678 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33679 * math/s_csqrtf.c (__csqrtf): Likewise.
33680 * math/s_csqrtl.c (__csqrtl): Likewise.
33681 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33682 spurious underflow.
33683 * sysdeps/i386/fpu/libm-test-ulps: Update.
33684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33686 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33688 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33690 * catgets/xopen-msg.awk: New file.
33691 * catgets/xopen-msg.sed: Removed.
33693 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33695 * intl/po2test.awk: New file.
33696 * intl/po2test.sed: Removed.
33698 2012-07-04 Joseph Myers <joseph@codesourcery.com>
33701 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33702 or multiply small sinh result by itself.
33703 * math/s_ctanf.c (__ctanf): Likewise.
33704 * math/s_ctanh.c (__ctanh): Likewise.
33705 * math/s_ctanhf.c (__ctanhf): Likewise.
33706 * math/s_ctanhl.c (__ctanhl): Likewise.
33707 * math/s_ctanl.c (__ctanl): Likewise.
33708 * math/libm-test.inc (ctan_test_tonearest): New function.
33709 (ctan_test_towardzero): Likewise.
33710 (ctan_test_downward): Likewise.
33711 (ctan_test_upward): Likewise.
33712 (ctanh_test_tonearest): Likewise.
33713 (ctanh_test_towardzero): Likewise.
33714 (ctanh_test_downward): Likewise.
33715 (ctanh_test_upward): Likewise.
33716 (main): Call these new functions.
33717 * sysdeps/i386/fpu/libm-test-ulps: Update.
33718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33720 2012-07-03 Mike Frysinger <vapier@gentoo.org>
33722 * .gitignore: Delete /ports entry.
33724 2012-07-03 Andreas Jaeger <aj@suse.de>
33726 * po/bg.po: Update from translation team.
33727 * po/cs.po: Likewise.
33728 * po/de.po: Likewise.
33729 * po/hr.po: Likewise.
33730 * po/nl.pl: Likewise.
33731 * po/pl.po: Likewise.
33732 * po/vi.po: Likewise.
33734 2012-07-03 Joseph Myers <joseph@codesourcery.com>
33736 * Makeconfig [!+link] (+link-before-libc): New variable.
33737 [!+link] (+link-after-libc): Likewise.
33738 [!+link] (+link-tests): Likewise.
33739 [!+link] (+link): Define in terms of $(+link-before-libc) and
33740 $(+link-after-libc).
33741 [!+link-static] (+link-static-before-libc): New variable.
33742 [!+link-static] (+link-static-after-libc): Likewise.
33743 [!+link-static] (+link-static-tests): Likewise.
33744 [!+link-static] (+link-static): Define in terms of
33745 $(+link-static-before-libc) and $(+link-static-after-libc).
33746 [build-shared] (link-libc-before-gnulib): New variable.
33747 [build-shared] (link-libc-tests): Likewise.
33748 [build-shared] (link-libc): Define in terms of
33749 $(link-libc-before-gnulib).
33750 [!build-shared] (link-libc-tests): New variable.
33751 (link-libc-static-tests): New variable.
33752 [!gnulib] (gnulib-arch): New variable.
33753 [!gnulib] (gnulib-tests): Likewise.
33754 [!gnulib] (static-gnulib-arch): Likewise.
33755 [!gnulib] (static-gnulib-tests): Likewise.
33756 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33757 Define with "=" instead of ":=".
33758 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33759 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33760 * Rules (binaries-all-notests): New variable.
33761 (binaries-all-tests): Likewise.
33762 (binaries-static-notests): Likewise.
33763 (binaries-static-tests): Likewise.
33764 (binaries-all): Define using $(binaries-all-notests) and
33765 $(binaries-all-tests).
33766 (binaries-static): Define using $(binaries-static-notests) and
33767 $(binaries-static-tests).
33768 (binaries-shared-tests): New variable.
33769 (binaries-shared-notests): Likewise.
33770 (binaries-shared): Remove variable.
33771 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33772 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33773 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33774 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33775 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33776 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33777 * elf/Makefile (sln-modules): New variable.
33778 (extra-objs): Add $(sln-modules:=.o).
33779 (ldconfig-modules): Add static-stubs.
33780 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33781 * elf/static-stubs.c: New file.
33784 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33785 by 7 not 8 to examine high bit of fractional part. Use volatile
33786 variables when splitting into final array of floats if
33787 __FLT_EVAL_METHOD__ != 0.
33788 * math/libm-test.inc (cos_test): Add another test.
33789 (sin_test): Likewise.
33790 * sysdeps/i386/fpu/libm-test-ulps: Update.
33793 * math/libm-test.inc (cosh_test): Add more tests.
33795 * version.h (RELEASE): Set to "development".
33796 (VERSION): Set to "2.16.90".
33798 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33800 * NEWS: Update copyright. Remove last-updated date.
33801 Mention math library bug fixes and timezone data changes.
33802 * README: Mention GNU/Hurd, x32, and HPPA support status.
33804 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33806 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33808 2012-06-27 Andreas Jaeger <aj@suse.de>
33810 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33812 2012-06-25 Andreas Jaeger <aj@suse.de>
33814 * sysdeps/s390/fpu/libm-test-ulps: Update.
33816 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33817 Thomas Schwinge <thomas@codesourcery.com>
33819 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33820 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33821 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33824 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33826 * sysdeps/mach/start.c: Remove file.
33827 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33828 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33829 * sysdeps/sh/init-first.c: Likewise.
33831 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33832 registers for frame unwinding purposes, add CFI directives.
33833 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33834 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33835 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33838 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33839 __fortify_fail returning.
33840 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33842 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33843 sysdeps/sh/____longjmp_chk.S.
33844 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33845 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33846 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33847 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33849 * sysdeps/sh/abort-instr.h: New file.
33850 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33851 process in case exit returns.
33853 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33854 initialize the GOT register before use.
33856 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33857 calculation of ARGC > 4.
33859 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33860 meaningful names to some local labels.
33862 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33863 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33865 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33866 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33867 (__arch_compare_and_exchange_val_16_acq): Likewise.
33868 (__arch_compare_and_exchange_val_32_acq): Likewise.
33869 (atomic_exchange_and_add): Fix gUSA sequence.
33870 (atomic_add): Likewise.
33871 (atomic_add_negative): Likewise.
33872 (atomic_add_zero): Likewise.
33873 (atomic_bit_test_set): Likewise.
33875 2012-06-22 Andreas Schwab <schwab@redhat.com>
33878 * include/link.h (struct link_map): Add l_free_initfini.
33879 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33881 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33882 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33883 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33886 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33888 * configure.in: Use AC_LANG_SOURCE.
33889 * configure: Regenerate.
33891 2012-06-22 Roland McGrath <roland@hack.frob.com>
33893 * configure.in (libc_cv_localstatedir): New substituted variable.
33894 * configure: Regenerated.
33895 * config.make.in (localstatedir): New variable, substituted from
33896 libc_cv_localstatedir.
33897 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33898 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33899 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33900 * sysdeps/gnu/configure: Regenerated.
33902 2012-06-21 Jeff Law <law@redhat.com>
33905 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33906 free. Simplify list management for _LIBC case.
33908 2012-06-21 Joseph Myers <joseph@codesourcery.com>
33911 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33912 Clear sign bit of 64-bit integer value before comparing against
33915 * sysdeps/mach/configure: Regenerated.
33917 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33920 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33922 2012-06-21 Jeff Law <law@redhat.com>
33925 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33926 uint16_t for elements in the "seen" array to avoid char overflows.
33927 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33928 * elf/dl-open.c (dl_open_worker): Likewise.
33930 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33932 * scripts/list-sources.sh: Scan PORTS for translations.
33933 * po/libc.pot: Regenerated.
33935 2012-06-21 Andreas Jaeger <aj@suse.de>
33938 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33940 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33941 * bits/byteswap-16.h (__bswap_16): Likewise.
33942 * bits/byteswap.h (__bswap_constant_16): Likewise.
33944 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33947 * sysdeps/i386/fpu_control.h: Removed.
33948 * sysdeps/x86_64/fpu_control.h: Moved to ...
33949 * sysdeps/x86/fpu_control.h: Here.
33951 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33952 (_FPU_SETCW): Likewise.
33954 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33957 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33958 * sysdeps/x86/fpu/bits/mathinline.h: This.
33959 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33963 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33964 functions if __x86_64__ is defined.
33966 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33968 * string/endian.h: Add !__ASSEMBLER__ condition for including
33969 conversion interfaces.
33971 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33974 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33975 of ABS(x) in calculating zero to negative powers other than odd
33977 * math/libm-test.inc (pow_test): Add more tests.
33979 2012-06-15 Andreas Jaeger <aj@suse.de>
33981 * manual/contrib.texi (Contributors): Update entry of Liubov
33982 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33985 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33987 * string/string.h: Add __wur to GNU version of strerror_r.
33989 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33992 * string/Makefile (tests): Add tst-strtok_r.
33993 * string/tst-strtok_r.c: New file.
33994 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33995 RAX_LP/RDX_LP on SAVE_PTR.
33997 2012-06-14 Roland McGrath <roland@hack.frob.com>
33999 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34001 2012-06-14 Joseph Myers <joseph@codesourcery.com>
34003 * libm_test.inc (csqrt_test): Allow more spurious underflow
34005 (j0_test): Likewise.
34006 (j1_test): Likewise.
34007 (y0_test): Likewise.
34008 (y1_test): Likewise.
34010 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
34012 * po/Makefile (libc.pot): Use UTF-8 charset.
34014 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
34017 Suppress sign-conversion warning from FD_SET.
34018 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34019 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34020 not unsigned long int.
34021 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34023 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
34027 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34028 __extern_always_inline instead of __extern_inline.
34029 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34030 (__signbit): Likewise.
34031 (__signbitl): Support C++ namespace.
34032 (lrintf): New inline function.
34034 (llrintf): Likewise.
34035 (llrint): Likewise.
34045 (floorf): Likewise.
34046 (nearbyint): Likewise.
34047 (nearbyintf): Likewise.
34049 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
34051 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34052 non-default versions.
34054 2012-06-11 Roland McGrath <roland@hack.frob.com>
34057 * manual/argp.texi (Argp): Reword argp_parse description slightly.
34059 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
34061 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34062 (FE_UPWARD, FE_DOWNWARD): Don't define.
34063 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34064 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34066 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34068 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34069 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34071 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34073 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34074 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34075 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34076 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34078 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
34081 * sysdeps/i386/fpu/bits/fenv.h: Removed.
34082 * sysdeps/i386/fpu/Implies: New file.
34083 * sysdeps/x86_64/fpu/Implies: Likewise.
34084 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34085 * sysdeps/x86/fpu/bits/fenv.h: This.
34087 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34090 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34093 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34094 character 0xffff that matches the last element of the
34097 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34099 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34102 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34104 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34105 values higher than 25.6283.
34107 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34109 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34110 subnormal exponent extraction and add some __builtin_expect.
34111 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34112 Fix for subnormal mantissa calculation.
34114 2012-06-04 Mike Frysinger <vapier@gentoo.org>
34116 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34117 cpu2 is -1 and errno is not ENOSYS.
34119 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
34122 * sysdeps/i386/i486/bits/string.h: Renamed to ...
34123 * sysdeps/x86/bits/string.h: This.
34124 * sysdeps/x86_64/bits/string.h: Removed.
34126 * sysdeps/i386/i486/bits/string.h: Define inline functions only
34127 if not compiling for x86-64, but compiling for >= i486.
34129 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34130 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34132 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34133 New macro from Linux kernel 3.4.0.
34134 (FP_XSTATE_MAGIC2): Likewise.
34135 (FP_XSTATE_MAGIC2_SIZE): Likewise.
34136 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34137 (struct _fpx_sw_bytes): New struct.
34138 (struct _xsave_hdr): Likewise.
34139 (struct _ymmh_state): Likewise.
34140 (struct _xstate): Likewise.
34142 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34143 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34144 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34145 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34146 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34147 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34149 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34150 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34151 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34152 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34153 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34154 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34156 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34159 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34160 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34161 (sysdep_headers): Include sys/platform/ppc.h.
34162 * sysdeps/powerpc/test-gettimebase.c: Test for
34163 __ppc_get_timebase() to catch future ISA opcode/insn changes.
34164 * manual/Makefile (appendices): Include platform.texi.
34165 * manual/contrib.texi (Contributors): Update @node pointers.
34166 * manual/maint.texi (Maintenance): Likewise.
34167 (Platform): New node.
34168 * manual/platform.texi: New file. Document the new features.
34170 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34171 Jakub Jelinek <jakub@redhat.com>
34174 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34175 where __builtin_expect is unavailable.
34177 2012-06-03 David S. Miller <davem@davemloft.net>
34179 * stdlib/longlong.h: Updated from GCC.
34181 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
34184 * sysdeps/powerpc/powerpc32/mcount.c: New file.
34185 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34188 (GLIBC_2.16): Likewise.
34190 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34192 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34194 2012-06-01 Joseph Myers <joseph@codesourcery.com>
34196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34197 (default-abi): New variable.
34198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34199 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34201 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34203 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34205 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34208 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34209 definition. Document in comment.
34211 2012-06-01 David S. Miller <davem@davemloft.net>
34213 * stdlib/longlong.h: Updated from GCC.
34215 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34218 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34219 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34220 sys/debugreg.h sys/io.h here.
34221 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34222 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34224 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34225 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34226 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34227 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34228 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34229 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34231 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34232 Define only if __x86_64__ is defined.
34234 2012-06-01 Joseph Myers <joseph@codesourcery.com>
34237 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34238 Use int64_t for variable i.
34239 * math/libm-test.inc (fmod_test): Add more tests.
34241 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34242 z computation is not scheduled after fetestexcept.
34243 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34244 Use math_force_eval instead of asm to ensure calculation scheduled
34245 before exception test.
34246 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34247 Ensure a1 + u.d computation is not scheduled after fetestexcept.
34249 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
34251 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34252 computation is not scheduled after fetestexcept.
34254 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34257 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34258 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34260 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34262 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34263 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34265 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34268 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34270 (__WCHAR_MIN): Support __WORDSIZE == 64.
34271 (__WCHAR_MAX): Likewise.
34273 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34274 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34277 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34278 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34281 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34282 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34284 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34285 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34287 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34288 Defined to 1 if __x86_64__ isn't defined.
34289 (_STAT_VER_LINUX_OLD): New.
34290 (st_atime): Remove duplicate.
34291 (st_mtime): Likewise.
34292 (st_ctime): Likewise.
34294 2012-05-31 David S. Miller <davem@davemloft.net>
34296 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34299 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
34301 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34305 * elf/dl-reloc.c: Include <_itoa.h>.
34306 (_dl_reloc_bad_type): Remove use of INTUSE.
34307 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34308 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34309 * stdio-common/psiginfo.c (psiginfo): Likewise.
34310 * stdio-common/psignal.c (psignal): Likewise.
34311 * string/strsignal.c (strsignal): Likewise.
34312 * include/signal.h (_sys_siglist): Declare hidden proto.
34313 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
34314 INTVARDEF with libc_hidden_data_def.
34315 * stdio-common/itoa-udigits.c: Likewise.
34316 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34317 (_itoa_lower_digits_internal): Remove declaration.
34318 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34319 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34320 (_sys_sigabbrev_internal): Remove aliases.
34321 (_sys_siglist): Define hidden alias.
34323 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
34325 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34328 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34331 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34332 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34334 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34335 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34336 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34337 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34338 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34339 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34341 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34342 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34343 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34345 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34353 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34354 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34355 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34357 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34358 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34359 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34360 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34361 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34362 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34364 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34365 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34367 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34368 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34370 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34371 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34372 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34374 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34375 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34377 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34379 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34380 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34381 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34383 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34385 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34387 2012-05-31 Joseph Myers <joseph@codesourcery.com>
34389 * math/math.h (M_El): Use two more decimal places.
34390 (M_LOG2El): Likewise.
34391 (M_LOG10El): Likewise.
34392 (M_LN2l): Likewise.
34393 (M_LN10l): Likewise.
34395 (M_PI_2l): Likewise.
34396 (M_PI_4l): Likewise.
34397 (M_1_PIl): Likewise.
34398 (M_2_PIl): Likewise.
34399 (M_2_SQRTPIl): Likewise.
34400 (M_SQRT2l): Likewise.
34401 (M_SQRT1_2l): Likewise.
34403 2012-05-31 David S. Miller <davem@davemloft.net>
34405 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34406 values between float registers.
34407 * sysdeps/sparc/sparc64/memset.S: Likewise.
34408 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34410 2012-05-31 Mike Frysinger <vapier@gentoo.org>
34412 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34413 -D_FORTIFY_SOURCE=1.
34414 (CPPFLAGS-tst-longjmp_chk.c): Define.
34415 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34416 (CPPFLAGS-tst-longjmp_chk2.c): Define.
34417 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34418 CFLAGS-tst-wchar-h.c.
34420 2012-05-31 Marek Polacek <polacek@redhat.com>
34423 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34424 __endmntent_internal): Remove declaration.
34425 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34426 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34427 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34429 2012-05-30 David S. Miller <davem@davemloft.net>
34431 * sysdeps/sparc/sparc32/soft-fp/q_util.c
34432 (___Q_simulate_exceptions): Use real FP ops rather than writing
34434 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34437 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34440 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34441 * sysdeps/x86/bits/xtitypes.h: This.
34443 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34444 * sysdeps/x86/bits/wordsize.h: This.
34446 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34447 * sysdeps/x86/bits/huge_vall.h: This.
34449 * sysdeps/i386/bits/select.h: Removed.
34450 * sysdeps/x86_64/bits/select.h: Renamed to ...
34451 * sysdeps/x86/bits/select.h: This.
34453 * sysdeps/i386/bits/setjmp.h: Removed.
34454 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34455 * sysdeps/x86/bits/setjmp.h: This.
34457 * sysdeps/i386/bits/mathdef.h: Removed.
34458 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34459 * sysdeps/x86/bits/mathdef.h: This.
34461 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
34464 * include/sys/socket.h (__connect_internal)
34465 (__libc_sa_len_internal): Remove declaration.
34466 (__connect, __libc_sa_len): Declare hidden_proto.
34467 (SA_LEN): Remove use of INTUSE.
34468 * socket/connect.c: Add libc_hidden_def.
34469 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34470 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34471 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34473 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34474 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34475 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34476 of adding _internal alias.
34478 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34481 * sysdeps/i386/bits/link.h: Removed.
34482 * sysdeps/i386/bits/linkmap.h: Likewise.
34483 * sysdeps/x86_64/bits/link.h: Renamed to ...
34484 * sysdeps/x86/bits/link.h: This.
34485 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34486 * sysdeps/x86/bits/linkmap.h: This.
34488 * sysdeps/i386/bits/endian.h: Removed.
34489 * sysdeps/x86_64/bits/endian.h: Renamed to ...
34490 * sysdeps/x86/bits/endian.h: This.
34492 * sysdeps/i386/bits/byteswap.h: Removed.
34493 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34494 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34495 * sysdeps/x86/bits/byteswap.h: This.
34496 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34497 * sysdeps/x86/bits/byteswap-16.h: This.
34498 * sysdeps/i386/Implies: Add x86.
34499 * sysdeps/x86_64/Implies: Likewise.
34501 2012-05-30 David S. Miller <davem@davemloft.net>
34503 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34504 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34505 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34506 (FP_TRAPPING_EXCEPTIONS): Define.
34507 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34508 (FP_TRAPPING_EXCEPTIONS): Define.
34509 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34510 subnormals only when inexact has been signalled or underflow
34511 exceptions are enabled.
34512 (_FP_PACK_CANONICAL): Likewise.
34514 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34517 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34518 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34520 2012-05-30 Richard Henderson <rth@twiddle.net>
34522 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34523 with #ifndef NOT_IN_libc.
34525 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
34526 marked to avoid plt entry.
34528 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34531 * Makeconfig (default-abi): New macro.
34532 (abi-includes): Likewise.
34533 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
34534 $(abi-$(default-abi)-lib-soname) for soname if defined.
34535 ($(common-objpfx)gnu/lib-names.stmp): Generate from
34537 * Makefile (installed-stubs): Likewise.
34538 * include/stubs-biarch.h: Removed.
34539 * scripts/lib-names.awk: Only handle one library at a time.
34540 * scripts/soversions.awk: Remove WORDSIZE support.
34541 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34543 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34545 (syscall-list-default-condition): Likewise.
34546 (syscall-list-default-condition): Likewise.
34547 (syscall-list-includes): Likewise.
34548 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34549 syscall-list-* with abi-*. Handle undefined abi-variants.
34550 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34551 * sysdeps/unix/sysv/linux/i386/Implies: New file.
34552 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34553 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34554 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34555 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34557 (syscall-list-32-options): Likewise.
34558 (syscall-list-32-condition): Likewise.
34559 (syscall-list-64-options): Likewise.
34560 (syscall-list-64-condition): Likewise.
34561 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34563 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34566 (abi-64-ld-soname): New macro.
34567 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34568 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34571 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34572 * sysdeps/x86_64/x32/shlib-versions: Likewise.
34574 2012-05-30 Joseph Myers <joseph@codesourcery.com>
34576 * sysdeps/unix/sysv/linux/kernel-features.h
34577 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34578 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34579 include <kernel-features.h>.
34580 [!__NR_ftruncate64]: Remove conditional code.
34581 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34582 [__NR_ftruncate64]: Make code unconditional.
34583 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34584 * sysdeps/unix/sysv/linux/truncate64.c: Do not
34585 include <kernel-features.h>.
34586 [!__NR_ftruncate64]: Remove conditional code.
34587 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34588 [__NR_ftruncate64]: Make code unconditional.
34589 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34591 include <kernel-features.h>.
34592 [!__NR_ftruncate64]: Remove conditional code.
34593 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34594 [__NR_ftruncate64]: Make code unconditional.
34595 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34597 include <kernel-features.h>.
34598 [!__NR_ftruncate64]: Remove conditional code.
34599 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34600 [__NR_ftruncate64]: Make code unconditional.
34601 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34603 * configure.in (libc_cv_fpie): Weaken to a compile test using
34604 LIBC_TRY_CC_OPTION.
34605 * configure: Regenerated.
34607 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34622 2012-05-27 David S. Miller <davem@davemloft.net>
34624 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34626 (__Q_simulate_exceptions): Return void. Change to simulate
34627 exceptions by writing into the %fsr.
34628 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34629 (__Qp_handle_exceptions): Likewise.
34631 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34632 __Qp_handle_exceptions.
34633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34634 __Qp_handle_exceptions.
34635 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34636 as unused and give dummy FP_RND_NEAREST initializer.
34637 (FP_INHIBIT_RESULTS): Define.
34638 (___Q_simulate_exceptions): Update declaration.
34639 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34641 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34642 as unused and give dummy FP_RND_NEAREST initializer.
34643 (__Qp_handle_exceptions): Update declaration.
34644 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34647 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34649 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34650 the temporary FPU control word.
34651 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34652 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34653 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34654 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34655 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34656 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34657 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34658 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34659 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34660 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34661 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34663 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34665 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34668 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34670 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34671 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34672 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34673 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34675 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34676 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34679 2012-05-27 Ulrich Drepper <drepper@gmail.com>
34681 * po/h.po: Update from translation team.
34683 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34685 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34687 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34688 handling of denormals.
34689 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34690 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34691 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34692 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34693 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34694 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34695 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34698 2012-05-26 Marek Polacek <polacek@redhat.com>
34701 * math/libm-test.inc (fma_test): Don't always expect underflow
34704 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34707 * elf/tst-execstack.c: Include stackinfo.h.
34708 (do_test): Adjust test case to ensure that pthread_getattr_np
34709 behaviour remains the same after marking stack executable.
34711 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34713 * sysdeps/unix/sysv/linux/kernel-features.h
34714 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34715 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34717 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34718 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34719 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34721 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34722 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34724 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34726 * configure.in: Define the default includes to being none.
34727 * configure: Regenerated.
34729 2012-05-25 Roland McGrath <roland@hack.frob.com>
34731 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34732 * sysdeps/x86_64/setjmp.S: Likewise.
34733 * sysdeps/i386/bsd-setjmp.S: Likewise.
34734 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34735 * sysdeps/i386/setjmp.S: Likewise.
34736 * sysdeps/i386/__longjmp.S: Likewise.
34737 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34738 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34740 * include/stap-probe.h: New file.
34741 * configure.in: Handle --enable-systemtap.
34742 * configure: Regenerated.
34743 * config.h.in (USE_STAP_PROBE): New #undef.
34744 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34745 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34746 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34748 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34751 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34752 to 2.4.0 where earlier.
34753 * sysdeps/unix/sysv/linux/configure: Regenerated.
34754 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34755 <kernel-features.h>.
34756 [__ASSUME_32BITUIDS]: Make code unconditional.
34757 [!__ASSUME_32BITUIDS]: Remove conditional code.
34758 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34759 <kernel-features.h>.
34760 [__ASSUME_32BITUIDS]: Make code unconditional.
34761 [!__ASSUME_32BITUIDS]: Remove conditional code.
34762 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34763 [__ASSUME_32BITUIDS]: Make code unconditional.
34764 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34765 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34766 <kernel-features.h>.
34767 [__ASSUME_32BITUIDS]: Make code unconditional.
34768 [!__ASSUME_32BITUIDS]: Remove conditional code.
34769 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34770 <kernel-features.h>.
34771 [__ASSUME_32BITUIDS]: Make code unconditional.
34772 [!__ASSUME_32BITUIDS]: Remove conditional code.
34773 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34774 <kernel-features.h>.
34775 [__ASSUME_32BITUIDS]: Make code unconditional.
34776 [!__ASSUME_32BITUIDS]: Remove conditional code.
34777 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34778 <kernel-features.h>.
34779 [__ASSUME_32BITUIDS]: Make code unconditional.
34780 [!__ASSUME_32BITUIDS]: Remove conditional code.
34781 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34782 <kernel-features.h>.
34783 [__ASSUME_32BITUIDS]: Make code unconditional.
34784 [!__ASSUME_32BITUIDS]: Remove conditional code.
34785 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34786 <kernel-features.h>.
34787 [__ASSUME_32BITUIDS]: Make code unconditional.
34788 [!__ASSUME_32BITUIDS]: Remove conditional code.
34789 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34790 <kernel-features.h>.
34791 [__ASSUME_32BITUIDS]: Make code unconditional.
34792 [!__ASSUME_32BITUIDS]: Remove conditional code.
34793 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34794 <kernel-features.h>.
34795 [__ASSUME_32BITUIDS]: Make code unconditional.
34796 [!__ASSUME_32BITUIDS]: Remove conditional code.
34797 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34798 <kernel-features.h>.
34799 [__ASSUME_32BITUIDS]: Make code unconditional.
34800 [!__ASSUME_32BITUIDS]: Remove conditional code.
34801 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34802 <kernel-features.h>.
34803 [__ASSUME_32BITUIDS]: Make code unconditional.
34804 [!__ASSUME_32BITUIDS]: Remove conditional code.
34805 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34806 <kernel-features.h>.
34807 [__NR_setresgid] (__setresgid): Do not declare.
34808 [__ASSUME_32BITUIDS]: Make code unconditional.
34809 [!__ASSUME_32BITUIDS]: Remove conditional code.
34810 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34811 <kernel-features.h>.
34812 [__NR_setresuid] (__setresuid): Do not declare.
34813 [__ASSUME_32BITUIDS]: Make code unconditional.
34814 [!__ASSUME_32BITUIDS]: Remove conditional code.
34815 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34816 <kernel-features.h>.
34817 [__ASSUME_32BITUIDS]: Make code unconditional.
34818 [!__ASSUME_32BITUIDS]: Remove conditional code.
34819 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34820 <kernel-features.h>.
34821 [__ASSUME_32BITUIDS]: Make code unconditional.
34822 [!__ASSUME_32BITUIDS]: Remove conditional code.
34823 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34824 <kernel-features.h>.
34825 [__ASSUME_32BITUIDS]: Make code unconditional.
34826 [!__ASSUME_32BITUIDS]: Remove conditional code.
34827 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34828 <kernel-features.h>.
34829 [__ASSUME_32BITUIDS]: Make code unconditional.
34830 [!__ASSUME_32BITUIDS]: Remove conditional code.
34831 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34832 <kernel-features.h>.
34833 [__ASSUME_32BITUIDS]: Make code unconditional.
34834 [!__ASSUME_32BITUIDS]: Remove conditional code.
34835 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34836 <kernel-features.h>.
34837 [__ASSUME_32BITUIDS]: Make code unconditional.
34838 [!__ASSUME_32BITUIDS]: Remove conditional code.
34839 * sysdeps/unix/sysv/linux/i386/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
34856 (__ASSUME_SETRESUID_SYSCALL): Remove.
34857 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34858 (__ASSUME_32BITUIDS): Likewise.
34859 (__ASSUME_LDT_WORKS): Likewise.
34860 (__ASSUME_O_DIRECTORY): Likewise.
34861 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34862 architecture but not kernel version.
34863 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34864 (__ASSUME_MMAP2_SYSCALL): Likewise.
34865 (__ASSUME_STAT64_SYSCALL): Likewise.
34866 (__ASSUME_IPC64): Likewise.
34867 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34868 <kernel-features.h>.
34869 [__ASSUME_32BITUIDS]: Make code unconditional.
34870 [!__ASSUME_32BITUIDS]: Remove conditional code.
34871 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34872 <kernel-features.h>.
34873 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34874 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34875 132096]: Remove conditional code.
34876 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34877 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34878 <kernel-features.h>.
34879 [__ASSUME_32BITUIDS]: Make code unconditional.
34880 [!__ASSUME_32BITUIDS]: Remove conditional code.
34881 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34882 <kernel-features.h>.
34883 [__ASSUME_32BITUIDS]: Make code unconditional.
34884 [!__ASSUME_32BITUIDS]: Remove conditional code.
34885 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34886 <kernel-features.h>.
34887 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34889 (__setresgid): Do not declare.
34890 [__ASSUME_32BITUIDS]: Make code unconditional.
34891 [!__ASSUME_32BITUIDS]: Remove conditional code.
34892 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34893 <kernel-features.h>.
34894 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34896 (__setresuid): Do not declare.
34897 [__ASSUME_32BITUIDS]: Make code unconditional.
34898 [!__ASSUME_32BITUIDS]: Remove conditional code.
34899 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34900 <kernel-features.h>.
34901 [__ASSUME_32BITUIDS]: Make code unconditional.
34902 [!__ASSUME_32BITUIDS]: Remove conditional code.
34903 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34904 <kernel-features.h>.
34905 [__ASSUME_32BITUIDS]: Make code unconditional.
34906 [!__ASSUME_32BITUIDS]: Remove conditional code.
34908 2012-05-25 Richard Henderson <rth@twiddle.net>
34910 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34911 dl_hwcap to ifunc resolver.
34912 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34914 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34915 dl_hwcap to ifunc resolver.
34916 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34918 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34921 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34922 for |x| <= 2**-26, not 2**-57.
34923 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34926 2012-05-24 Jeff Law <law@redhat.com>
34928 * stdio-common/Makefile (tests): Add bug25.
34929 * stdio-common/bug25.c: New test.
34931 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34934 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34935 multiple of MALLOC_ALIGNMENT in size.
34936 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34938 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34940 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34942 (FILENAME_MAX): Use macro-int-constant.
34943 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34944 (_IOFBF): Use macro-int-constant.
34945 (_IOLBF): Likewise.
34946 (_IONBF): Likewise.
34947 (SEEK_CUR): Likewise.
34948 (SEEK_END): Likewise.
34949 (SEEK_SET): Likewise.
34950 (TMP_MAX): Likewise.
34951 (EOF): Use macro-int-constant. Require < 0.
34952 (NULL): Use macro-constant. Require == 0.
34953 (stdin): Require type to be FILE *.
34954 (stdout): Likewise.
34955 (stderr): Likewise.
34956 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34957 macro-int-constant.
34958 (EXIT_SUCCESS): Likewise.
34959 (NULL): Use macro-constant. Require == 0.
34960 (RAND_MAX): Use macro-int-constant.
34961 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34962 [C99-based standards] (strtof): Require function.
34963 [C99-based standards] (strtold): Likewise.
34964 [C99-based standards] (strtoll): Likewise.
34965 [C99-based standards] (strtoull): Likewise.
34966 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34967 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34968 [ISO || ISO99 || ISO11] (math.h): Likewise.
34969 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34970 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34971 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34973 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34976 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34977 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34978 * intl/dgettext.c (DCGETTEXT): Likewise.
34979 * intl/gettext.c (DCGETTEXT): Likewise.
34980 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34981 * posix/regex_internal.h (gettext): Likewise.
34982 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34983 Remove declaration.
34984 * include/argz.h (__argz_count_internal)
34985 (__argz_stringify_internal): Remove declaration.
34986 (__argz_count, __argz_stringify): Declare hidden proto.
34987 * intl/dcgettext.c: Remove use of INTDEF.
34988 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34989 * string/argz-stringify.c: Likewise.
34990 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34991 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34992 Declare hidden proto.
34993 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34994 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34995 Declare hidden proto.
34996 * include/stdio.h (__asprintf_internal): Don't declare.
34997 (__asprintf): Don't define as macro. Declare hidden proto.
34998 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34999 (__fsetlocking): Declare hidden proto.
35000 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35001 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35003 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35004 (_IO_setlinebuf): Remove use of INTUSE.
35005 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35006 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35007 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35008 Remove declaration.
35009 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35010 (_IO_do_flush): Remove use of INTUSE.
35011 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35012 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35013 (_IO_adjust_column, _IO_least_wmarker)
35014 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35015 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35016 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35017 (_IO_default_doallocate, _IO_wdefault_doallocate)
35018 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35019 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35020 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35021 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35022 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35023 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35024 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35025 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35026 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35027 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35028 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35029 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35030 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35032 (_IO_flush_all_internal, _IO_adjust_column_internal)
35033 (_IO_default_uflow_internal, _IO_default_finish_internal)
35034 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35035 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35036 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35037 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35038 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35039 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35040 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35041 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35042 (_IO_file_close_internal, _IO_file_close_it_internal)
35043 (_IO_file_underflow_internal, _IO_file_overflow_internal)
35044 (_IO_file_init_internal, _IO_file_attach_internal)
35045 (_IO_file_fopen_internal, _IO_file_read_internal)
35046 (_IO_file_sync_internal, _IO_file_seek_internal)
35047 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35048 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35049 (_IO_str_underflow_internal, _IO_str_overflow_internal)
35050 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35051 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35052 (_IO_list_all_internal, _IO_link_in_internal)
35053 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35054 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35055 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35056 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35057 (_IO_do_write_internal, _IO_padn_internal)
35058 (_IO_getline_info_internal, _IO_getline_internal)
35059 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35060 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35061 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35062 (_IO_vfscanf_internal, _IO_vfprintf_internal)
35063 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35064 (_IO_init_internal, _IO_un_link_internal): Don't declare.
35065 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35066 with libc_hidden_ver, remove use of INTUSE.
35067 * libio/genops.c: Likewise.
35068 * libio/freopen.c: Likewise.
35069 * libio/freopen64.c: Likewise.
35070 * libio/iofclose.c: Likewise.
35071 * libio/iofdopen.c: Likewise.
35072 * libio/iofflush.c: Likewise.
35073 * libio/iofflush_u.c: Likewise.
35074 * libio/iofgets.c: Likewise.
35075 * libio/iofgets_u.c: Likewise.
35076 * libio/iofopen.c: Likewise.
35077 * libio/iofopncook.c: Likewise.
35078 * libio/iofread.c: Likewise.
35079 * libio/iofread_u.c: Likewise.
35080 * libio/ioftell.c: Likewise.
35081 * libio/iofwrite.c: Likewise.
35082 * libio/iogetline.c: Likewise.
35083 * libio/iogets.c: Likewise.
35084 * libio/iogetwline.c: Likewise.
35085 * libio/iopadn.c: Likewise.
35086 * libio/iopopen.c: Likewise.
35087 * libio/ioseekoff.c: Likewise.
35088 * libio/ioseekpos.c: Likewise.
35089 * libio/iosetbuffer.c: Likewise.
35090 * libio/iosetvbuf.c: Likewise.
35091 * libio/ioungetc.c: Likewise.
35092 * libio/ioungetwc.c: Likewise.
35093 * libio/iovdprintf.c: Likewise.
35094 * libio/iovsprintf.c: Likewise.
35095 * libio/iovsscanf.c: Likewise.
35096 * libio/memstream.c: Likewise.
35097 * libio/obprintf.c: Likewise.
35098 * libio/oldfileops.c: Likewise.
35099 * libio/oldiofclose.c: Likewise.
35100 * libio/oldiofdopen.c: Likewise.
35101 * libio/oldiofopen.c: Likewise.
35102 * libio/oldiopopen.c: Likewise.
35103 * libio/oldstdfiles.c: Likewise.
35104 * libio/putc.c: Likewise.
35105 * libio/setbuf.c: Likewise.
35106 * libio/setlinebuf.c: Likewise.
35107 * libio/stdfiles.c: Likewise.
35108 * libio/strops.c: Likewise.
35109 * libio/vasprintf.c: Likewise.
35110 * libio/vscanf.c: Likewise.
35111 * libio/vsnprintf.c: Likewise.
35112 * libio/vswprintf.c: Likewise.
35113 * libio/wfiledoalloc.c: Likewise.
35114 * libio/wfileops.c: Likewise.
35115 * libio/wgenops.c: Likewise.
35116 * libio/wmemstream.c: Likewise.
35117 * libio/wstrops.c: Likewise.
35118 * libio/__fpurge.c: Likewise.
35119 * libio/__fsetlocking.c: Likewise.
35120 * assert/assert.c: Likewise.
35121 * debug/fgets_chk.c: Likewise.
35122 * debug/fgets_u_chk.c: Likewise.
35123 * debug/fread_chk.c: Likewise.
35124 * debug/fread_u_chk.c: Likewise.
35125 * debug/gets_chk.c: Likewise.
35126 * debug/obprintf_chk.c: Likewise.
35127 * debug/vasprintf_chk.c: Likewise.
35128 * debug/vdprintf_chk.c: Likewise.
35129 * debug/vsnprintf_chk.c: Likewise.
35130 * debug/vsprintf_chk.c: Likewise.
35131 * malloc/mtrace.c: Likewise.
35132 * misc/error.c: Likewise.
35133 * misc/syslog.c: Likewise.
35134 * stdio-common/asprintf.c: Likewise.
35135 * stdio-common/fxprintf.c: Likewise.
35136 * stdio-common/getw.c: Likewise.
35137 * stdio-common/isoc99_fscanf.c: Likewise.
35138 * stdio-common/isoc99_scanf.c: Likewise.
35139 * stdio-common/isoc99_vfscanf.c: Likewise.
35140 * stdio-common/isoc99_vscanf.c: Likewise.
35141 * stdio-common/isoc99_vsscanf.c: Likewise.
35142 * stdio-common/printf-prs.c: Likewise.
35143 * stdio-common/printf_fp.c: Likewise.
35144 * stdio-common/printf_fphex.c: Likewise.
35145 * stdio-common/printf_size.c: Likewise.
35146 * stdio-common/putw.c: Likewise.
35147 * stdio-common/scanf.c: Likewise.
35148 * stdio-common/sprintf.c: Likewise.
35149 * stdio-common/tmpfile.c: Likewise.
35150 * stdio-common/vfprintf.c: Likewise.
35151 * stdio-common/vfscanf.c: Likewise.
35152 * stdlib/strfmon_l.c: Likewise.
35153 * sunrpc/openchild.c: Likewise.
35154 * sunrpc/xdr_stdio.c: Likewise.
35155 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35156 * sysdeps/mach/hurd/tmpfile.c: Likewise.
35158 2012-05-24 Roland McGrath <roland@hack.frob.com>
35160 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35162 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35163 in the third column, to generate for the shared library an IFUNC
35164 that uses _dl_vdso_vsym.
35165 * Makerules (COMPILE.c, compile-stdin.c): New variables.
35166 * Makeconfig (object-suffixes-noshared): New variable.
35168 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35169 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35170 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35171 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35174 * include/sys/time.h (__gettimeofday): Remove macro.
35175 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35176 * time/gettimeofday.c (__gettimeofday): Remove #undef.
35178 (__gettimeofday): Add libc_hidden_def.
35179 (gettimeofday): Add libc_hidden_weak.
35180 * sysdeps/mach/gettimeofday.c: Likewise.
35181 * sysdeps/posix/gettimeofday.c: Likewise.
35182 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35183 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35184 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35185 (__gettimeofday_internal): Remove strong_alias.
35186 (__gettimeofday): Add libc_hidden_def.
35187 (gettimeofday): Add libc_hidden_weak.
35188 * sysdeps/unix/syscalls.list (gettimeofday):
35189 Remove __gettimeofday_internal alias.
35191 2012-05-24 Daniel Jacobowitz <drow@false.org>
35192 H.J. Lu <hongjiu.lu@intel.com>
35195 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35196 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35197 (largebin_index_32_big): New.
35198 (largebin_index): Use it for 16-byte alignment.
35199 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
35200 correction with front_misalign.
35202 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35230 * scripts/data/c++-types-x32-linux-gnu.data: New file.
35231 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35233 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35237 * math/libm-test.inc (exp_test): Add test from bug 14036.
35238 (pow_test): Add test from bug 10846.
35240 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35242 (special_function): Do not include flags in test name.
35243 (parse_args): Likewise.
35244 * sysdeps/i386/fpu/libm-test-ulps: Update.
35245 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35246 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35247 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35250 * math/gen-libm-test.pl (%beautify): Add entries for underflow
35252 * math/libm-test.inc ("Philosophy"): Update comment about
35254 (UNDERFLOW_EXCEPTION): New macro.
35255 (UNDERFLOW_EXCEPTION_OK): Likewise.
35256 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35257 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35258 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35259 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35260 (INVALID_EXCEPTION_OK): Update value.
35261 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35262 (OVERFLOW_EXCEPTION_OK): Likewise.
35263 (IGNORE_ZERO_INF_SIGN): Likewise.
35264 (test_exceptions): Handle underflow exceptions.
35265 (acos_test): Update for underflow exception expectations.
35266 (cexp_test): Likewise.
35267 (clog_test): Likewise.
35268 (clog10_test): Likewise.
35269 (csqrt_test): Likewise.
35270 (ctan_test): Likewise.
35271 (ctanh_test): Likewise.
35272 (exp_test): Likewise.
35273 (exp10_test): Likewise.
35274 (exp2_test): Likewise.
35275 (expm1_test): Likewise.
35276 (fma_test): Likewise.
35277 (j0_test): Likewise.
35278 (jn_test): Likewise.
35279 (nexttoward_test): Likewise.
35280 (pow_test): Likewise.
35281 (scalbn_test): Likewise.
35282 (scalbln_test): Likewise.
35283 (tan_test): Likewise.
35284 (y1_test): Likewise.
35285 * sysdeps/i386/fpu/libm-test-ulps: Update.
35286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35288 2012-05-23 David S. Miller <davem@davemloft.net>
35290 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35291 (__libc_sigaction): Remove unused local variables.
35293 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35295 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35297 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
35299 mktime: avoid signed integer overflow
35300 * time/mktime.c (__mktime_internal): Do not mishandle the case
35301 where diff == INT_MIN.
35303 mktime: simplify computation of average
35304 * time/mktime.c (ranged_convert): Use new time_t_avg function
35305 instead of rolling our own (probably-slower) code.
35307 mktime: do not assume signed right shift propagates sign bit
35308 * time/mktime.c (isdst_differ): New static function.
35309 (__mktime_internal): No need to normalize tm_isdst now.
35310 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35313 mktime: merge another wrapv change from gnulib
35314 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35315 from some compilers.
35317 mktime: remove incorrect attempt at unusual arithmetics
35318 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35319 The code didn't really work on such machines anyway.
35320 (TYPE_MINIMUM): Assume two's complement.
35321 (twos_complement_arithmetic): Verify that long_int and time_t
35322 are two's complement (or unsigned, in the latter case).
35324 mktime: check signed shifts on long_int and time_t, too
35325 * time/mktime.c (SHR): Check that shifts work as desired
35326 on the types long_int and time_t too, as SHR is used on
35329 mktime: do not assume 'long' is wide enough
35330 * time/mktime.c (verify): Move decl up.
35331 (long_int): New type.
35332 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35333 to remove assumption in the code that 'long' is wide enough to
35334 store year values. This assumption is not true on x32 and on
35335 some non-glibc platforms.
35337 mktime: merge wrapv change from gnulib
35338 * time/mktime.c (WRAPV): New macro.
35339 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35340 (guess_time_tm, __mktime_internal): Do not assume that signed
35341 integer overflow wraps around; modern compilers generate code
35342 where this assumption is no longer valid.
35344 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35346 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35347 Replace "jmp L(pseudo_end)" with "ret".
35348 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35351 2012-05-23 Andreas Jaeger <aj@suse.de>
35353 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35354 * sysdeps/unix/sysv/linux/poll.c: Remove file.
35356 2012-05-23 Andreas Jaeger <aj@suse.de>
35357 Maximilian Attems <max@stro.at>
35359 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35362 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35364 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35365 code so that pseudo_end is just ret and the stack pointer is
35366 correct also for static library in error case.
35368 2012-05-23 Joseph Myers <joseph@codesourcery.com>
35370 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35371 move to syscalls.list.
35372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35377 * manual/install.texi (Running make install): Do not mention Linux
35378 kernel version for which pt_chown is not needed.
35379 (Linux): Do not mention problems with nscd with 2.0 kernels.
35380 * INSTALL: Regenerated.
35382 2012-05-23 Andreas Jaeger <aj@suse.de>
35384 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35385 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35387 * sysdeps/unix/sysv/linux/s390/bits/mman.h
35388 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35389 * sysdeps/unix/sysv/linux/sh/bits/mman.h
35390 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35391 * sysdeps/unix/sysv/linux/i386/bits/mman.h
35392 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35393 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35394 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35395 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35396 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35397 * sysdeps/unix/sysv/linux/bits/in.h
35398 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35400 2012-05-22 Roland McGrath <roland@hack.frob.com>
35402 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35403 (PREPARE_VERSION): Just use assert instead, it will be elided
35404 under [NDEBUG] anyway.
35406 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35408 * sysdeps/unix/sysv/linux/Makefile: Include
35409 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35410 (sysdep_routines): Remove sysctl.
35411 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35412 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35413 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35414 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35415 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35417 2012-05-22 Andreas Jaeger <aj@suse.de>
35419 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35420 that pseudo_end is just ret and the stack pointer is correct also
35421 for static library in error case.
35423 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35426 * nss/nsswitch.c (defconfig_entries): New variable.
35427 (__nss_database_lookup): Don't leak defconfig entries.
35428 (nss_parse_service_list): Don't leak on error paths.
35429 (free_database_entries): New function.
35430 (free_defconfig): New function.
35431 (free_mem): Move common code to free_database_entries.
35433 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35435 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35437 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35439 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35440 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35441 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35443 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35444 (INTERNAL_SYSCALL_TYPES): Likewise.
35445 (LOAD_ARGS_TYPES_[1-6]): Likewise.
35446 (LOAD_REGS_TYPES_[1-6]): Likewise.
35447 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35448 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35450 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35452 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35453 copysignl for GLIBC_2_0.
35454 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35455 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35456 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35457 logbl for GLIBC_2_0.
35458 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35459 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35461 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35463 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35464 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35466 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35469 * time/mktime.c: Update copyright years.
35471 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
35473 mktime: merge comment-quoting-style change from gnulib
35474 * time/mktime.c: Quote 'like this' in comments.
35475 The GNU coding standards suggest that we no longer quote `like this',
35476 as "`" and "'" are typically rendered asymmetrically nowadays.
35477 The typical gnulib style is to quote 'like this' when quoting
35478 code, and "like this" when quoting English.
35480 * time/mktime.c (compile-command): Add "-I.".
35482 mktime: merge mktime-internal.h change from gnulib
35483 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35485 mktime: merge time_r change from gnulib
35486 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35488 mktime: merge DEBUG change from gnulib
35489 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35490 case system <time.h> has a #define.
35492 mktime: merge <sys/types.h> change from gnulib
35493 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35494 since <time.t> is now guaranteed to define time_t.
35496 mktime: merge HAVE_CONFIG_H change from gnulib
35497 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35499 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35501 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35504 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35506 (struct rusage): Use anonymous union to pad each field to
35509 2012-05-21 David S. Miller <davem@davemloft.net>
35511 * Makefules (o-iterator): Remove .s cases.
35512 (compile-command.s): Delete.
35513 (COMPILE.s): Delete.
35514 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35516 2012-05-21 Joseph Myers <joseph@codesourcery.com>
35518 * configure.in (libc_cv_predef_stack_protector): Only consider
35519 "foobar" and "__stack_chk_fail" lines in libc_undefs.
35520 * configure: Regenerated.
35522 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35524 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35525 New macro. Use R*LP on int and pointer.
35526 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35527 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35528 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35529 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35531 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35532 [__WORDSIZE_TIME64_COMPAT32] instead of
35533 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35534 (struct utmp): Likewise.
35535 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35536 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35538 (__WORDSIZE_TIME64_COMPAT32): This.
35539 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35540 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35541 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35542 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35543 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35544 (__WORDSIZE_TIME64_COMPAT32): New macro.
35546 2012-05-21 Andreas Jaeger <aj@suse.de>
35548 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35549 only if [SHARED]. Add prototype for __wcschr_ia32.
35551 2012-05-21 Roland McGrath <roland@hack.frob.com>
35553 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35554 of %rbp unmolested in the jmp_buf while mangling the low bits.
35555 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35556 unmolested high bits of %rbp while demangling the low bits.
35557 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35559 2012-05-21 Andreas Jaeger <aj@suse.de>
35561 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35562 * sunrpc/svc_simple.c: Use it for registerrpc.
35563 * sunrpc/xcrypt.c: Use it for passwd2des.
35565 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35567 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35569 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35570 Don't define if [__SYSCALL_WORDSIZE != 32].
35571 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35574 2012-05-21 Bruno Haible <bruno@clisp.org>
35575 Andreas Jaeger <aj@suse.de>
35577 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35578 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35579 inptr and inend for must_buffer_ch.
35580 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35581 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35582 * stdio-common/Makefile (tests): Remove bug15.
35583 (bug15-ENV): Remove macro.
35584 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35587 2012-05-19 Andreas Jaeger <aj@suse.de>
35588 Roland McGrath <roland@hack.frob.com>
35590 * manual/contrib.texi: Completely rewritten. It contains now an
35591 alphabetical list of contributors and their contributions.
35593 2012-05-21 Richard Henderson <rth@twiddle.net>
35595 * misc/getauxval.c (__getauxval): Use unsigned long int.
35596 * misc/sys/auxv.h: Include <sys/cdefs.h>.
35597 (getauxval): Use unsigned long int.
35599 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35601 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35603 2012-05-21 Roland McGrath <roland@hack.frob.com>
35605 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35606 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35607 __alignof__ (long double).
35609 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35613 2012-05-20 Richard Henderson <rth@twiddle.net>
35615 * misc/getauxval.c: New file.
35616 * misc/sys/auxv.h: New file.
35617 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35618 (routines): Add getauxval.
35619 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35620 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35621 * elf/dl-sysdep.c (_dl_auxv): Remove.
35622 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35623 * elf/dl-support.c (_dl_auxv): New variable.
35624 (_dl_aux_init): Initialize it.
35625 * manual/startup.texi (Auxiliary Vector): New node.
35626 * sysdeps/generic/bits/hwcap.h: New file.
35627 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35628 * sysdeps/powerpc/sysdep.h: ... here. Include it.
35629 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35630 * sysdeps/sparc/sysdep.h: ... here. Include it.
35631 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35632 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35638 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35644 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35648 2012-05-19 David S. Miller <davem@davemloft.net>
35650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35652 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35655 * math/s_ccosh.c: Include <float.h>
35656 (__ccosh): Avoid internal overflow calculating sinh and cosh
35657 values before multiplying by sin and cos values.
35658 * math/s_ccoshf.c: Likewise.
35659 * math/s_ccoshl.c: Likewise.
35660 * math/s_csin.c: Likewise.
35661 * math/s_csinf.c: Likewise.
35662 * math/s_csinl.c: Likewise.
35663 * math/s_csinh.c: Likewise.
35664 * math/s_csinhf.c: Likewise.
35665 * math/s_csinhl.c: Likewise.
35666 * math/libm-test.inc (ccos_test): Add more tests.
35667 (ccosh_test): Likewise.
35668 (csin_test): Likewise.
35669 (csinh_test): Likewise.
35670 * sysdeps/i386/fpu/libm-test-ulps: Update.
35671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35673 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35675 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35676 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35678 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35680 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35682 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35683 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35684 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35685 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35686 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35687 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35688 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35689 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35690 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35691 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35692 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35693 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35694 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35695 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35696 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35697 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35698 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35699 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35700 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35701 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35702 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35703 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35704 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35705 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35706 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35707 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35708 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35709 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35710 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35711 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35712 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35714 2012-05-18 Andreas Jaeger <aj@suse.de>
35716 * csu/.gitignore: Delete.
35718 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35720 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35721 (timex): Use __syscall_slong_t.
35723 2012-05-18 Andreas Jaeger <aj@suse.de>
35724 Carlos O'Donell <carlos_odonell@mentor.com>
35726 * manual/install.texi (Configuring and compiling): Update
35727 description about files modified in the source directory.
35728 * INSTALL: Regenerated.
35730 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35732 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35733 value. Use "or" to set return value to -1.
35734 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35735 negate return value.
35737 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35739 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35740 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35741 failure if the compiler has Graphite support disabled.
35742 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35744 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35745 (CFLAGS-memmove.c): Likewise.
35746 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35749 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35751 * sysdeps/x86_64/x32/_itoa.h: New file.
35753 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35754 getdents system call only if kernel and user dirents have the
35755 same d_ino and d_off.
35757 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35758 LLONG_MAX != LONG_MAX.
35759 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35760 (_fitoa_word): Likewise.
35762 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35764 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35765 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35766 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35768 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35769 include <bits/wordsize.h>. Check __x86_64__ instead of
35771 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35772 if __x86_64__ is defined. Use anonymous union on fpstate.
35774 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35777 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35779 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35780 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35781 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35782 Refer to _rtld_local_ro instead of _rtld_global_ro.
35783 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35785 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35787 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35789 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35790 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35791 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35793 * sysdeps/powerpc/powerpc32/dl-machine.c
35794 (__elf_machine_runtime_setup) [PROF]: Don't reference
35797 2012-05-18 Andreas Jaeger <aj@suse.de>
35799 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35800 function only available for GCCs before 3.4 since GCC 3.4
35801 introduced a builtin.
35803 (llrintf): Likewise.
35804 (llrint): Likewise.
35811 (nearbyint): Likewise.
35812 (nearbyintf): Likewise.
35816 (floorf): Likewise.
35818 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35820 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35821 on both fields and cast pointer to __syscall_ulong_t.
35823 * bits/types.h (__fsword_t): New type.
35824 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35825 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35826 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35827 (__FSWORD_T_TYPE): Likewise.
35828 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35829 (__FSWORD_T_TYPE): Likewise.
35830 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35831 (__FSWORD_T_TYPE): Likewise.
35832 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35833 (__FSWORD_T_TYPE): Likewise.
35834 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35835 __SWORD_TYPE with __fsword_t.
35836 (statfs64): Likewise.
35838 2012-05-17 David S. Miller <davem@davemloft.net>
35840 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35842 2012-05-17 Andreas Jaeger <aj@suse.de>
35844 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35847 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35849 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35851 2012-05-17 Andreas Jaeger <aj@suse.de>
35853 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35856 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35858 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35860 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35862 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35863 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35865 2012-05-17 Andreas Jaeger <aj@suse.de>
35866 Carlos O'Donell <carlos_odonell@mentor.com>
35869 * sysdeps/x86_64/multiarch/init-arch.h
35870 (bit_YMM_Usable): Rename to...
35871 (bit_AVX_Usable): ... this.
35872 (bit_FMA4_Usable): New macro.
35873 (bit_XMM_state): New macro.
35874 (bit_YMM_state): New macro.
35875 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35876 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35877 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35878 (CPUID_OSXSAVE): New macro.
35879 (CPUID_AVX): New macro.
35880 (CPUID_FMA4): New macro.
35881 (index_YMM_Usable): Rename to...
35882 (index_AVX_Usable): ... this.
35883 (HAS_AVX): Use HAS_ARCH_FEATURE.
35884 (HAS_FMA4): Likewise.
35885 (HAS_YMM_USABLE): Remove.
35886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35887 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35889 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35890 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35891 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35892 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35893 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35895 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35897 * math/libm-test.c: Support platforms without multiple rounding modes.
35898 * math/bug-nextafter.c: Support platforms without FP exceptions.
35899 * math/bug-nexttoward.c: Likewise.
35900 * math/test-fenv.c: Likewise.
35901 * math/test-misc.c: Likewise.
35902 * stdlib/bug-getcontext.c: Likewise.
35904 2012-05-17 Andreas Jaeger <aj@suse.de>
35906 * manual/examples/search.c (critter_cmp): Change signature to
35908 * manual/string.texi (Collation Functions): Likewise.
35910 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35912 * bits/types.h: Fold copyright years.
35913 * bits/typesizes.h: Likewise.
35914 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35915 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35916 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35917 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35918 * time/time.h: Likewise.
35920 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35923 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35924 in instead of returning them. Return void.
35925 (__libc_mallinfo): Accumulate over all arenas.
35926 (__malloc_stats): Adjust for change in int_mallinfo interface.
35928 2012-05-16 Roland McGrath <roland@hack.frob.com>
35931 * configure.in (NM): Add AC_CHECK_TOOL for it.
35932 (libc_extra_cflags): New substituted variable.
35933 Check for -fstack-protector being used implicitly.
35934 * configure: Regenerated.
35935 * config.make.in (config-extra-cflags): New variable,
35936 gets @libc_extra_cflags@.
35937 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35940 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35941 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35942 * configure: Regenerated.
35943 * config.make.in (CPPUNDEFS): New substituted variable.
35944 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35945 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35946 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35948 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35950 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35951 (mq_attr): Use __syscall_slong_t.
35953 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35955 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35956 Check __x86_64__ instead of __WORDSIZE.
35957 (_STAT_VER_LINUX): Likewise.
35958 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35959 __syscall_ulong_t and __syscall_slong_t.
35960 (stat64): Likewise.
35962 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35964 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35966 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35968 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35970 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35972 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35975 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35976 include <bits/wordsize.h>. Check __x86_64__ instead of
35978 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35980 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35982 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35983 include <bits/wordsize.h>. Check __x86_64__ instead of
35985 (user_regs_struct): Use "__extension__ unsigned long long"
35986 instead of "unsigned long" if __x86_64__ is defined.
35987 (user): Likewise. Pad after pointer field if __ILP32__ is
35990 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35992 * configure.in (makeinfo): Require version 4.5 or later. Allow
35994 * configure: Regenerated.
35995 * manual/install.texi (texinfo): Increase version requirement to
35997 * INSTALL: Regenerated.
35999 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36001 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36003 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36005 * sysdeps/x86_64/x32/ffs.c: New file.
36007 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36009 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36010 defined. Use __syscall_ulong_t.
36011 (shminfo): Use __syscall_ulong_t.
36012 (shm_info): Likewise.
36014 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36017 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36019 (msgqnum_t): Use __syscall_ulong_t.
36020 (msglen_t): Likewise.
36021 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
36024 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36025 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36027 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36029 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36030 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36032 * sysvipc/sys/msg.h (msgbuf): Replace long int with
36035 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36036 include <bits/wordsize.h>. Check __x86_64__ instead of
36039 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36040 "unsigned long long int" if __x86_64__ is defined.
36041 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36043 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36044 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36045 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36047 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36049 (GET_PC): Cast to uintptr_t first.
36050 (GET_FRAME): Likewise.
36051 (GET_STACK): Likewise.
36053 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36054 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36055 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36056 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36057 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36058 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36059 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36060 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36061 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36062 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36063 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36064 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36065 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36066 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36067 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36068 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36069 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36070 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36071 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36072 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36073 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36074 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36075 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36076 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36077 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36078 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36079 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36080 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36081 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36083 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
36085 * Makerules (+depfiles): Also collect depfiles from .oS in
36087 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36088 .oS, $(libnldbl-routines)).
36090 * Makerules (native-compile-mkdep-flags): Define.
36091 * sunrpc/Makefile (extra-objs): Add $(addprefix
36092 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36093 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36094 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
36095 calling $(make-target-directory).
36097 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36099 * bits/types.h (__snseconds_t): Removed.
36100 * time/time.h (struct timespec): Replace __snseconds_t with
36102 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36103 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36105 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36106 (__SNSECONDS_T_TYPE): Likewise.
36107 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36108 (__SNSECONDS_T_TYPE): Likewise.
36109 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36110 (__SNSECONDS_T_TYPE): Likewise.
36112 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36114 * sysdeps/mach/hurd/bits/typesizes.h
36115 (__SYSCALL_SLONG_TYPE): New macro.
36116 (__SYSCALL_ULONG_TYPE): Likewise.
36118 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36120 * bits/types.h (__syscall_slong_t): New type.
36121 (__syscall_ulong_t): Likewise.
36123 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36124 (__SYSCALL_ULONG_TYPE): Likewise.
36125 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36126 (__SYSCALL_SLONG_TYPE): Likewise.
36127 (__SYSCALL_ULONG_TYPE): Likewise.
36128 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36129 (__SYSCALL_SLONG_TYPE): Likewise.
36130 (__SYSCALL_ULONG_TYPE): Likewise.
36131 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36132 (__SYSCALL_SLONG_TYPE): Likewise.
36133 (__SYSCALL_ULONG_TYPE): Likewise.
36135 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36137 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36138 Add sigaltstack-offsets.sym.
36139 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36140 <sigaltstack-offsets.h>.
36141 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
36142 longjmp_msg pointer.
36143 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
36144 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36146 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36148 2012-05-15 Joseph Myers <joseph@codesourcery.com>
36150 * elf/stackguard-macros.h: Remove file.
36151 * sysdeps/generic/stackguard-macros.h: New file.
36152 * sysdeps/i386/stackguard-macros.h: Likewise.
36153 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36154 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36155 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36156 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36157 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36158 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36159 * sysdeps/x86_64/stackguard-macros.h: Likewise.
36160 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36161 <elf/stackguard-macros.h>.
36164 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36165 __aligned__ in attribute.
36166 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36167 (gregset_t): Likewise.
36169 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36171 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36172 * sysdeps/x86_64/64/Implies-after: Here. New file.
36173 * sysdeps/x86_64/x32/Implies-after: New file.
36175 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36177 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36178 and access return value for _dl_profile_fixup. Use R10_LP to
36181 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36183 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36185 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36187 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36188 * sysdeps/x86_64/x32/sysdep.h: New file.
36190 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36192 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36193 * sysdeps/x86_64/setjmp.S: Likewise.
36195 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36197 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36198 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36199 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36200 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36201 remove unused global constant.
36203 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
36205 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36206 include of <not-cancel.h>.
36208 2012-05-15 Roland McGrath <roland@hack.frob.com>
36210 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36212 2012-05-15 Jeff Law <law@redhat.com>
36213 Andreas Jaeger <aj@suse.de>
36216 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36218 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36219 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36220 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36221 code changing __hst_map_handle.map.
36223 2012-05-15 Roland McGrath <roland@hack.frob.com>
36225 * configure.in (sysnames): Look for Implies-before and Implies-after
36227 * configure: Regenerated.
36229 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36231 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36232 8-byte data alignment with LP_SIZE alignment.
36234 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36236 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36239 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36241 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36243 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36245 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36246 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36247 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36249 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36251 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36253 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36254 (stackinfo_sub_sp): Likewise.
36256 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36258 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36261 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36263 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36266 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36268 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36271 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36273 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36275 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36277 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36278 into R11_LP and load __x86_64_shared_cache_size_half into
36281 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36283 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36286 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36288 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36290 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36292 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36294 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36295 powerpc32/power7/fpu/s_logb.c via #include.
36296 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36297 powerpc32/power7/fpu/s_logbf.c via #include.
36298 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36299 powerpc32/power7/fpu/s_logbl.c via #include.
36301 2012-05-15 Joseph Myers <joseph@codesourcery.com>
36303 * README.libm: Remove file.
36305 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36307 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36308 count for x32. Use R*_LP and omit operand-size suffix.
36310 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36312 * shlib-versions: Move x86_64-.*-linux.* entries to ...
36313 * sysdeps/x86_64/64/shlib-versions: Here. New file.
36314 * sysdeps/x86_64/x32/shlib-versions: New file.
36316 2012-05-14 Roland McGrath <roland@hack.frob.com>
36318 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36319 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36320 Use _dl_fatal_printf instead.
36322 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36324 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36325 set if not set by the user. Do not allow for being unset.
36326 * sysdeps/unix/sysv/linux/configure: Regenerated.
36328 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36330 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36331 the `q' suffix from lea and replace .quad with ASM_ADDR.
36333 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36335 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36336 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
36338 (PTR_DEMANGLE): Likewise.
36340 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36342 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36344 (ASM_ADDR): Likewise.
36345 (RAX_LP): Likewise.
36346 (RBP_LP): Likewise.
36347 (RBX_LP): Likewise.
36348 (RCX_LP): Likewise.
36349 (RDI_LP): Likewise.
36350 (RSI_LP): Likewise.
36351 (RSP_LP): Likewise.
36354 (R10_LP): Likewise.
36355 (R10_LP): Likewise.
36356 (R11_LP): Likewise.
36357 (R12_LP): Likewise.
36358 (R13_LP): Likewise.
36359 (R14_LP): Likewise.
36360 (R15_LP): Likewise.
36362 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36364 * sysdeps/x86_64/x32/dl-machine.h: New file.
36366 2012-05-14 Andreas Jaeger <aj@suse.de>
36368 * manual/Makefile (subdir): Remove export of subdir.
36369 (all): Remove target.
36370 (.PHONY): Remove all from list.
36371 (mkinstalldirs): Remove.
36372 (.PHONY): Remove installdirs from list.
36373 ($(inst_infodir)/libc.info): Use make-target-directory.
36374 (installdirs): Remove.
36375 (subdir_%): Remove.
36376 (glibc-targets): Remove.
36379 ($(objpfx)stubs ../po/manual.pot): Remove.
36380 ($(objpfx)stamp%): Remove.
36381 (make-target-directory): Remove.
36382 (subdir_install): Remove.
36383 (routines): Remove.
36390 * manual/.gitignore: Remove, it's not needed anymore.
36391 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36393 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36395 (texis): Renamed to $(objpfx)texis.
36396 (texis-path): New, contains path to generated files.
36397 (chapters.%): Use texis-path for complete path, add extra argument
36399 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36400 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36401 (summary,texi, stamp-summary): Use complete path of
36402 files. Generate files in build dir.
36403 (dir-add.texi): Build in build dir.
36404 (libm-err.texi,stamp-libm-err): Likewise.
36405 (version.texi, stamp-version): Likewise.
36406 (.%c.texi): Likewise.
36407 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36408 (mostlyclean): Remove target.
36409 (realclean): Remove target.
36410 (generated): Add new variable with contents from mostlyclean and
36411 realclean, remove entries duplicated in common-mostlyclean, add
36412 stamp-libm-err and stamp-version.
36413 (generated-dirs): Add libc directory.
36414 ($(inst_infodir)/libc.info): Install files from build dir.
36416 * manual/install.texi (Configuring and compiling): Adjust since
36417 the info files are not part of the tar ball anymore.
36419 2012-05-14 Andreas Jaeger <aj@suse.de>
36421 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36424 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36427 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36428 to 2.2.0 where earlier.
36429 * sysdeps/unix/sysv/linux/configure: Regenerated.
36430 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36431 Remove conditional code.
36432 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36433 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36434 Remove conditional code.
36435 [!__NR_lchown]: Likewise.
36436 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36437 [__NR_lchown]: Likewise.
36438 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36439 comment referencing __ASSUME_LCHOWN_SYSCALL.
36440 * sysdeps/unix/sysv/linux/i386/sigaction.c
36441 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36442 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36443 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36444 Remove conditional code.
36445 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36446 (__protocol_available): Remove #if 0 code.
36447 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36449 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36450 * sysdeps/unix/sysv/linux/kernel-features.h
36451 (__ASSUME_GETCWD_SYSCALL): Don't define.
36452 (__ASSUME_REALTIME_SIGNALS): Likewise.
36453 (__ASSUME_PREAD_SYSCALL): Likewise.
36454 (__ASSUME_PWRITE_SYSCALL): Likewise.
36455 (__ASSUME_POLL_SYSCALL): Likewise.
36456 (__ASSUME_LCHOWN_SYSCALL): Likewise.
36457 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36459 (__ASSUME_SIOCGIFNAME): Don't define.
36460 (__ASSUME_MSG_NOSIGNAL): Likewise.
36461 (__ASSUME_SENDFILE): Define unconditionally.
36462 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36463 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36465 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36466 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36467 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36468 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36469 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36470 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36471 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36473 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36474 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36476 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36477 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36479 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36480 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36482 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36483 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36485 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36486 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36488 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36489 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36491 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36492 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36494 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36495 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36496 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36497 Remove conditional code.
36498 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36499 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36500 Remove conditional code.
36501 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36502 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36503 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36504 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36505 Remove conditional code.
36506 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36507 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36508 Remove conditional code.
36509 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36510 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36511 Remove conditional code.
36512 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36513 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36514 Remove conditional code.
36515 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36516 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36517 Remove conditional code.
36518 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36519 * sysdeps/unix/sysv/linux/sh/pwrite64.c
36520 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36521 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36522 * sysdeps/unix/sysv/linux/sigaction.c
36523 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36524 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36525 * sysdeps/unix/sysv/linux/sigpending.c
36526 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36527 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36528 * sysdeps/unix/sysv/linux/sigprocmask.c
36529 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36530 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36531 * sysdeps/unix/sysv/linux/sigsuspend.c
36532 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36533 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36534 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36535 (__libc_missing_rt_sigs): Remove.
36536 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36537 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36538 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36539 Remove conditional code.
36540 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36541 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36543 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36544 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36545 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36546 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36548 2012-05-14 Andreas Jaeger <aj@suse.de>
36550 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36551 it's not used in glibc.
36552 (__coshm1): Likewise.
36553 (__acosh1p): Likewise.
36556 * manual/string.texi (Copying and Concatenation): Add missing
36557 variable in concat example.
36558 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36560 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36563 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36564 __builtin_clzl with __builtin_clzll.
36566 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36569 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36572 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36574 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36575 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36576 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36577 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36579 2012-05-14 Mike Frysinger <vapier@gentoo.org>
36581 * NEWS: Update ia64 info.
36583 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
36585 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36588 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
36590 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36591 * sysdeps/unix/syscalls.list (dup3): Likewise.
36592 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36593 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36595 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36597 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36598 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36600 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36602 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36604 (TLS_IE): Use mov/add instead of movq/addq to load thread
36606 (TLS_GD_PREFIX): New.
36609 2012-05-11 David S. Miller <davem@davemloft.net>
36611 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36612 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36613 (_FPU_SETCW): Likewise.
36615 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36617 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36618 is 32-byte aligned.
36620 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
36623 * iconvdata/gb18030.c: Update tables.
36624 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
36625 characters specially.
36626 (BODY for TO_LOOP): Add encoding of missing ranges.
36628 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
36631 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36632 * sysdeps/mach/hurd/dup3.c: Likewise.
36633 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36634 * sysdeps/powerpc/memmove.c:: Likewise.
36636 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36638 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36639 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36641 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36643 * elf/elf.h (R_X86_64_RELATIVE64): New.
36644 (R_X86_64_NUM): Updated.
36645 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36646 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36647 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36648 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36649 tst-quad1pie tst-quad2pie
36650 (modules-names): Add tst-quadmod1 tst-quadmod2.
36651 ($(objpfx)tst-quad1): New dependency.
36652 ($(objpfx)tst-quad2): Likewise.
36653 ($(objpfx)tst-quad1pie): Likewise.
36654 ($(objpfx)tst-quad2pie): Likewise.
36655 * sysdeps/x86_64/tst-quad1.c: New file.
36656 * sysdeps/x86_64/tst-quad1pie.c: New file.
36657 * sysdeps/x86_64/tst-quad2.c: Likewise.
36658 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36659 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36660 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36661 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36662 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36664 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36666 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36667 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36668 * streams/stropts.h (t_scalar_t): Define type.
36670 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36671 (_PATH_PRESERVE): Set to "/var/lib".
36672 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36674 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36677 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36678 if __dir_mkfile succeeded.
36680 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36681 checking for _hurd_dtablesize. Unlock it right after having
36682 finished _hurd_dtable allocation.
36684 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36686 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36687 * sysdeps/mach/hurd/configure: Regenerated.
36688 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36689 special-casing to...
36690 * sysdeps/gnu/configure.in: ... this new file.
36691 * sysdeps/unix/sysv/linux/configure: Regenerated.
36692 * sysdeps/gnu/configure: New generated file.
36694 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36695 for Linux: use nsec instead of usec, as well as:
36696 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36697 members of type struct timespec.
36698 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36700 (struct stat64): Likewise.
36701 (_STATBUF_ST_NSEC): New macro.
36702 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36704 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36705 __strtoul_internal rather than strtoul.
36707 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36709 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36712 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36714 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36715 which preserves existing values.
36716 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36718 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36720 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36721 TIMEOUT values. Return EINVAL for NFDS values either negative or
36722 greater than FD_SETSIZE.
36724 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36726 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36727 allocated, call __vm_protect to finish enabling the existing space, and
36728 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36729 allocate the remainder.
36731 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36733 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36734 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36736 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36738 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36739 sysdeps/mach/hurd/readlink.c.
36741 * posix/tst-sysconf.c (posix_options): Only use
36742 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36743 _POSIX_SYNCHRONIZED_IO when they are defined
36744 * sysdeps/mach/hurd/bits/posix_opt.h:
36745 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36746 (_XOPEN_REALTIME): Undefine macro.
36747 (_XOPEN_REALTIME_THREADS): Undefine macro.
36748 (_XOPEN_SHM): Undefine macro.
36749 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36751 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36753 (_POSIX_ASYNC_IO): Undefine macro.
36754 (_POSIX_PRIORITIZED_IO): Undefine macro.
36755 (_POSIX_SPIN_LOCKS): Define macro to -1.
36757 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36758 SA_NODEFER, SA_RESETHAND.
36759 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36760 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36763 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36765 * elf/Makefile (pldd-modules): Define unconditionally.
36767 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36769 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36771 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36773 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36774 Return ENOENT when name is empty.
36775 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36777 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36779 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36781 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36783 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36785 Fix mlock in all cases except non-readable pages.
36786 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36787 instead of VM_PROT_ALL as parameter to __vm_wire function.
36789 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36790 (__mkdir): When path is `/', just fail with EEXIST.
36791 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36793 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36795 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36796 <sys/uio.h> (for writev).
36797 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36798 and <sys/param.h> (for MIN).
36800 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36802 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36803 REQUESTED_TIME. Properly set the remaining time and return EINTR
36806 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36808 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36809 Depend on against $(link-rpcuserlibs).
36811 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36813 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36814 (__libc_stack_end): Do not use attribute_relro.
36815 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36816 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36817 to libthread-provided value.
36818 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36821 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36824 * bits/libc-lock.h (__libc_once_get): New macro.
36825 * sysdeps/mach/bits/libc-lock.h: Likewise.
36826 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36827 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36828 instead of using implementation details.
36830 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36831 * libio/freopen.c: Likewise.
36832 * libio/freopen64.c: Likewise.
36833 * misc/syslog.c: Likewise.
36834 * nscd/connections.c: Likewise.
36835 * nscd/netgroupcache.c: Likewise.
36836 * sysdeps/posix/getcwd.c: Likewise.
36838 2012-05-10 Roland McGrath <roland@hack.frob.com>
36840 * math/w_ilogbf.c: Add #include <limits.h>.
36842 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36844 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36845 path instead of returning without unlocking.
36847 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36848 immediate-write ioctls.
36849 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36851 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36853 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36854 __builtin_frame_address instead of making assumptions about the
36855 location of the return address relative to DATA. Force early load of
36856 the return address.
36857 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36858 __builtin_frame_address.
36861 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36862 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36863 implement dup3 and do some further code clean-ups.
36864 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36865 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36867 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36869 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36871 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36872 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36873 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36874 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36875 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36878 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36879 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36880 when handler == SIG_ERR, not when handler != SIG_ERR.
36882 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36884 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36885 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36888 accept4 for GNU Hurd.
36889 * include/sys/socket.h (__libc_accept4): New prototype.
36890 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36891 to implement __libc_accept4.
36892 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36894 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36896 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36897 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36898 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36899 signal-defines.sym.
36901 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36903 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36905 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36907 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36908 assertion on O_CLOEXEC flag.
36909 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36910 * hurd/intern-fd.c: Likewise.
36911 * hurd/port2fd.c: Likewise.
36913 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36916 * bits/in.h (IPV6_PKTINFO): Define new macro.
36917 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36919 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36924 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36925 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36926 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36927 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36928 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36929 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36930 * math/libm-test.inc (logb_test) : Additional logb tests.
36932 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36933 Andreas Jaeger <aj@suse.de>
36935 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36936 * configure: Regenerated.
36937 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36938 * config.make.in (link-obsolete-rpc): New substituted variable.
36939 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36940 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36941 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36942 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36943 so that libc.a contains the symbols.
36944 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36945 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36946 * sunrpc/auth_none.c: Likewise.
36947 * sunrpc/auth_unix.c: Likewise.
36948 * sunrpc/authdes_prot.c: Likewise.
36949 * sunrpc/authuxprot.c: Likewise.
36950 * sunrpc/clnt_gen.c: Likewise.
36951 * sunrpc/clnt_perr.c: Likewise.
36952 * sunrpc/clnt_raw.c: Likewise.
36953 * sunrpc/clnt_simp.c: Likewise.
36954 * sunrpc/clnt_tcp.c: Likewise.
36955 * sunrpc/clnt_udp.c: Likewise.
36956 * sunrpc/clnt_unix.c: Likewise.
36957 * sunrpc/des_crypt.c: Likewise.
36958 * sunrpc/des_soft.c: Likewise.
36959 * sunrpc/get_myaddr.c: Likewise.
36960 * sunrpc/key_call.c: Likewise.
36961 * sunrpc/key_prot.c: Likewise.
36962 * sunrpc/netname.c: Likewise.
36963 * sunrpc/pm_getmaps.c: Likewise.
36964 * sunrpc/pm_getport.c: Likewise.
36965 * sunrpc/pmap_clnt.c: Likewise.
36966 * sunrpc/pmap_prot.c: Likewise.
36967 * sunrpc/pmap_prot2.c: Likewise.
36968 * sunrpc/pmap_rmt.c: Likewise.
36969 * sunrpc/publickey.c: Likewise.
36970 * sunrpc/rpc_cmsg.c: Likewise.
36971 * sunrpc/rpc_common.c: Likewise.
36972 * sunrpc/rpc_dtable.c: Likewise.
36973 * sunrpc/rpc_prot.c: Likewise.
36974 * sunrpc/rpc_thread.c: Likewise.
36975 * sunrpc/rtime.c: Likewise.
36976 * sunrpc/svc.c: Likewise.
36977 * sunrpc/svc_auth.c: Likewise.
36978 * sunrpc/svc_raw.c: Likewise.
36979 * sunrpc/svc_run.c: Likewise.
36980 * sunrpc/svc_tcp.c: Likewise.
36981 * sunrpc/svc_udp.c: Likewise.
36982 * sunrpc/svc_unix.c: Likewise.
36983 * sunrpc/svcauth_des.c: Likewise.
36984 * sunrpc/xcrypt.c: Likewise.
36985 * sunrpc/xdr.c: Likewise.
36986 * sunrpc/xdr_array.c: Likewise.
36987 * sunrpc/xdr_float.c: Likewise.
36988 * sunrpc/xdr_intXX_t.c: Likewise.
36989 * sunrpc/xdr_mem.c: Likewise.
36990 * sunrpc/xdr_rec.c: Likewise.
36991 * sunrpc/xdr_ref.c: Likewise.
36992 * sunrpc/xdr_sizeof.c: Likewise.
36993 * sunrpc/xdr_stdio.c: Likewise.
36995 2012-05-10 Roland McGrath <roland@hack.frob.com>
36997 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36998 change. Update copyright years.
37000 2012-05-10 Joseph Myers <joseph@codesourcery.com>
37002 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37004 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
37005 Joseph Myers <joseph@codesourcery.com>
37006 Paul Pluzhnikov <ppluzhnikov@google.com>
37009 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37011 [cross-compiling] (extra-libs): Likewise.
37012 [cross-compiling] (extra-libs-others): Likewise.
37013 [cross-compiling] (librpcsvc-routines): Likewise.
37014 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37015 [cross-compiling] (omit-deps): Likewise.
37016 (sunrpc-CPPFLAGS): New variable.
37017 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37018 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37019 (cross-rpcgen-objs): New variable.
37020 (extra-objs): Append $(cross-rpcgen-objs).
37021 ($(cross-rpcgen-objs)): New rule.
37022 ($(objpfx)cross-rpcgen): Likewise.
37023 (rpcgen-cmd): Define to use $(built-program-file). Expand
37025 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37026 ($(objpfx)x%.stmp): Likewise.
37027 * sunrpc/proto.h [IS_IN_build] (_): Define.
37028 [IS_IN_build] (_libc_intl_domainname): Likewise.
37030 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37032 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37033 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37034 and R_X86_64_TPOFF64.
37036 2012-05-10 Joseph Myers <joseph@codesourcery.com>
37038 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37039 sysdeps/unix/sysv/syscalls.list.
37042 * sysdeps/unix/sysv/syscalls.list: Remove file.
37044 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
37047 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37048 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37049 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37050 (__LC_IDENTIFICATION): Make these macros useful in #if
37051 expressions, as required by C99.
37053 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
37055 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37056 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
37059 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
37061 * stdlib/longlong.h: Updated from GCC.
37063 2012-05-09 Andreas Jaeger <aj@suse.de>
37065 * nscd/nscd.c (run_modes): Make named enum, reorder so that
37066 default is first entry.
37067 (run_mode): Set type.
37068 (main): Remove informal message about syslog.
37069 (options): Fix typo.
37072 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37075 (llrintf): Likewise.
37076 (llrint): Likewise.
37079 (nearbyint): Likewise.
37080 (nearbyintf): Likewise.
37082 2012-05-09 Andreas Jaeger <aj@suse.de>
37083 Pedro Alves <palves@redhat.com>
37085 * nscd/nscd.c (run_mode): Use enum.
37086 (main): Cleanup coding style issue.
37088 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
37089 Andreas Jaeger <aj@suse.de>
37091 * nscd/nscd.c (go_background): Replaced with...
37092 (run_mode): ... this.
37093 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37094 (options): Add -F --foreground.
37095 (main): Implement it.
37096 (parse_opt): Parse it.
37098 2012-05-09 Andreas Jaeger <aj@suse.de>
37101 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37102 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37103 -Wconversion warning.
37104 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37107 2012-05-09 Joseph Myers <joseph@codesourcery.com>
37109 * conform/data/locale.h-data (NULL): Use macro-constant. Require
37111 (LC_ALL): Use macro-int-constant.
37112 (LC_COLLATE): Likewise.
37113 (LC_CTYPE): Likewise.
37114 (LC_MESSAGES): Likewise.
37115 (LC_MONETARY): Likewise.
37116 (LC_NUMERIC): Likewise.
37117 (LC_TIME): Likewise.
37118 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37119 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37120 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37121 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37123 [C99-based standards] (float_t): Expect type.
37124 [C99-based standards] (double_t): Expect type.
37125 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
37127 [C99-based standards] (HUGE_VALL): Likewise.
37128 [C99-based standards] (INFINITY): Likewise.
37129 [C99-based standards] (NAN): Likewise.
37130 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37131 [C99-based standards] (FP_NAN): Likewise.
37132 [C99-based standards] (FP_NORMAL): Likewise.
37133 [C99-based standards] (FP_SUBNORMAL): Likewise.
37134 [C99-based standards] (FP_ZERO): Likewise.
37135 [C99-based standards] (FP_FAST_FMA): Use
37136 optional-macro-int-constant. Specify type. Require == 1.
37137 [C99-based standards] (FP_FAST_FMAF): Likewise.
37138 [C99-based standards] (FP_FAST_FMAL): Likewise.
37139 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37140 [C99-based standards] (FP_ILOGBNAN): Likewise.
37141 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37143 [C99-based standards] (MATH_ERREXCEPT): Likewise.
37144 [C99-based standards] (math_errhandling): Specify type.
37145 [ISO99 || ISO11] (signgam): Do not allow.
37146 [non-C99-based standards] (copysignf): Do not allow.
37147 [non-C99-based standards] (exp2f): Likewise.
37148 [non-C99-based standards] (log2f): Likewise.
37149 [non-C99-based standards] (modff): Allow.
37150 [non-C99-based standards] (erff): Do not allow.
37151 [non-C99-based standards] (erfcf): Likewise.
37152 [non-C99-based standards] (gammaf): Likewise.
37153 [non-C99-based standards] (hypotf): Likewise.
37154 [non-C99-based standards] (j0f): Likewise.
37155 [non-C99-based standards] (j1f): Likewise.
37156 [non-C99-based standards] (jnf): Likewise.
37157 [non-C99-based standards] (lgammaf): Likewise.
37158 [non-C99-based standards] (tgammaf): Likewise.
37159 [non-C99-based standards] (y0f): Likewise.
37160 [non-C99-based standards] (y1f): Likewise.
37161 [non-C99-based standards] (ynf): Likewise.
37162 [non-C99-based standards] (isnanf): Likewise.
37163 [non-C99-based standards] (acoshf): Likewise.
37164 [non-C99-based standards] (asinhf): Likewise.
37165 [non-C99-based standards] (atanhf): Likewise.
37166 [non-C99-based standards] (cbrtf): Likewise.
37167 [non-C99-based standards] (expm1f): Likewise.
37168 [non-C99-based standards] (ilogbf): Likewise.
37169 [non-C99-based standards] (log1pf): Likewise.
37170 [non-C99-based standards] (logbf): Likewise.
37171 [non-C99-based standards] (nextafterf): Likewise.
37172 [non-C99-based standards] (remainderf): Likewise.
37173 [non-C99-based standards] (rintf): Likewise.
37174 [non-C99-based standards] (scalbf): Likewise.
37175 [non-C99-based standards] (copysignl): Likewise.
37176 [non-C99-based standards] (exp2l): Likewise.
37177 [non-C99-based standards] (log2l): Likewise.
37178 [non-C99-based standards] (modfl): Allow.
37179 [non-C99-based standards] (erfl): Do not allow.
37180 [non-C99-based standards] (erfcl): Likewise.
37181 [non-C99-based standards] (gammal): Likewise.
37182 [non-C99-based standards] (hypotl): Likewise.
37183 [non-C99-based standards] (j0l): Likewise.
37184 [non-C99-based standards] (j1l): Likewise.
37185 [non-C99-based standards] (jnl): Likewise.
37186 [non-C99-based standards] (lgammal): Likewise.
37187 [non-C99-based standards] (tgammal): Likewise.
37188 [non-C99-based standards] (y0l): Likewise.
37189 [non-C99-based standards] (y1l): Likewise.
37190 [non-C99-based standards] (ynl): Likewise.
37191 [non-C99-based standards] (isnanl): Likewise.
37192 [non-C99-based standards] (acoshl): Likewise.
37193 [non-C99-based standards] (asinhl): Likewise.
37194 [non-C99-based standards] (atanhl): Likewise.
37195 [non-C99-based standards] (cbrtl): Likewise.
37196 [non-C99-based standards] (expm1l): Likewise.
37197 [non-C99-based standards] (ilogbl): Likewise.
37198 [non-C99-based standards] (log1pl): Likewise.
37199 [non-C99-based standards] (logbl): Likewise.
37200 [non-C99-based standards] (nextafterl): Likewise.
37201 [non-C99-based standards] (remainderl): Likewise.
37202 [non-C99-based standards] (rintl): Likewise.
37203 [non-C99-based standards] (scalbl): Likewise.
37204 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37205 [non-C99-based standards] (FP_*): Do not allow.
37206 [C99-based standards] (FP_*): Change to
37207 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37208 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37210 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37211 (SIG_ERR): Likewise.
37212 [X/Open-based standards] (SIG_HOLD): Likewise.
37213 (SIG_IGN): Likewise.
37214 (SIGABRT): Use macro-int-constant. Specify type. Require
37216 (SIGFPE): Likewise.
37217 (SIGILL): Likewise.
37218 (SIGINT): Likewise.
37219 (SIGSEGV): Likewise.
37220 (SIGTER): Likewise.
37221 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37222 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37223 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37224 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37225 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37226 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37227 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37228 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37229 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37230 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37231 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37232 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37233 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37234 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37235 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37236 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37237 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37238 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37239 [X/Open-based standards] (SIGTRAP): Likewise.
37240 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37241 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37242 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37243 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37244 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37247 2012-05-08 Ian Wienand <ianw@vmware.com>
37250 * time/tzset.c (__tzset_parse_tz): Update default rules for
37251 daylight time changes in the Energy Policy Act of 2005.
37253 2012-05-09 Andreas Jaeger <aj@suse.de>
37256 * elf/ldconfig.c (parse_conf): Change string to make clear that
37257 ldconfig only issued a warning if ld.so.conf does not exist.
37259 2012-05-08 David S. Miller <davem@davemloft.net>
37261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37262 movxtod instead of popping the value on the stack.
37264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37266 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
37268 * config.h.in: Add HAVE_ARM_PCS_VFP.
37270 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
37273 * include/features.h: Warn if user requests __FORTIFY_SOURCE
37274 checking but the checks are disabled for any reason.
37276 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
37278 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37279 and ELF64_R_TYPE with ELFW(R_TYPE).
37281 2012-05-08 Joseph Myers <joseph@codesourcery.com>
37283 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37284 (ulimit): Likewise.
37286 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37287 (settimeofday): Likewise.
37289 2012-05-08 Mike Frysinger <vapier@gentoo.org>
37291 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
37292 a struct th_u2 inside the union, and move tu_block/tu_code into
37293 a new th_u3 union of tu_block/tu_code inside of that. Move
37294 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
37295 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
37296 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37297 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37298 (th_stuff): Change to th_u1.tu_stuff.
37300 (th_msg): Change to th_u1.th_u2.tu_data.
37302 2012-05-07 David S. Miller <davem@davemloft.net>
37304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37307 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37308 (SETUP_PIC_REG): Use it.
37309 (SETUP_PIC_REG_LEAF): Use it.
37311 2012-05-07 Joseph Myers <joseph@codesourcery.com>
37315 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37317 (EXPL_FINITE): Likewise.
37318 (FLDLOG): Likewise.
37319 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37320 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37322 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37324 (EXPL_FINITE): Likewise.
37325 (FLDLOG): Likewise.
37326 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37327 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37329 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
37330 test of -max_value argument for long double.
37331 * sysdeps/i386/fpu/libm-test-ulps: Update.
37332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37334 2012-05-06 David S. Miller <davem@davemloft.net>
37336 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37337 quad soft-float symbols whose references which are compiler
37339 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37341 2012-05-06 Joseph Myers <joseph@codesourcery.com>
37345 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37347 (EXPL_FINITE): Likewise.
37348 (FLDLOG): Likewise.
37351 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37352 Adjust comments for base varying.
37353 (__expl_finite): Change alias to EXPL_FINITE.
37354 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37356 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37357 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37358 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37359 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37360 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37362 (EXPL_FINITE): Likewise.
37363 (FLDLOG): Likewise.
37366 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37367 Adjust comments for base varying.
37368 (__expl_finite): Change alias to EXPL_FINITE.
37369 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
37371 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37374 * math/libm-test.inc (check_float_internal): Correct ulp
37375 calculation for subnormal expected results.
37377 2012-05-06 Andreas Jaeger <aj@suse.de>
37379 * Makeconfig (+math-flags): New, set to -frounding-math.
37380 (+cflags): Add +math-flags so that all of glibc gets compiled with
37383 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37385 2012-05-05 Joseph Myers <joseph@codesourcery.com>
37387 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37393 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37394 (__ieee754_expl): Allow for and saturate large arguments.
37395 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37396 (u_threshold): Likewise.
37397 (__exp): Call __ieee754_exp before checking for overflow and
37399 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37400 (u_threshold): Likewise.
37401 (__expf): Call __ieee754_expf before checking for overflow and
37403 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37404 (u_threshold): Likewise.
37405 (__expl): Call __ieee754_expl before checking for overflow and
37407 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37408 (__ieee754_expl): Allow for and saturate large arguments.
37409 * math/libm-test.inc (exp_test): Add another test. Do not allow
37410 missing overflow exception on overflow.
37411 (expm1_test): Do not allow missing overflow exception on overflow.
37413 * sysdeps/i386/fpu/e_expl.c: Move to ...
37414 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
37415 rather than using inline asm.
37416 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37417 * sysdeps/x86_64/fpu/e_expl.S: Copy from
37418 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37420 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37423 (signal): Likewise.
37427 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37429 * sysdeps/unix/syscalls.list (adjtime): Add entry from
37430 sysdeps/unix/common/syscalls.list.
37431 (fchmod): Likewise.
37432 (fchown): Likewise.
37433 (ftruncate): Likewise.
37434 (getrusage): Likewise.
37435 (gettimeofday): Likewise.
37436 (setpgid): Likewise.
37437 (setregid): Likewise.
37438 (setreuid): Likewise.
37439 (sigaction): Likewise.
37440 (truncate): Likewise.
37441 (vhangup): Likewise.
37442 * sysdeps/unix/common/syscalls.list: Remove file.
37443 * sysdeps/unix/bsd/Implies: Don't include unix/common.
37444 * sysdeps/unix/sysv/linux/Implies: Likewise.
37446 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
37448 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37450 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37452 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37454 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37457 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37460 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37463 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37466 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37469 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37472 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37476 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37480 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37483 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37487 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37491 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37493 * sysdeps/unix/common/bits/dirent.h: Remove file.
37494 * sysdeps/unix/common/bits/fcntl.h: Likewise.
37496 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37497 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37498 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37499 * sysdeps/unix/bsd/isatty.c: Likewise.
37500 * sysdeps/unix/bsd/tcdrain.c: Likewise.
37501 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37502 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37504 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37507 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37508 long double comparison inaccuracies.
37509 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37512 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
37514 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37515 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37517 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37520 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37521 nonzero digits before rounding a hex value.
37522 * stdlib/tst-strtod.c (tests): Add another test.
37524 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37526 * sysdeps/s390/fpu/libm-test-ulps: Update.
37528 2012-05-03 Andreas Jaeger <aj@suse.de>
37530 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37531 does not get optimized out.
37532 (malloc_opt_barrier): New.
37534 2012-05-03 Andreas Jaeger <aj@suse.de>
37535 Roland McGrath <roland@hack.frob.com>
37537 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37538 intermediate file deletion.
37539 (generated): Add .symlist files.
37541 2012-05-03 Joseph Myers <joseph@codesourcery.com>
37544 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37545 Redirect under this condition.
37546 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37547 [__USE_GNU] (__dprintf_chk): Not under this condition.
37548 [__USE_GNU] (__vdprintf_chk): Likewise.
37549 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37550 under this condition.
37551 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37552 [__USE_XOPEN2K8] (dprintf): Define under this condition.
37553 [__USE_XOPEN2K8] (vdprintf): Likewise.
37554 [__USE_GNU] (__dprintf_chk): Not under this condition.
37555 [__USE_GNU] (__vdprintf_chk): Likewise.
37556 [__USE_GNU] (dprintf): Likewise.
37557 [__USE_GNU] (vdprintf): Likewise.
37559 2012-05-03 Roland McGrath <roland@hack.frob.com>
37561 * elf/Makefile (common-generated): Set this instead of generated for
37562 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
37563 $(all-built-dso)-derived lists.
37565 2012-05-03 Andreas Jaeger <aj@suse.de>
37567 * sysdeps/i386/fpu/libm-test-ulps: Update.
37570 * FAQ.in: Likewise.
37571 * scripts/gen-FAQ.pl: Likewise.
37572 * manual/install.texi (Installation): Point to online location of
37574 * Makefile (files-for-dist): Remove FAQ.
37577 2012-05-02 Allan McRae <allan@archlinux.org>
37579 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37580 (LDFLAGS-reldepmod5.so): Likewise.
37581 (LDFLAGS-reldep6mod1.so): Likewise.
37582 (LDFLAGS-reldep6mod4.so): Likewise.
37583 (LDFLAGS-reldep8mod3.so): Likewise.
37584 (LDFLAGS-unload4mod1.so): Likewise.
37585 (LDFLAGS-unload4mod2.so): Likewise.
37586 (LDFLAGS-tst-initorder): Likewise.
37587 (LDFLAGS-tst-initordera2.so): Likewise.
37588 (LDFLAGS-tst-initordera3.so): Likewise.
37589 (LDFLAGS-tst-initordera4.so): Likewise.
37590 (LDFLAGS-tst-initorderb2.so): Likewise.
37591 (LDFLAGS-noload): Likewise.
37592 (LDFLAGS-next): Likewise.
37593 (LDFLAGS-order2mod1.so): Likewise.
37594 (LDFLAGS-order2mod2.so): Likewise.
37595 (LDFLAGS-tst-initorder2): Likewise.
37596 (LDFLAGS-tst-initorder2a.so): Likewise.
37597 (LDFLAGS-tst-initorder2b.so): Likewise.
37598 (LDFLAGS-tst-initorder2c.so): Likewise.
37599 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37601 2012-05-02 David S. Miller <davem@davemloft.net>
37603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37605 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37608 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37610 2012-05-02 Andreas Jaeger <aj@suse.de>
37612 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37613 since we manipulate rounding mode.
37614 (CPPFLAGS-test-idouble.c): Likewise.
37615 (CPPFLAGS-test-ifloat.c): Likewise.
37616 (CFLAGS-test-ldouble.c): Likewise.
37617 (CFLAGS-test-double.c): Likewise.
37618 (CFLAGS-test-float.c): Likewise.
37619 (CFLAGS-test-misc.c): Likewise.
37620 (CFLAGS-test-test-fenv.c): Likewise.
37622 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37626 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37627 comparisons to determine direction to adjust input.
37629 2012-05-01 Roland McGrath <roland@hack.frob.com>
37631 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37632 output to the target.
37634 * scripts/localplt.awk: New file.
37635 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37636 (check-localplt-CFLAGS): Variable removed.
37637 ($(all-built-dso:=.jmprel)): New static pattern rule.
37638 (generated): Add those targets.
37639 (localplt-built-dso): New variable.
37640 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37642 * elf/check-localplt.c: File removed.
37644 * scripts/check-execstack.awk: New file.
37645 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37646 (check-execstack-CFLAGS): Variable removed.
37647 ($(objpfx)check-execstack.h): Target removed.
37648 ($(objpfx)execstack-default): New target.
37649 (generated): Add that instead of check-execstack.h.
37650 ($(all-built-dso:=.phdr)): New static pattern rule.
37651 (generated): Add those targets.
37652 * elf/check-execstack.c: File removed.
37654 * scripts/check-textrel.awk: New file.
37655 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37656 (check-textrel-CFLAGS): Variable removed.
37657 (all-built-dso): Use := to define.o
37658 ($(all-built-dso:=.dyn)): New static pattern rule.
37659 (generated): Add those targets.
37660 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37661 * config.make.in (READELF): New substituted variable.
37662 * elf/check-textrel.c: File removed.
37664 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37666 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37668 * conform/data/ctype.h-data [C99-based standards] (isblank):
37670 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37671 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37672 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37673 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37674 Specify type. Require positive value.
37675 (EILSEQ): Likewise.
37676 (ERANGE): Likewise.
37677 [ISO || POSIX] (EILSEQ): Do not expect.
37678 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37679 Specify type. Require positive value.
37680 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37681 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37682 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37683 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37684 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37685 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37686 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37687 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37688 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37689 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37690 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37691 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37692 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37693 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37694 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37695 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37696 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37697 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37698 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37699 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37700 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37701 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37702 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37703 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37704 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37705 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37706 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37707 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37708 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37709 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37710 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37711 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37712 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37713 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37714 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37715 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37716 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37717 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37718 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37719 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37720 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37721 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37722 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37723 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37724 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37725 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37726 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37727 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37728 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37729 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37730 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37731 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37732 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37733 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37734 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37735 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37736 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37737 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37738 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37739 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37740 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37741 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37742 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37743 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37744 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37745 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37746 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37747 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37748 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37749 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37750 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37751 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37752 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37753 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37754 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37755 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37756 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37758 (FLT_ROUNDS): Expect as macro, not constant.
37759 (FLT_MANT_DIG): Use macro-int-constant.
37760 (DBL_MANT_DIG): Likewise.
37761 (LDBL_MANT_DIG): Likewise.
37762 (FLT_DIG): Likewise.
37763 (DBL_DIG): Likewise.
37764 (LDBL_DIG): Likewise.
37765 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37766 (DBL_MIN_EXP): Likewise.
37767 (LDBL_MIN_EXP): Likewise.
37768 (FLT_MAX_EXP): Use macro-int-constant.
37769 (DBL_MAX_EXP): Likewise.
37770 (LDBL_MAX_EXP): Likewise.
37771 (FLT_MAX_10_EXP): Likewise.
37772 (DBL_MAX_10_EXP): Likewise.
37773 (LDBL_MAX_10_EXP): Likewise.
37774 (FLT_MAX): Use macro-constant.
37775 (DBL_MAX): Likewise.
37776 (LDBL_MAX): Likewise.
37777 (FLT_EPSILON): Use macro-constant. Give upper bound.
37778 (DBL_EPSILON): Likewise.
37779 (LDBL_EPSILON): Likewise.
37780 (FLT_MIN): Likewise.
37781 (DBL_MIN): Likewise.
37782 (LDBL_MIN): Likewise.
37783 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37784 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37785 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37786 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37787 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37788 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37789 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37790 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37791 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37792 [ISO11] (FLT_TRUE_MIN): Likewise.
37793 [ISO11] (LDBL_TRUE_MIN): Likewise.
37794 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37795 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37796 (SCHAR_MIN): Use macro-int-constant. Specify type.
37797 (SCHAR_MAX): Likewise.
37798 (UCHAR_MAX): Likewise.
37799 (CHAR_MIN): Likewise.
37800 (CHAR_MAX): Likewise.
37801 (MB_LEN_MAX): Use macro-int-constant.
37802 (SHRT_MIN): Use macro-int-constant. Specify type.
37803 (SHRT_MAX): Likewise.
37804 (USHRT_MAX): Likewise.
37805 (INT_MAX): Likewise.
37806 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37808 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37810 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37812 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37813 bound negative. Suffix upper bound with "L".
37814 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37816 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37818 [C99-based standards] (LLONG_MAX): Likewise.
37819 [C99-based standards] (ULLONG_MAX): Likewise.
37820 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37822 [ISO11] (max_align_t): Require type.
37823 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37825 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37826 from $CFLAGS, without defining away __attribute__ calls.
37827 (checknamespace): Use $CFLAGS_namespace.
37829 * conform/conformtest.pl (@keywords): Only include C99 keywords
37830 for standards based on C99 or C11.
37832 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37834 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37837 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37838 usability of symbols in #if.
37840 * conform/conformtest.pl: If macro or constant types start
37841 "promoted:", expect the symbol to be of the following type
37842 promoted by the integer promotions.
37844 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37845 in one place. Also handle "macro-constant".
37847 * conform/conformtest.pl: Only accept expected macro values with
37848 "==". Parse all "macro" lines in one place.
37849 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37851 * conform/conformtest.pl: Handle braced types on "constant" lines
37852 instead of handling "typed-constant".
37853 * conform/data/signal.h-data: Use "constant" instead of
37856 * conform/conformtest.pl: Handle "optional-" at start of lines in
37857 one place rather than duplicating several cases. Handle each
37858 format of "macro" line with initial "optional-".
37860 * conform/conformtest.pl: Only accept expected constant or
37861 optional-constant values with "==". Parse all "constant" lines in
37862 one place. Parse all "optional-constant" lines in one place.
37863 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37864 * conform/data/fmtmsg.h-data: Likewise.
37865 * conform/data/netinet/in.h-data: Likewise.
37866 * conform/data/tar.h-data: Likewise.
37867 * conform/data/limits.h-data: Use "==" form on "constant" and
37868 "optional-constant" lines.
37870 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37871 Use -std=c99 for XOPEN2K.
37872 (@knownproblems): Remove.
37873 (newtoken): Don't check %isknown.
37875 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37876 Do not expect macro.
37877 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37878 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37879 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37880 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37881 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37882 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37883 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37884 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37885 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37886 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37887 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37888 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37889 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37890 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37891 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37892 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37893 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37894 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37895 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37896 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37897 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37898 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37899 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37900 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37901 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37902 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37903 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37904 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37905 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37906 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37907 [XPG3] (acosh): Likewise.
37908 [XPG3] (asinh): Likewise.
37909 [XPG3] (atanh): Likewise.
37910 [XPG3] (cbrt): Likewise.
37911 [XPG3] (expm1): Likewise.
37912 [XPG3] (ilogb): Likewise.
37913 [XPG3] (log1p): Likewise.
37914 [XPG3] (logb): Likewise.
37915 [XPG3] (nextafter): Likewise.
37916 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37917 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37918 [XPG3] (remainder): Likewise.
37919 [XPG3] (rint): Likewise.
37920 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37921 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37922 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37923 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37924 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37925 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37926 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37927 [UNIX98 || XOPEN2K] (scalb): Expect.
37928 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37929 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37930 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37931 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37932 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37933 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37934 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37935 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37936 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37937 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37938 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37939 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37940 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37941 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37942 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37943 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37944 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37945 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37946 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37947 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37948 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37949 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37950 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37951 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37952 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37953 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37954 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37955 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37956 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37957 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37958 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37959 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37960 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37961 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37962 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37963 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37964 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37965 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37966 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37967 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37968 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37969 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37970 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37971 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37972 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37973 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37974 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37975 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37976 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37977 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37978 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37979 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37980 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37981 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37982 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37983 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37984 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37985 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37986 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37987 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37988 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37989 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37990 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37991 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37992 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37993 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37994 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37995 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37996 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37997 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37998 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37999 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38000 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38001 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38002 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38003 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38004 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38005 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38006 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38007 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38008 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38009 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38010 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38011 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38012 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38013 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38014 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38015 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38016 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38017 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38018 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38019 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38020 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38021 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38022 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38023 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38024 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38025 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38026 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38027 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38028 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38029 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38030 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38031 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38032 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38033 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38034 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38035 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38036 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38037 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38038 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38039 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38040 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38041 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38042 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38043 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38044 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38045 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38046 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38047 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38048 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38049 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38050 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38051 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38052 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38053 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38054 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38055 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38056 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38057 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38058 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38059 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38060 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38061 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38062 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38063 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38064 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38066 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38067 _XOPEN_SOURCE_EXTENDED for XPG4.
38069 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38071 * Makeconfig (localtime): Remove variable.
38072 (inst_localtime-file): Likewise.
38074 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38095 2012-05-01 Joseph Myers <joseph@codesourcery.com>
38099 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38100 comparisons to determine direction to adjust input.
38101 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38102 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38103 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38105 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38107 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38109 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38110 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38112 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38114 * math/libm-test.inc (nexttoward_test): Add more tests.
38116 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38119 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38120 in version GLIBC_2.1, not GLIBC_2.0.
38121 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38124 2012-04-30 Joseph Myers <joseph@codesourcery.com>
38127 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38129 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38130 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38131 * math/libm-test.inc (acos_test): Add more tests.
38132 (asin_test): Likewise.
38133 * sysdeps/i386/fpu/libm-test-ulps: Update.
38134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38137 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38139 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38140 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38141 * math/libm-test.inc (acos_test_tonearest): New function.
38142 (acos_test_towardzero): Likewise.
38143 (acos_test_downward): Likewise.
38144 (acos_test_upward): Likewise.
38145 (asin_test_tonearest): Likewise.
38146 (asin_test_towardzero): Likewise.
38147 (asin_test_downward): Likewise.
38148 (asin_test_upward): Likewise.
38149 (main): Call the new functions.
38150 * sysdeps/i386/fpu/libm-test-ulps: Update.
38151 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38155 * math/e_exp10.c: Include <float.h>.
38156 (__ieee754_exp10): Handle underflow here rather than multiplying
38157 large negative argument by M_LN10.
38158 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38160 * math/e_exp10l.c: Include <float.h>.
38161 (__ieee754_exp10l): Handle underflow here rather than multiplying
38162 large negative argument by M_LN10l.
38163 * math/libm-test.inc (exp10_test): Add another test. Do not allow
38164 spurious overflow exception on underflow.
38166 2012-04-29 Marek Polacek <polacek@redhat.com>
38168 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38169 (__fortify_function): New macro.
38170 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38171 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38172 __extern_always_inline.
38173 * libio/bits/stdio2.h: Likewise.
38174 * libio/bits/stdio.h: Likewise.
38175 * string/string.h: Likewise.
38176 * string/bits/string3.h: Likewise.
38177 * include/stdio.h: Likewise.
38178 * stdlib/bits/stdlib.h: Likewise.
38179 * stdlib/stdlib.h: Likewise.
38180 * rt/bits/mqueue2.h: Likewise.
38181 * rt/mqueue.h: Likewise.
38182 * posix/bits/unistd.h: Likewise.
38183 * posix/unistd.h: Likewise.
38184 * io/bits/poll2.h: Likewise.
38185 * io/bits/fcntl2.h: Likewise.
38186 * io/fcntl.h: Likewise.
38187 * io/sys/poll.h: Likewise.
38188 * misc/bits/syslog.h: Likewise.
38189 * misc/bits/syslog-ldbl.h: Likewise.
38190 * misc/sys/syslog.h: Likewise.
38191 * socket/bits/socket2.h: Likewise.
38192 * socket/sys/socket.h: Likewise.
38193 * debug/tst-chk1.c: Likewise.
38194 * wcsmbs/bits/wchar2.h: Likewise.
38195 * wcsmbs/bits/wchar-ldbl.h: Likewise.
38196 * wcsmbs/wchar.h: Likewise.
38198 2012-04-29 Andreas Jaeger <aj@suse.de>
38200 * Makerules (tests): Remove enable-check-abi protection.
38201 (check-abi-warn): Remove.
38202 (check-abi-%): Remove check-abi-warn usage.
38204 * configure.in: Remove check-abi configure option.
38205 * configure: Regenerated.
38206 * config.make.in (enable-check-abi): Remove.
38208 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
38211 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38212 double functions to double *_finite functions.
38215 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38216 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38218 * stdio-common/Makefile (tests): Add tst-sprintf3.
38219 * stdio-common/tst-sprintf3.c: New file.
38221 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38222 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38224 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38226 * conform/conformtest.pl: Remove duplicate typed-constant
38229 2012-04-28 David S. Miller <davem@davemloft.net>
38231 * Makerules (%.abilist): Add vpath on sysdep_dirs.
38232 (check-abi-%): Remove AWK script prerequisite and explicit
38234 (check-abi): Rewrite to just diff the symlist with the abilist.
38235 (config-tls, config-abi-config): Delete, no longer used.
38236 (update-abi-%): Remove AWK script and explicit abilist directory.
38237 (update-abi): Rewrite to simply compare and conditionally copy the
38238 symlist and the sysdep abilist file. Remove update-abi-config
38240 * abilist/ld.abilist: Remove.
38241 * abilist/libBrokenLocale.abilist: Remove.
38242 * abilist/libanl.abilist: Remove.
38243 * abilist/libcrypt.abilist: Remove.
38244 * abilist/libdl.abilist: Remove.
38245 * abilist/librt.abilist: Remove.
38246 * abilist/libthread_db.abilist: Remove.
38247 * abilist/libutil.abilist: Remove.
38248 * scripts/extract-abilist.awk: Remove.
38249 * scripts/merge-abilist.awk: Remove.
38250 * sysdeps/generic/libcidn.abilist: New file.
38251 * sysdeps/generic/libnss_compat.abilist: New file.
38252 * sysdeps/generic/libnss_db.abilist: New file.
38253 * sysdeps/generic/libnss_dns.abilist: New file.
38254 * sysdeps/generic/libnss_files.abilist: New file.
38255 * sysdeps/generic/libnss_hesiod.abilist: New file.
38256 * sysdeps/generic/libnss_nis.abilist: New file.
38257 * sysdeps/generic/libnss_nisplus.abilist: New file.
38258 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38259 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38260 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38262 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38263 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38264 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38265 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38266 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38267 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38268 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38269 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38270 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38272 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38273 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38274 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38275 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38277 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38278 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38279 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38280 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38281 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38282 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38284 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38285 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38286 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38288 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38289 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38291 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38293 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38295 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38297 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38299 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38301 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38303 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38305 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38307 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38309 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38311 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38313 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38391 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38392 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38393 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38395 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38396 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38397 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38398 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38399 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38400 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38401 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38402 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38403 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38404 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38456 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38458 * conform/conformtest.pl: Fix typo in handling typed-constant from
38461 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38463 * README: Cut down references to pre-2.6 Linux kernels and
38464 Linuxthreads. Update lists of configurations in libc and ports
38465 and sort alphabetically. Say "or newer" with Linux kernel version
38468 * config.h.in [IS_IN_build]: Allow compiling without optimization.
38470 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38473 * math/libm-test.inc (logb_test_downward): New test to expose
38474 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38477 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38480 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38482 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38483 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38485 2012-04-26 Joseph Myers <joseph@codesourcery.com>
38487 * sysdeps/unix/i386/brk.S: Remove file.
38488 * sysdeps/unix/i386/dl-brk.S: Likewise.
38489 * sysdeps/unix/i386/pipe.S: Likewise.
38490 * sysdeps/unix/i386/sigreturn.S: Likewise.
38491 * sysdeps/unix/i386/syscall.S: Likewise.
38492 * sysdeps/unix/i386/vfork.S: Likewise.
38493 * sysdeps/unix/i386/wait.S: Likewise.
38495 * sysdeps/unix/common/tcsendbrk.c: Move to ...
38496 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38498 * configure.in (arm*-none*): Do not allow without
38499 --enable-hacker-mode.
38500 (netbsd*): Remove case setting base_os.
38501 (386bsd*): Likewise.
38502 (freebsd*): Likewise.
38505 (sunos*): Likewise.
38506 (ultrix*): Likewise.
38507 (newsos*): Likewise.
38508 (dynix*): Likewise.
38514 (minix*): Likewise.
38515 (irix4*): Likewise.
38516 (irix6*): Likewise.
38517 (solaris[2-9]*): Likewise.
38519 * configure: Regenerated.
38521 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38524 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38525 overflow or cancellation in calculating denominator.
38526 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38527 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38528 down expression to avoid unexpected rounding in newer GCCs.
38529 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38531 2012-04-26 David S. Miller <davem@davemloft.net>
38533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38534 long-double compat symbols.
38535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38549 2012-04-25 David S. Miller <davem@davemloft.net>
38551 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38552 HWCAP_* values only after the memory barriers have been defined.
38553 (atomic_full_barrier): Define.
38554 (atomic_read_barrier): Define.
38555 (atomic_write_barrier): Define.
38557 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38559 * shlib-versions: Add libgcc_s version information.
38560 * sysdeps/generic/libgcc_s.h: Remove.
38561 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38563 * sysdeps/gnu/unwind-resume.c: Likewise.
38564 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38566 2012-04-25 David S. Miller <davem@davemloft.net>
38568 * sysdeps/unix/sparc/brk.S: Delete.
38569 * sysdeps/unix/sparc/dl-brk.S: Delete.
38570 * sysdeps/unix/sparc/pipe.S: Delete.
38571 * sysdeps/unix/sparc/sysdep.S: Delete.
38572 * sysdeps/unix/sparc/sysdep.h: Delete.
38573 * sysdeps/unix/sparc/vfork.S: Delete.
38574 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38575 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38576 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38577 (ret_ERRVAL, r0, r1, MOVE): Define.
38578 (JUMPTARGET): Remove.
38579 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38580 sysdeps/unix/sparc/sysdep.h
38581 (ENTRY, END): Remove.
38582 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38584 2012-04-25 Joseph Myers <joseph@codesourcery.com>
38586 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38587 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38590 * timezone/README: Update upstream location and email address for
38592 * timezone/zdump.c: Update from tzcode 2012b.
38593 * timezone/zic.c: Likewise.
38595 * configure.in (libc_cv_as_needed): Remove test.
38596 * configure: Regenerated.
38597 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38598 conditional definition.
38599 [$(have-as-needed) != yes] (no-as-needed): Likewise.
38600 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38601 * config.make.in (have-as-needed): Remove variable.
38603 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38604 Paul Pluzhnikov <ppluzhnikov@google.com>
38606 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38609 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
38611 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38612 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38613 * sysdeps/sh/strlen.S: Likewise.
38615 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38617 * sysdeps/unix/fork.S: Remove file.
38618 * sysdeps/unix/i386/fork.S: Likewise.
38619 * sysdeps/unix/sparc/fork.S: Likewise.
38621 * sysdeps/unix/system.c: Remove file.
38622 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38624 * sysdeps/unix/getegid.S: Remove file.
38625 * sysdeps/unix/geteuid.S: Likewise.
38627 2012-04-24 Roland McGrath <roland@hack.frob.com>
38629 * scripts/check-localplt.awk: New file.
38630 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38632 * scripts/data/localplt-generic.data: Add a comment.
38634 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38635 NODE when __dir_mkfile failed.
38636 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38637 Reported by Ludovic Courtès <ludo@gnu.org>.
38639 2012-04-24 Andreas Jaeger <aj@suse.de>
38641 * Makerules (common-clean): Also remove gen-as-const-headers
38644 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38646 * Makerules (native-compile): Do not change working directory for
38647 build. Use $(OUTPUT_OPTION) in command.
38648 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38650 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38653 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38654 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38655 * math/libm-test.inc (floor_test): Add more tests.
38656 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38658 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38660 * sysdeps/unix/getdents.c: Remove file.
38661 * sysdeps/unix/sysv/getdents.c: Likewise.
38662 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38664 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38665 sysdeps/unix/mman/syscalls.list.
38667 (mprotect): Likewise.
38669 (munmap): Likewise.
38670 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38671 * sysdeps/unix/mman/syscalls.list: Remove.
38672 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38674 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38675 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38676 * configure: Regenerated.
38677 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38678 $(libgcc_s_suffix).
38679 * config.make.in (libgcc_s_suffix): Remove variable.
38681 2012-04-23 Joseph Myers <joseph@codesourcery.com>
38683 * sysdeps/unix/sysv/gethostname.c: Move to ...
38684 * sysdeps/posix/gethostname.c: ... here.
38686 * sysdeps/unix/execve.S: Remove file.
38688 * sysdeps/unix/_exit.S: Remove file.
38690 2012-04-23 Andreas Jaeger <aj@suse.de>
38693 * manual/Makefile: Remove make dist support, there's no
38694 need for a stand-alone documentation tar ball.
38695 (TEXI2DVI): Define always, it's not in Makeconfig.
38698 (edition): Removed.
38699 (glibc-doc-$(edition).tar): Removed
38703 (ETAGS): Remove, it's in Makeconfig.
38704 (move-if-change): Remove, it's in Makeconfig.
38706 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
38709 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38710 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38711 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38712 (strtod_l, strtof_l, strtold_l): Remove __wur.
38713 It is not necessarily an error to ignore strtol's return value.
38714 One can reliably look at the stored endptr to decide whether
38715 the number had valid syntax.
38717 2012-04-21 Andreas Jaeger <aj@suse.de>
38720 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38722 2012-04-21 Joseph Myers <joseph@codesourcery.com>
38724 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38725 * sysdeps/unix/sysv/Versions: Remove file.
38727 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38730 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38732 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
38735 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38736 version from __vm86.
38738 2012-04-20 Joseph Myers <joseph@codesourcery.com>
38740 * sysdeps/unix/common/lxstat.c: Remove file.
38741 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38743 * sysdeps/unix/sysv/Makefile: Remove file.
38745 * sysdeps/unix/sysv/direct.h: Remove file.
38747 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38748 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38749 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38750 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38751 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38752 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38753 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38755 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38757 * sysdeps/unix/xmknod.c: Remove file.
38758 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38760 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38762 * sysdeps/unix/sysv/i386/time.S: Remove file.
38764 * sysdeps/unix/fxstat.c: Remove file.
38765 * sysdeps/unix/xstat.c: Likewise.
38766 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38768 * sysdeps/unix/sysv/sigaction.c: Remove file.
38770 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38771 (sysdep_headers): Remove variable.
38772 [termio.h not in sysdep_headers] (generated): Likewise.
38773 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38774 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38775 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38776 * sysdeps/unix/sysv/tcflow.c: Likewise.
38777 * sysdeps/unix/sysv/tcflush.c: Likewise.
38778 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38779 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38780 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38781 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38782 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38784 * sysdeps/unix/siglist.c: Remove file.
38786 * sysdeps/unix/getppid.S: Remove file.
38788 * sysdeps/unix/mkdir.c: Remove file.
38789 * sysdeps/unix/rmdir.c: Likewise.
38791 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38793 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38795 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38796 errlist-compat value.
38798 2012-04-18 David S. Miller <davem@davemloft.net>
38800 * sysdeps/generic/memcopy.h (reg_char): Delete.
38801 * debug/strcat_chk.c: Use char, not reg_char.
38802 * debug/strcpy_chk.c: Likewise.
38803 * debug/strncat_chk.c: Likewise.
38804 * debug/strncpy_chk.c: Likewise.
38805 * string/memchr.c: Likewise.
38806 * string/memrchr.c: Likewise.
38807 * string/rawmemchr.c: Likewise.
38808 * string/strcat.c: Likewise.
38809 * string/strchr.c: Likewise.
38810 * string/strchrnul.c: Likewise.
38811 * string/strcmp.c: Likewise.
38812 * string/strcpy.c: Likewise.
38813 * string/strncat.c: Likewise.
38814 * string/strncmp.c: Likewise.
38815 * string/strncpy.c: Likewise.
38817 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38819 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38820 __builtin_memcopy is called when src and dest ranges are known to not
38823 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38825 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38826 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38827 fwd_align_merge macro call.
38828 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38829 bwd_align_merge macro call.
38830 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38832 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38834 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38835 bwd_align_merge macros.
38836 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38837 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38838 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38840 2012-04-18 David S. Miller <davem@davemloft.net>
38842 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38844 2012-04-18 Andreas Jaeger <aj@suse.de>
38847 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38848 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38849 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38851 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38852 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38853 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38855 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38856 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38857 Adjust for changed ldbl-128 files.
38859 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38860 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38861 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38863 2012-04-17 David S. Miller <davem@davemloft.net>
38865 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38867 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38869 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38870 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38871 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38872 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38873 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38874 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38876 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38879 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38880 * math/libm-test.inc: Add ilogb errno and exception tests.
38881 * math/w_ilogb.c: New file: ilogb wrapper.
38882 * math/w_ilogbf.c: New file: ilogbf wrapper.
38883 * math/w_ilogbl.c: New file: ilogbl wrapper.
38884 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38885 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38886 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38887 exception being thrown with 0.0 as argument.
38888 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38889 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38890 exception being thrown with 0.0 as argument.
38891 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38892 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38893 exception being thrown with 0.0 as argument.
38894 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38895 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38896 exception being thrown with 0.0 as argument.
38897 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38898 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38899 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38900 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38901 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38902 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38903 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38904 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38905 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38907 2012-04-17 Petr Baudis <pasky@ucw.cz>
38909 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38912 2012-04-16 Marek Polacek <polacek@redhat.com>
38914 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38916 2012-04-16 Marek Polacek <polacek@redhat.com>
38918 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38919 operands of fdivp instruction.
38921 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38923 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38924 * elf/tst-auditmod3b.c: Likewise.
38925 * elf/tst-auditmod4b.c: Likewise.
38926 * elf/tst-auditmod5b.c: Likewise.
38927 * elf/tst-auditmod6b.c: Likewise.
38928 * elf/tst-auditmod6c.c: Likewise.
38929 * elf/tst-auditmod7b.c: Likewise.
38930 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38931 * sysdeps/x86_64/preconfigure.in: Likewise.
38932 * sysdeps/x86_64/preconfigure: Regenerated.
38934 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38936 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38939 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
38941 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38942 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38944 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38947 * locale/iso-639.def: Fix gl language name. Spotted by
38950 2012-04-12 Roland McGrath <roland@hack.frob.com>
38953 * libio/libio.h (__io_write_fn): Update comment.
38955 2012-04-12 Petr Baudis <pasky@ucw.cz>
38958 * stdio.texi (Hook Functions): The user provided writer function
38959 is not allowed to return -1.
38961 2012-04-11 David S. Miller <davem@davemloft.net>
38963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38965 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38967 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38968 Add a leading slash to rtkaio.
38970 2012-04-11 Jim Meyering <meyering@redhat.com>
38973 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38974 It is not necessarily an error to ignore fwrite's return
38975 value. One can reliably use ferror to test for errors after
38978 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38980 * bits/types.h (__snseconds_t): New type.
38981 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38983 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38984 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38985 (__SNSECONDS_T_TYPE): Likewise.
38986 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38987 (__SNSECONDS_T_TYPE): Likewise.
38988 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38989 (__SNSECONDS_T_TYPE): Likewise.
38991 2012-04-10 Andreas Jaeger <aj@suse.de>
38994 * manual/time.texi (Processor Time): Return type of times is
38995 elapsed real time since an arbitrary point in the past.
38996 (CPU Time): Move CLK_TCK from here...
38997 (Processor Time): ...to here. Correct description.
38998 * manual/conf.texi (Constants for Sysconf): Correct description of
39001 2012-04-10 David S. Miller <davem@davemloft.net>
39004 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39005 where the is a gap between DT_REL(A) and DT_JMPREL.
39007 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39009 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39010 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39011 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39013 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39015 * elf/dl-support.c (_dl_inhibit_cache): New variable.
39016 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39017 (dl_main): Handle --inhibit-cache.
39018 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39020 * elf/dl-load.c (_dl_map_object): Use it.
39021 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39023 2012-04-09 Joseph Myers <joseph@codesourcery.com>
39026 * sysdeps/i386/fpu/e_powl.S (p78): New object.
39027 (__ieee754_powl): Saturate large exponents rather than testing for
39028 overflow of y*log2(x).
39029 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39030 * math/libm-test.inc (pow_test): Do not permit spurious overflow
39034 * math/s_ctan.c: Include <float.h>.
39035 (__ctan): Avoid internal overflow or cancellation in calculating
39037 * math/s_ctanf.c: Likewise.
39038 * math/s_ctanl.c: Likewise.
39039 * math/s_ctanh.c: Likewise.
39040 * math/s_ctanhf.c: Likewise.
39041 * math/s_ctanhl.c: Likewise.
39042 * math/libm-test.inc (ctan_test): Add more tests.
39043 (ctanh_test): Likewise.
39044 * sysdeps/i386/fpu/libm-test-ulps: Update.
39045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39047 2012-04-09 Andreas Jaeger <aj@suse.de>
39050 * manual/filesys.texi (Directory Entries): Mention that d_namlen
39051 is an optional BSD extension.
39054 * manual/stdio.texi (Opening Streams): Document additional fopen
39057 2012-04-09 Roland McGrath <roland@hack.frob.com>
39059 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39060 %eax without telling the compiler.
39062 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
39065 * manual/install.texi: Use sourceware.org.
39067 2012-04-09 Joseph Myers <joseph@codesourcery.com>
39070 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39071 (__ieee754_pow): Generate overflow and underflow using huge*huge
39072 and tiny*tiny rather than just returning constant infinity or zero
39073 for large exponents.
39074 * math/libm-test.inc (pow_test): Require overflow exceptions for
39075 applicable cases of large exponents.
39078 * sysdeps/i386/fpu/e_pow.S (p10): New object.
39079 (__ieee754_pow): Use iterative multiplication algorithm only for
39080 integer exponents with absolute value below 1024. Check for odd
39081 integer exponents when using algorithm for real exponents.
39082 * math/libm-test.inc (pow_test): Add more tests.
39083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39085 2012-04-08 Joseph Myers <joseph@codesourcery.com>
39088 * math/libm-test.inc (exp_test): Do not allow overflow exception
39091 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
39094 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39095 instead of __kernel_standard_f.
39097 2012-04-08 Mike Frysinger <vapier@gentoo.org>
39099 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39100 * sysdeps/x86_64/memset_chk.S: Likewise.
39102 2012-04-08 Andreas Jaeger <aj@suse.de>
39105 * manual/startup.texi (Environment Access): Describe return value
39106 for putenv and setenv.
39109 * manual/filesys.texi (Directory Entries): Add description for
39113 * manual/filesys.texi (Directory Entries): Clarify that it's file
39114 system not operating system in the description of DT_UNKNOWN.
39117 * manual/syslog.texi (closelog): Fix reference, it's openlog.
39119 2012-04-08 Stephen Compall <s11@member.fsf.org>
39122 * manual/llio.texi (Opening and Closing Files): Add cross
39123 reference to explain mode argument.
39125 2012-04-07 Mike Frysinger <vapier@gentoo.org>
39127 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39128 * sysdeps/x86_64/memset_chk.S: Likewise.
39130 2012-04-07 David S. Miller <davem@davemloft.net>
39132 * elf/elf.h (R_SPARC_WDISP10): Define.
39133 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39135 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39136 R_SPARC_SIZE64 and R_SPARC_H34.
39138 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
39140 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39141 conditions and remove no longer applicable assertion.
39143 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39145 * bits/byteswap.h: Include <features.h>.
39146 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39147 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39149 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39151 * bits/byteswap.h (__bswap_16): Removed.
39152 Include <bits/byteswap-16.h> to get __bswap_16.
39153 * sysdeps/i386/bits/byteswap.h: Likewise.
39154 * sysdeps/s390/bits/byteswap.h: Likewise.
39155 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39156 * bits/byteswap-16.h: New file.
39157 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39158 * sysdeps/s390/bits/byteswap-16.h: Likewise.
39159 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39160 * string/Makefile (headers): Add bits/byteswap-16.h.
39162 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39165 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39167 * nss/Makefile (tests-static, tests): Add tst-nss-static.
39168 * nss/tst-nss-static.c: New.
39170 2012-04-06 Robert Millan <rmh@gnu.org>
39173 * manual/llio.texi (File Position Primitive): lseek
39174 refers to WHENCE when it really means OFFSET.
39176 2012-04-06 Andreas Jaeger <aj@suse.de>
39178 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39179 strncmp declarations.
39181 * abilist/libc.abilist: Add __poll and __ppoll.
39183 2012-04-05 David S. Miller <davem@davemloft.net>
39185 * scripts/check-local-headers.sh: Accept a host triplet in the
39186 path matched by the exclude regexp.
39188 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39190 * sysdeps/powerpc/powerpc32/dl-machine.h
39191 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39192 * sysdeps/s390/s390-32/dl-machine.h
39193 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39194 * sysdeps/sparc/sparc32/dl-machine.h
39195 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39196 * sysdeps/sparc/sparc64/dl-machine.h
39197 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39199 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39201 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39202 undefined symbol errors.
39204 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39207 2012-04-05 Michael Matz <matz@suse.de>
39210 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39212 2012-04-05 Andreas Jaeger <aj@suse.de>
39215 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39218 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39220 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39221 which ROUND is no valid rounding mode.
39223 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39225 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39227 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39229 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39231 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39232 an exception using FPU order intentionally.
39234 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39236 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39237 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39238 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39239 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39241 2012-04-05 Simon Josefsson <simon@josefsson.org>
39244 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39245 EINVAL when BUFLEN is too smal.
39247 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
39250 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39251 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39253 2012-04-03 Andreas Jaeger <aj@suse.de>
39256 * manual/setjmp.texi (System V contexts): Fix sentence.
39259 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39260 New macro for this case.
39261 [!__GNUC__] (__bswap_64): New inline function for this case.
39262 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39263 * bits/byteswap.h: Likewise.
39264 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39265 ull, guard with __GLIBC_HAVE_LONG_LONG.
39267 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39268 __GLIBC_HAVE_LONG_LONG.
39270 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39271 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39273 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39276 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39277 inptr and inend, rather than using last_ch.
39279 2012-04-02 David S. Miller <davem@davemloft.net>
39281 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39282 * stdio-common/printf-parse.h (read_int): Change return type to
39283 'int', return -1 on INT_MAX overflow.
39284 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39285 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
39286 overflows INT_MAX. Check for overflow of in-format-string precision
39287 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
39288 SIZE_MAX not INT_MAX for integer overflow test.
39289 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39290 skip the construct in the format string but do not record anything.
39291 * stdio-common/bug22.c: Adjust to test both width/prevision
39292 INT_MAX overflow as well as total length INT_MAX overflow. Check
39293 explicitly for proper errno values.
39295 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
39297 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39299 * string/test-strcmp.c [! WIDE]: Likewise.
39300 * time/tst-mktime2.c: Likewise for INT_MAX.
39301 * string/test-string.h: #include <sys/param.h> for MIN.
39303 * csu/init-first.c (__libc_init_first): Call __ctype_init.
39304 * sysdeps/i386/init-first.c (init): Likewise.
39305 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39306 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39307 * sysdeps/sh/init-first.c (init): Likewise.
39309 2012-04-01 Ulrich Drepper <drepper@gmail.com>
39311 * po/ru.po: Update from translation team.
39312 * po/vi.po: Likewise.
39314 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39316 * resolv/nss_dns/dns-host.c: Merge copyright years.
39318 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39320 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39321 Optimize memcpy with prefetch if
39322 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
39323 src, dst pointers have unequal 16 byte alignments.
39325 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39328 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39329 from a CNAME entry and return the minimum ttl for the query.
39330 (gaih_getanswer_slice): Likewise.
39332 2012-03-30 Jeff Law <law@redhat.com>
39334 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39336 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39337 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39339 * resolv/nss_dns/dns-host.c: Update copyright year.
39341 2012-03-30 Ulrich Drepper <drepper@gmail.com>
39343 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39344 requests to save a system call. Fix check that all bytes are sent.
39346 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39347 comments for sendmmsg.
39349 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39352 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39353 with only 1 character between 0x0041 and 0x01b0.
39354 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39355 * wcsmbs/tst-mbsnrtowcs.c: New file.
39357 2012-03-29 David S. Miller <davem@davemloft.net>
39359 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39360 small copies by hand.
39362 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39365 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39366 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39369 2012-03-28 David S. Miller <davem@davemloft.net>
39371 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39372 that branches into memcpy.
39373 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39374 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39375 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39376 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39377 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39379 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39380 implementation too.
39381 * sysdeps/sparc/mempcpy.S: New file.
39383 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39384 the IFUNC routine in the libc case.
39385 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39387 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39388 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39389 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39390 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39391 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39392 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39393 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39394 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39396 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39397 loop to 256 bytes instead of 64 bytes and fix test signedness.
39399 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39400 * sysdeps/sparc/sparc32/Makefile: rather than here...
39401 * sysdeps/sparc/sparc64/Makefile: and here.
39403 2012-03-28 Ulrich Drepper <drepper@gmail.com>
39405 * malloc/mallocbug.c: Avoid warnings about unused variables.
39407 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39410 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39411 in the right place. Discard and retry query if response is
39412 larger than input buffer size.
39414 2012-03-28 Joseph Myers <joseph@codesourcery.com>
39419 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39420 x for large integer exponent.
39421 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39422 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39423 sign of result as needed afterwards.
39424 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39425 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39426 result for underflowing pow the same as for overflow.
39427 (__kernel_standard_l): Handle powl overflow and underflow here
39428 rather than calling __kernel_standard.
39429 * math/libm-test.inc (pow_test): Add more tests.
39444 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39445 * sysdeps/ieee754/k_standard.c: Include <float.h>.
39446 (__kernel_standard_l): New function.
39447 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39449 * math/w_acosl.c (__acosl): Likewise.
39450 * math/w_asinl.c (__asinl): Likewise.
39451 * math/w_atan2l.c (__atan2l): Likewise.
39452 * math/w_atanhl.c (__atanhl): Likewise.
39453 * math/w_coshl.c (__coshl): Likewise.
39454 * math/w_exp10l.c (__exp10l): Likewise.
39455 * math/w_exp2l.c (__exp2l): Likewise.
39456 * math/w_fmodl.c (__fmodl): Likewise.
39457 * math/w_hypotl.c (__hypotl): Likewise.
39458 * math/w_j0l.c (__j0l, __y0l): Likewise.
39459 * math/w_j1l.c (__j1l, __y1l): Likewise.
39460 * math/w_jnl.c (__jnl, __ynl): Likewise.
39461 * math/w_lgammal.c (__lgammal): Likewise.
39462 * math/w_log10l.c (__log10l): Likewise.
39463 * math/w_log2l.c (__log2l): Likewise.
39464 * math/w_logl.c (__logl): Likewise.
39465 * math/w_powl.c (__powl): Likewise.
39466 * math/w_remainderl.c (__remainderl): Likewise.
39467 * math/w_scalbl.c (sysv_scalbl): Likewise.
39468 * math/w_sinhl.c (__sinhl): Likewise.
39469 * math/w_sqrtl.c (__sqrtl): Likewise.
39470 * math/w_tgammal.c (__tgammal): Likewise.
39471 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39472 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39473 * math/libm-test.inc (acos_test): Add more tests.
39474 (acosh_test): Likewise.
39475 (asin_test): Likewise.
39476 (atanh_test): Likewise.
39477 (exp_test): Likewise.
39478 (exp10_test): Likewise.
39479 (exp2_test): Likewise.
39480 (expm1_test): Likewise.
39481 (lgamma_test): Likewise.
39482 (log_test): Likewise.
39483 (log10_test): Likewise.
39484 (log1p_test): Likewise.
39485 (log2_test): Likewise.
39486 (pow_test): Do not allow some spurious overflow exceptions.
39487 (sqrt_test): Add more tests.
39488 (tgamma_test): Likewise.
39489 (y0_test): Likewise.
39490 (y1_test): Likewise.
39491 (yn_test): Likewise.
39493 2012-03-27 Anton Blanchard <anton@samba.org>
39495 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39497 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39498 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39499 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39501 2012-03-27 David S. Miller <davem@davemloft.net>
39503 * conform/Makefile: Run run-conformtest.sh using $(BASH).
39505 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39506 have-as-vis3 check.
39508 2012-03-27 Andreas Jaeger <aj@suse.de>
39510 * sysdeps/x86_64/elf/configure.in: Moved to ...
39511 * sysdeps/x86_64/configure.in: ... here.
39512 * sysdeps/x86_64/elf/start.S: Moved to ...
39513 * sysdeps/x86_64/start.S: ... here.
39514 * sysdeps/x86_64/elf/configure: Delete.
39516 * sysdeps/x86_64/configure.in: Merge contents from
39517 sysdeps/i386/configure.in (without i686 check).
39519 * sysdeps/i386/elf/Versions: Merge into ...
39520 * sysdeps/i386/Versions: ... this.
39521 * sysdeps/i386/elf/Versions: Delete file.
39522 * sysdeps/i386/elf/start.S: Moved to ...
39523 * sysdeps/i386/start.S: ...here.
39524 * sysdeps/i386/elf/configure.in: Merge into...
39525 * sysdeps/i386/configure.in: ...here.
39526 * sysdeps/i386/elf/configure.in: Delete file.
39527 * sysdeps/i386/elf/configure: Delete file.
39529 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39530 * debug/backtracesyms.c: ... here.
39531 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39532 * debug/backtracesymsfd.c: ... here.
39533 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39534 * sysdeps/generic/ifunc-sel.h: ... here.
39536 * sysdeps/unix/i386/start.c: Delete file.
39537 * sysdeps/unix/sparc/start.c: Delete file.
39538 * sysdeps/unix/start.c: Delete file.
39540 * sysdeps/sh/elf/configure.in: Moved to ...
39541 * sysdeps/sh/configure.in: ... here.
39542 * sysdeps/sh/elf/start.S: Moved to ...
39543 * sysdeps/sh/start.S: ... here.
39544 * sysdeps/sh/elf/configure: Delete file.
39546 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39547 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39548 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39549 * sysdeps/powerpc/powerpc64/entry.h: ... here.
39550 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39551 * sysdeps/powerpc/powerpc64/start.S: here.
39552 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39553 * sysdeps/powerpc/powerpc64/Makefile: ... this.
39554 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39555 * sysdeps/powerpc/powerpc64/configure.in: ... this.
39556 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39558 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39559 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39560 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39561 * sysdeps/powerpc/powerpc32/start.S: ... here.
39562 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39563 * sysdeps/powerpc/powerpc32/configure.in: ... this.
39564 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39566 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39567 * sysdeps/powerpc/ifunc-sel.h: ... here.
39568 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39569 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39571 * sysdeps/sparc/elf/configure.in: Moved to ...
39572 * sysdeps/sparc/configure.in: ... here.
39573 * sysdeps/sparc/elf/configure: Delete file.
39574 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39575 * sysdeps/sparc/sparc32/start.S: ... here.
39576 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39577 * sysdeps/sparc/sparc64/start.S: ... here.
39578 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39579 * sysdeps/sparc/sparc32/Makefile: ... this.
39580 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39581 * sysdeps/sparc/sparc64/Makefile: ... this.
39583 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39584 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39585 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39586 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39587 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39588 * sysdeps/s390/s390-32/setjmp.S: ... here.
39589 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39590 * sysdeps/s390/s390-32/configure.in: ... here.
39591 * sysdeps/s390/s390-32/elf/configure: Delete file.
39592 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39593 * sysdeps/s390/s390-32/start.S: ... here.
39595 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39596 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39597 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39598 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39599 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39600 * sysdeps/s390/s390-64/setjmp.S: ... here.
39601 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39602 * sysdeps/s390/s390-64/configure.in: ... here
39603 * sysdeps/s390/s390-64/elf/configure: Delete file.
39604 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39605 * sysdeps/s390/s390-64/start.S: ... here.
39606 * sysdeps/s390/s390-64/elf/configure: Delete.
39608 * configure.in: Remove support for elf directories in sysdeps.
39610 * configure: Regenerated.
39611 * sysdeps/i386/configure: Regenerated.
39612 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39613 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39614 * sysdeps/s390/s390-32/configure: Regenerated.
39615 * sysdeps/s390/s390-64/configure: Regenerated.
39616 * sysdeps/sh/configure: Regenerated.
39617 * sysdeps/sparc/configure: Regenerated.
39618 * sysdeps/x86_64/configure: Regenerated.
39620 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
39622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39624 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39625 denormal result into account.
39627 2012-03-25 Roland McGrath <roland@hack.frob.com>
39629 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39630 Reported by Allan McRae <allan@archlinux.org>.
39632 2012-03-23 Jeff Law <law@redhat.com>
39634 * nss/getnssent.c (__nss_getent): Fix typo.
39636 2012-03-23 David S. Miller <davem@davemloft.net>
39638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39640 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39642 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39643 to pad to uint64_t for each field.
39644 (dl_tls_index): Replace unsigned long with uint64_t.
39646 2012-03-23 Daniel Jacobowitz <dmj@google.com>
39647 Paul Pluzhnikov <ppluzhnikov@google.com>
39650 * grp/Makefile (otherlibs): Don't set it.
39651 * inet/Makefile (otherlibs): Likewise.
39652 * login/Makefile (otherlibs): Likewise.
39653 * nscd/Makefile (otherlibs): Likewise.
39654 * posix/Makefile (otherlibs): Likewise.
39655 * pwd/Makefile (otherlibs): Likewise.
39656 * rt/Makefile (otherlibs): Likewise.
39657 * sunrpc/Makefile (otherlibs): Likewise.
39658 * nss/Makefile (otherlibs): Likewise.
39659 Add libnss_files to routines and static-only-routines.
39660 ($(objpfx)getent): Remove rule.
39661 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39662 static-only-routines.
39664 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39667 * math/s_cexp.c: Include <float.h>.
39668 (__cexp): Handle exp result overflowing not necessarily
39669 overflowing both real and imaginary parts of result.
39670 * math/s_cexpf.c: Likewise.
39671 * math/s_cexpl.c: Likewise.
39672 * math/libm-test.inc (cexp_test): Add more tests.
39673 * sysdeps/i386/fpu/libm-test-ulps: Update.
39674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39676 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39678 * include/link.h (ELFW): New macro.
39679 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39680 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39682 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39684 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39687 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39689 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39691 (struct La_x32_retval): Likewise.
39693 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39695 * sysdeps/x86_64/preconfigure.in: New file.
39696 * sysdeps/x86_64/preconfigure: New generated file.
39698 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39701 * math/e_exp2l.c: Include <float.h>.
39702 (__ieee754_exp2l): Handle overflow and underflow cases
39703 separately. Only pass fractional part of argument to
39705 * math/libm-test.inc (exp2_test): Add more tests.
39707 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39708 negating x to take absolute value.
39709 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39711 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39712 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39714 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39715 computing low part if x was negated.
39716 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39718 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39720 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39721 la_x32_gnu_pltexit.
39722 (pltexit): Cast int_retval to ptrdiff_t.
39723 * elf/tst-auditmod3b.c: Likewise.
39724 * elf/tst-auditmod4b.c: Likewise.
39725 * elf/tst-auditmod5b.c: Likewise.
39726 * elf/tst-auditmod6b.c: Likewise.
39727 * elf/tst-auditmod6c.c: Likewise.
39728 * elf/tst-auditmod7b.c: Likewise.
39730 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39731 and x32_gnu_pltexit.
39733 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39734 __ELF_NATIVE_CLASS.
39735 (La_x32_regs): New macro.
39736 (La_x32_retval): Likewise.
39737 (la_x32_gnu_pltenter): New function prototype.
39738 (la_x32_gnu_pltexit): Likewise.
39740 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39742 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39747 * configure.in (libc_cv_cc_nofma): Check for option to disable
39748 generation of FMA instructions.
39749 * configure: Regenerate.
39750 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39751 * sysdeps/ieee754/dbl-64/Makefile: New file.
39752 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39753 Remove brandred-fma4.
39754 (CFLAGS-brandred-fma4.c): Remove.
39755 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39756 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39758 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39761 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39763 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39764 LLONG_MAX != LONG_MAX.
39765 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39766 (_fitoa_word): Likewise.
39767 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39768 LLONG_MAX != LONG_MAX.
39769 * stdio-common/_itowa.h: Include <_itoa.h>.
39770 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39771 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39772 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39773 only if not defined.
39774 (_ITOA_WORD_TYPE): Likewise.
39775 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39776 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39778 2012-03-21 David S. Miller <davem@davemloft.net>
39780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39782 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39784 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39785 of x86_64 when setting libc_cv_slibdir, libdir and
39787 * sysdeps/unix/sysv/linux/configure: Regenerated.
39789 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39791 * manual/lang.texi (Old Varargs): Remove section.
39792 (How Variadic): Update menu.
39793 (va_start): Do not mention varargs.h.
39795 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39796 Joseph Myers <joseph@codesourcery.com>
39798 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39800 * configure: Regenerated.
39802 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39804 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39805 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39808 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39811 * Makefile (files-for-dist): Remove NOTES.
39812 (NOTES): Remove rule.
39813 * README: Don't refer to NOTES.
39814 * manual/creature.texi: Don't include macros.texi.
39815 * manual/intro.texi (creature.texi): Remove comment referring to
39818 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39819 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39820 * configure: Regenerated.
39821 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39822 LIBC_TRY_CC_OPTION.
39823 (libc_cv_as_i686): Likewise.
39824 (libc_cv_cc_avx): Likewise.
39825 (libc_cv_cc_sse2avx): Likewise.
39826 (libc_cv_cc_fma4): Likewise.
39827 (libc_cv_cc_novzeroupper): Likewise.
39828 * sysdeps/i386/configure: Regenerated.
39831 * sysdeps/i386/fpu/s_cexp.S: Remove.
39832 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39833 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39834 * math/libm-test.inc (cexp_test): Add more tests.
39835 * sysdeps/i386/fpu/libm-test-ulps: Update.
39836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39838 2012-03-21 Allan McRae <allan@archlinux.org>
39840 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39842 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39845 * math/w_exp2.c: Do not include <float.h>.
39846 (o_threshold, u_threshold): Remove.
39847 (__exp2): Calculate result before checking finiteness and calling
39849 * math/w_exp2f.c: Likewise.
39850 * math/w_exp2l.c: Likewise.
39851 * math/libm-test.inc (exp2_test): Require overflow exception for
39855 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39856 range of signed 64-bit integers before using fistpll. Remove
39857 checks for whether integers fit in mantissa bits.
39858 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39859 the range of signed 32-bit integers before using fistpl. Remove
39860 checks for whether integers fit in mantissa bits.
39861 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39862 (__ieee754_powl): Test for y outside the range of signed 64-bit
39863 integers before using fistpll. Reduce 64-bit values to 63-bit
39865 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39866 divide-by-zero is raised for zero to large negative powers.
39867 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39868 (__ieee754_powl): Test for y outside the range of signed 64-bit
39869 integers before using fistpll. Reduce 64-bit values to 63-bit
39871 * math/libm-test.inc (pow_test): Add more tests.
39873 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39875 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39876 <stdio-common/_itoa.h>.
39877 * debug/segfault.c: Likewise.
39878 * elf/dl-cache.c: Likewise.
39879 * elf/dl-minimal.c: Likewise.
39880 * elf/dl-misc.c: Likewise.
39881 * elf/dl-sysdep.c: Likewise.
39882 * elf/dl-version.c: Likewise.
39883 * elf/rtld.c: Likewise.
39884 * hurd/hurdsock.c: Likewise.
39885 * hurd/lookup-retry.c: Likewise.
39886 * malloc/malloc.c: Likewise.
39887 * malloc/mtrace.c: Likewise.
39888 * nscd/nscd_getgr_r.c: Likewise.
39889 * nscd/nscd_getpw_r.c: Likewise.
39890 * nscd/nscd_getserv_r.c: Likewise.
39891 * posix/getopt_init.c: Likewise.
39892 * posix/wordexp.c: Likewise.
39893 * stdio-common/_itoa.c: Likewise.
39894 * stdio-common/printf_fphex.c: Likewise.
39895 * stdio-common/vfprintf.c: Likewise.
39896 * string/_strerror.c: Likewise.
39897 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39898 * sysdeps/i386/i686/hp-timing.h: Likewise.
39899 * sysdeps/mach/_strerror.c: Likewise.
39900 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39901 * sysdeps/mach/hurd/sethostid.c: Likewise.
39902 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39903 * sysdeps/mach/xpg-strerror.c: Likewise.
39904 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39905 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39906 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39907 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39908 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39909 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39910 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39911 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39912 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39913 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39914 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39915 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39916 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39917 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39918 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39919 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39920 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39921 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39922 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39923 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39924 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39926 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39928 * stdio-common/_itoa.h: Moved to ...
39929 * sysdeps/generic/_itoa.h: Here.
39931 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39933 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39934 instead of "_itoa.h" and "_itowa.h".
39935 * stdio-common/vfprintf.: Likewise.
39937 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39939 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39941 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39942 (__signbit): Likwise.
39943 (llrintf): Likwise.
39946 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39948 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39951 2012-03-20 Joseph Myers <joseph@codesourcery.com>
39953 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39954 OVERFLOW_EXCEPTION_OK.
39955 * math/libm-test.inc ("Philosophy"): Update comment about
39957 (OVERFLOW_EXCEPTION): Define.
39958 (OVERFLOW_EXCEPTION_OK): Likewise.
39959 (INVALID_EXCEPTION_OK): Renumber.
39960 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39961 (IGNORE_ZERO_INF_SIGN): Likewise.
39962 (test_exceptions): Handle FE_OVERFLOW.
39963 (exp10_test): Expect overflow exceptions.
39964 (exp2_test): Likewise.
39965 (expm1_test): Likewise.
39966 (nextafter_test): Likewise.
39967 (pow_test): Likewise.
39968 (scalbn_test): Likewise.
39969 (scalbln_test): Likewise.
39971 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39973 * sysdeps/x86_64/bits/atomic.h
39974 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39976 (atomic_exchange_acq): Likewise.
39977 (__arch_exchange_and_add_body): Likewise.
39978 (__arch_add_body): Likewise.
39979 (atomic_add_negative): Likewise.
39980 (atomic_add_zero): Likewise.
39982 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39984 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39985 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39987 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39989 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39990 Check __x86_64__ instead of __WORDSIZE.
39992 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39994 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39996 2012-03-19 David S. Miller <davem@davemloft.net>
39998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40000 * sysdeps/sparc/fpu/fenv_private.h: New file.
40001 * sysdeps/sparc/fpu/math_private.h: Use it.
40002 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40004 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
40005 (libc_feholdexcept_setroundl): Remove.
40006 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40008 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40009 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40011 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40013 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40014 int64_t instead of long int.
40015 (INSERT_WORDS64): Likwise.
40017 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40019 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40020 _Unwind_GetCFA return to _Unwind_Ptr first.
40022 2012-03-19 Joseph Myers <joseph@codesourcery.com>
40025 * math/s_clog.c: Include <float.h>.
40026 (__clog): Scale large or subnormal inputs.
40027 * math/s_clogf.c: Likewise.
40028 * math/s_clogl.c: Likewise.
40029 * math/s_clog10.c: Include <float.h>.
40030 (M_LOG10_2): Define.
40031 (__clog10): Scale large or subnormal inputs.
40032 * math/s_clog10f.c: Likewise.
40033 * math/s_clog10l.c: Likewise.
40034 * math/libm-test.inc (clog_test): Add more tests.
40035 (clog10_test): Likewise.
40036 * sysdeps/i386/fpu/libm-test-ulps: Update.
40037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40040 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40042 * math/libm-test.inc (atan2_test): Add another test.
40044 * Makerules (common-objdir-compile): Remove.
40045 * sysdeps/unix/Makefile (config-generated): Do not add
40046 $(unix-generated) to variable.
40047 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40048 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40050 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40052 [generic bits/local_lim.h] (before-compile): Do not append to
40054 [generic bits/local_lim.h] (common-generated): Likewise.
40055 [generic sys/param.h] (before-compile): Do not append to variable.
40056 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40057 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40058 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40059 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40061 [generic sys/param.h] (sys/param.h-includes): Remove variable.
40062 [generic sys/param.h] (sys/param.h-includes): Remove rule.
40063 [generic sys/param.h] ($(addprefix
40064 $(common-objpfx),$(sys/param.h-includes))): Likewise.
40065 [generic sys/param.h] (common-generated): Do not append to
40067 [generic sys/param.h] (sysdep_headers): Likewise.
40068 [generic bits/errno.h] (before-compile): Do not append to
40070 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40072 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40073 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40074 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40075 [generic bits/errno.h] (common-generated): Do not append to
40077 [generic bits/ioctls.h] (before-compile): Do not append to
40079 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40081 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40082 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40083 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40085 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40086 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40087 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40088 [generic bits/ioctls.h] (common-generated): Do not append to
40090 [generic sys/syscall.h] (syscall.h): Remove variable.
40091 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40093 [generic sys/syscall.h] (before-compile): Do not append to
40095 [generic sys/syscall.h] (common-generated): Likewise.
40096 * sysdeps/unix/errnos-tmpl.c: Remove file.
40097 * sysdeps/unix/errnos.awk: Likewise.
40098 * sysdeps/unix/ioctls-tmpl.c: Likewise.
40099 * sysdeps/unix/ioctls.awk: Likewise.
40100 * sysdeps/unix/mk-local_lim.c: Likewise.
40101 * sysdeps/unix/snarf-ioctls: Likewise.
40103 2012-03-19 Richard Henderson <rth@twiddle.net>
40105 * sysdeps/i386/fpu/fenv_private.h: New file.
40106 * sysdeps/i386/fpu/math_private.h: Use it.
40107 (math_opt_barrier, math_force_eval): Remove.
40108 (libc_feholdexcept_setround_53bit): Remove.
40109 (libc_feupdateenv_53bit): Remove.
40110 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40111 (math_opt_barrier, math_force_eval): Remove.
40112 (libc_feholdexcept): Remove.
40113 (libc_feholdexcept_setround): Remove.
40114 (libc_fetestexcept, libc_fesetenv): Remove.
40115 (libc_feupdateenv_test): Remove.
40116 (libc_feupdateenv, libc_feholdsetround): Remove.
40117 (libc_feresetround): Remove.
40119 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40120 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40122 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40123 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40124 (libc_feupdateenv_testl): New.
40125 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40126 (libc_feupdateenv_testf): New.
40127 (libc_feupdateenv): Use libc_feupdateenv_test.
40128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40129 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40131 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40132 (libc_feholdsetroundf, libc_feholdsetroundl): New.
40133 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40134 (libc_feresetround_noex): New.
40135 (libc_feresetround_noexf): New.
40136 (libc_feresetround_noexl): New.
40137 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40138 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40139 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40140 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40142 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40143 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40145 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40146 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40147 SET_RESTORE_ROUND_NOEX.
40148 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40149 SET_RESTORE_ROUND_NOEXF.
40150 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40151 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40152 (libc_feholdsetroundf): New.
40153 (libc_feresetround, libc_feresetroundf): New.
40155 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40156 (libc_feholdexcept_setround_53bit): Convert from macro to function.
40157 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
40159 * sysdeps/generic/math_private.h: Include <fenv.h>.
40160 (default_libc_feholdexcept): New.
40161 (default_libc_feholdexcept_setround): New.
40162 (default_libc_fesetenv, default_libc_feupdateenv): New.
40163 (libc_feholdexcept): Only define if undefined.
40164 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40165 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40166 (libc_feholdexcept_setroundl): Likewise.
40167 (libc_feholdexcept_setround_53bit): Likewise.
40168 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40169 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40170 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40171 (libc_feupdateenv_53bit): Likewise.
40172 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40173 (libc_feholdexcept): Convert from macro to inline function.
40174 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40175 (libc_fesetenv, libc_feupdateenv): Likewise.
40177 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40178 not previously defined.
40179 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40180 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40181 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40182 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40183 * sysdeps/ieee754/flt-32/math_private.h: New file.
40184 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40185 math_private.h below SET_FLOAT_WORD.
40186 (__isnan, __isinf_ns, __finite): Remove.
40187 (__isnanf, __isinf_nsf, __finitef): Remove.
40189 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
40191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40193 2012-03-17 David S. Miller <davem@davemloft.net>
40196 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40199 2012-03-16 David S. Miller <davem@davemloft.net>
40201 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40205 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40207 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40208 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40209 sysdep_routines when subdir is sysvipc.
40210 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40211 __getshmlba helper.
40213 * sysdeps/sparc/fpu/libm-test/ulps: Update.
40215 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40217 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40220 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40222 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40223 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40224 (__lround): Renamed to ...
40225 (__llround): This. Replace long int with long long int.
40226 Define lround functions as aliases of llround functions.
40227 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40229 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40231 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40232 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
40233 adresses to uintptr_t. Replace "long int" and "unsigned long
40234 int" with "greg_t" on va_arg.
40236 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40238 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40239 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40241 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40242 Move e_machine check before EI_CLASS check. Handle x32
40243 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40244 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40245 SKIP_EM_IA_64 and include
40246 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40248 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40249 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40250 (add_system_dir): New macro.
40252 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40253 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40255 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40266 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40268 * math/w_j0f.c (j0f): Likewise.
40270 * math/w_j0l.c (__j0l): Likewise.
40272 * math/w_j1.c (j1): Likewise.
40274 * math/w_j1f.c (j1f): Likewise.
40276 * math/w_j1l.c (__j1l): Likewise.
40278 * math/w_jn.c (jn): Likewise.
40280 * math/w_jnf.c (jnf): Likewise.
40282 * math/w_jnl.c (__jnl): Likewise.
40284 * math/libm-test.inc (j0_test): Add more tests.
40285 (j1_test): Likewise.
40286 (jn_test): Likewise. Add trailing semicolon to existing test.
40287 (y0_test): Likewise.
40288 (y1_test): Likewise.
40289 * sysdeps/i386/fpu/libm-test-ulps: Update.
40290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40294 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40295 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40296 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40297 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40298 (__tanl): Set errno for infinite argument.
40299 * sysdeps/i386/fpu/mptan.c: Remove.
40300 * sysdeps/i386/fpu/s_tan.S: Likewise.
40301 * sysdeps/i386/fpu/s_tanl.S: Likewise.
40302 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40303 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40304 * math/libm-test.inc (tan_test): Add more tests and enable more
40305 tests for double and long double.
40306 * sysdeps/i386/fpu/libm-test-ulps: Update.
40307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40309 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
40311 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40312 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40314 2012-03-16 Roland McGrath <roland@hack.frob.com>
40316 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40317 * configure.in: Use it for both main tree and add-ons.
40318 * configure: Regenerated.
40320 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40322 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40324 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40326 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40330 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40331 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40332 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40333 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40334 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40336 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40337 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40338 != 0 for prec == 2.
40339 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40340 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40341 * sysdeps/i386/fpu/s_cosl.S: Likewise.
40342 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40343 * sysdeps/i386/fpu/s_sinl.S: Likewise.
40344 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40345 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40346 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40347 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40348 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40349 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40350 * math/libm-test.inc (cos_test): Add more tests and enable more
40351 tests for long double.
40352 (sin_test): Likewise.
40353 (sincos_test): Likewise.
40354 * sysdeps/i386/fpu/libm-test-ulps: Update.
40355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40357 2012-03-16 David S. Miller <davem@davemloft.net>
40359 * sysdeps/sparc/fpu/math_private.h: New file.
40361 2012-03-15 David S. Miller <davem@davemloft.net>
40363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40370 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40371 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40372 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40373 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40377 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40378 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40380 * sysdeps/sparc/sparc-ifunc.h: New file.
40381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40406 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40407 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40408 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40409 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40410 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40412 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40413 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40414 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40415 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40416 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40417 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40418 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40419 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40420 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40421 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40422 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40423 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40424 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40426 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40428 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40432 2012-03-15 Andreas Jaeger <aj@suse.de>
40435 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40436 ieee754/flt-32 implementation for sin, cos and sincos.
40437 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40438 * sysdeps/i386/fpu/s_cosf.S: Likewise.
40439 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40440 * sysdeps/i386/fpu/s_sinf.S: Likewise.
40441 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40442 ieee754/flt-32 implementation for tan.
40444 * math/libm-test.inc (cos_test): Enable some large input tests for
40446 (sin_test): Likewise.
40447 (sincos_test): Likewise.
40448 (tan_test): Add tests for large input.
40450 * sysdeps/i386/fpu/libm-test-ulps: Update.
40452 2012-03-15 Andreas Jaeger <aj@suse.de>
40455 * math/libm-test.inc (cos_test): Add more test cases.
40456 (sin_test): Likewise.
40457 (sincos_test): Likewise.
40459 2012-03-15 Andreas Jaeger <aj@suse.de>
40462 * math/libm-test.inc (cos_test): Add a test case for large input
40464 (sin_test): Likewise.
40465 (sincos_test): Likewise.
40467 2012-03-15 Andreas Jaeger <aj@suse.de>
40468 Joseph Myers <joseph@codesourcery.com>
40471 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40472 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40473 * sysdeps/i386/fpu/branred.c: Likewise.
40474 * sysdeps/i386/fpu/dosincos.c: Likewise.
40475 * sysdeps/i386/fpu/mpa.c: Likewise.
40476 * sysdeps/i386/fpu/s_cos.S: Likewise.
40477 * sysdeps/i386/fpu/s_sin.S: Likewise.
40478 * sysdeps/i386/fpu/s_sincos.S: Likewise.
40479 * sysdeps/i386/fpu/sincos32.c: Likewise.
40481 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40483 (libc_feupdateenv_53bit): Define.
40484 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40486 (libc_feupdateenv_53bit): Define.
40488 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40489 53 bit (without extend i386 double precision).
40491 * math/libm-test.inc (sincos_test): Add tests for large input.
40495 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40497 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40501 2012-03-15 David S. Miller <davem@davemloft.net>
40503 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40504 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40505 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40506 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40511 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40512 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40515 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40530 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40531 fmin/fmax sysdep routines.
40532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40534 2012-03-14 David S. Miller <davem@davemloft.net>
40536 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40537 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40538 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40539 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40540 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40541 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40542 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40543 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40544 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40545 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40546 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40547 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40548 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40549 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40550 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40551 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40552 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40553 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40554 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40555 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40556 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40557 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40558 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40559 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40560 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40561 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40562 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40563 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40564 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40608 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40613 * sysdeps/sparc/configure.in: New file.
40614 * sysdeps/sparc/configure: Generate.
40615 * configure.in (libc_cv_sparc_as_vis3): Substitute.
40616 * configure: Regenerate.
40617 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40618 * config.make.in (have-as-vis3): New.
40619 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40620 available use -Av9d instead of -Av9a.
40621 * sysdeps/sparc/sparc64/Makefile: Likewise.
40622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40631 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40632 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40633 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40634 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40635 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40637 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40638 fzeros/fnegs to load 0x80000000 into a float register instead of
40640 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40642 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40644 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40646 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40647 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40648 ($(inst_includedir)/bits/syscall.h): Remove rule.
40649 ($(objpfx)bits/syscall.d): Include instead of
40650 $(objpfx)syscall-list.d.
40651 (generated): Change syscall-list.h and syscall-list.d to
40652 bits/syscall.h and bits/syscall.d.
40654 2012-03-14 Roland McGrath <roland@hack.frob.com>
40657 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40659 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40662 * math/s_csqrt.c: Include <float.h>.
40663 (__csqrt): Scale large or subnormal inputs.
40664 * math/s_csqrtf.c: Likewise.
40665 * math/s_csqrtl.c: Likewise.
40666 * math/libm-test.inc (csqrt_test): Add more tests.
40667 * sysdeps/i386/fpu/libm-test-ulps: Update.
40668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40671 * math/libm-test.inc (hypot_test): Add more tests.
40673 2012-03-13 David S. Miller <davem@davemloft.net>
40676 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40677 double-precision for the calculation instead of scaling.
40679 2012-03-13 Joseph Myers <joseph@codesourcery.com>
40681 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40682 manipulate bits before adding and subtracting TWO52[sx].
40683 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40684 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40686 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40688 2012-03-13 David S. Miller <davem@davemloft.net>
40690 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40691 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40692 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40693 rtld-global-offsets.h
40694 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40696 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40699 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40701 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40702 'err' in the ifdef scope in which it is actually used.
40704 * nss/nss_db/db-init.c: Include string.h
40706 2012-03-12 David S. Miller <davem@davemloft.net>
40708 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40709 masking out of the most significant byte of random value used.
40710 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40711 Fix coding style in previous change.
40713 * sysdeps/unix/sysv/linux/kernel-features.h
40714 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40715 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40717 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40720 2012-03-11 David S. Miller <davem@davemloft.net>
40722 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40723 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40724 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40725 for 'resultvar' otherwise things get truncated on 64-bit.
40727 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40728 Fix masking out of the most significant byte of random value used.
40730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40732 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40736 2012-03-09 David S. Miller <davem@davemloft.net>
40738 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40739 variables with appropriate CPP guards.
40740 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40741 from the frame pointer, not the stack pointer. Correct layout
40742 comments. Fix test on resulting framesize and the management of
40743 the outregs buffer for pltexit. Preserve floating point return
40744 values across _dl_call_pltexit call.
40745 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40746 framesize and the management of the outregs buffer for pltexit.
40747 Preserve floating point return values across _dl_call_pltexit
40749 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40750 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40751 (la_sparc64_gnu_pltexit): New functions.
40752 (print_exit): Fix format string for return register value.
40754 2012-03-10 Joseph Myers <joseph@codesourcery.com>
40756 * sunrpc/Makefile (others): Add rpcgen.
40757 ($(objpfx)rpcgen): Remove special build rule and dependency on
40759 * sunrpc/rpcgen.c: New file.
40761 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40764 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40765 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40766 * sysdeps/i386/crti.S: Likewise.
40767 * sysdeps/i386/crtn.S: Likewise.
40768 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40769 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40770 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40771 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40772 * sysdeps/sh/crti.S: Likewise.
40773 * sysdeps/sh/crtn.S: Likewise.
40774 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40777 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40779 * locale/programs/locfile-kw.gperf: Likewise.
40780 * locale/programs/charmap-kw.h: Regenerated.
40781 * locale/programs/locfile-kw.h: Likewise.
40784 * intl/plural.y: Replace FSF snail mail address with URL.
40785 * intl/plural.c: Regenerated.
40787 2012-03-09 Richard Henderson <rth@twiddle.net>
40789 * include/math_private.h: Remove file.
40790 * math/math_private.h: Move file ...
40791 * sysdeps/generic/math_private.h: ... here.
40793 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40794 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40795 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40797 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40798 and <math_private.h>.
40799 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40800 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40801 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40802 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40803 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40804 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40805 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40806 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40807 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40808 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40809 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40810 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40811 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40812 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40813 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40814 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40815 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40816 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40817 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40818 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40819 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40820 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40821 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40822 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40823 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40824 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40825 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40826 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40827 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40828 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40829 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40830 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40831 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40832 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40833 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40834 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40835 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40836 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40837 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40838 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40839 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40840 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40841 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40842 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40843 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40844 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40845 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40846 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40847 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40848 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40849 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40850 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40851 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40852 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40853 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40854 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40855 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40856 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40857 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40858 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40859 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40860 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40861 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40862 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40863 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40864 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40865 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40866 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40867 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40868 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40869 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40870 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40871 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40872 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40873 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40874 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40875 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40876 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40877 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40878 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40879 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40880 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40881 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40882 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40883 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40884 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40885 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40886 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40887 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40888 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40889 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40890 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40891 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40892 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40893 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40894 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40895 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40896 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40897 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40898 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40899 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40900 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40901 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40902 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40903 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40904 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40905 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40906 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40907 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40908 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40909 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40910 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40911 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40912 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40913 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40914 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40915 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40916 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40917 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40918 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40919 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40920 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40921 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40922 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40923 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40924 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40925 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40926 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40927 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40928 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40929 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40930 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40931 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40932 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40933 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40934 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40935 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40936 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40937 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40938 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40939 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40940 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40941 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40942 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40943 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40944 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40945 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40946 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40947 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40948 * sysdeps/ieee754/k_standard.c: Likewise.
40949 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40950 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40951 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40952 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40953 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40954 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40955 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40956 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40957 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40958 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40959 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40960 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40961 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40962 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40963 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40964 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40965 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40966 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40967 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40968 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40969 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40970 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40971 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40972 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40973 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40974 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40975 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40976 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40977 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40978 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40979 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40980 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40981 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40982 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40983 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40984 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40985 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40986 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40987 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40988 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40989 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40990 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40991 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40992 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40993 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40994 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40995 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40996 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40997 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40998 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40999 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41000 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41001 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41002 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41003 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41004 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41005 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41006 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41007 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41008 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41009 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41010 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41011 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41012 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41013 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41014 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41015 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41016 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41017 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41018 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41019 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41020 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41021 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41022 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41023 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41024 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41025 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41026 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41027 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41028 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41029 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41030 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41031 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41032 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41033 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41034 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41035 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41036 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41037 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41038 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41039 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41040 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41041 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41042 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41043 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41044 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41045 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41046 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41047 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41048 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41049 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41050 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41051 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41052 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41053 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41054 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41055 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41056 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41057 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41058 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41059 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41060 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41061 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41062 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41063 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41064 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41065 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41066 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41067 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41068 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41069 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41070 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41071 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41072 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41073 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41074 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41075 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41076 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41077 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41078 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41079 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41080 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41081 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41082 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41083 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41084 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41085 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41086 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41087 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41088 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41089 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41090 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41091 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41092 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41093 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41094 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41095 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41096 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41097 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41098 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41099 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41100 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41101 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41102 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41103 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41104 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41105 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41106 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41107 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41108 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41109 * sysdeps/ieee754/s_lib_version.c: Likewise.
41110 * sysdeps/ieee754/s_matherr.c: Likewise.
41111 * sysdeps/ieee754/s_signgam.c: Likewise.
41112 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41113 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41114 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41115 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41116 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41117 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41118 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41119 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41120 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41121 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41122 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41123 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41124 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41125 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41126 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41127 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41128 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41129 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41130 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41131 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41132 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41134 2012-03-09 Joseph Myers <joseph@codesourcery.com>
41136 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41137 * sunrpc/rpc_main.c: Likewise.
41138 * sunrpc/rpc_svcout.c: Likewise.
41140 2012-03-09 David S. Miller <davem@davemloft.net>
41142 * include/math_private.h: New file.
41144 2012-03-09 Joseph Myers <joseph@codesourcery.com>
41146 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41147 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41148 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41149 from <bits/socket_type.h>.
41150 (enum __socket_type): Don't define here.
41151 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41152 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41153 bits/socket_type.h.
41156 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41157 checking __USE_GNU.
41159 * Makerules ($(inst_includedir)/%.h): New rule.
41160 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41161 (install-others): Remove variable setting.
41162 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41164 2012-03-08 Richard Henderson <rth@twiddle.net>
41166 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41167 from macro to inline function; merge with the
41168 !__LIBC_INTERNAL_MATH_INLINES version.
41169 (__ieee754_sqrtf): Likewise.
41171 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41172 to inline function.
41173 (__rintf, __floor, __floorf): Likewise.
41175 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41176 macro to inline function.
41177 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41179 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41180 not <math/math_private.h>.
41182 2012-03-08 David S. Miller <davem@davemloft.net>
41184 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41186 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41188 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
41190 * resolv/gai_misc.c (handle_requests): Fix struct timespec
41192 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41193 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41195 2012-03-08 Ulrich Drepper <drepper@gmail.com>
41197 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
41198 be defined individually, they must be defined as a block. Define
41199 S for printing a string instead of hidint the different by using a
41200 macro for adding the 'l'.
41201 * stdio-common/tst-fphex-wide.c: Adjust.
41203 2012-03-07 Marek Polacek <polacek@redhat.com>
41205 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41207 2012-03-08 Marek Polacek <polacek@redhat.com>
41210 * stdio-common/Makefile (tests): Add tst-fphex-wide.
41211 * stdio-common/tst-fphex.c: Define a few macros to make the
41212 test reusable. Use them.
41213 * stdio-common/tst-fphex-wide.c: New file.
41215 2012-03-08 Joseph Myers <joseph@codesourcery.com>
41218 * manual/macros.texi (gnusystems): New macro.
41219 (nongnusystems): Likewise.
41220 (gnulinuxhurdsystems): Likewise.
41221 (gnuhurdsystems): Likewise..
41222 (gnulinuxsystems): Likewise.
41223 * manual/charset.texi: Use new macros or @theglibc{} to refer to
41224 variants of the GNU system, not "GNU system".
41225 * manual/conf.texi: Likewise.
41226 * manual/errno.texi: Likewise. Update example of errno macro
41228 * manual/filesys.texi: Likewise.
41229 (getumask): Document as specific to GNU/Hurd.
41230 * manual/install.texi: Likewise. Reword some references to
41232 * manual/intro.texi: Likewise.
41233 * manual/io.texi: Likewise.
41234 (File Name Portability): Detail which constraints are inapplicable
41235 to all GNU systems and which are only inapplicable to GNU/Hurd.
41236 * manual/job.texi: Likewise.
41237 * manual/llio.texi: Likewise.
41238 (O_NOCTTY): Document as present on GNU/Linux.
41239 * manual/maint.texi: Likewise.
41240 * manual/memory.texi: Likewise.
41241 * manual/pattern.texi: Likewise.
41242 * manual/pipe.texi: Likewise.
41243 * manual/process.texi: Likewise.
41244 * manual/resource.texi: Likewise.
41245 (RUSAGE_CHILDREN): Remove statement about specifying a particular
41247 * manual/setjmp.texi: Likewise.
41248 * manual/signal.texi: Likewise.
41249 * manual/startup.texi: Likewise.
41250 * manual/stdio.texi: Likewise.
41251 * manual/terminal.texi: Likewise.
41252 (ONLCR): Document as POSIX.
41253 (OXTABS): Document availability on GNU/Linux as XTABS.
41254 (ONOEOT): Document availability separately from other bits.
41255 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41256 * manual/time.texi: Likewise.
41257 * manual/users.texi: Likewise.
41258 * INSTALL: Regenerated.
41259 * sysdeps/gnu/errlist.c: Regenerated.
41261 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41262 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41263 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
41265 * configure: Regenerated.
41267 2012-03-07 Joseph Myers <joseph@codesourcery.com>
41269 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41270 default includes instead of AC_HEADER_CHECK.
41271 * sysdeps/i386/configure: Regenerated.
41274 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41275 * math/s_cacoshf.c (__cacoshf): Likewise.
41276 * math/s_cacoshl.c (__cacoshl): Likewise.
41277 * math/s_casinh.c (__casinh): Set signs of result from argument.
41278 * math/s_casinhf.c (__casinhf): Likewise.
41279 * math/s_casinhl.c (__casinhl): Likewise.
41280 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41281 (casinh_test): Add more tests.
41282 * sysdeps/i386/fpu/libm-test-ulps: Update.
41283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41285 2012-03-07 Ulrich Drepper <drepper@gmail.com>
41287 * po/zh_TW.po: Update from translation team.
41289 * login/Makefile (distribute): Remove variable.
41290 * catgets/Makefile: Likewise.
41291 * mach/Makefile: Likewise.
41292 * malloc/Makefile: Likewise.
41293 * misc/Makefile: Likewise.
41294 * iconv/Makefile: Likewise.
41295 * nscd/Makefile: Likewise.
41296 * hurd/Makefile: Likewise.
41297 * manual/Makefile: Likewise.
41298 * locale/Makefile: Likewise.
41299 * intl/Makefile: Likewise.
41300 * conform/Makefile: Likewise.
41301 * nss/Makefile: Likewise.
41302 * time/Makefile: Likewise.
41303 * soft-fp/Makefile: Likewise.
41304 * dirent/Makefile: Likewise.
41305 * gmon/Makefile: Likewise.
41306 * po/Makefile: Likewise.
41307 * rt/Makefile: Likewise.
41308 * socket/Makefile: Likewise.
41309 * math/Makefile: Likewise.
41310 * signal/Makefile: Likewise.
41311 * debug/Makefile: Likewise.
41312 * elf/Makefile: Likewise.
41313 * timezone/Makefile: Likewise.
41314 * stdlib/Makefile: Likewise.
41315 * iconvdata/Makefile: Likewise.
41316 * sunrpc/Makefile: Likewise.
41317 * io/Makefile: Likewise.
41318 * argp/Makefile: Likewise.
41319 * inet/Makefile: Likewise.
41320 * hesiod/Makefile: Likewise.
41321 * grp/Makefile: Likewise.
41322 * csu/Makefile: Likewise.
41323 * wctype/Makefile: Likewise.
41324 * crypt/Makefile: Likewise.
41325 * libio/Makefile: Likewise.
41326 * string/Makefile: Likewise.
41327 * nis/Makefile: Likewise.
41328 * resolv/Makefile: Likewise.
41329 * stdio-common/Makefile: Likewise.
41330 * wcsmbs/Makefile: Likewise.
41331 * dlfcn/Makefile: Likewise.
41332 * posix/Makefile: Likewise.
41335 * timezone/Makefile: Don't install timezone files, just the programs
41338 2012-03-06 Ulrich Drepper <drepper@gmail.com>
41340 * nss/databases.def: Add missing gshadow entry.
41342 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
41344 2012-03-06 Marek Polacek <polacek@redhat.com>
41347 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41348 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41349 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41350 * stdio-common/tst-long-dbl-fphex.c: New file.
41352 2012-03-06 David S. Miller <davem@davemloft.net>
41354 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41355 (set_obp_int): New function.
41356 (get_obp_int): New function.
41357 (__get_clockfreq_via_dev_openprom): Likewise.
41358 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41359 Avoid unused variable warnings on 'val' and use builtin_expect.
41360 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41362 (INLINE_CLONE_SYSCALL): Likewise.
41364 2012-03-05 David S. Miller <davem@davemloft.net>
41366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41368 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
41370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41372 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41373 only for |x| >= 40.
41374 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41376 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
41378 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41379 Replace gettimeofday with __vdso_gettimeofday.
41381 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41382 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41383 __vdso_clock_gettime and __vdso_getcpu.
41385 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41386 time with __vdso_time.
41388 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41390 * manual/lang.texi (size_t): Note types to which size_t may be
41391 equivalent with the GNU C Library, but do not describe when
41392 differences between them are significant.
41394 2012-03-05 Andreas Jaeger <aj@suse.de>
41396 * sysdeps/i386/fpu/libm-test-ulps: Update.
41398 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41401 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41402 (__ieee754_pow): Save and restore rounding mode and use
41403 round-to-nearest for main computations.
41404 * math/libm-test.inc (pow_test_tonearest): New function.
41405 (pow_test_towardzero): Likewise.
41406 (pow_test_downward): Likewise.
41407 (pow_test_upward): Likewise.
41408 (main): Call the new functions.
41409 * sysdeps/i386/fpu/libm-test-ulps: Update.
41410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41413 * math/libm-test.inc (cosh_test_tonearest): New function.
41414 (cosh_test_towardzero): Likewise.
41415 (cosh_test_downward): Likewise.
41416 (cosh_test_upward): Likewise.
41417 (sinh_test_tonearest): Likewise.
41418 (sinh_test_towardzero): Likewise.
41419 (sinh_test_downward): Likewise.
41420 (sinh_test_upward): Likewise.
41421 (main): Call the new functions.
41422 * sysdeps/i386/fpu/libm-test-ulps: Update.
41423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41425 2012-03-05 Tom de Vries <tom@codesourcery.com>
41427 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41428 default stack guard is set in last bytes.
41429 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41431 2012-03-05 Kees Cook <keescook@chromium.org>
41433 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41436 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41437 possibly allocate from heap instead of stack.
41438 * stdio-common/bug-vfprintf-nargs.c: New file.
41439 * stdio-common/Makefile (tests): Add nargs overflow test.
41441 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
41443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41445 2012-03-03 Marek Polacek <polacek@redhat.com>
41447 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41448 * math/math_private.h: Likewise.
41449 * stdlib/tst-strtod.c: Likewise.
41450 * sysdeps/i386/i486/bits/atomic.h: Likewise.
41451 * sysdeps/x86_64/bits/atomic.h: Likewise.
41453 2012-03-02 David S. Miller <davem@davemloft.net>
41455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41459 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41460 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41461 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41462 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41464 2012-03-02 Roland McGrath <roland@hack.frob.com>
41467 * manual/examples/README: New file, says the example source files
41468 can be used under GPL>=2.
41469 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41470 line containing just "*/".
41471 * manual/examples/add.c: Add copyright header (GPL>=2).
41472 * manual/examples/argp-ex1.c: Likewise.
41473 * manual/examples/argp-ex2.c: Likewise.
41474 * manual/examples/argp-ex3.c: Likewise.
41475 * manual/examples/argp-ex4.c: Likewise.
41476 * manual/examples/atexit.c: Likewise.
41477 * manual/examples/db.c: Likewise.
41478 * manual/examples/dir.c: Likewise.
41479 * manual/examples/dir2.c: Likewise.
41480 * manual/examples/execinfo.c: Likewise.
41481 * manual/examples/filecli.c: Likewise.
41482 * manual/examples/filesrv.c: Likewise.
41483 * manual/examples/fmtmsgexpl.c: Likewise.
41484 * manual/examples/genpass.c: Likewise.
41485 * manual/examples/inetcli.c: Likewise.
41486 * manual/examples/inetsrv.c: Likewise.
41487 * manual/examples/isockad.c: Likewise.
41488 * manual/examples/longopt.c: Likewise.
41489 * manual/examples/memopen.c: Likewise.
41490 * manual/examples/memstrm.c: Likewise.
41491 * manual/examples/mkfsock.c: Likewise.
41492 * manual/examples/mkisock.c: Likewise.
41493 * manual/examples/mygetpass.c: Likewise.
41494 * manual/examples/pipe.c: Likewise.
41495 * manual/examples/popen.c: Likewise.
41496 * manual/examples/rprintf.c: Likewise.
41497 * manual/examples/search.c: Likewise.
41498 * manual/examples/select.c: Likewise.
41499 * manual/examples/setjmp.c: Likewise.
41500 * manual/examples/sigh1.c: Likewise.
41501 * manual/examples/sigusr.c: Likewise.
41502 * manual/examples/stpcpy.c: Likewise.
41503 * manual/examples/strdupa.c: Likewise.
41504 * manual/examples/strftim.c: Likewise.
41505 * manual/examples/strncat.c: Likewise.
41506 * manual/examples/subopt.c: Likewise.
41507 * manual/examples/swapcontext.c: Likewise.
41508 * manual/examples/termios.c: Likewise.
41509 * manual/examples/testopt.c: Likewise.
41510 * manual/examples/testpass.c: Likewise.
41511 * manual/examples/timeval_subtract.c: Likewise.
41514 * manual/time.texi (Elapsed Time): Move timeval_subtract example
41516 * manual/timeval_subtract.c.texi: ... here, new file.
41518 2012-03-02 David S. Miller <davem@davemloft.net>
41520 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41522 2012-03-02 Joseph Myers <joseph@codesourcery.com>
41525 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41526 (__sin): Save and restore rounding mode and use round-to-nearest
41527 for all computations.
41528 (__cos): Save and restore rounding mode and use round-to-nearest
41529 for all computations.
41530 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41532 (tan): Save and restore rounding mode and use round-to-nearest for
41534 * math/libm-test.inc (cos_test_tonearest): New function.
41535 (cos_test_towardzero): Likewise.
41536 (cos_test_downward): Likewise.
41537 (cos_test_upward): Likewise.
41538 (sin_test_tonearest): Likewise.
41539 (sin_test_towardzero): Likewise.
41540 (sin_test_downward): Likewise.
41541 (sin_test_upward): Likewise.
41542 (tan_test_tonearest): Likewise.
41543 (tan_test_towardzero): Likewise.
41544 (tan_test_downward): Likewise.
41545 (tan_test_upward): Likewise.
41546 (main): Call the new functions.
41547 * sysdeps/i386/fpu/libm-test-ulps: Update.
41548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41551 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41552 small n, then large n, before computing and testing k+n.
41553 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41554 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41556 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41558 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41559 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41560 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41561 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41562 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41563 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41564 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41565 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41566 * math/libm-test.inc (scalbn_test): Add more tests.
41567 (scalbln_test): Likewise.
41569 * manual/filesys.texi (mode_t): Describe constraints on size and
41570 signedness, not exact equivalence to a particular type.
41572 (ino64_t): Likewise.
41574 (nlink_t): Likewise.
41575 (blkcnt_t): Likewise.
41576 (blkcnt64_t): Likewise.
41577 * manual/llio.texi (off_t): Likewise.
41580 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41581 (__ieee754_exp): Save and restore rounding mode and use
41582 round-to-nearest for all computations.
41583 * math/libm-test.inc (exp_test_tonearest): New function.
41584 (exp_test_towardzero): Likewise.
41585 (exp_test_downward): Likewise.
41586 (exp_test_upward): Likewise.
41587 (main): Call the new functions.
41588 * sysdeps/i386/fpu/libm-test-ulps: Update.
41589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41591 2012-03-01 Chris Demetriou <cgd@google.com>
41593 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41594 have predictable order.
41596 2012-03-01 David S. Miller <davem@davemloft.net>
41598 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41600 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41601 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41602 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41603 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41605 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41606 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41607 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41609 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41610 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41611 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41612 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41613 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41617 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41618 * sysdeps/sparc/fpu/libm-test-ulps: to here.
41619 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41621 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41622 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41623 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41624 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41625 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41626 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41627 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41628 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41629 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41630 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41631 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41632 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41633 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41634 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41635 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41636 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41637 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41638 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41639 * sysdeps/sparc/elf/configure: Regenerated.
41641 2012-03-01 Joseph Myers <joseph@codesourcery.com>
41643 * configure.in (AS, LD): Require binutils 2.20 or later.
41644 * configure: Regenerated.
41645 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41646 as required minimum version.
41647 * INSTALL: Regenerated.
41651 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41652 before squaring exponent.
41653 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41654 bottom long double and 27 bits of top long double before squaring
41656 * math/libm-test.inc (erfc_test): Add more tests.
41657 * sysdeps/i386/fpu/libm-test-ulps: Update.
41658 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41661 2012-03-01 Kai Tietz <ktietz@redhat.com>
41663 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41664 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41665 containing bit-fields.
41666 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41667 * soft-fp/single.h (_FP_UNION_S): Likewise.
41668 * soft-fp/double.h (_FP_UNION_D): Likewise.
41670 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41673 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41674 not include ../strcmp.S.
41675 [USE_AS_STRNCASECMP_L]: Likewise.
41676 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41677 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41678 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41679 (__strncasecmp_l_ia32): Define as alias to
41680 __strncasecmp_l_nonascii.
41683 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41684 * sysdeps/i386/fpu/libm-test-ulps: Update.
41685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41687 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41690 2012-02-29 Jeff Law <law@redhat.com>
41692 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41693 out of bounds read.
41695 2012-02-29 Marek Polacek <polacek@redhat.com>
41698 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41699 * elf/Makefile: Add rules to run tst-unused-dep.out.
41701 2012-02-28 David S. Miller <davem@davemloft.net>
41703 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41704 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41705 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41706 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41707 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41708 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41710 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41712 * math/libm-test.inc (llround_test): Move one test from
41713 lround_test. Use TEST_f_L in moved test.
41714 (lround_test): Move misplaced test to llround_test. Add testcase
41717 2012-02-28 Ulrich Drepper <drepper@gmail.com>
41719 * sysdeps/x86_64/fpu/e_expf.S: New file.
41720 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41722 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41725 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41726 of remain_len that may cause incomplete multi-byte character and
41728 * posix/bug-regex33.c: New file.
41729 * posix/Makefile (tests): Add bug-regex33.
41731 2012-02-28 Joseph Myers <joseph@codesourcery.com>
41733 * manual/macros.texi: New file.
41734 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41735 * manual/libc.texinfo: Include macros.texi.
41736 * manual/creatute.texi: Likewise.
41737 * manual/install.texi: Likewise.
41738 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41739 @glibcadj{} in references to the GNU C Library.
41740 * manual/charset.texi: Likewise.
41741 * manual/conf.texi: Likewise.
41742 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41743 when not using those macros.
41744 * manual/creature.texi: Likewise.
41745 * manual/crypt.texi: Likewise.
41746 * manual/errno.texi: Likewise.
41747 * manual/filesys.texi: Likewise.
41748 * manual/header.texi: Likewise.
41749 * manual/install.texi: Likewise.
41750 * manual/intro.texi: Likewise.
41751 * manual/io.texi: Likewise.
41752 * manual/job.texi: Likewise.
41753 * manual/lang.texi: Likewise.
41754 * manual/libc.texiinfo: Likewise.
41755 * manual/llio.texi: Likewise.
41756 * manual/locale.texi: Likewise.
41757 * manual/maint.texi: Likewise.
41758 * manual/math.texi: Likewise.
41759 * manual/memory.texi: Likewise.
41760 * manual/message.texi: Likewise.
41761 * manual/nss.texi: Likewise.
41762 * manual/pattern.texi: Likewise.
41763 * manual/process.texi: Likewise.
41764 * manual/resource.texi: Likewise.
41765 * manual/search.texi: Likewise.
41766 * manual/setjmp.texi: Likewise.
41767 * manual/signal.texi: Likewise.
41768 * manual/socket.texi: Likewise.
41769 * manual/startup.texi: Likewise.
41770 * manual/stdio.texi: Likewise.
41771 * manual/string.texi: Likewise.
41772 * manual/sysinfo.texi: Likewise.
41773 * manual/syslog.texi: Likewise.
41774 * manual/terminal.texi: Likewise.
41775 * manual/time.texi: Likewise.
41776 * manual/users.texi: Likewise.
41777 * INSTALL: Regenerated.
41778 * NOTES: Regenerated.
41779 * sysdeps/gnu/errlist.c: Regenerated.
41781 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41783 * include/dirent.h: Include <dirstream.h> before
41786 2012-02-28 David S. Miller <davem@davemloft.net>
41788 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41789 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41790 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41791 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41793 2012-02-27 David S. Miller <davem@davemloft.net>
41795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41797 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41798 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41801 frame pointer instead of stack pointer relative arg slot.
41802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41803 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41804 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41806 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41809 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41811 2012-02-27 David S. Miller <davem@davemloft.net>
41813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41817 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41818 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41819 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41820 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41822 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41824 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41825 later. Allow versions 5-9.
41826 * configure: Regenerated.
41827 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41828 required minimum version and 4.6 as recommended version. Do not
41829 mention bugs in GCC 2.7 and 2.8.
41830 * INSTALL: Regenerated.
41832 2012-02-27 David S. Miller <davem@davemloft.net>
41834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41838 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41839 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41840 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41841 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41843 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41844 manipulate bits before adding and subtracting TWO112[sx].
41845 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41847 2012-02-27 Roland McGrath <roland@hack.frob.com>
41850 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41851 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41852 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41853 being in POSIX, because they are in 1003.1-2008.
41855 * rt/tst-aio.c: Include <fcntl.h>.
41856 * rt/tst-aio7.c: Likewise.
41857 * rt/tst-aio64.c: Likewise.
41859 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41861 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41863 * manual/install.texi (--with-headers): Describe headers as
41864 interface headers, not private headers.
41865 (Specific advice for GNU/Linux systems): Describe use of headers
41866 from "make headers_install", not private headers from older
41868 * INSTALL: Regenerated.
41869 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41871 * sysdeps/unix/sysv/linux/configure: Regenerated.
41873 * manual/llio.texi (fclean): Remove documentation.
41875 * manual/Makefile (libc-texi-generated): New variable. Include
41877 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41878 $(libc-texi-generated), not duplicated list of files.
41879 (version.texi, stamp-version): New rules.
41880 (realclean): Remove $(libc-texi-generated), not individual files
41881 from that list. Do not remove dir-add.texinfo.
41882 * manual/libc.texinfo: Comment out uses of edition numbers and
41883 references to printed manual. Remove last-updated dates.
41884 (EDITION): Comment out.
41886 (VERSION, UPDATED): Remove.
41887 (version.texi): Include.
41889 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41891 * sysdeps/posix/spawni.c: Include <signal.h>.
41892 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41893 * sysdeps/pthread/aio_fsync.c: Likewise.
41895 2012-02-26 Ulrich Drepper <drepper@gmail.com>
41897 * conform/Makefile (tests): Run only when not cross-compiling and
41898 when fast-check is not defined.
41900 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41901 * conform/data/limits.h-data: Fixes for POSIX2008.
41902 * conform/run-conformtest.sh: Run all tests.
41903 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41905 * include/bits/dlfcn.h: Likewise.
41906 * include/langinfo.h: Likewise.
41907 * include/monetary.h: Likewise.
41908 * include/sys/poll.h: Likewise.
41910 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41912 * posix/spawn.h: Define __need_sigset_t.
41913 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41914 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41915 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41916 to get sigevent_t only.
41917 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41918 only for __USE_GNU.
41919 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41920 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41921 process_vm_writev only for __USE_GNU.
41922 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41924 * conform/Makefile: For now ignore errors from run-conformtest.
41925 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41926 POSIX to avoid namespace pollution. Don't prepend headers.
41927 * conform/data/aio.h-data: Fixes for POSIX testing.
41928 * conform/data/fcntl.h-data: Likewise.
41929 * conform/data/glob.h-data: Likewise.
41930 * conform/data/grp.h-data: Likewise.
41931 * conform/data/pthread.h-data: Likewise.
41932 * conform/data/pwd.h-data: Likewise.
41933 * conform/data/signal.h-data: Likewise.
41934 * conform/data/spawn.h-data: Likewise.
41935 * conform/data/stdio.h-data: Likewise.
41936 * conform/data/stdlib.h-data: Likewise.
41937 * conform/data/stropts.h-data: Likewise.
41938 * conform/data/sys/mman.h-data: Likewise.
41939 * conform/data/sys/stat.h-data: Likewise.
41940 * conform/data/sys/types.h-data: Likewise.
41941 * conform/data/sys/wait.h-data: Likewise.
41942 * conform/data/time.h-data: Likewise.
41943 * conform/data/unistd.h-data: Likewise.
41944 * conform/data/utime.h-data: Likewise.
41946 * io/sys/stat.h: fchmod was always in POSIX.
41947 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41948 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41949 * rt/aio.h: Define __need_timespec before including <time.h>.
41950 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41951 struct. Add forward declaration of pthread_attr_t and use it in
41953 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41954 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41955 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41956 always remove CLK_TCK definition.
41958 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41960 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41962 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41964 * conform/run-conformtest.sh: New file.
41965 * conform/Makefile: Run run-conformtest for tests.
41966 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41969 * conform/data/uchar.h-data: New file.
41970 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41971 * conform/data/arpa/inet.h-data: Likewise.
41972 * conform/data/assert.h-data: Likewise.
41973 * conform/data/complex.h-data: Likewise.
41974 * conform/data/cpio.h-data: Likewise.
41975 * conform/data/ctype.h-data: Likewise.
41976 * conform/data/dirent.h-data: Likewise.
41977 * conform/data/dlfcn.h-data: Likewise.
41978 * conform/data/errno.h-data: Likewise.
41979 * conform/data/fcntl.h-data: Likewise.
41980 * conform/data/float.h-data: Likewise.
41981 * conform/data/fmtmsg.h-data: Likewise.
41982 * conform/data/fnmatch.h-data: Likewise.
41983 * conform/data/ftw.h-data: Likewise.
41984 * conform/data/glob.h-data: Likewise.
41985 * conform/data/grp.h-data: Likewise.
41986 * conform/data/iconv.h-data: Likewise.
41987 * conform/data/inttypes.h-data: Likewise.
41988 * conform/data/langinfo.h-data: Likewise.
41989 * conform/data/libgen.h-data: Likewise.
41990 * conform/data/limits.h-data: Likewise.
41991 * conform/data/locale.h-data: Likewise.
41992 * conform/data/math.h-data: Likewise.
41993 * conform/data/monetary.h-data: Likewise.
41994 * conform/data/mqueue.h-data: Likewise.
41995 * conform/data/ndbm.h-data: Likewise.
41996 * conform/data/net/if.h-data: Likewise.
41997 * conform/data/netdb.h-data: Likewise.
41998 * conform/data/netinet/in.h-data: Likewise.
41999 * conform/data/nl_types.h-data: Likewise.
42000 * conform/data/poll.h-data: Likewise.
42001 * conform/data/pthread.h-data: Likewise.
42002 * conform/data/pwd.h-data: Likewise.
42003 * conform/data/regex.h-data: Likewise.
42004 * conform/data/sched.h-data: Likewise.
42005 * conform/data/search.h-data: Likewise.
42006 * conform/data/semaphore.h-data: Likewise.
42007 * conform/data/setjmp.h-data: Likewise.
42008 * conform/data/signal.h-data: Likewise.
42009 * conform/data/spawn.h-data: Likewise.
42010 * conform/data/stdarg.h-data: Likewise.
42011 * conform/data/stdio.h-data: Likewise.
42012 * conform/data/stdlib.h-data: Likewise.
42013 * conform/data/string.h-data: Likewise.
42014 * conform/data/strings.h-data: Likewise.
42015 * conform/data/stropts.h-data: Likewise.
42016 * conform/data/sys/ipc.h-data: Likewise.
42017 * conform/data/sys/mman.h-data: Likewise.
42018 * conform/data/sys/msg.h-data: Likewise.
42019 * conform/data/sys/resource.h-data: Likewise.
42020 * conform/data/sys/select.h-data: Likewise.
42021 * conform/data/sys/sem.h-data: Likewise.
42022 * conform/data/sys/shm.h-data: Likewise.
42023 * conform/data/sys/socket.h-data: Likewise.
42024 * conform/data/sys/stat.h-data: Likewise.
42025 * conform/data/sys/statvfs.h-data: Likewise.
42026 * conform/data/sys/time.h-data: Likewise.
42027 * conform/data/sys/timeb.h-data: Likewise.
42028 * conform/data/sys/times.h-data: Likewise.
42029 * conform/data/sys/types.h-data: Likewise.
42030 * conform/data/sys/uio.h-data: Likewise.
42031 * conform/data/sys/un.h-data: Likewise.
42032 * conform/data/sys/utsname.h-data: Likewise.
42033 * conform/data/sys/wait.h-data: Likewise.
42034 * conform/data/syslog.h-data: Likewise.
42035 * conform/data/tar.h-data: Likewise.
42036 * conform/data/termios.h-data: Likewise.
42037 * conform/data/utime.h-data: Likewise.
42038 * conform/data/utmpx.h-data: Likewise.
42039 * conform/data/varargs.h-data: Likewise.
42040 * conform/data/wchar.h-data: Likewise.
42041 * conform/data/wctype.h-data: Likewise.
42042 * conform/data/wordexp.h-data: Likewise.
42044 * include/stropts.h: New file.
42045 * include/uchar.h: New file.
42046 * include/aio.h: Changes to allow conformtest.pl to use the headers.
42047 * include/assert.h: Likewise.
42048 * include/ctype.h: Likewise.
42049 * include/dirent.h: Likewise.
42050 * include/dlfcn.h: Likewise.
42051 * include/fcntl.h: Likewise.
42052 * include/fnmatch.h: Likewise.
42053 * include/glob.h: Likewise.
42054 * include/grp.h: Likewise.
42055 * include/libio.h: Likewise.
42056 * include/locale.h: Likewise.
42057 * include/math.h: Likewise.
42058 * include/net/if.h: Likewise.
42059 * include/netdb.h: Likewise.
42060 * include/netinet/in.h: Likewise.
42061 * include/pthread.h: Likewise.
42062 * include/pwd.h: Likewise.
42063 * include/regex.h: Likewise.
42064 * include/sched.h: Likewise.
42065 * include/search.h: Likewise.
42066 * include/setjmp.h: Likewise.
42067 * include/signal.h: Likewise.
42068 * include/stdio.h: Likewise.
42069 * include/stdlib.h: Likewise.
42070 * include/string.h: Likewise.
42071 * include/sys/cdefs.h: Likewise.
42072 * include/sys/mman.h: Likewise.
42073 * include/sys/msg.h: Likewise.
42074 * include/sys/resource.h: Likewise.
42075 * include/sys/select.h: Likewise.
42076 * include/sys/socket.h: Likewise.
42077 * include/sys/stat.h: Likewise.
42078 * include/sys/statvfs.h: Likewise.
42079 * include/sys/time.h: Likewise.
42080 * include/sys/times.h: Likewise.
42081 * include/sys/uio.h: Likewise.
42082 * include/sys/utsname.h: Likewise.
42083 * include/sys/wait.h: Likewise.
42084 * include/termios.h: Likewise.
42085 * include/time.h: Likewise.
42086 * include/ulimit.h: Likewise.
42087 * include/unistd.h: Likewise.
42088 * include/utime.h: Likewise.
42089 * include/wchar.h: Likewise.
42090 * include/wctype.h: Likewise.
42091 * include/wordexp.h: Likewise.
42093 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42095 * time/time.h: TIME_UTC must be a macro.
42096 Make timespec_get available for ISO C11 only as well.
42098 2012-02-24 Ulrich Drepper <drepper@gmail.com>
42100 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42101 Reported by Peng Haitao <penght@cn.fujitsu.com>.
42103 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42105 * configure.in: Use -o not -a in test for unsupported multi-arch.
42107 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42109 * manual/texinfo.tex: Update to version 2012-01-19.16.
42111 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42113 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42115 2012-02-24 Roland McGrath <roland@hack.frob.com>
42118 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42119 * manual/fdl-1.3.texi: New file.
42120 * manual/fdl-1.1.texi: File removed.
42123 * manual/libc.texinfo (FDL_VERSION): New @set.
42124 Use it for mention of FDL in cover text.
42125 (Documentation License): Use it in @include file name.
42127 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42128 Roland McGrath <roland@hack.frob.com>
42131 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42132 (not LONG_LONG_MAX and LONG_LONG_MIN.
42133 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42134 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
42136 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42138 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42142 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42143 manipulate bits before adding and subtracting TWO23[sx].
42144 * math/libm-test.inc (nearbyint_test): Add more tests.
42146 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42149 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42150 bits before adding and subtracting TWO23[sx].
42151 * math/libm-test.inc (rint_test): Add more tests.
42152 (rint_test_tonearest): Likewise.
42153 (rint_test_towardzero): Likewise.
42154 (rint_test_downward): Likewise.
42155 (rint_test_upward: Likewise.
42157 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42160 * include/stdc-predef.h: New file. Extracted from features.h.
42161 * include/features.h: Include stdc-predef.h.
42162 * Makefile (headers): Add stdc-predef.h.
42163 * CONFORMANCE (Compiler limitations): Update.
42165 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42167 * manual/libc.texinfo (VERSION, UPDATED): Revert.
42169 2012-02-21 David S. Miller <davem@davemloft.net>
42171 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42172 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42174 2012-02-20 David S. Miller <davem@davemloft.net>
42176 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42177 using a normal save/restore sequence, rather than allocating a
42178 dummy stack frame just to store a frame pointer and restore.
42179 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42181 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42183 * manual/install.texi: Fix stray word in line-wrapped comment.
42185 2012-02-20 David S. Miller <davem@davemloft.net>
42187 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42188 both binutils and gcc support GOTDATA.
42190 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42191 "rd %pc" in the PIC register setup sequences.
42193 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42194 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42195 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42196 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42197 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42198 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42199 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42200 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42201 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42202 (SYSCALL_ERROR_HANDLER): Likewise.
42203 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42204 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42205 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42206 (SYSCALL_ERROR_HANDLER): Likewise.
42208 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42209 (HAVE_GCC_GOTDATA): New.
42210 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42211 relocation support in both binutils and gcc.
42212 * sysdeps/sparc/elf/configure: Regenerate.
42214 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42215 * sysdeps/sparc/sparc32/elf/configure: Delete.
42216 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42217 * sysdeps/sparc/sparc64/elf/configure: Delete.
42218 * sysdeps/sparc/elf/configure.in: New file.
42219 * sysdeps/sparc/elf/configure: Generate.
42221 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42222 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42223 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42224 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42225 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42227 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42229 * manual/install.texi: Do not mention specific glibc version
42231 * manual/libc.texinfo (VERSION, UPDATED): Update.
42232 (@copying): Use @copyright{} and range of years.
42234 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42237 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42238 [crti.S not in sysdirs] (generated): Do not append.
42239 [crti.S not in sysdirs] (omit-deps): Likewise.
42240 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42241 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42242 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42243 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42244 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42246 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42247 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42248 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42249 * csu/defs.awk: Remove file.
42250 * sysdeps/generic/initfini.c: Likewise.
42251 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42253 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42256 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42258 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42259 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42260 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42261 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42262 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42263 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42265 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42266 (__EPOLL_PACKED): Define to empty if not defined by
42268 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42272 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42274 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42275 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42276 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42277 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42279 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42283 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42285 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42287 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42288 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42289 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42292 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
42294 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42295 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42297 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
42299 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42300 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42302 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42304 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42307 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
42309 * math/w_acos.c: Use non-signaling floating-point comparisons.
42310 * math/w_acosf.c: Likewise.
42311 * math/w_acosh.c: Likewise.
42312 * math/w_acoshf.c: Likewise.
42313 * math/w_acoshl.c: Likewise.
42314 * math/w_acosl.c: Likewise.
42315 * math/w_asin.c: Likewise.
42316 * math/w_asinf.c: Likewise.
42317 * math/w_asinl.c: Likewise.
42318 * math/w_atanh.c: Likewise.
42319 * math/w_atanhf.c: Likewise.
42320 * math/w_atanhl.c: Likewise.
42321 * math/w_exp2.c: Likewise.
42322 * math/w_exp2f.c: Likewise.
42323 * math/w_exp2l.c: Likewise.
42324 * math/w_j0.c: Likewise.
42325 * math/w_j0f.c: Likewise.
42326 * math/w_j0l.c: Likewise.
42327 * math/w_j1.c: Likewise.
42328 * math/w_j1f.c: Likewise.
42329 * math/w_j1l.c: Likewise.
42330 * math/w_jn.c: Likewise.
42331 * math/w_jnf.c: Likewise.
42332 * math/w_log.c: Likewise.
42333 * math/w_log10.c: Likewise.
42334 * math/w_log10f.c: Likewise.
42335 * math/w_log10l.c: Likewise.
42336 * math/w_log2.c: Likewise.
42337 * math/w_log2f.c: Likewise.
42338 * math/w_log2l.c: Likewise.
42339 * math/w_logf.c: Likewise.
42340 * math/w_logl.c: Likewise.
42341 * math/w_sqrt.c: Likewise.
42342 * math/w_sqrtf.c: Likewise.
42343 * math/w_sqrtl.c: Likewise.
42344 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42345 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42346 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42347 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42348 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42350 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42353 * manual/string.texi (strnlen): Use correct parameter name in
42354 equivalent expression.
42356 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42359 * manual/users.texi (seteuid): Consistently use neweuid for
42362 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42365 * manual/nss.texi (Services in the NSS configuration): Correct
42366 list of services in example configuration file.
42368 2012-02-19 Nick Bowler <nbowler@draconx.ca>
42371 * manual/arith.texi: Remove statements about negative zero
42372 behaving identically to zero.
42374 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42377 * manual/install.texi: Do not document upgrading from libc5.
42379 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42382 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42384 2012-02-18 David S. Miller <davem@davemloft.net>
42386 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42387 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42388 %o7 across the call.
42389 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42391 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42392 SETUP_PIC_REG_LEAF.
42393 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42394 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42395 * sysdeps/sparc/crtn.S: Likewise.
42397 2012-02-17 Ulrich Drepper <drepper@gmail.com>
42399 * aout/Makefile: Remove.
42401 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
42404 * manual/examples/argp-ex1.c (main): Format definition in GNU
42406 * manual/examples/argp-ex2.c (main): Likewise.
42407 * manual/examples/argp-ex3.c (main): Likewise.
42408 * manual/examples/argp-ex4.c (main): Likewise.
42409 * manual/examples/longopt.c (main): Use new-style prototype
42411 * manual/examples/strncat.c (main): Specify return type and use
42412 (void) for arguments.
42413 * manual/examples/subopt.c (main): Use char **argv argument.
42415 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42418 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42421 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
42424 * manual/string.texi (strchr): Change when strchrnul is
42427 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
42430 * manual/locale.texi (setlocale): Document LOCPATH.
42432 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42435 * manual/process.texi (execle): Move @dots{} before last argument.
42437 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
42440 * manual/charset.texi (Generic Charset Conversion): Fix typo
42441 (LC_TYPE -> LC_CTYPE).
42443 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
42446 * manual/arith.texi (scalbn): Use @var{} on parameter names.
42447 (scalbnf): Likewise.
42448 (scalbnl): Likewise.
42449 (scalbln): Likewise.
42450 (scalblnf): Likewise.
42451 (scalblnl): Likewise.
42452 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42453 (vwarnx): Likewise.
42456 * manual/filesys.texi (telldir): Use braces around return type.
42457 * manual/llio.texi (mmap): Add space after comma.
42458 (mmap64): Likewise.
42459 * manual/math.texi (jn): Use @var{} on parameter names.
42465 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42467 * manual/resource.texi (ulimit): Use @dots{} instead of literal
42469 (sched_get_priority_min): Remove semicolon on @deftypefun line.
42470 (sched_get_priority_max): Likewise.
42471 * manual/signal.texi (sigvec): Add space after comma.
42472 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42474 (if_indextoname): Likewise.
42475 (if_freenameindex): Likewise.
42476 (sendto): Use ',' instead of '.' in prototype.
42477 * manual/startup.texi (syscall): Use @dots{} instead of literal
42479 * manual/stdio.texi (__fpending): Separate initial words of
42480 paragraph from @deftypefun line.
42481 * manual/syslog.texi (syslog): Use @dots{} instead of literal
42483 (vsyslog): Use @var{} on parameter names.
42484 * manual/terminal.texi (stty): Use @var{} on parameter names.
42485 * manual/users.texi (getutmp): Use @var{} on parameter names.
42486 (getutmpx): Likewise.
42488 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42491 * manual/stdio.texi (fopen): Fix typos in description of
42494 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
42497 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42498 get clock_id definition.
42500 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
42503 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42504 (madvise): Cast every argument to void on its own.
42506 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42509 * manual/startup.texi (Exit Status): Fix typo.
42511 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42514 * manual/examples/argp-ex1.c: Include <stdlib.h>.
42515 * manual/examples/argp-ex2.c: Likewise.
42516 * manual/examples/argp-ex3.c: Likewise.
42518 2012-02-16 Richard Henderson <rth@redhat.com>
42520 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42521 * sysdeps/s390/s390-32/initfini.c: Remove.
42522 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42523 * sysdeps/s390/s390-64/initfini.c: Remove.
42525 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42527 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42528 compiler output for sysdeps/generic/initfini.c.
42529 * sysdeps/sh/elf/initfini.c: Remove file.
42531 2012-02-16 David S. Miller <davem@davemloft.net>
42534 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42536 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42537 * sysdeps/sparc/crti.S: New file.
42538 * sysdeps/sparc/crtn.S: New file.
42539 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42540 * sysdeps/sparc/sparc64/Makefile: Likewise.
42542 2012-02-15 Mike Frysinger <vapier@gentoo.org>
42545 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42547 2012-02-15 Roland McGrath <roland@hack.frob.com>
42550 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42552 * mach/devstream.c (cookie_io_functions_t): Macro removed.
42553 (write, read, close): Likewise.
42554 Patch by Aurelien Jarno <aurelien@aurel32.net>.
42556 2012-02-15 Joseph Myers <joseph@codesourcery.com>
42558 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42559 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42560 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42561 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42563 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42564 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42567 2012-02-14 Marek Polacek <polacek@redhat.com>
42569 * sysdeps/x86_64/crti.S: New file.
42570 * sysdeps/x86_64/crtn.S: New file.
42571 * sysdeps/x86_64/elf/initfini.c: Remove file.
42573 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42575 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42576 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42577 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42578 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42580 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42584 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42586 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42587 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42588 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42589 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42591 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42595 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
42597 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42598 __feraiseexcept instead of feraiseexcept.
42600 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42601 nanosleep invocations.
42602 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42603 strings, and add error checking for a nanosleep invocations.
42605 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
42607 Replace FSF snail mail address with URLs, as per GNU coding standards.
42608 Most of the snail mail addresses were wrong anyway, and omitting
42609 them makes the source code easier to maintain. Almost all of the
42610 changes are to license notices and to locale LC_IDENTIFICATION
42611 addresses, except for this one:
42612 * manual/libc.texinfo: In "Published by", give the FSF's URL,
42613 not its snail mail address.
42615 2012-02-09 Richard Henderson <rth@twiddle.net>
42617 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42618 of kernel-features.h.
42620 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42622 2012-02-08 Marek Polacek <polacek@redhat.com>
42624 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42625 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42626 * sysdeps/gnu/_G_config.h: Likewise.
42627 * sysdeps/generic/_G_config.h: Likewise.
42629 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
42631 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42635 * sysdeps/powerpc/powerpc32/crti.S: New file.
42636 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42637 * sysdeps/powerpc/powerpc64/crti.S: New file.
42638 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42640 * Makeconfig (have-initfini): Don't set.
42641 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42642 * configure.in (nopic_initfini): Don't substitute.
42643 * config.h.in (HAVE_INITFINI): Don't #undef.
42644 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42645 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42647 2012-02-08 Joseph Myers <joseph@codesourcery.com>
42649 Support crti.S and crtn.S provided directly by architectures.
42650 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42651 [crti.S in sysdirs] (omit-deps): Likewise.
42652 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42653 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42654 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42655 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42656 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42657 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42658 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42659 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42660 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42661 compiler output for sysdeps/generic/initfini.c.
42662 * sysdeps/i386/elf/Makefile: Remove file.
42663 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42665 2012-02-07 Marek Polacek <polacek@redhat.com>
42667 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42668 * sysdeps/gnu/_G_config.h: Likewise.
42669 * sysdeps/mach/hurd/_G_config.h: Likewise.
42671 2012-02-07 Marek Polacek <polacek@redhat.com>
42673 * math/Makefile (tests): Add tst-CMPLX2.
42674 * math/tst-CMPLX2.c: New file.
42676 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42678 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42680 * math/libm-test.inc (jn_test): Add missing L suffix.
42682 2012-02-06 Marek Polacek <polacek@redhat.com>
42684 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42685 * sysdeps/i386/fpu/e_powf.S: Likewise.
42686 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42687 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42688 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42689 * sysdeps/i386/fpu/e_pow.S: Likewise.
42690 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42691 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42692 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42693 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42694 * sysdeps/i386/fpu/e_log2.S: Likewise.
42695 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42696 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42697 * sysdeps/i386/fpu/e_powl.S: Likewise.
42698 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42699 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42700 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42701 * sysdeps/i386/fpu/e_logl.S: Likewise.
42702 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42703 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42704 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42705 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42706 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42707 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42708 * sysdeps/i386/fpu/e_log.S: Likewise.
42709 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42710 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42711 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42712 * sysdeps/i386/fpu/e_logf.S: Likewise.
42713 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42714 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42715 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42716 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42717 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42718 * sysdeps/i386/fpu/e_log10.S: Likewise.
42719 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42720 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42721 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42722 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42723 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42724 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42725 * sysdeps/i386/asm-syntax.h: Likewise.
42726 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42727 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42728 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42729 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42730 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42731 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42732 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42733 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42734 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42735 * sysdeps/powerpc/sysdep.h: Likewise.
42736 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42737 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42739 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42742 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42744 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42746 * sysdeps/i386/sysdep.h: Include <features.h>.
42747 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42750 2012-02-05 Joseph Myers <joseph@codesourcery.com>
42752 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42754 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42757 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42759 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42760 (SETUP_PIC_REG): Use GET_PC_THUNK.
42761 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42764 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42766 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42767 for non-PIC compilation.
42768 (SETUP_PIC_REG): Add .p2align directive.
42769 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42770 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42771 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42772 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42773 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42774 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42775 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42776 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42777 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42778 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42779 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42780 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42781 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42782 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42783 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42784 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42785 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42786 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42787 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42788 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42789 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42790 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42791 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42792 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42793 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42794 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42795 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42796 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42797 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42798 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42799 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42800 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42801 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42802 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42803 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42804 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42805 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42806 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42807 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42808 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42809 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42811 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42813 * math/tst-CMPLX.c: Include <stdio.h>.
42815 2012-01-31 Joseph Myers <joseph@codesourcery.com>
42817 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42819 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42820 * sysdeps/sparc/bits/mathdef.h: Likewise.
42822 2012-01-31 Marek Polacek <polacek@redhat.com>
42824 * libio/libio.h: Don't define _PARAMS.
42825 * locale/programs/config.h: Don't define PARAMS.
42826 * stdlib/strtol_l.c: Likewise.
42827 (__strtol_l): Remove PARAMS from the prototype.
42829 2012-01-31 Ulrich Drepper <drepper@gmail.com>
42831 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42832 names. Just use the correct names. Remove unnecessary wrapper
42834 * malloc/arena.c: Likewise.
42835 * malloc/hooks.c: Likewise.
42837 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42838 ARENA_TEST says not to. Simplify test for creation of a new arena.
42839 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42841 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42843 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42845 (update_get_addr): New function.
42846 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42847 GET_ADDR_MODULE parameter.
42849 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42851 * crypt/cert.c: Remove __STDC__ conditionals.
42852 * crypt/crypt-entry.c: Likewise.
42853 * crypt/crypt_util.c: Likewise.
42854 * libio/filedoalloc.c: Likewise.
42855 * libio/fileops.c: Likewise.
42856 * libio/genops.c: Likewise.
42857 * libio/iofclose.c: Likewise.
42858 * libio/iofdopen.c: Likewise.
42859 * libio/iofopen.c: Likewise.
42860 * libio/iofopen64.c: Likewise.
42861 * libio/iogetdelim.c: Likewise.
42862 * libio/iopopen.c: Likewise.
42863 * libio/obprintf.c: Likewise.
42864 * libio/oldfileops.c: Likewise.
42865 * libio/oldiofclose.c: Likewise.
42866 * libio/oldiofdopen.c: Likewise.
42867 * libio/oldiofopen.c: Likewise.
42868 * libio/oldiopopen.c: Likewise.
42869 * libio/wfiledoalloc.c: Likewise.
42870 * libio/wgenops.c: Likewise.
42871 * locale/programs/xmalloc.c: Likewise.
42872 * misc/syslog.c: Likewise.
42873 * stdio-common/xbug.c: Likewise.
42874 * string/memchr.c: Likewise.
42875 * string/memcmp.c: Likewise.
42876 * string/memrchr.c: Likewise.
42877 * string/rawmemchr.c: Likewise.
42878 * sysdeps/posix/getcwd.c: Likewise.
42879 * time/strftime_l.c: Likewise.
42881 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42883 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42884 * config.make.in (config-cflags-sse2avx): Define.
42885 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42888 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42890 * scripts/config.guess: Update from upstream config git repository.
42891 * scripts/config.sub: Likewise.
42893 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42895 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42897 (R_TILEPRO_*, R_TILEGX_*): New macros.
42899 * scripts/firstversions.awk: Fix bug in version range handling.
42901 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42903 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42905 * include/sys/epoll.h: New file.
42906 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42909 2012-01-28 Ulrich Drepper <drepper@gmail.com>
42911 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42912 Avoid unnecessary __WORDSIZE == 64 test.
42913 (fmaxf): Use VEX format if possible.
42918 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42919 * math/math_private.h: Remove libc_fegetround* and
42921 * sysdeps/i386/configure.in: Check for -msse2avx.
42922 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42923 also if SSE2AVX is defined.
42924 Remove libc_fegetround* and libc_fesetround*.
42925 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42926 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42927 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42929 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42930 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42931 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42932 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42933 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42935 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42937 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42939 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42941 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42943 2012-01-27 Ulrich Drepper <drepper@gmail.com>
42946 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42948 * Makeconfig (libm): Define.
42949 * elf/Makefile: Add rules to build and run tst-relsort1.
42950 * elf/tst-relsort1.c: New file.
42951 * elf/tst-relsort1mod1.c: New file.
42952 * elf/tst-relsort1mod2.c: New file.
42954 2012-01-27 Joseph Myers <joseph@codesourcery.com>
42956 * math/s_ldexp.c: Remove __STDC__ conditionals.
42957 * math/s_ldexpf.c: Likewise.
42958 * math/s_ldexpl.c: Likewise.
42959 * math/s_nextafter.c: Likewise.
42960 * math/s_nexttowardf.c: Likewise.
42961 * math/s_significand.c: Likewise.
42962 * math/s_significandf.c: Likewise.
42963 * math/s_significandl.c: Likewise.
42964 * math/w_jnl.c: Likewise.
42965 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42966 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42967 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42968 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42969 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42970 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42971 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42972 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42973 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42974 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42975 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42976 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42977 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42978 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42979 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42980 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42981 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42982 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42983 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42984 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42985 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42986 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42987 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42988 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42989 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42990 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42991 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42992 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42993 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42994 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42995 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42996 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42997 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42998 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42999 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43000 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43001 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43002 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43003 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43004 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43005 * sysdeps/ieee754/k_standard.c: Likewise.
43006 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43007 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43008 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43009 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43010 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43011 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43012 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43013 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43014 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43015 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43016 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43017 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43018 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43019 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43020 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43021 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43022 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43023 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43024 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43025 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43026 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43027 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43028 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43029 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43030 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43031 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43032 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43033 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43034 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43035 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43036 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43037 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43038 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43039 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43040 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43041 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43042 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43043 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43044 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43045 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43046 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43047 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43048 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43049 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43050 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43051 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43052 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43053 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43054 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43055 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43056 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43057 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43058 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43059 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43060 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43061 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43062 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43063 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43064 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43065 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43066 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43067 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43068 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43069 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43070 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43071 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43072 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43073 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43074 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43075 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43076 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43077 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43078 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43079 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43080 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43081 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43082 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43083 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43084 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43085 * sysdeps/ieee754/s_matherr.c: Likewise.
43086 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43087 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43088 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43089 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43091 2012-01-26 Joseph Myers <joseph@codesourcery.com>
43093 * crypt/md5.h: Remove __STDC__ conditionals.
43094 * libio/libioP.h: Likewise.
43095 * locale/programs/config.h: Likewise.
43096 * sysdeps/generic/sysdep.h: Likewise.
43097 * sysdeps/i386/asm-syntax.h: Likewise.
43098 * sysdeps/s390/asm-syntax.h: Likewise.
43099 * sysdeps/unix/sysdep.h: Likewise.
43100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43103 2012-01-26 Joseph Myers <joseph@codesourcery.com>
43105 * libio/libio.h: Remove __STDC__ conditionals.
43106 * malloc/obstack.h: Likewise.
43107 * math/complex.h: Likewise.
43108 * math/math.h: Likewise.
43109 * sysdeps/generic/_G_config.h: Likewise.
43110 * sysdeps/gnu/_G_config.h: Likewise.
43111 * sysdeps/mach/hurd/_G_config.h: Likewise.
43112 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43113 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43114 * sysdeps/sparc/bits/mathdef.h: Likewise.
43116 2012-01-26 Ulrich Drepper <drepper@gmail.com>
43119 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43120 Clean up HAS_* macros.
43121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43122 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43124 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43126 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43127 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43128 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43129 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43130 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43132 2012-01-25 Joseph Myers <joseph@codesourcery.com>
43134 * elf/tst-unique3.cc (gets): Remove declaration.
43135 * elf/tst-unique3lib.cc (gets): Likewise.
43136 * elf/tst-unique3lib2.cc (gets): Likewise.
43137 * elf/tst-unique4.cc (gets): Likewise.
43139 2012-01-24 Ulrich Drepper <drepper@gmail.com>
43141 * include/stdio.h: Add C++ protection. Add gets declarations and
43143 * debug/tst-chk1.c: Don't declare gets here.
43144 * stdio-common/tst-gets.c: Likewise.
43146 2012-01-24 Joseph Myers <joseph@codesourcery.com>
43148 * posix/glob: Remove directory.
43150 2012-01-24 Joseph Myers <joseph@codesourcery.com>
43152 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43154 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
43156 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43157 of the non-standard EPFNOSUPPORT.
43159 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
43161 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43162 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43163 ANYWHERE set to 1 only on KERN_NO_SPACE error.
43165 2012-01-21 Ulrich Drepper <drepper@gmail.com>
43167 * wcsmbs/uchar.h: Test __STDC_VERSION__.
43169 2012-01-20 Ulrich Drepper <drepper@gmail.com>
43171 * nscd/aicache.c (addhstaiX): Do not cache negative results of
43173 * nscd/grpcache.c (cache_addgr): Likewise.
43174 * nscd/hstcache.c (cache_addhst): Likewise.
43175 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43176 * nscd/pwdcache.c (cache_addpw): Likewise.
43177 * nscd/servicescache.c (cache_addserv): Likewise.
43179 2012-01-16 Ulrich Drepper <drepper@gmail.com>
43181 * malloc/malloc.c: Various cleanups.
43182 * malloc/hooks.c: Likewise.
43184 * stdlib/Makefile (tests): Add bug-fmtmsg1.
43185 * stdlib/bug-fmtmsg1.c: New file.
43187 * stdlib/fmtmsg.c (init): Add missing unlock.
43188 Patch by Peng Haitao <penght@cn.fujitsu.com>.
43190 2012-01-12 Marek Polacek <polacek@redhat.com>
43192 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43195 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43197 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43198 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43199 macro to ensure uniqueness of label name.
43200 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43201 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43203 2012-01-11 Ulrich Drepper <drepper@gmail.com>
43205 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43207 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43208 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43209 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43210 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43212 2012-01-10 Ulrich Drepper <drepper@gmail.com>
43214 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43216 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43217 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43218 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43220 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43222 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43223 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43224 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43225 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43227 * math/bits/math-finite.h: Add ldexp support.
43229 2012-01-10 Marek Polacek <polacek@redhat.com>
43231 * locale/programs/localedef.h (show_archive_content): Add noreturn
43234 2012-01-09 Ulrich Drepper <drepper@gmail.com>
43236 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43238 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43240 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43242 * io/Makefile (headers): Add bits/poll2.h.
43244 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
43246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43247 typo #include statement.
43249 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43251 * include/sys/cdefs.h: Define __attribute_alloc_size.
43252 * catgets/gencat.c: Add alloc_size attribute and apply consistently
43253 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43254 * elf/pldd.c: Likewise.
43255 * iconv/iconv_charmap.c: Likewise.
43256 * iconv/iconvconfig.c: Likewise.
43257 * iconv/strtab.c: Likewise.
43258 * locale/programs/locale.c: Likewise.
43259 * locale/programs/localedef.h: Likewise.
43260 * locale/programs/simple-hash.c: Likewise.
43261 * nscd/nscd.h: Likewise.
43262 * nss/makedb.c: Likewise.
43263 * sysdeps/generic/ldconfig.h: Likewise.
43264 * locale/programs/localedef.c: Remove xmalloc prototype.
43265 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43267 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43269 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43272 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43274 * math/Makefile (tests): Add tst-CMPLX.
43275 * math/tst-CMPLX.c: New file.
43277 * math/complex.h (CMPLXL): Fix typo.
43279 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43280 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43282 * debug/tst-chk1.c: Add poll and ppoll tests.
43283 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43284 * include/sys/poll.h: Add hidden proto for ppoll.
43285 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43286 * sysdeps/mach/hurd/ppoll.c: Likewise.
43287 * io/ppoll.c: Likewise.
43288 * debug/poll_chk.c: New file.
43289 * debug/ppoll_chk.c: New file.
43290 * include/bits/poll2.h: New file.
43291 * io/bits/poll2.h: New file.
43294 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43296 * configure.in: static is always set to yes. Remove.
43297 * config.make.in: Don't set build-static.
43298 * Makeconfig: Remove use of build-static.
43299 * dlfcn/Makefile: Likewise.
43300 * elf/Makefile: Likewise.
43301 * math/Makefile: Likewise.
43302 * misc/Makefile: Likewise.
43303 * nptl/Makefile: Likewise.
43304 * sysdeps/mach/hurd/Makefile: Likewise.
43306 * configure.in: PWD_P is not used anymore.
43307 * config.make.in: Remove PWD_P entry.
43309 * configure.in: Remove last remnants of RANLIB.
43310 No need to check for signed size_t anymore.
43311 Don't set libc_commonpagesize and libc_relro_required here for Alpha
43313 Remove __builtin_expect test because we require at least gcc 3.4.
43314 * aclocal.m4: Likewise.
43316 * wcsmbs/mbrtoc16.c: Implement using towc function.
43317 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43318 * wcsmbs/wcsmbsload.c: Likewise.
43319 * iconv/gconv_simple.c: Likewise.
43320 * iconv/gconv_int.h: Likewise.
43321 * iconv/gconv_builtin.h: Likewise.
43322 * iconv/iconv_prog.c: Remove CHAR16 handling.
43324 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43326 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43328 * configure.in: Remove --with-elf and --enable-bounded options.
43329 Dont set base_machine for ia64. More non-ELF conditions removed.
43330 Remove testing and setting of leading underscore information.
43331 * config.make.in (build-bounded): Set to no.
43332 * config.h.in: Remove NO_UNDERSCORES entry.
43333 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
43335 * csu/start.c: Remove !NO_UNDERSCORE code.
43336 * locale/localeinfo.h: Likewise.
43337 * sysdeps/generic/machine-gmon.h: Likewise.
43338 * sysdeps/generic/sysdep.h: Likewise.
43339 * sysdeps/i386/sysdep.h: Likewise.
43340 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43341 * sysdeps/mach/sysdep.h: Likewise.
43342 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43343 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43344 * sysdeps/sh/sysdep.h: Likewise.
43345 * sysdeps/sparc/sparc32/alloca.S: Likewise.
43346 * sysdeps/unix/i386/sysdep.S: Likewise.
43347 * sysdeps/unix/sparc/start.c: Likewise.
43348 * sysdeps/unix/sparc/sysdep.S: Likewise.
43349 * sysdeps/unix/sparc/sysdep.h: Likewise.
43350 * sysdeps/unix/start.c: Likewise.
43351 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43352 * sysdeps/x86_64/sysdep.h: Likewise.
43354 2012-01-07 Ulrich Drepper <drepper@gmail.com>
43357 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43359 * argp/argp-fmtstream.h: Use const instead __const.
43360 * argp/argp.h: Likewise.
43361 * assert/assert.h: Likewise.
43362 * bits/fenv.h: Likewise.
43363 * bits/sched.h: Likewise.
43364 * bits/sigset.h: Likewise.
43365 * bits/sigthread.h: Likewise.
43366 * catgets/nl_types.h: Likewise.
43367 * conform/data/pthread.h-data: Likewise.
43368 * crypt/crypt-private.h: Likewise.
43369 * crypt/crypt.h: Likewise.
43370 * crypt/crypt_util.c: Likewise.
43371 * ctype/ctype.h: Likewise.
43372 * debug/execinfo.h: Likewise.
43373 * debug/mbsnrtowcs_chk.c: Likewise.
43374 * debug/mbsrtowcs_chk.c: Likewise.
43375 * debug/wcsnrtombs_chk.c: Likewise.
43376 * debug/wcsrtombs_chk.c: Likewise.
43377 * debug/wcstombs_chk.c: Likewise.
43378 * dirent/dirent.h: Likewise.
43379 * dlfcn/dlfcn.h: Likewise.
43380 * elf/neededtest4.c: Likewise.
43381 * grp/grp.h: Likewise.
43382 * gshadow/gshadow.h: Likewise.
43383 * iconv/gconv.h: Likewise.
43384 * iconv/gconv_int.h: Likewise.
43385 * iconv/gconv_simple.c: Likewise.
43386 * iconv/iconv.h: Likewise.
43387 * iconv/loop.c: Likewise.
43388 * iconv/skeleton.c: Likewise.
43389 * include/aio.h: Likewise.
43390 * include/aliases.h: Likewise.
43391 * include/argz.h: Likewise.
43392 * include/arpa/inet.h: Likewise.
43393 * include/assert.h: Likewise.
43394 * include/dirent.h: Likewise.
43395 * include/dlfcn.h: Likewise.
43396 * include/execinfo.h: Likewise.
43397 * include/fcntl.h: Likewise.
43398 * include/fenv.h: Likewise.
43399 * include/glob.h: Likewise.
43400 * include/grp.h: Likewise.
43401 * include/libintl.h: Likewise.
43402 * include/mntent.h: Likewise.
43403 * include/netdb.h: Likewise.
43404 * include/pwd.h: Likewise.
43405 * include/rpc/netdb.h: Likewise.
43406 * include/sched.h: Likewise.
43407 * include/search.h: Likewise.
43408 * include/shadow.h: Likewise.
43409 * include/signal.h: Likewise.
43410 * include/stdio.h: Likewise.
43411 * include/stdlib.h: Likewise.
43412 * include/string.h: Likewise.
43413 * include/sys/socket.h: Likewise.
43414 * include/sys/stat.h: Likewise.
43415 * include/sys/statfs.h: Likewise.
43416 * include/sys/statvfs.h: Likewise.
43417 * include/sys/syslog.h: Likewise.
43418 * include/sys/time.h: Likewise.
43419 * include/sys/uio.h: Likewise.
43420 * include/time.h: Likewise.
43421 * include/unistd.h: Likewise.
43422 * include/utmp.h: Likewise.
43423 * include/wchar.h: Likewise.
43424 * include/wctype.h: Likewise.
43425 * inet/aliases.h: Likewise.
43426 * inet/arpa/inet.h: Likewise.
43427 * inet/netinet/ether.h: Likewise.
43428 * inet/netinet/in.h: Likewise.
43429 * intl/libintl.h: Likewise.
43430 * io/bits/fcntl2.h: Likewise.
43431 * io/fcntl.h: Likewise.
43432 * io/ftw.h: Likewise.
43433 * io/sys/poll.h: Likewise.
43434 * io/sys/stat.h: Likewise.
43435 * io/sys/statfs.h: Likewise.
43436 * io/sys/statvfs.h: Likewise.
43437 * io/utime.h: Likewise.
43438 * libio/bits/stdio.h: Likewise.
43439 * libio/bits/stdio2.h: Likewise.
43440 * libio/libio.h: Likewise.
43441 * libio/libioP.h: Likewise.
43442 * libio/stdio.h: Likewise.
43443 * locale/lc-ctype.c: Likewise.
43444 * locale/locale.h: Likewise.
43445 * login/utmp.h: Likewise.
43446 * malloc/arena.c: Likewise.
43447 * malloc/malloc.c: Likewise.
43448 * malloc/malloc.h: Likewise.
43449 * malloc/mcheck.c: Likewise.
43450 * malloc/mtrace.c: Likewise.
43451 * math/bits/mathcalls.h: Likewise.
43452 * math/fenv.h: Likewise.
43453 * math/math_private.h: Likewise.
43454 * misc/bits/error.h: Likewise.
43455 * misc/bits/syslog.h: Likewise.
43456 * misc/err.h: Likewise.
43457 * misc/error.h: Likewise.
43458 * misc/fstab.h: Likewise.
43459 * misc/mntent.h: Likewise.
43460 * misc/regexp.h: Likewise.
43461 * misc/search.h: Likewise.
43462 * misc/sgtty.h: Likewise.
43463 * misc/sys/mman.h: Likewise.
43464 * misc/sys/syslog.h: Likewise.
43465 * misc/sys/uio.h: Likewise.
43466 * misc/sys/xattr.h: Likewise.
43467 * misc/ttyent.h: Likewise.
43468 * nis/rpcsvc/ypclnt.h: Likewise.
43469 * nss/nss.h: Likewise.
43470 * posix/bits/unistd.h: Likewise.
43471 * posix/fnmatch.h: Likewise.
43472 * posix/glob.h: Likewise.
43473 * posix/sched.h: Likewise.
43474 * posix/spawn.h: Likewise.
43475 * posix/sys/wait.h: Likewise.
43476 * posix/unistd.h: Likewise.
43477 * posix/wordexp.h: Likewise.
43478 * pwd/pwd.h: Likewise.
43479 * resolv/netdb.h: Likewise.
43480 * resource/sys/resource.h: Likewise.
43481 * rt/aio.h: Likewise.
43482 * rt/bits/mqueue2.h: Likewise.
43483 * rt/mqueue.h: Likewise.
43484 * shadow/shadow.h: Likewise.
43485 * signal/signal.h: Likewise.
43486 * socket/send.c: Likewise.
43487 * socket/sendto.c: Likewise.
43488 * socket/sys/socket.h: Likewise.
43489 * stdio-common/printf.h: Likewise.
43490 * stdlib/bits/stdlib.h: Likewise.
43491 * stdlib/fmtmsg.h: Likewise.
43492 * stdlib/monetary.h: Likewise.
43493 * stdlib/stdlib.h: Likewise.
43494 * stdlib/ucontext.h: Likewise.
43495 * streams/stropts.h: Likewise.
43496 * string/argz.h: Likewise.
43497 * string/bits/string2.h: Likewise.
43498 * string/string.h: Likewise.
43499 * string/strings.h: Likewise.
43500 * sunrpc/rpc/auth.h: Likewise.
43501 * sunrpc/rpc/auth_des.h: Likewise.
43502 * sunrpc/rpc/clnt.h: Likewise.
43503 * sunrpc/rpc/netdb.h: Likewise.
43504 * sunrpc/rpc/pmap_clnt.h: Likewise.
43505 * sunrpc/rpc/xdr.h: Likewise.
43506 * sysdeps/generic/inttypes.h: Likewise.
43507 * sysdeps/generic/net/if.h: Likewise.
43508 * sysdeps/generic/sys/swap.h: Likewise.
43509 * sysdeps/gnu/net/if.h: Likewise.
43510 * sysdeps/gnu/utmpx.h: Likewise.
43511 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43512 * sysdeps/i386/i486/bits/string.h: Likewise.
43513 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43514 * sysdeps/s390/bits/string.h: Likewise.
43515 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43516 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43517 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43518 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43519 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43520 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43521 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43522 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43523 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43524 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43525 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43526 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43527 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43528 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43529 * sysdeps/unix/sysv/linux/readv.c: Likewise.
43530 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43531 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43532 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43533 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43534 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43535 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43536 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43537 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43538 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43539 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43540 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43541 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43542 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43543 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43544 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43545 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43546 * sysvipc/sys/ipc.h: Likewise.
43547 * sysvipc/sys/msg.h: Likewise.
43548 * sysvipc/sys/sem.h: Likewise.
43549 * sysvipc/sys/shm.h: Likewise.
43550 * termios/termios.h: Likewise.
43551 * time/sys/time.h: Likewise.
43552 * time/time.h: Likewise.
43553 * wcsmbs/bits/wchar2.h: Likewise.
43554 * wcsmbs/uchar.h: Likewise.
43555 * wcsmbs/wchar.h: Likewise.
43556 * wctype/wctype.h: Likewise.
43559 * Makeconfig: Remove all but ELF support including AIX support.
43560 * Makerules: Likewise.
43561 * config.h.in: Likewise.
43562 * config.make.in: Likewise.
43563 * configure: Likewise.
43564 * configure.in: Likewise.
43565 * csu/Makefile: Likewise.
43566 * csu/version.c: Likewise.
43567 * debug/Makefile: Likewise.
43568 * dlfcn/Makefile: Likewise.
43569 * elf/Makefile: Likewise.
43570 * extra-lib.mk: Likewise.
43571 * iconv/Makefile: Likewise.
43572 * include/libc-symbols.h: Likewise.
43573 * include/shlib-compat.h: Likewise.
43574 * resolv/Makefile: Likewise.
43575 * resolv/res_libc.c: Likewise.
43576 * rt/Makefile: Likewise.
43577 * sysdeps/i386/asm-syntax.h: Likewise.
43578 * sysdeps/i386/sysdep.h: Likewise.
43579 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43580 * sysdeps/mach/sysdep.h: Likewise.
43581 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43582 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43583 * sysdeps/s390/asm-syntax.h: Likewise.
43584 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43585 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43586 * sysdeps/sh/sysdep.h: Likewise.
43587 * sysdeps/unix/sparc/sysdep.h: Likewise.
43588 * sysdeps/wordsize-32/divdi3.c: Likewise.
43589 * sysdeps/x86_64/sysdep.h: Likewise.
43591 * argp/Versions: Remove _argp_unlock_xxx.
43594 * abilist/ld.abilist: Update. Adjust for removal of tls option.
43595 * abilist/libBrokenLocale.abilist: Likewise.
43596 * abilist/libanl.abilist: Likewise.
43597 * abilist/libc.abilist: Likewise.
43598 * abilist/libcrypt.abilist: Likewise.
43599 * abilist/libdl.abilist: Likewise.
43600 * abilist/libm.abilist: Likewise.
43601 * abilist/libnsl.abilist: Likewise.
43602 * abilist/libpthread.abilist: Likewise.
43603 * abilist/libresolv.abilist: Likewise.
43604 * abilist/librt.abilist: Likewise.
43605 * abilist/libthread_db.abilist: Likewise.
43606 * abilist/libutil.abilist: Likewise.
43607 * abilist/libnss_db.abilist: New file.
43609 * scripts/abilist.awk: Add support for indirect functions.
43611 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43613 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43615 * shlib-versions: Remove entries for ports architectures.
43617 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
43619 * elf/stackguard-macros.h: Remove support for IA-64.
43620 * elf/tst-auditmod1.c: Likewise.
43621 * sysdeps/generic/ldsodefs.h: Likewise.
43623 * sysdeps/unix/sysv/linux/configure.in: Ports should define
43624 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43628 * configure.in: Remove --enable-omitfp support.
43630 * config.make.in: Likewise.
43631 * Makeconfig: Likewise.
43632 * manual/install.texi: Likewise.
43634 In case anyone cares, the IA-64 architecture could move to ports.
43635 * sysdeps/ia64/*: Removed.
43636 * sysdeps/unix/sysv/linux/ia64/*: Removed.
43637 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43640 * configure.in: Remove entries for unsupported architectures.
43643 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43644 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43646 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43647 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43648 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43649 fall back to using wcrtomb.
43650 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43651 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43653 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43654 * wcsmbs/tst-c16c32-1.c: New file.
43656 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43659 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43661 * elf/tst-unique3.cc: Add explicit declaration of gets.
43662 * elf/tst-unique3lib.cc: Likewise.
43663 * elf/tst-unique3lib2.cc: Likewise.
43664 * elf/tst-unique4.cc: Likewise.
43666 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43668 2012-01-06 Joseph Myers <joseph@codesourcery.com>
43671 * assert/assert.h (static_assert): Don't define for C++.
43672 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43673 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43675 2012-01-03 Ulrich Drepper <drepper@gmail.com>
43677 * iconv/loop.c (single loop): Fix assertion in storing of
43680 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43682 2012-01-01 Ulrich Drepper <drepper@gmail.com>
43684 * posix/getconf.c: Update copyright year.
43685 * nss/getent.c: Likewise.
43686 * nss/makedb.c: Likewise.
43687 * iconv/iconvconfig.c: Likewise.
43688 * iconv/iconv_prog.c: Likewise.
43689 * elf/ldconfig.c: Likewise.
43690 * elf/pldd.c: Likewise.
43691 * elf/sotruss.ksh: Likewise.
43692 * catgets/gencat.c: Likewise.
43693 * csu/version.c: Likewise.
43694 * elf/ldd.bash.in: Likewise.
43695 * elf/sprof.c (print_version): Likewise.
43696 * locale/programs/locale.c: Likewise.
43697 * locale/programs/localedef.c: Likewise.
43698 * login/programs/pt_chown.c: Likewise.
43699 * nscd/nscd.c (print_version): Likewise.
43700 * debug/xtrace.sh: Likewise.
43701 * malloc/memusage.sh: Likewise.
43702 * malloc/mtrace.pl: Likewise.
43703 * debug/catchsegv.sh: Likewise.
43705 2011-12-30 Jakub Jelinek <jakub@redhat.com>
43707 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43710 2011-12-24 Ulrich Drepper <drepper@gmail.com>
43713 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43714 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43716 * iconv/gconv_int.h: Likewise.
43717 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43718 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43719 from libc for GLIBC_2.16.
43720 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43721 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43722 * wcsmbs/uchar.h: Really define mbstate_t.
43723 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43724 * wcsmbs/c16rtomb.c: New file.
43725 * wcsmbs/mbrtoc16.c: New file.
43726 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43727 for C/POSIX locale.
43728 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43729 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43731 * wcsmbs/wchar.h: Add missing __restrict.
43733 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43736 * time/Makefile (routines): Add timespec_get.
43737 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43738 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43739 timespec for ISO C11.
43740 * time/timespec_get.c: New file.
43741 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43742 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43745 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43746 * stdlib/stdlib.h: Declare aligned_alloc.
43747 * Versions.def: Add GLIBC_2.16 for libc.
43748 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43751 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43754 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43758 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43761 * assert/assert.h (static_assert): Define.
43763 * version.h: Update for 2.16 development version.
43766 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43769 * version.h (RELEASE): Bump for 2.15 release.
43770 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43772 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43773 Patch by Marek Polacek <mpolacek@redhat.com>.
43775 * bits/byteswap.h: Protect long long constants with __extension__.
43776 * sysdeps/i386/bits/byteswap.h: Likewise.
43777 * sysdeps/ia64/bits/byteswap.h: Likewise.
43778 * sysdeps/s390/bits/byteswap.h: Likewise.
43779 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43781 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43784 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43785 destination buffer.
43786 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43788 2011-12-23 Marek Polacek <polacek@redhat.com>
43790 * elf/dl-addr.c (determine_info): Add inline keyword.
43791 * elf/tst-auditmod4b.c (check_avx): Likewise.
43792 * elf/tst-auditmod6b.c (check_avx): Likewise.
43793 * elf/tst-auditmod6c.c (check_avx): Likewise.
43794 * elf/tst-auditmod7b.c (check_avx): Likewise.
43796 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43798 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43801 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43804 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43805 processing for last bytes.
43807 2011-08-06 Bruno Haible <bruno@clisp.org>
43810 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43811 U+0385, not to U+1FEE.
43814 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43815 entry for U+00A5 U+0301.
43817 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43820 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43821 buffer for the output is too small.
43823 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43827 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43828 SSE flags if possible.
43830 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43833 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43834 processing for last bytes.
43836 2011-12-22 Joseph Myers <joseph@codesourcery.com>
43838 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43839 (syscall-list-default-options, syscall-list-default-condition)
43840 (syscall-list-includes): Define.
43841 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43842 list of ABIs and options and #if conditions for each ABI. Do not
43843 handle common syscalls between ABIs specially.
43844 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43846 (syscall-list-variants, syscall-list-32bit-options)
43847 (syscall-list-32bit-condition, syscall-list-64bit-options)
43848 (syscall-list-64bit-condition): Define.
43849 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43850 (syscall-list-variants, syscall-list-32bit-options)
43851 (syscall-list-32bit-condition, syscall-list-64bit-options)
43852 (syscall-list-64bit-condition): Define.
43853 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43855 (syscall-list-variants, syscall-list-32bit-options)
43856 (syscall-list-32bit-condition, syscall-list-64bit-options)
43857 (syscall-list-64bit-condition): Define.
43858 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43860 (syscall-list-variants, syscall-list-32bit-options)
43861 (syscall-list-32bit-condition, syscall-list-64bit-options)
43862 (syscall-list-64bit-condition): Define.
43864 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43866 * locale/iso-639.def: Add brx entry.
43869 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43870 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43872 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43873 __feraiseexcept_renamed.
43875 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43878 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43879 EPOLLET with unsigned values.
43880 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43881 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43883 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43884 to large cancellation.
43885 * math/s_cacoshf.c: Likewise.
43886 * math/s_cacoshl.c: Likewise.
43888 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43892 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43893 * math/s_cacoshf.c: Likewise.
43894 * math/s_cacoshl.c: Likewise.
43896 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43899 * iconv/gconv.h: Define __GCONV_SWAP.
43900 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43901 * iconvdata/utf-16.c: Likewise.
43902 * iconvdata/utf-32.c: Likewise.
43904 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43907 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43908 numerator after shifting it by one limb.
43910 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43912 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43913 under [__USE_EXTERN_INLINES].
43915 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43918 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43920 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43922 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43923 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43925 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43926 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43927 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43928 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43929 for strncasecmp/strncasecmp_l compilation.
43930 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43931 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43933 2011-12-08 Marek Polacek <mpolacek@redhat.com>
43936 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43939 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43942 * time/tzfile.c (__tzfile_read): Check values from file header.
43944 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43946 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43947 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43948 * powerpc/powerpc32/dl-start.S: Likewise.
43949 * powerpc/powerpc32/elf/start.S: Likewise.
43950 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43951 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43952 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43953 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43954 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43955 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43956 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43957 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43958 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43959 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43960 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43961 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43962 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43963 * powerpc/powerpc32/memset.S: Likewise.
43964 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43965 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43966 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43967 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43968 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43969 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43970 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43971 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43972 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43973 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43974 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43975 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43976 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43978 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43980 * math/libm-test.inc: Added more nearbyint tests.
43981 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43982 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43983 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43984 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43986 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43988 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43991 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43993 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43994 Add wcscpy-ssse3 wcscpy-c.
43995 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43996 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43997 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43998 * sysdeps/x86_64/wcschr.S: New file.
43999 * sysdeps/x86_64/wcsrchr.S: New file.
44000 * string/test-strcmp.c: Remove checking of wcscmp function for
44002 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44003 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44004 wcsrchr-sse2 wcsrchr-c.
44005 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44006 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44007 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44008 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44009 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44010 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44011 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44012 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44013 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44014 * wcsmbc/wcschr.c (WCSCHR): New macro.
44016 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44018 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44019 * wcsmbs/test-wcsrchr.c: New file.
44020 * string/test-strrchr.c: Add wcsrchr support.
44022 * wcsmbs/test-wcscpy.c: New file.
44023 * string/test-strcpy.c: Add wcscpy support.
44026 2011-12-10 Ulrich Drepper <drepper@gmail.com>
44028 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44031 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
44034 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44036 2011-12-04 Ulrich Drepper <drepper@gmail.com>
44038 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44039 Minor optimizations.
44041 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44042 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44043 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44045 2011-12-03 Ulrich Drepper <drepper@gmail.com>
44047 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44048 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44049 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44050 for gcc to avoid warnings.
44051 * inet/Makefile (tests): Add tst-checks.
44052 * inet/tst-checks.c: New file.
44054 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44057 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44060 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44061 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44063 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44065 2011-12-02 Ulrich Drepper <drepper@gmail.com>
44067 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44070 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44072 2011-11-29 Joseph Myers <joseph@codesourcery.com>
44074 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44075 conditional on GCC version.
44076 (__arch_compare_and_exchange_val_8_acq)
44077 (__arch_compare_and_exchange_val_16_acq)
44078 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44079 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44080 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44082 2011-12-02 Joseph Myers <joseph@codesourcery.com>
44084 * sysdeps/sh/backtrace.c: New file.
44086 2011-12-02 Andreas Schwab <schwab@redhat.com>
44088 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
44091 2011-12-01 Andreas Schwab <schwab@redhat.com>
44093 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44094 falling back to utime.
44096 2011-11-30 Andreas Schwab <schwab@redhat.com>
44098 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44099 expectations for float.
44101 2011-11-29 Andreas Schwab <schwab@redhat.com>
44103 * locale/weight.h (findidx): Add parameter len.
44104 * locale/weightwc.h (findidx): Likewise.
44105 * posix/fnmatch_loop.c (FCT): Adjust caller.
44106 * posix/regcomp.c (build_equiv_class): Likewise.
44107 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44108 * posix/regexec.c (check_node_accept_bytes): Likewise.
44109 * string/strcoll_l.c (STRCOLL): Likewise.
44110 * string/strxfrm_l.c (STRXFRM): Likewise.
44112 2011-11-17 Ulrich Drepper <drepper@gmail.com>
44114 * Makefile.in: Remove CVSOPT handling.
44115 * configure.in: Remove use of AC_REVISION.
44116 * iconvdata/Makefile (distribute): No need to filter out CVS.
44117 * scripts/list-sources.sh: Remove CVS, subversion and monotone
44120 2011-11-16 Andreas Schwab <schwab@redhat.com>
44122 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44123 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44124 [USE_AS_STRNCASECMP_L]: Likewise.
44125 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44126 NO_TLS_DIRECT_SEG_REFS.
44127 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44128 Fix argument offsets for non-PIC.
44129 [USE_AS_STRNCASECMP_L]: Likewise.
44130 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44131 NO_TLS_DIRECT_SEG_REFS.
44133 2011-11-15 Ulrich Drepper <drepper@gmail.com>
44135 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44137 * locale/loadlocale.c (_nl_load_locale): Likewise.
44139 2011-11-15 Andreas Schwab <schwab@redhat.com>
44141 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44142 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44143 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44144 (SYSCALL_GETTIME): Set errno on error.
44146 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44147 count references to noai6ai_cached.
44149 2011-11-15 Ulrich Drepper <drepper@gmail.com>
44151 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44153 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44154 FD_CLOEXEC for /proc/self/maps.
44156 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44157 FD_CLOEXEC for /proc/meminfo.
44159 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44162 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
44163 FD_CLOEXEC for given file.
44165 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44167 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44168 FD_CLOEXEC for /etc/hosts.
44169 (_gethtent): Likewise.
44171 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44173 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44174 cancellation and set FD_CLOEXEC for /etc/netgroup.
44176 * nss/nss_files/files-key.c (search): Don't allow cancellation when
44177 reading /etc/publickey.
44179 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44180 allow cancellation when reading /etc/group.
44182 * nss/nss_files/files-alias.c (internal_setent): Don't allow
44184 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
44186 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44187 when using data file.
44189 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44191 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44192 (write_nis_obj): Use "c" and "e" in fopen.
44194 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44196 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44198 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44200 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44202 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44205 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44207 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44209 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44211 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44212 file parsing and set FD_CLOEXEC.
44214 2011-11-14 Ulrich Drepper <drepper@gmail.com>
44216 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44218 2011-11-14 Andreas Schwab <schwab@redhat.com>
44220 * malloc/arena.c (arena_get2): Don't call reused_arena when
44221 _int_new_arena failed.
44223 2011-11-14 Ulrich Drepper <drepper@gmail.com>
44225 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44226 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44227 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44228 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44229 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44230 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44231 to compile strcasecmp and strncasecmp.
44232 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44233 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44235 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44237 2011-11-13 Ulrich Drepper <drepper@gmail.com>
44239 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44240 locale-defines.sym to gen-as-const-headers.
44241 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44242 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44243 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44244 to compile strcasecmp and strncasecmp.
44245 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44246 strcasecmp_l and strncasecmp_l.
44247 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44248 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44249 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44250 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44251 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44252 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44253 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44254 * sysdeps/i386/i686/multiarch/strncase.S: New file.
44255 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44256 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44257 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44259 2011-11-12 Ulrich Drepper <drepper@gmail.com>
44261 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44262 result of SYSDEP_GETTIME_CPU to retval.
44263 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44264 parameter list to macro. Remove trailing semicolon. Adjust users.
44266 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44269 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44271 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44273 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44274 from unused variable.
44276 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44278 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44281 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44284 * sunrpc/rpc_prot.c (rejected): Fix case value.
44286 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44287 unsigned long long int to avoid warnings in shift.
44289 * posix/regex_internal.c (re_string_reconstruct): Actually use result
44291 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44294 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44295 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44296 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44298 * nis/nis_table.c (nis_list): Use variable of correct type for
44299 result of __follow_path call.
44301 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44303 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44304 of math functions ceil, trunc, floor, round, and sqrt, when
44305 avaliable on the platform.
44306 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44308 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44309 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44310 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44312 2011-10-30 Marek Polacek <mpolacek@redhat.com>
44314 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44315 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44317 2011-11-11 Roland McGrath <roland@hack.frob.com>
44319 * include/unistd.h: Fix __readlink return type.
44320 Reported by Chris Metcalf <cmetcalf@tilera.com>.
44322 2011-11-11 Ulrich Drepper <drepper@gmail.com>
44324 * stdlib/ucontext.h: Undo last change for makecontext.
44326 2011-11-11 Andreas Schwab <schwab@redhat.com>
44328 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44330 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44331 * setjmp/setjmp.h: Mark functions as non-leaf.
44332 * setjmp/bits/setjmp2.h: Likewise.
44333 * stdlib/ucontext.h: Likewise.
44335 2011-11-10 Andreas Schwab <schwab@redhat.com>
44337 * malloc/arena.c (_int_new_arena): Don't increment narenas.
44338 (reused_arena): Don't check arena limit.
44339 (arena_get2): Atomically check arena limit.
44341 2011-11-08 Ulrich Drepper <drepper@gmail.com>
44343 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44344 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44346 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44349 2011-11-07 Andreas Schwab <schwab@redhat.com>
44351 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44352 handler when locking.
44354 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44355 Fix size of allocated buffer.
44357 2011-11-04 Andreas Schwab <schwab@redhat.com>
44360 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44361 declarations for long double functions.
44362 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44364 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44366 2011-11-03 Andreas Schwab <schwab@redhat.com>
44368 * nscd/nscd.c (main): Don't start AVC thread until credentials are
44371 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44374 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
44376 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44378 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
44380 * include/alloca.h (stackinfo_alloca_round): Define.
44381 (extend_alloca): Use it.
44382 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44383 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44386 * scripts/check-local-headers.sh: Ignore libaudit.h.
44388 * nscd/Makefile (extra-objs): Make recursively expanded.
44390 2011-11-01 Ulrich Drepper <drepper@gmail.com>
44392 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44393 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44395 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44396 * posix/tst-rfc3484-2.c: Likewise.
44397 * posix/tst-rfc3484-3.c: Likewise.
44399 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44401 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44403 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44404 process_vm_writev from libc using GLIBC_2.15 version.
44406 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44408 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
44410 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44413 2011-10-31 Ulrich Drepper <drepper@gmail.com>
44416 * nss/getent.c (initgroups_keys): Show error message in case no group
44419 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44420 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44421 __bump_nl_timestamp.
44422 * nscd/connections (nscd_init): When host database is served open
44423 netlink socket and request notification about configuration changes.
44424 (main_loop_poll): Track netlink file descriptor and bump timestamp
44425 in case data becomes available.
44426 (main_loop_epoll): Likewise.
44427 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44428 (database_pers_head): Add extra_data fileds.
44429 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44430 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44431 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44433 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44434 in6ai data, call __free_in6ai.
44435 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44436 Add -DHAVE_NETLINK.
44437 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
44438 interface information. Reuse previous data if netlink timestamp
44440 (__bump_nl_timestamp): New function.
44441 (__free_in6ai): New function.
44443 2011-10-30 Ulrich Drepper <drepper@gmail.com>
44445 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44446 close_not_cancel_no_status here.
44447 (__check_pf): Reorganize code a bit to not call close twice if OOM.
44449 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44452 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44455 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44456 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44457 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44459 2011-07-03 Andreas Jaeger <aj@suse.de>
44462 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44463 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44464 * math/libm-test.inc (sin_test): Add test case.
44466 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44469 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44470 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44472 * elf/chroot_canon.c (chroot_canon): Cleanups.
44474 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44477 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44478 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44480 * string/test-strchr.c: Make usable for strchrnul testing.
44481 * string/test-strchrnul.c: New file.
44482 * string/Makefile (strop-tests): Add strchrnul.
44484 * po/it.po: Update from translation team.
44485 * po/es.po: Likewise.
44487 2011-10-28 Ulrich Drepper <drepper@gmail.com>
44489 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44490 the three constants needed as parameters. Drop the others.
44491 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44492 __m128i_strloadu_tolower.
44493 Create and initialize variable zero and use it in all the places
44494 where _mm_setzero_si128 was used.
44496 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44497 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44498 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44499 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44501 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44502 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44503 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44504 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44505 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44506 __mpranred, __mptan.
44507 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44508 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44509 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44510 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44511 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44512 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44513 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44514 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44515 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44517 2011-10-28 Andreas Schwab <schwab@redhat.com>
44519 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44520 redefine if SHARED.
44521 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44523 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44524 wide char related routines to wcsmbs subdir.
44526 2011-10-27 Andreas Schwab <schwab@redhat.com>
44529 * misc/sys/cdefs.h (__THROWNL): Define.
44530 * posix/unistd.h: Use __THREADNL instead of __THREAD
44531 for memory synchronization functions.
44533 2011-10-26 Roland McGrath <roland@hack.frob.com>
44536 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44538 * manual/stdio.texi (Obstack Streams): Node removed.
44540 2011-10-26 Andreas Schwab <schwab@redhat.com>
44542 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44543 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44544 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44546 * math/math_private.h (math_force_eval): Allow non-addressable
44548 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44550 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44552 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44553 file is not needed.
44555 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44556 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44557 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44558 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44559 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44560 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44561 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44562 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44564 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44565 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44566 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44567 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44568 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44569 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44570 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44571 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44572 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44573 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44574 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44575 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44576 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44577 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44578 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44579 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44580 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44581 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44582 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44584 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44585 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
44587 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44588 place. Use VEX encoding when compiling for AVX.
44590 2011-10-25 Andreas Schwab <schwab@redhat.com>
44592 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44593 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44595 * string/test-strchr.c (do_test): Don't generate NUL bytes.
44597 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44599 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44600 useless if() expression.
44601 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44602 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44603 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44604 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44605 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44606 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44607 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44608 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44609 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44610 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44611 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44612 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44613 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44614 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44615 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44616 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44617 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44618 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44619 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44621 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44623 2011-10-25 Andreas Schwab <schwab@redhat.com>
44625 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44627 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44629 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44631 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44632 .text section. Avoid duplicate constants.
44633 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44634 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44635 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44636 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44637 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44638 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44639 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44640 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44641 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44642 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44643 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44644 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44645 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44646 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44647 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44648 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44649 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44650 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44651 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44652 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44653 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44654 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44655 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44656 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44657 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44658 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44659 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44660 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44661 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44662 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44663 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44664 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44665 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44666 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44667 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44668 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44669 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44670 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44671 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44672 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44673 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44674 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44675 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44676 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44677 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44679 2011-10-24 Ulrich Drepper <drepper@gmail.com>
44681 * sysdeps/x86_64/dla.h: Move to ...
44682 * sysdeps/x86_64/fpu/dla.h: ...here.
44683 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44684 situations. Use __builtin_fma only for gcc 4.6 and up.
44686 * config.make.in: Add have-mfma4 entry.
44687 * configure.in: Substitute libc_cv_cc_fma4.
44688 * math/Makefile (dbl-only-routines): Add sincostab.
44689 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44690 Use __sincostab not sincos.
44691 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44693 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44694 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44695 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44696 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44698 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44699 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44700 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44701 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44703 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44704 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44706 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44707 define aliases when function name is a macro.
44708 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44709 sysdeps/ieee754/dbl-64/sincos.tbl.
44710 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44711 fma4-enabled routines.
44712 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44713 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44714 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44715 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44716 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44717 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44718 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44719 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44720 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44721 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44722 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44723 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44724 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44725 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44726 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44727 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44728 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44729 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44730 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44731 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44732 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44733 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44734 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44735 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44736 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44737 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44738 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44739 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44740 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44741 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44743 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44745 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44746 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44747 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44748 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44749 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44750 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44751 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44752 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44754 2011-10-24 Andreas Schwab <schwab@redhat.com>
44756 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44758 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44760 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44762 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44764 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44766 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44767 Remove unused variable magic_bits.
44768 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44770 * string/strnlen.c: Define and use STRNLEN macro.
44771 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44772 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44773 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44774 * wcsmbs/wcslen.c: Define and use WCSLEN.
44775 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44776 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44777 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44778 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44779 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44780 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44781 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44783 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44785 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44786 strnlen-sse2-no-bsf.
44787 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44788 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44789 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44790 Add strnlen support.
44791 (USE_AS_STRNLEN): New macro.
44792 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44793 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44794 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44795 * sysdeps/x86_64/wcslen.S: New file.
44797 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44799 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44800 XMM-moves are used for copying on small sizes.
44802 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44804 * wcsmbs/Makefile (strop-tests): Add wcschr.
44805 * wcsmbs/test-wcschr.c: New file.
44806 * string/test-strchr.c: Update.
44807 Add wcschr support.
44810 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44812 * wcsmbs/Makefile (strop-tests): Add wcslen.
44813 * wcsmbs/test-wcslen.c: New file.
44814 * string/test-strlen.c: Update.
44815 Add wcslen support.
44818 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44820 * po/it.po: Update from translation team.
44822 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44824 * sysdeps/x86_64/wcscmp.S: Update.
44825 Fix wrong comparison semantics.
44826 wcscmp shall use signed comparison not unsigned.
44827 Don't use substraction to avoid overflow bug.
44828 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44829 * wcsmbc/wcscmp.c: Likewise.
44830 * string/test-strcmp.c: Likewise.
44831 Add new tests to check cases with negative values.
44833 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44835 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44836 * sysdeps/x86_64/dla.h: ...here. New file.
44837 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44838 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44839 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44840 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44841 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44842 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44843 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44844 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44845 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44847 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44849 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44850 __ynl_finite aliases.
44852 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44856 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44858 [DLA_FMA] (EMULV): Use DLA_FMA.
44859 [DLA_FMA] (MUL12): Use EMULV.
44860 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44861 that are not needed.
44862 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44863 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44864 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44865 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44866 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44867 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44868 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44870 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44872 * math/s_nan.c: Undef __nan.
44873 * math/s_nanf.c: Undef __nanf.
44874 * math/s_nanl.c: Undef __nanl.
44875 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44878 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44880 * math/s_catan.c: Add branch predictions.
44881 * math/s_catanf.c: Likewise.
44882 * math/s_catanh.c: Likewise.
44883 * math/s_catanhf.c: Likewise.
44884 * math/s_catanhl.c: Likewise.
44885 * math/s_catanl.c: Likewise.
44886 * math/s_cexp.c: Likewise.
44887 * math/s_cexpf.c: Likewise.
44888 * math/s_cexpl.c: Likewise.
44889 * math/s_clog.c: Likewise.
44890 * math/s_clog10.c: Likewise.
44891 * math/s_clog10f.c: Likewise.
44892 * math/s_clog10l.c: Likewise.
44893 * math/s_clogf.c: Likewise.
44894 * math/s_clogl.c: Likewise.
44895 * math/s_csqrt.c: Likewise.
44896 * math/s_csqrtf.c: Likewise.
44897 * math/s_csqrtl.c: Likewise.
44898 * math/s_ctanf.c: Likewise.
44899 * math/s_ctanh.c: Likewise.
44900 * math/s_ctanhf.c: Likewise.
44901 * math/s_ctanhl.c: Likewise.
44902 * math/s_ctanl.c: Likewise.
44904 * math/math_private.h: Define __nan, __nanf, __nanl.
44905 * math/s_cacosh.c: Include <math_private.h>.
44906 * math/s_cacoshl.c: Likewise.
44907 * math/s_casinh.c: Likewise.
44908 * math/s_casinhf.c: Likewise.
44909 * math/s_casinhl.c: Likewise.
44910 * math/s_ccos.c: Rely entire on ccosh.
44911 * math/s_ccosf.c: Rely entire on ccoshf.
44912 * math/s_ccosl.c: Rely entirely on ccoshl.
44913 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44914 Remove tests for FE_INVALID.
44915 * math/s_ccoshf.c: Likewise.
44916 * math/s_ccoshl.c: Likewise.
44917 * math/s_csin.c: Likewise.
44918 * math/s_csinf.c: Likewise.
44919 * math/s_csinh.c Likewise.
44920 * math/s_csinhf.c: Likewise.
44921 * math/s_csinhl.c: Likewise.
44922 * math/s_csinl.c: Likewise.
44923 * math/s_ctan.c: Likewise.
44924 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44925 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44926 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44928 2011-10-21 Ulrich Drepper <drepper@gmail.com>
44930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44931 compilation problems.
44933 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44936 2011-10-20 Ulrich Drepper <drepper@gmail.com>
44938 * sysdeps/i386/configure.in: Test for -mfma4 option.
44939 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44940 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44941 COMMON_CPUID_INDEX_80000001.
44942 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44943 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44944 use it if FMA3 is not supported.
44945 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44947 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44948 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44950 2011-10-20 Andreas Schwab <schwab@redhat.com>
44953 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44954 it would create a cycle with a link time dependency.
44956 2011-10-19 Ulrich Drepper <drepper@gmail.com>
44958 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44960 * string/Makefile (strop-tests): Add rawmemchr.
44961 * string/test-rawmemchr.c: New file.
44963 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44964 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44965 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44966 when compiling str{,n}casecmp and when AVX is available. Hook up
44967 new optimized code in initializers.
44969 2011-10-19 Andreas Schwab <schwab@redhat.com>
44971 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44972 __feraiseexcept instead of feraiseexcept.
44974 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44976 * math/math_private.h: Define defaults for libc_fetestexcept and
44978 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44979 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44980 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44981 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44982 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44983 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44984 libc_fetestexcept and libc_feupdateenv.
44986 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44987 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44988 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44989 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44990 libc_feholdexcept_setround.
44992 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44993 Add s_nearbyint-c and s_nearbyintf-c.
44994 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44995 nearbyintf inlines.
44996 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44997 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44998 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44999 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45001 * math/math_private.h: Define defaults for libc_fegetround,
45002 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45003 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45004 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45005 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45006 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45007 standard functions.
45008 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45009 Remove comments and hacks for old compiler versions.
45010 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45011 libc_fegetround, libc_fesetround, libc_feholdexcept, and
45012 libc_feholdexceptl.
45014 2011-10-18 Andreas Schwab <schwab@redhat.com>
45016 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45017 (__feraiseexcept_renamed): Add __NTH.
45018 (feraiseexcept): Add __NTH. Rename local variables to fix
45019 namespace violations.
45021 2011-10-17 Ulrich Drepper <drepper@gmail.com>
45023 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45025 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45027 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45028 recently added interfaces.
45029 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45031 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45032 about macro parameter expansion.
45034 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45035 __NO_MATH_INLINES is defined. Cleanups.
45037 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45038 and __floorf is target has SSE4.1.
45039 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45040 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45041 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45042 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45044 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45046 (floorf): Likewise.
45048 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45050 2011-10-17 Andreas Schwab <schwab@redhat.com>
45052 * misc/sys/cdefs.h: Fix last change.
45054 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45057 2011-10-16 Ulrich Drepper <drepper@gmail.com>
45059 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45061 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45062 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45063 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45064 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45065 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45066 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45067 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45068 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45069 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45070 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45071 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45072 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45073 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45074 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45075 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45076 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45077 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45078 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45079 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45080 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45081 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45082 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45084 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45085 ceil, ceilf, floor, floorf.
45087 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45088 Perform IRELATIVE relocations last.
45090 * elf/do-rel.h: Add another parameter nrelative, replacing the
45091 local variable with the same name. Change name of the function
45092 to end in Rel or Rela (uppercase).
45093 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45094 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
45095 elf_dynamic_do_##reloc function.
45097 2011-10-15 Ulrich Drepper <drepper@gmail.com>
45099 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45100 is sufficient, at least on modern CPUs.
45102 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45104 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45105 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45107 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45109 * math/bits/math-finite.h: Add entries for exp.
45110 * math/e_expl.c: Add __*_finite alias.
45111 * sysdeps/i386/fpu/e_exp.S: Likewise.
45112 * sysdeps/i386/fpu/e_expf.S: Likewise.
45113 * sysdeps/i386/fpu/e_expl.c: Likewise.
45114 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45115 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45116 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45117 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45118 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45119 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45120 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45122 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45123 is sufficient, at least on modern CPUs.
45125 * ctype/ctype-info.c (__ctype_init): Define.
45126 * include/ctype.h (__ctype_init): Declare.
45127 (__ctype_b_loc): The variable is always initialized.
45128 (__ctype_toupper_loc): Likewise.
45129 (__ctype_tolower_loc): Likewise.
45130 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45131 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45133 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
45135 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45137 * configure.in: Also look in $cxxmachine/include for C++ system
45140 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45142 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45143 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45144 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45145 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
45146 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45147 (USE_AS_WMEMCMP): New macro.
45149 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45150 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45151 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45152 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45153 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45154 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45155 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45156 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45157 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45158 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45159 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45160 (USE_AS_WMEMCMP): New macro.
45161 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45162 * sysdeps/string/test-memcmp.c: Update.
45163 Fix simple_wmemcmp.
45165 * wcsmbs/wmemcmp.c: Update.
45166 (WMEMCMP): New macro.
45169 2011-10-12 Andreas Jaeger <aj@suse.de>
45172 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45174 2011-10-15 Ulrich Drepper <drepper@gmail.com>
45176 * libio/iofwide.c (do_length): Avoid warning.
45178 * ctype/ctype.h (__isctype_f): Add missing __THROW.
45180 2011-10-14 Ulrich Drepper <drepper@gmail.com>
45182 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45184 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45185 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45186 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45187 * sysdeps/i386/i686/fpu/e_log.S: New file.
45188 * sysdeps/i386/i686/fpu/e_logf.S: New file.
45189 * sysdeps/i386/i686/fpu/e_logl.S: New file.
45191 * ctype/ctype.h: Add support for inlined isXXX functions when
45192 compiling C++ code.
45194 2011-10-14 Andreas Schwab <schwab@redhat.com>
45196 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45198 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45200 2011-10-13 Roland McGrath <roland@hack.frob.com>
45203 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45205 2011-10-13 Andreas Schwab <schwab@redhat.com>
45207 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45208 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45211 * sysdeps/x86_64/memrchr.S: Check for zero size.
45213 * string/stratcliff.c: Add memrchr tests.
45215 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45218 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45219 rawmemchr-sse2 rawmemchr-sse2-bsf.
45220 * sysdeps/i386/i686/multiarch/memchr.S: New file.
45221 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45222 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45223 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45224 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45225 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45226 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45227 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45228 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45229 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45230 * string/memrchr.c (MEMRCHR): New macro.
45232 2011-10-12 Ulrich Drepper <drepper@gmail.com>
45234 Add integration with gcc's -ffinite-math-only and optimize wrapper
45236 * Versions.def: Define GLIBC_2.15 version for libm.
45237 * math/Makefile (headers): Add bits/math-finite.h.
45238 * math/bits/math-finite.h: New file.
45239 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45240 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45241 * math/e_acoshl.c: Add __*_finite alias.
45242 * math/e_acosl.c: Likewise.
45243 * math/e_asinl.c: Likewise.
45244 * math/e_atan2l.c: Likewise.
45245 * math/e_atanhl.c: Likewise.
45246 * math/e_coshl.c: Likewise.
45247 * math/e_exp10.c: Likewise.
45248 * math/e_exp10f.c: Likewise.
45249 * math/e_exp10l.c: Likewise.
45250 * math/e_exp2l.c: Likewise.
45251 * math/e_fmodl.c: Likewise.
45252 * math/e_gammal_r.c: Likewise.
45253 * math/e_hypotl.c: Likewise.
45254 * math/e_j0l.c: Likewise.
45255 * math/e_j1l.c: Likewise.
45256 * math/e_jnl.c: Likewise.
45257 * math/e_lgammal_r.c: Likewise.
45258 * math/e_log10l.c: Likewise.
45259 * math/e_log2l.c: Likewise.
45260 * math/e_logl.c: Likewise.
45261 * math/e_powl.c: Likewise.
45262 * math/e_sinhl.c: Likewise.
45263 * math/e_sqrtl.c: Likewise.
45264 * math/e_scalb.c: Completely rewritten and optimized.
45265 * math/e_scalbf.c: Likewise.
45266 * math/e_scalbl.c: Likewise.
45267 * math/w_acos.c: Likewise.
45268 * math/w_acosf.c: Likewise.
45269 * math/w_acosl.c: Likewise.
45270 * math/w_acosh.c: Likewise.
45271 * math/w_acoshf.c: Likewise.
45272 * math/w_acoshl.c: Likewise.
45273 * math/w_asin.c: Likewise.
45274 * math/w_asinf.c: Likewise.
45275 * math/w_asinl.c: Likewise.
45276 * math/w_atan2.c: Likewise.
45277 * math/w_atan2f.c: Likewise.
45278 * math/w_atan2l.c: Likewise.
45279 * math/w_atanh.c: Likewise.
45280 * math/w_atanhf.c: Likewise.
45281 * math/w_atanhl.c: Likewise.
45282 * math/w_exp10.c: Likewise.
45283 * math/w_exp10f.c: Likewise.
45284 * math/w_exp10l.c: Likewise.
45285 * math/w_fmod.c: Likewise.
45286 * math/w_fmodf.c: Likewise.
45287 * math/w_fmodl.c: Likewise.
45288 * math/w_j0.c: Likewise.
45289 * math/w_j0f.c: Likewise.
45290 * math/w_j0l.c: Likewise.
45291 * math/w_j1.c: Likewise.
45292 * math/w_j1f.c: Likewise.
45293 * math/w_j1l.c: Likewise.
45294 * math/w_jn.c: Likewise.
45295 * math/w_jnf.c: Likewise.
45296 * math/w_log.c: Likewise.
45297 * math/w_logf.c: Likewise.
45298 * math/w_logl.c: Likewise.
45299 * math/w_log10.c: Likewise.
45300 * math/w_log10f.c: Likewise.
45301 * math/w_log10l.c: Likewise.
45302 * math/w_log2.c: Likewise.
45303 * math/w_log2f.c: Likewise.
45304 * math/w_log2l.c: Likewise.
45305 * math/w_pow.c: Likewise.
45306 * math/w_powf.c: Likewise.
45307 * math/w_powl.c: Likewise.
45308 * math/w_remainder.c: Likewise.
45309 * math/w_remainderf.c: Likewise.
45310 * math/w_remainderl.c: Likewise.
45311 * math/w_scalb.c: Likewise.
45312 * math/w_scalbf.c: Likewise.
45313 * math/w_scalbl.c: Likewise.
45314 * math/w_sqrt.c: Likewise.
45315 * math/w_sqrtf.c: Likewise.
45316 * math/w_sqrtl.c: Likewise.
45317 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45318 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
45320 * math/math_private.h: Declare __kernel_standard_f.
45321 * math/w_cosh.c: Remove cruft and optimize a bit.
45322 * math/w_coshf.c: Likewise.
45323 * math/w_coshl.c: Likewise.
45324 * math/w_exp2.c: Likewise.
45325 * math/w_exp2f.c: Likewise.
45326 * math/w_exp2l.c: Likewise.
45327 * math/w_hypot.c: Likewise.
45328 * math/w_hypotf.c: Likewise.
45329 * math/w_hypotl.c: Likewise.
45330 * math/w_lgamma.c: Likewise.
45331 * math/w_lgamma_r.c: Likewise.
45332 * math/w_lgammaf.c: Likewise.
45333 * math/w_lgammaf_r.c: Likewise.
45334 * math/w_lgammal.c: Likewise.
45335 * math/w_lgammal_r.c: Likewise.
45336 * math/w_sinh.c: Likewise.
45337 * math/w_sinhf.c: Likewise.
45338 * math/w_sinhl.c: Likewise.
45339 * math/w_tgamma.c: Likewise.
45340 * math/w_tgammaf.c: Likewise.
45341 * math/w_tgammal.c: Likewise.
45342 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45343 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45344 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45345 Minor optimizations. Pretty printing. Remove cruft.
45346 * sysdeps/i386/fpu/e_acosf.S: Likewise.
45347 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45348 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45349 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45350 * sysdeps/i386/fpu/e_acosl.c: Likewise.
45351 * sysdeps/i386/fpu/e_asin.S: Likewise.
45352 * sysdeps/i386/fpu/e_asinf.S: Likewise.
45353 * sysdeps/i386/fpu/e_atan2.S: Likewise.
45354 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45355 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45356 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45357 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45358 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45359 * sysdeps/i386/fpu/e_exp10.S: Likewise.
45360 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45361 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45362 * sysdeps/i386/fpu/e_exp2.S: Likewise.
45363 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45364 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45365 * sysdeps/i386/fpu/e_fmod.S: Likewise.
45366 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45367 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45368 * sysdeps/i386/fpu/e_hypot.S: Likewise.
45369 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45370 * sysdeps/i386/fpu/e_log.S: Likewise.
45371 * sysdeps/i386/fpu/e_log10.S: Likewise.
45372 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45373 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45374 * sysdeps/i386/fpu/e_log2.S: Likewise.
45375 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45376 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45377 * sysdeps/i386/fpu/e_logf.S: Likewise.
45378 * sysdeps/i386/fpu/e_logl.S: Likewise.
45379 * sysdeps/i386/fpu/e_pow.S: Likewise.
45380 * sysdeps/i386/fpu/e_powf.S: Likewise.
45381 * sysdeps/i386/fpu/e_powl.S: Likewise.
45382 * sysdeps/i386/fpu/e_remainder.S: Likewise.
45383 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45384 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45385 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45386 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45387 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45388 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45389 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45390 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45391 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45392 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45393 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45394 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45395 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45396 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45397 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45398 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45399 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45400 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45401 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45402 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45403 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45404 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45405 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45406 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45407 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45408 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45409 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45410 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45411 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45412 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45413 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45414 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45415 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45416 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45417 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45418 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45419 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45420 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45421 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45422 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45423 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45424 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45425 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45426 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45427 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45428 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45429 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45430 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45431 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45432 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45433 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45434 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45435 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45436 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45437 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45438 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45439 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45440 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45441 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45442 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45443 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45444 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45445 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45446 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45447 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45448 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45449 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45450 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45451 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45452 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45453 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45454 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45455 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45456 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45457 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45458 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45459 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45460 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45461 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45462 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45463 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45464 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45465 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45466 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45467 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45468 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45469 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45470 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45471 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45472 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45473 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45474 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45475 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45476 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45477 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45478 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45479 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45480 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45481 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45482 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45483 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45484 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45485 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45486 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45487 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45488 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45489 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45490 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45491 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45492 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45493 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45494 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45495 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45496 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45497 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45498 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45499 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45500 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45501 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
45502 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45503 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45504 (__isnanf): Likewise.
45505 (__isinf_ns): Likewise.
45506 (__isinf_nsf): Likewise.
45507 (__finite): Likewise.
45508 (__finitef): Likewise.
45509 (__ieee754_sqrt): Define as macro.
45510 (__ieee754_sqrtf): Define as macro.
45511 (__ieee754_sqrtl): Define as macro.
45512 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45514 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45515 __FINITE_MATH_ONLY__ consistent.
45516 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45518 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
45520 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45523 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45525 2011-10-09 Ulrich Drepper <drepper@gmail.com>
45527 * po/ja.po: Update from translation team.
45529 2011-10-08 Roland McGrath <roland@hack.frob.com>
45531 * locale/programs/locarchive.c (prepare_address_space): New function.
45532 (create_archive, enlarge_archive, open_archive): Use it.
45534 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45535 inside [SHARED], where it is used.
45537 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45539 * nss/getent.c (netgroup_keys): Remove unused variable.
45540 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45542 2011-10-08 Ulrich Drepper <drepper@gmail.com>
45544 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45545 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45546 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45547 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45548 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45549 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45550 * math/Makefile (libm-calls): Add s_isinf_ns.
45551 * math/divtc3.c: Use __isinf_nsl instead of isinf.
45552 * math/multc3.c: Likewise.
45553 * math/s_casin.c: Likewise.
45554 * math/s_casinf.c: Likewise.
45555 * math/s_casinl.c: Likewise.
45556 * math/s_ccos.c: Likewise.
45557 * math/s_ccosf.c: Likewise.
45558 * math/s_ccosl.c: Likewise.
45559 * math/s_ctan.c: Likewise.
45560 * math/s_ctanf.c: Likewise.
45561 * math/s_ctanh.c: Likewise.
45562 * math/s_ctanhf.c: Likewise.
45563 * math/s_ctanhl.c: Likewise.
45564 * math/s_ctanl.c: Likewise.
45565 * math/w_fmod.c: Likewise.
45566 * math/w_fmodf.c: Likewise.
45567 * math/w_fmodl.c: Likewise.
45568 * math/w_remainder.c: Likewise.
45569 * math/w_remainderf.c: Likewise.
45570 * math/w_remainderl.c: Likewise.
45571 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45572 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45573 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45575 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45576 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45577 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45578 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45580 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45582 * stdio-common/printf_fphex.c: Likewise.
45583 * stdio-common/printf_size.c: Likewise.
45585 * math/e_exp10.c: Include math_private.h using <...> not "...".
45586 * math/e_exp10f.c: Likewise.
45587 * math/e_exp10l.c: Likewise.
45588 * math/e_exp2l.c: Likewise.
45589 * math/e_j0l.c: Likewise.
45590 * math/e_j1l.c: Likewise.
45591 * math/e_jnl.c: Likewise.
45592 * math/e_lgammal_r.c: Likewise.
45593 * math/e_rem_pio2l.c: Likewise.
45594 * math/e_scalb.c: Likewise.
45595 * math/e_scalbf.c: Likewise.
45596 * math/e_scalbl.c: Likewise.
45597 * math/k_cosl.c: Likewise.
45598 * math/k_sinl.c: Likewise.
45599 * math/k_tanl.c: Likewise.
45600 * math/s_cacoshf.c: Likewise.
45601 * math/s_catan.c: Likewise.
45602 * math/s_catanf.c: Likewise.
45603 * math/s_catanh.c: Likewise.
45604 * math/s_catanhf.c: Likewise.
45605 * math/s_catanhl.c: Likewise.
45606 * math/s_catanl.c: Likewise.
45607 * math/s_ccosh.c: Likewise.
45608 * math/s_ccoshf.c: Likewise.
45609 * math/s_ccoshl.c: Likewise.
45610 * math/s_cexp.c: Likewise.
45611 * math/s_cexpf.c: Likewise.
45612 * math/s_cexpl.c: Likewise.
45613 * math/s_clog.c: Likewise.
45614 * math/s_clog10.c: Likewise.
45615 * math/s_clog10f.c: Likewise.
45616 * math/s_clog10l.c: Likewise.
45617 * math/s_clogf.c: Likewise.
45618 * math/s_clogl.c: Likewise.
45619 * math/s_csin.c: Likewise.
45620 * math/s_csinf.c: Likewise.
45621 * math/s_csinh.c: Likewise.
45622 * math/s_csinhf.c: Likewise.
45623 * math/s_csinhl.c: Likewise.
45624 * math/s_csinl.c: Likewise.
45625 * math/s_csqrt.c: Likewise.
45626 * math/s_csqrtf.c: Likewise.
45627 * math/s_csqrtl.c: Likewise.
45628 * math/s_ctan.c: Likewise.
45629 * math/s_ctanf.c: Likewise.
45630 * math/s_ctanh.c: Likewise.
45631 * math/s_ctanhf.c: Likewise.
45632 * math/s_ctanhl.c: Likewise.
45633 * math/s_ctanl.c: Likewise.
45634 * math/s_ldexp.c: Likewise.
45635 * math/s_ldexpf.c: Likewise.
45636 * math/s_ldexpl.c: Likewise.
45637 * math/s_significand.c: Likewise.
45638 * math/s_significandf.c: Likewise.
45639 * math/s_significandl.c: Likewise.
45640 * math/w_acos.c: Likewise.
45641 * math/w_acosf.c: Likewise.
45642 * math/w_acosh.c: Likewise.
45643 * math/w_acoshf.c: Likewise.
45644 * math/w_acoshl.c: Likewise.
45645 * math/w_acosl.c: Likewise.
45646 * math/w_asin.c: Likewise.
45647 * math/w_asinf.c: Likewise.
45648 * math/w_asinl.c: Likewise.
45649 * math/w_atan2.c: Likewise.
45650 * math/w_atan2f.c: Likewise.
45651 * math/w_atan2l.c: Likewise.
45652 * math/w_atanh.c: Likewise.
45653 * math/w_atanhf.c: Likewise.
45654 * math/w_atanhl.c: Likewise.
45655 * math/w_cosh.c: Likewise.
45656 * math/w_coshf.c: Likewise.
45657 * math/w_coshl.c: Likewise.
45658 * math/w_dremf.c: Likewise.
45659 * math/w_exp10.c: Likewise.
45660 * math/w_exp10f.c: Likewise.
45661 * math/w_exp10l.c: Likewise.
45662 * math/w_exp2.c: Likewise.
45663 * math/w_exp2f.c: Likewise.
45664 * math/w_fmod.c: Likewise.
45665 * math/w_fmodf.c: Likewise.
45666 * math/w_fmodl.c: Likewise.
45667 * math/w_hypot.c: Likewise.
45668 * math/w_hypotf.c: Likewise.
45669 * math/w_hypotl.c: Likewise.
45670 * math/w_j0.c: Likewise.
45671 * math/w_j0f.c: Likewise.
45672 * math/w_j0l.c: Likewise.
45673 * math/w_j1.c: Likewise.
45674 * math/w_j1f.c: Likewise.
45675 * math/w_j1l.c: Likewise.
45676 * math/w_jn.c: Likewise.
45677 * math/w_jnf.c: Likewise.
45678 * math/w_jnl.c: Likewise.
45679 * math/w_lgamma.c: Likewise.
45680 * math/w_lgamma_r.c: Likewise.
45681 * math/w_lgammaf.c: Likewise.
45682 * math/w_lgammaf_r.c: Likewise.
45683 * math/w_lgammal.c: Likewise.
45684 * math/w_lgammal_r.c: Likewise.
45685 * math/w_log.c: Likewise.
45686 * math/w_log10.c: Likewise.
45687 * math/w_log10f.c: Likewise.
45688 * math/w_log10l.c: Likewise.
45689 * math/w_log2.c: Likewise.
45690 * math/w_log2f.c: Likewise.
45691 * math/w_log2l.c: Likewise.
45692 * math/w_logf.c: Likewise.
45693 * math/w_logl.c: Likewise.
45694 * math/w_pow.c: Likewise.
45695 * math/w_powf.c: Likewise.
45696 * math/w_powl.c: Likewise.
45697 * math/w_remainder.c: Likewise.
45698 * math/w_remainderf.c: Likewise.
45699 * math/w_remainderl.c: Likewise.
45700 * math/w_scalb.c: Likewise.
45701 * math/w_scalbf.c: Likewise.
45702 * math/w_scalbl.c: Likewise.
45703 * math/w_sinh.c: Likewise.
45704 * math/w_sinhf.c: Likewise.
45705 * math/w_sinhl.c: Likewise.
45706 * math/w_sqrt.c: Likewise.
45707 * math/w_sqrtf.c: Likewise.
45708 * math/w_sqrtl.c: Likewise.
45709 * math/w_tgamma.c: Likewise.
45710 * math/w_tgammaf.c: Likewise.
45711 * math/w_tgammal.c: Likewise.
45713 * po/ja.po: Update from translation team.
45715 2011-09-29 Andreas Jaeger <aj@suse.de>
45718 * sunrpc/netname.c (netname2host): Fix logic.
45722 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45724 * math/w_remainder.c (__remainder): Likewise.
45725 * math/w_remainderf.c (__remainderf): Likewise.
45726 * math/libm-test.inc (remainder_test): Add test cases.
45728 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45730 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45733 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45735 * string/test-memcmp.c: Avoid unncessary #defines.
45736 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45738 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45740 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45741 Use new sse2 version for core i3 - i7 as it's faster
45742 than sse42 version.
45743 (bit_Prefer_PMINUB_for_stringop): New.
45744 * sysdeps/x86_64/rawmemchr.S: Update.
45745 Replace with faster SSE2 version.
45746 * sysdeps/x86_64/memrchr.S: New file.
45747 * sysdeps/x86_64/memchr.S: Update.
45748 Replace with faster SSE2 version.
45750 2011-09-12 Marek Polacek <mpolacek@redhat.com>
45752 * elf/dl-load.c (lose): Add cast to avoid warning.
45754 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45756 * po/ca.po: Update from translation team.
45758 * inet/getnetgrent_r.c: Hook up nscd.
45759 * nscd/Makefile (routines): Add nscd_netgroup.
45760 (nscd-modules): Add netgroupcache.
45761 (CFLAGS-netgroupcache.c): Define.
45762 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45763 (cache_search): Add const to second parameter.
45764 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45766 (dbs): Add netgrdb entry.
45767 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45768 (verify_persistent_db): Handle netgrdb.
45769 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45770 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45772 (netgroup_response_header): Define.
45773 (innetgroup_response_header): Define.
45774 (datahead): Add netgroup_response_header and innetgroup_response_header
45776 * nscd/nscd.conf: Add entries for netgroup cache.
45777 * nscd/nscd.h (dbtype): Add netgrdb.
45778 (_PATH_NSCD_NETGROUP_DB): Define.
45779 (netgroup_iov_disabled): Declare.
45780 (xmalloc, xcalloc, xrealloc): Move declarations here.
45781 (cache_search): Adjust prototype.
45782 Add netgroup-related prototypes.
45783 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45784 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45785 (__nscd_innetgr): Declare.
45786 * nscd/selinux.c (perms): Use access_vector_t as element type and
45787 add netgroup-related initializers.
45788 * nscd/netgroupcache.c: New file.
45789 * nscd/nscd_netgroup.c: New file.
45790 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45791 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45792 For four parameters use innetgr.
45793 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45794 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45795 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45796 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45798 * nscd/connections.c (register_traced_file): Don't register file
45799 for disabled databases.
45801 2011-10-06 Ulrich Drepper <drepper@gmail.com>
45803 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45805 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45806 from tree and freeing node.
45808 2011-09-25 Jiri Olsa <jolsa@redhat.com>
45810 * nss/nsswitch.c (__nss_database_lookup): Handle
45811 nss_parse_service_list out of memory case.
45813 2011-09-15 Jiri Olsa <jolsa@redhat.com>
45815 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45816 out of memory case.
45818 2011-10-04 Andreas Schwab <schwab@redhat.com>
45820 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45821 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45823 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45824 elf_machine_rela, elf_machine_lazy_rel.
45825 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45826 (ELF_DYNAMIC_DO_REL): Likewise.
45827 (ELF_DYNAMIC_DO_RELA): Likewise.
45828 (ELF_DYNAMIC_RELOCATE): Likewise.
45829 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45830 to ELF_DYNAMIC_DO_REL.
45831 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45832 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45833 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45835 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45836 skip_ifunc, don't call ifunc function if non-zero.
45837 (elf_machine_rela): Likewise.
45838 (elf_machine_lazy_rel): Likewise.
45839 (elf_machine_lazy_rela): Likewise.
45840 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45841 (elf_machine_lazy_rel): Likewise.
45842 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45844 (elf_machine_lazy_rel): Likewise.
45845 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45847 (elf_machine_lazy_rel): Likewise.
45848 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45849 (elf_machine_lazy_rel): Likewise.
45850 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45851 (elf_machine_lazy_rel): Likewise.
45852 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45853 (elf_machine_lazy_rel): Likewise.
45854 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45855 (elf_machine_lazy_rel): Likewise.
45856 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45857 (elf_machine_lazy_rel): Likewise.
45858 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45859 (elf_machine_lazy_rel): Likewise.
45861 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45863 * nss/nss_files/files-init.c (_nss_files_init): Use static
45864 initialization for all the *_traced_file variables.
45866 2011-09-28 Andreas Schwab <schwab@redhat.com>
45868 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45870 2011-09-27 Roland McGrath <roland@hack.frob.com>
45873 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45875 2011-09-27 Andreas Schwab <schwab@redhat.com>
45877 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45878 Reread the line before reparsing it.
45880 2011-09-26 Andreas Schwab <schwab@redhat.com>
45882 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45884 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45885 Maxim Kuvyrkov <maxim@codesourcery.com>
45886 Joseph Myers <joseph@codesourcery.com>
45888 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45889 if needed for __stack_chk_guard.
45891 2011-09-19 Roland McGrath <roland@hack.frob.com>
45893 * sysdeps/posix/spawni.c (script_execute): Always define it.
45894 It will be optimized away if unused.
45895 (maybe_script_execute): New function.
45896 (__spawni): Call it.
45898 * Makerules: Don't include tls.make.
45899 (config-tls): Always set to thread.
45900 * tls.make.c: File removed.
45902 2011-09-19 Mike Frysinger <vapier@gentoo.org>
45904 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45905 * config.make.in (CPPFLAGS-config): New substituted variable.
45907 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45909 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45912 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45913 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45915 2011-09-15 Roland McGrath <roland@hack.frob.com>
45917 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45918 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45919 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45920 (CALL_FAIL): Likewise.
45921 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45922 (CALL_FAIL): Macro removed.
45923 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45925 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45927 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45928 for __FINITE_MATH_ONLY__ == 1.
45930 2011-09-15 Andreas Schwab <schwab@redhat.com>
45932 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45933 __ieee754_sqrt instead of sqrt.
45934 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45935 __ieee754_sqrtf instead of sqrtf.
45936 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45937 __floorf instead of floorf.
45938 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45939 __floorf, __truncf instead of floorf, truncf.
45941 2011-09-14 Ulrich Drepper <drepper@gmail.com>
45943 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45945 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45946 __extern_always_inline.
45947 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45950 2011-09-14 Andreas Schwab <schwab@redhat.com>
45952 * elf/rtld.c (dl_main): Also relocate in dependency order when
45953 doing symbol dependency testing.
45955 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45957 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45958 Always define `refsym'.
45960 2011-09-13 Andreas Schwab <schwab@redhat.com>
45962 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45963 (__FD_ELT): Renamed from __FDELT.
45964 * misc/bits/select2.h (__FD_ELT): Likewise.
45965 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45966 __FD_MASK instead of __FDELT, __FDMASK.
45967 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45969 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45972 * elf/Makefile (gen-ldd): Fix pattern.
45974 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45975 (init_tls): Likewise.
45977 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45979 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45981 2011-09-12 Andreas Schwab <schwab@redhat.com>
45983 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45984 `struct cmsghdr *' instead of `void *'.
45985 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45988 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45990 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45992 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45993 ldd_rewrite_script.
45995 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45997 * configure.in: Remove --with-tls option.
45998 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45999 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46000 out in case it is missing.
46001 * sysdeps/ia64/elf/configure.in: Likewise.
46002 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46003 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46004 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46005 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46006 * sysdeps/sh/elf/configure.in: Likewise.
46007 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46008 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46009 * sysdeps/x86_64/elf/configure.in: Likewise.
46010 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46011 * sysdeps/mach/hurd/tls.h: Likewise.
46014 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46017 * configure.in: Fix use of AC_INIT.
46019 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46021 2011-09-10 Ulrich Drepper <drepper@gmail.com>
46023 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46025 * malloc/hooks.c: Likewise.
46028 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
46029 variables statically.
46030 (narenas): Initialize.
46031 (list_lock): Initialize.
46032 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
46033 initializtion of main_arena and list_lock. Small cleanups.
46034 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46035 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
46036 Add initializers to main_arena and mp_.
46037 (malloc_state): Remove pagesize member. Change all users to use
46040 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46041 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
46042 is always initialized.
46044 * malloc/malloc.c: Removed unused configurations and dead code.
46045 * malloc/arena.c: Likewise.
46046 * malloc/hooks.c: Likewise.
46047 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46049 * include/tls.h: Removed. USE___THREAD must always be defined.
46050 * bits/libc-tsd.h: Don't handle !USE___THREAD.
46051 * elf/dl-libc.c: Likewise.
46052 * elf/dl-tsd.c: Likewise.
46053 * include/errno.h: Likewise.
46054 * include/netdb.h: Likewise.
46055 * include/resolv.h: Likewise.
46056 * inet/herrno-loc.c: Likewise.
46057 * inet/herrno.c: Likewise.
46058 * malloc/arena.c: Likewise.
46059 * malloc/hooks.c: Likewise.
46060 * malloc/malloc.c: Likewise.
46061 * resolv/res-state.c: Likewise.
46062 * resolv/res_libc.c: Likewise.
46063 * sysdeps/i386/dl-machine.h: Likewise.
46064 * sysdeps/ia64/dl-machine.h: Likewise.
46065 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46066 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46067 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46068 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46069 * sysdeps/sh/dl-machine.h: Likewise.
46070 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46071 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46072 * sysdeps/unix/i386/sysdep.S: Likewise.
46073 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46074 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46075 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46076 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46077 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46078 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46079 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46080 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46081 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46082 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46083 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46084 * sysdeps/x86_64/dl-machine.h: Likewise.
46085 * tls.make.c: Likewise.
46087 * configure.in: Remove --with-__thread option. Make tests for
46088 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46089 tls_model attribute fail if no support is available. Remove
46091 * Makeconfig: Adjust for dropped configure option. All features are
46093 * Makerules: Likewise.
46094 * Versions.def: Likewise.
46095 * argp/argp-fmtstream.c: Likewise.
46096 * argp/argp-fmtstream.h: Likewise.
46097 * argp/argp-help.c: Likewise.
46098 * assert/assert.c: Likewise.
46099 * config.h.in: Likewise.
46100 * config.make.in: Likewise.
46101 * configure: Likewise.
46102 * configure.in: Likewise.
46103 * csu/Versions: Likewise.
46104 * csu/init.c: Likewise.
46105 * elf/tst-audit2.c: Likewise.
46106 * elf/tst-tls10.c: Likewise.
46107 * elf/tst-tls10.h: Likewise.
46108 * elf/tst-tls11.c: Likewise.
46109 * elf/tst-tls12.c: Likewise.
46110 * elf/tst-tls14.c: Likewise.
46111 * elf/tst-tlsmod11.c: Likewise.
46112 * elf/tst-tlsmod12.c: Likewise.
46113 * elf/tst-tlsmod13.c: Likewise.
46114 * elf/tst-tlsmod13a.c: Likewise.
46115 * elf/tst-tlsmod14a.c: Likewise.
46116 * elf/tst-tlsmod15b.c: Likewise.
46117 * elf/tst-tlsmod16a.c: Likewise.
46118 * elf/tst-tlsmod16b.c: Likewise.
46119 * elf/tst-tlsmod7.c: Likewise.
46120 * elf/tst-tlsmod8.c: Likewise.
46121 * elf/tst-tlsmod9.c: Likewise.
46122 * gmon/gmon.c: Likewise.
46123 * grp/fgetgrent_r.c: Likewise.
46124 * grp/putgrent.c: Likewise.
46125 * hurd/fopenport.c: Likewise.
46126 * include/libc-symbols.h: Likewise.
46127 * include/tls.h: Likewise.
46128 * intl/gettextP.h: Likewise.
46129 * intl/loadinfo.h: Likewise.
46130 * locale/global-locale.c: Likewise.
46131 * locale/localeinfo.h: Likewise.
46132 * mach/devstream.c: Likewise.
46133 * malloc/arena.c: Likewise.
46134 * malloc/set-freeres.c: Likewise.
46135 * misc/err.c: Likewise.
46136 * misc/getttyent.c: Likewise.
46137 * misc/mntent_r.c: Likewise.
46138 * posix/getopt.c: Likewise.
46139 * posix/wordexp.c: Likewise.
46140 * pwd/fgetpwent_r.c: Likewise.
46141 * resolv/Versions: Likewise.
46142 * resolv/res_hconf.c: Likewise.
46143 * shadow/fgetspent_r.c: Likewise.
46144 * shadow/putspent.c: Likewise.
46145 * stdio-common/printf_fphex.c: Likewise.
46146 * stdio-common/tmpfile.c: Likewise.
46147 * stdlib/abort.c: Likewise.
46148 * stdlib/fmtmsg.c: Likewise.
46149 * sunrpc/auth_unix.c: Likewise.
46150 * sunrpc/clnt_perr.c: Likewise.
46151 * sunrpc/clnt_tcp.c: Likewise.
46152 * sunrpc/clnt_udp.c: Likewise.
46153 * sunrpc/clnt_unix.c: Likewise.
46154 * sunrpc/openchild.c: Likewise.
46155 * sunrpc/svc_simple.c: Likewise.
46156 * sunrpc/svc_tcp.c: Likewise.
46157 * sunrpc/svc_udp.c: Likewise.
46158 * sunrpc/svc_unix.c: Likewise.
46159 * sunrpc/xdr.c: Likewise.
46160 * sunrpc/xdr_array.c: Likewise.
46161 * sunrpc/xdr_rec.c: Likewise.
46162 * sunrpc/xdr_ref.c: Likewise.
46163 * sunrpc/xdr_stdio.c: Likewise.
46165 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46167 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46169 2011-07-03 Andreas Jaeger <aj@suse.de>
46171 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46172 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46173 regenerate with gen-libm-tests.pl.
46175 2010-05-12 Petr Baudis <pasky@suse.cz>
46178 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46179 around j0() zero points by switching to j1().
46180 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46181 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46182 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46183 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46185 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46187 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46189 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46191 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46192 Patch in part by Pavel Roskin <proski@gnu.org>.
46195 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46197 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
46198 Free memory block if necessary.
46201 * libio/genops.c (INTDEF): For string streams the _lock pointer can
46202 be NULL. Don't lock in this case.
46204 2011-09-09 Roland McGrath <roland@hack.frob.com>
46206 * elf/elf.h (ELFOSABI_GNU): New macro.
46207 (ELFOSABI_LINUX): Define to that.
46209 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
46211 * string/strncat.c (strncat): Undef the symbol in case it has been
46212 defined in bits/string.h.
46214 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46216 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46218 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46221 2011-08-17 Andreas Jaeger <aj@suse.de>
46223 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46225 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
46226 Ian Lance Taylor <iant@google.com>
46228 * math/libm-test.inc (lround_test): New testcase.
46229 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46231 2011-09-08 Ulrich Drepper <drepper@gmail.com>
46233 * Makefile: Remove support for automatic cvs check-ins.
46234 * Makerules: Likewise.
46235 * config.make.in: Likewise.
46236 * configure.in: Likewise.
46237 * intl/Makefile: Likewise.
46238 * locale/Makefile: Likewise.
46239 * po/Makefile: Likewise.
46240 * posix/Makefile: Likewise.
46241 * sysdeps/gnu/Makefile: Likewise.
46242 * sysdeps/mach/hurd/Makefile: Likewise.
46243 * sysdeps/sparc/sparc32/Makefile: Likewise.
46246 * posix/Makefile (bug-regex32-ENV): Define.
46247 Patch by John Stanley <jpsinthemix@verizon.net>.
46249 * misc/Makefile (headers): Add bits/select2.h.
46250 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46251 * misc/bits/select2.h: New file.
46252 * include/bits/select2.h: New file.
46253 * debug/Makefile (routines): Add fdelt_chk.
46254 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46255 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46257 * debug/fdelt_chk.c: New file.
46259 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
46260 * wcsmbs/test-wmemcmp.c: Likewise.
46261 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46262 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46264 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46266 * string/Makefile (strop-tests): Add memcmp.
46267 * string/test-wmemcmp.c: New file.
46268 * string/test-memcmp.c: Add wmemcmp support.
46270 2011-09-08 Roland McGrath <roland@hack.frob.com>
46273 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46276 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46277 garbage value in a __mach_port_mod_refs call in the cases of the
46278 task-self and thread-self ports.
46280 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46282 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46284 2011-09-08 Andreas Schwab <schwab@redhat.com>
46286 * elf/dl-load.c (lose): Check for non-null L.
46288 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46290 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46292 * elf/dl-libc.c (dlerror_run): Pass back error code from
46296 * elf/dl-load.c (lose): Free l_origin if it is valid.
46298 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46300 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46301 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46302 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46303 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46304 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46305 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46307 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46309 * sysdeps/powerpc/fpu/e_hypot.c: New file.
46310 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46311 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46312 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46313 * sysdeps/powerpc/fpu/k_cosf.c: New file.
46314 * sysdeps/powerpc/fpu/k_sinf.c: New file.
46315 * sysdeps/powerpc/fpu/s_cosf.c: New file.
46316 * sysdeps/powerpc/fpu/s_sinf.c: New file.
46317 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46318 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46320 2011-08-15 Alan Modra <amodra@gmail.com>
46323 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46324 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46325 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
46326 ppc_mcount to static-only-routines.
46327 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46329 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46330 __mcount_internal with usual JUMPTARGET. Remove useless nop.
46332 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
46334 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46335 for finite and infinity parameters.
46337 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46339 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46340 and add nop instructions for throughput optimization.
46341 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46343 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
46345 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46346 aligned copy for power7 with vector-scalar instructions.
46347 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46349 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
46351 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46354 2011-09-07 Andreas Schwab <schwab@redhat.com>
46357 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46360 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46362 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46363 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46364 syscall wrapper around clock_gettime in __vdso_clock_gettime.
46365 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46368 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46370 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46371 Forgot to demangle the pointer.
46373 * sysdeps/i386/sysdep.h: Define atom_text_section.
46374 * sysdeps/x86_64/sysdep.h: Likewise.
46375 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46376 section with atom_text_section.
46377 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46378 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46379 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46380 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46381 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46383 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46384 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46385 already be defined. Change to take two parameters and don't assign
46386 result to variable. Adjust all users.
46387 Define INTERNAL_GETTIME if not already defined.
46388 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46390 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46391 HAVE_CLOCK_GETTIME_VSYSCALL.
46392 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46394 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46395 gettimeofday vsyscall, just use time.
46397 2011-09-06 Andreas Schwab <schwab@redhat.com>
46399 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46402 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46404 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46406 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46408 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46409 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46410 syscall if possible.
46412 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46414 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46415 e_ident. Don't pass to find_mapsXX.
46416 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46418 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46420 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46421 strchr-sse2-no-bsf strrchr-sse2-no-bsf
46422 * sysdeps/x86_64/multiarch/strchr.S: Update.
46423 Check bit_slow_BSF bit.
46424 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46425 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46426 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46428 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46431 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46433 (tryshell): Define.
46434 (__spawni): Change last parameter to be flag. Test
46435 SPAWN_XFLAGS_USE_PATH flag to use path or not.
46436 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46437 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46438 * posix/spawni.c: Likewise.
46439 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46440 * posix/spawnp.c: Likewise. Change normal version to use
46441 SPAWN_XFLAGS_USE_PATH.
46442 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46443 SPAWN_XFLAGS_TRY_SHELL.
46446 * posix/glob.h: Remove gcc 1.x support.
46449 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46451 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46454 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46456 * sysdeps/i386/i686/multiarch/strchr.S: New file.
46457 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46458 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46459 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46460 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46461 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46463 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46465 * sysdeps/x86_64/wcscmp.S: New file.
46467 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46468 wcscmp-c wcscmp-sse2
46469 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46470 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46471 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46472 * wcsmbs/wcscmp.c: Allow renaming.
46474 2011-09-05 David S. Miller <davem@davemloft.net>
46476 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46477 stack slot, rather than the struct return pointer slot.
46478 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46479 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46481 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46483 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46485 * po/ja.po: Update from translation team.
46488 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46489 kernel in 64-bit binaries.
46491 2011-09-01 David S. Miller <davem@davemloft.net>
46493 * elf/elf.h (HWCAP_SPARC_*): Move to..
46494 * sysdeps/sparc/sysdep.h: this new file and add new values.
46495 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46496 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46497 _DL_HWCAP_COUNT to 24.
46498 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46500 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46501 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46502 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46503 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46504 instead of magic constants.
46505 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46507 2011-08-31 David S. Miller <davem@davemloft.net>
46509 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46510 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46511 Reimplement to do errno handling inline.
46512 (SYSCALL_ERROR_HANDLER): New macro.
46513 (__SYSCALL_STRING): Do not do errno handling in asm.
46514 (__CLONE_SYSCALL_STRING): Delete.
46515 (__INTERNAL_SYSCALL_STRING): Delete.
46516 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46517 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46518 (PSEUDO): Reimplement to do errno handling inline.
46519 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46520 (SYSCALL_ERROR_HANDLER): New macro.
46521 (__SYSCALL_STRING): Do not do errno handling in asm.
46522 (__CLONE_SYSCALL_STRING): Delete.
46523 (__INTERNAL_SYSCALL_STRING): Delete.
46524 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46525 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46527 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46528 (inline_syscall*): Add 'err' argument.
46529 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46530 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46531 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46532 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46534 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46535 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46537 2011-08-30 Andreas Schwab <schwab@redhat.com>
46539 * elf/rtld.c (dl_main): Relocate objects in dependency order.
46541 2011-08-29 Jiri Olsa <jolsa@redhat.com>
46543 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46546 2011-08-24 David S. Miller <davem@davemloft.net>
46548 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46550 2011-08-24 Andreas Schwab <schwab@redhat.com>
46552 * elf/Makefile: Add rules to build and run unload8 test.
46553 * elf/unload8.c: New file.
46554 * elf/unload8mod1.c: New file.
46555 * elf/unload8mod1x.c: New file.
46556 * elf/unload8mod2.c: New file.
46557 * elf/unload8mod3.c: New file.
46559 * elf/dl-close.c (_dl_close_worker): Reset private search list if
46562 2011-08-23 David S. Miller <davem@davemloft.net>
46564 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46565 subtract stack bias.
46566 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46567 %sp not %fp in calculations.
46568 (_JMPBUF_UNWINDS_ADJ): Likewise.
46570 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46571 (aio_suspend): Call it to force an exception region around the
46572 AIO_MISC_WAIT() invocation.
46574 2011-08-23 Andreas Schwab <schwab@redhat.com>
46576 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46579 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
46581 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46583 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46584 and <dl-machine.h>.
46585 (Elf64_FuncDesc): Remove.
46587 2011-08-22 David S. Miller <davem@davemloft.net>
46589 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46590 sigaltstack check, add missing cfi directives.
46591 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46592 missing cfi directives, and sigaltstack handling.
46594 2011-08-16 Andreas Schwab <schwab@redhat.com>
46597 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46598 object is seen twice.
46599 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46601 * elf/Makefile (distribute): Add tst-initorder2.c.
46602 (tests): Add tst-initorder2.
46603 (modules-names): Add tst-initorder2a tst-initorder2b
46604 tst-initorder2c tst-initorder2d. Add rules to build them.
46605 ($(objpfx)tst-initorder2.out): New rule.
46606 * elf/tst-initorder2.c: New file.
46607 * elf/tst-initorder2.exp: New file.
46609 2011-08-22 Andreas Schwab <schwab@redhat.com>
46611 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46613 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46614 dependencies back to end of function.
46616 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46617 $(elfobjdir)/ld.so.
46619 2011-08-21 Ulrich Drepper <drepper@gmail.com>
46621 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46622 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46623 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46624 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46625 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46626 of __vdso_gettimeofday.
46627 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46628 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
46630 (_libc_vdso_platform_setup): Remove initialization of
46631 __vdso_gettimeofday and __vdso_time.
46633 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46635 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46636 and fgetc_unlocked.
46637 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46640 * elf/dl-open.c (add_to_global): Report additions to the global scope
46641 for LD_DEBUG=scopes.
46642 (dl_open_worker): Also print scope of newly loaded dependencies.
46643 (_dl_show_scope): Indicate if there is no scope.
46646 * stdio-common/Makefile (tests): Add bug24.
46647 * stdio-common/bug24.c: New file.
46649 2011-08-19 Andreas Jaeger <aj@suse.de>
46652 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46653 non-existant file when using close-on-exec mode.
46655 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46657 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46658 the very first instruction.
46660 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46661 the CFI state in the end.
46662 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46663 inclusion of dl-trampoline.h.
46664 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46666 2011-08-19 Andreas Schwab <schwab@redhat.com>
46668 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46669 expectations for long double.
46671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46672 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46674 2011-08-14 David S. Miller <davem@davemloft.net>
46676 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46677 artificual limit depends upon the system page size.
46679 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46681 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46682 * resolv/Makefile: Define CFLAGS-libresolv.
46684 2011-08-17 Andreas Schwab <schwab@redhat.com>
46686 * nss/makedb.c (compute_tables): Make variables used in nested
46689 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46691 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46692 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46693 if buffer was too small.
46695 * elf/pldd.c (main): Attach to all threads in the process.
46696 Rewrite /proc handling to use *at functions.
46698 2011-08-16 Ulrich Drepper <drepper@gmail.com>
46700 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46701 specifies first scope to show.
46702 (dl_open_worker): Update callers. Move printing scope of new
46703 object to before the relocation.
46704 * elf/rtld.c (dl_main): Update _dl_show_scope call.
46705 * sysdeps/generic/ldsodefs.h: Update declaration.
46707 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46708 string for the scope number.
46710 2011-08-14 Ulrich Drepper <drepper@gmail.com>
46712 * nscd/servicescache.c (cache_addserv): Make sure written is always
46715 2011-08-14 Roland McGrath <roland@hack.frob.com>
46717 * sysdeps/i386/i486/bits/atomic.h
46718 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46719 statement expression, so as to suppress "set but not used" warning.
46720 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46722 * string/strncat.c (STRNCAT): Use prototype definition.
46724 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46725 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46727 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46728 (localedef-modules): Add localedef.
46729 (locale-modules): Add locale.
46731 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46732 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46733 to avoid a warning.
46735 2011-08-14 David S. Miller <davem@davemloft.net>
46737 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46738 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46740 2011-08-13 Ulrich Drepper <drepper@gmail.com>
46742 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46743 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46744 * elf/rtld.c (dl_main): Set l_name of vDSO.
46745 Call _dl_show_scope when DL_DEBUG_SCOPES.
46746 (process_dl_debug): Recognize scopes flag and also set it for all.
46747 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46748 Declare _dl_show_scope.
46750 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46751 (do_dlopen): Pass caller_dlopen to dl_open.
46752 (__libc_dlopen_mode): Initialize caller_dlopen.
46754 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46755 of libc. Make tolower call locale-independent. Optimize a bit by
46756 using isdigit instead of isalnum.
46757 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46759 2011-08-12 Ulrich Drepper <drepper@gmail.com>
46761 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46762 was a dependency or dynamically loaded.
46764 2011-08-11 Ulrich Drepper <drepper@gmail.com>
46766 * intl/l10nflist.c: Allow architecture-specific pop function.
46767 * sysdeps/x86_64/l10nflist.c: New file.
46769 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46772 2011-08-10 Andreas Schwab <schwab@redhat.com>
46774 * include/dirent.h: Add libc_hidden_proto for scandirat and
46775 scandirat64. Don't declare __scandirat64.
46776 * dirent/scandirat.c: Add libc_hidden_def.
46777 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46778 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46780 2011-08-10 David S. Miller <davem@davemloft.net>
46782 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46784 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46785 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46786 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46788 2011-08-09 Ulrich Drepper <drepper@gmail.com>
46790 * Versions.def [libc]: Add GLIBC_2.15.
46791 * dirent/Makefile (routines): Add scandirat and scandirat64.
46792 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46794 * dirent/dirent.h: Declare scandirat and scandirat64.
46795 * dirent/scandirat.c: New file.
46796 * dirent/scandirat64.c: New file.
46797 * sysdeps/wordsize-64/scandirat.c: New file.
46798 * sysdeps/wordsize-64/scandirat64.c: New file.
46799 * dirent/opendir.c: Define opendirat.
46800 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46802 * dirent/scandir64.c: Adjust for scandir.c change.
46803 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46804 __scandirat64, and __scandir_cancel_handler.
46805 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46806 additional parameter and use openat instead of open (outside of ld.so).
46807 Add new __opendir as wrapper around __opendirat.
46808 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46809 here without requiring old scandirat implementation.
46811 2011-08-08 Ulrich Drepper <drepper@gmail.com>
46813 * dirent/scandir.c (cancel_handler): Renamed to
46814 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46815 defined. Adjust users.
46816 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46817 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46819 2011-08-04 Ulrich Drepper <drepper@gmail.com>
46821 * string/test-string.h (IMPL): Use __STRING to expand name and then
46824 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46827 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46829 * string/Makefile: Update.
46830 (strop-tests): Append strncat.
46831 * string/test-wcscmp.c: New file.
46832 New comprehensive test for wcscmp.
46833 * string/test-strcmp.c: Update.
46834 (WIDE): New define.
46836 2011-07-22 Andreas Schwab <schwab@redhat.com>
46838 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46841 2011-07-26 Andreas Schwab <schwab@redhat.com>
46843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46844 encoding to ACE if AI_IDN.
46846 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46848 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46849 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46851 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46853 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46854 Fix overflow bug in strncat.
46855 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46857 * string/test-strncat.c: Update.
46858 Add new tests for checking overflow bugs.
46860 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46862 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46863 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46864 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46865 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46866 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46867 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46868 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46869 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46870 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46872 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46873 (USE_AS_STRCAT): Define.
46874 Add strcat and strncat support.
46875 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46877 2011-07-25 Andreas Schwab <schwab@redhat.com>
46879 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46880 __n bigger than INT_MAX+1.
46881 (__strncmp_g): Likewise.
46883 2011-07-23 Ulrich Drepper <drepper@gmail.com>
46885 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46886 * libio/stido.h: Likewise.
46888 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46890 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46893 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46894 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46895 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46896 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46897 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46900 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46903 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46905 (_dl_x86_64_save_sse): Likewise.
46907 2011-07-22 Ulrich Drepper <drepper@gmail.com>
46909 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46911 (_dl_x86_64_save_sse): Likewise.
46913 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46915 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46917 2011-07-21 Andreas Schwab <schwab@redhat.com>
46919 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46921 (_dl_x86_64_save_sse): Use correct AVX check.
46923 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46925 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46926 bug in strncpy/strncat.
46927 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46929 2011-07-21 Ulrich Drepper <drepper@gmail.com>
46931 * string/tester.c (test_strcat): Add tests for different alignments
46932 of source and destination.
46933 (test_strncat): Likewise.
46935 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46938 * posix/glob.c (glob): Check passed in values before using them in
46939 expressions to avoid some overflows.
46940 (glob_in_dir): Likewise.
46943 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46944 check for AVX enablement so that we don't crash with old kernels and
46946 * elf/tst-audit4.c: Add same checks here.
46947 * elf/tst-audit6.c: Likewise.
46949 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46951 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46953 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46955 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46957 * po/cs.po: Update from translation team.
46958 * po/bg.po: Likewise.
46960 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46962 * misc/sys/cdefs.h: Add support for const attribute.
46963 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46964 to gnu_dev_{major,minor,makedev} functions.
46966 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46968 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46970 2011-07-20 Andreas Schwab <schwab@redhat.com>
46972 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46975 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46977 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46978 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46979 register in order to avoid conflicts with the soft frame pointer
46980 being held in r11 when necessary.
46981 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46982 (INTERNAL_VSYSCALL_NCS): Likewise.
46984 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46986 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46987 * elf/dl-fini.c (_dl_fini): Adjust caller.
46988 * elf/dl-close.c (_dl_close_worker): Likewise.
46989 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46991 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46993 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46994 "aux_cache->nlibs < 0".
46996 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46997 in the reload-count case.
46999 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47002 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47003 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47004 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47005 * sysdeps/x86_64/multiarch/strcat.S: New file.
47006 * sysdeps/x86_64/multiarch/strncat.S: New file.
47007 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47008 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47009 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47010 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47011 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47012 (USE_AS_STRCAT): Define.
47013 Add strcat and strncat support.
47014 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47015 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47016 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47017 * string/strncat.c: Update.
47018 (USE_AS_STRNCAT): Define.
47019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47020 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47022 * sysdeps/x86_64/multiarch/init-arch.h
47023 (bit_Prefer_PMINUB_for_stringop): New.
47024 (index_Prefer_PMINUB_for_stringop): Likewise.
47025 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47026 bit_Prefer_PMINUB_for_stringop.
47028 2011-07-19 Ulrich Drepper <drepper@gmail.com>
47030 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47032 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47033 of casting of buffer.
47034 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47035 buffer32 and buffer64.
47036 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47037 writes instead of casting of buffer.
47038 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47040 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47043 2011-07-19 Andreas Schwab <schwab@redhat.com>
47045 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47047 2011-07-19 Ulrich Drepper <drepper@gmail.com>
47049 * nscd/nscd.c (termination_handler): Don't do anything for a database
47050 if it has not yet been initialized.
47052 2011-07-18 Ulrich Drepper <drepper@gmail.com>
47054 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47056 2011-07-15 Marek Polacek <mpolacek@redhat.com>
47058 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47060 2011-07-18 Ulrich Drepper <drepper@gmail.com>
47062 * po/nl.po: Update from translation team.
47063 * po/sv.po: Likewise.
47065 2011-07-16 Roland McGrath <roland@hack.frob.com>
47067 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47068 now disallowed by GCC.
47070 * configure.in (use-default-link): Default to yes if a test -shared
47071 link meets our qualifications.
47072 * configure: Regenerated.
47074 * config.make.in (output-format): New variable.
47075 * configure.in: Check for ld --print-output-format support.
47076 * configure: Regenerated.
47077 * Makerules ($(common-objpfx)format.lds)
47078 [$(output-format) != unknown]: Just use $(output-format),
47079 instead of the linker-script munging.
47081 2011-07-14 Roland McGrath <roland@hack.frob.com>
47083 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47084 of $(common-objpfx)shlib.lds.
47085 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47087 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47088 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47090 * configure.in (-z relro check): Adjust test code to add a large
47091 writable data section after it.
47092 * configure: Regenerated.
47094 2011-07-11 Roland McGrath <roland@hack.frob.com>
47096 * configure.in (-z relro check): Fix test code to make the variable
47098 * configure: Regenerated.
47100 2011-07-11 Ulrich Drepper <drepper@gmail.com>
47102 * nscd/nscd.h (struct traced_file): Define.
47103 (struct database_dyn): Remove inotify_descr, reset_res, and filename
47104 elements. Add traced_files.
47105 (inotify_fd): Declare.
47106 (register_traced_file): Declare.
47107 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47108 (inotify_fd): Export.
47109 (resolv_conf_descr): Remove.
47110 (nscd_init): Move inotify descriptor creation to main.
47111 Don't register files for notification here.
47112 (register_traced_file): New function.
47113 (invalidate_cache): Don't use reset_res to determine whether to call
47114 res_init, go through the list of registered files.
47115 (main_loop_poll): The inotify descriptors are now stored in the
47116 structures for the traced files.
47117 (main_loop_epoll): Likewise
47118 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
47119 to __nss_disable_nscd.
47120 * nscd/cache.c (prune_cache): There is no single inotify descriptor
47121 for a database anymore. Check the records for all the registered
47123 * nss/Makefile (libnss_files-routines): Add files-init.
47124 (libnss_db-routines): Add db-init.
47125 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47126 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47127 * nss/nss_db/db-init.c: New file.
47128 * nss/nss_files/files-init.c: New file.
47129 * nss/nsswitch.c (nss_load_library): New function. Broken out of
47130 __nss_lookup_function.
47131 (__nss_lookup_function): Call nss_load_library.
47132 (nss_load_all_libraries): New function.
47133 (__nss_disable_nscd): Take parameter with callback function for files
47134 to register. Set is_nscd. Load all the DSOs for the NSS modules
47135 used for the cached services.
47136 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47137 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47138 options for features to all the files in nscd.
47140 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47142 2011-07-10 Roland McGrath <roland@hack.frob.com>
47144 * csu/elf-init.c (__libc_csu_init): Comment typo.
47146 2011-07-09 Ulrich Drepper <drepper@gmail.com>
47148 * po/pl.po: Update from translation team.
47149 * po/ja.po: Likewise.
47150 * po/ru.po: Likewise.
47151 * po/ko.po: Likewise.
47152 * po/fr.po: Likewise.
47154 2011-07-09 Roland McGrath <roland@hack.frob.com>
47156 * configure.in (.ctors/.dtors header and trailer check):
47157 Use an empirical test on a built program.
47158 * configure: Regenerated.
47160 * configure.in (-z relro check): Use an empirical test on a built DSO.
47161 Detect, but do not require, on ia64.
47162 * configure: Regenerated.
47164 * configure.in (READELF): Find it with AC_CHECK_TOOL.
47165 Update tests that use readelf to use $READELF instead.
47166 * configure: Regenerated.
47168 2011-07-08 Ulrich Drepper <drepper@gmail.com>
47170 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47171 if the result is not used.
47173 2011-07-05 Andreas Jaeger <aj@suse.de>
47176 * stdlib/tst-strtod.c: Add testcase.
47178 2011-07-07 Ulrich Drepper <drepper@gmail.com>
47180 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47181 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47182 The latter has a higher limit. Take additional parameter to pass to
47184 (__pathconf): Pass file to __statfs_link_max.
47185 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47187 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47191 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47192 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47194 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47195 (__statfs_filesize_max): Likewise.
47196 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47198 2011-07-05 Andreas Jaeger <aj@suse.de>
47200 * resolv/res_comp.c (dn_skipname): Remove unused variable.
47202 2011-07-06 Marek Polacek <mpolacek@redhat.com>
47204 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47206 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47209 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
47211 * Makefile (strop-tests): Add strncat.
47212 * string/test-strncat.c: New file.
47214 2011-06-30 Marek Polacek <mpolacek@redhat.com>
47216 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47218 2011-06-21 Andreas Jaeger <aj@suse.de>
47220 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47221 Copy rule from iconvdata/Makefile.
47223 2011-07-06 Ulrich Drepper <drepper@gmail.com>
47226 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47227 but no long options are defined, just return 'W'.
47229 2011-06-22 Marek Polacek <mpolacek@redhat.com>
47232 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47234 2011-07-06 Ulrich Drepper <drepper@gmail.com>
47236 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47238 (innetgr): Likewise.
47240 2011-07-05 Roland McGrath <roland@hack.frob.com>
47242 * config.make.in (install_root): Default to $(DESTDIR).
47244 2011-07-05 Ulrich Drepper <drepper@gmail.com>
47246 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47248 2011-07-02 Roland McGrath <roland@hack.frob.com>
47250 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47252 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47253 containing directory rather than embedding absolute directory names.
47255 * scripts/check-local-headers.sh: Rewritten using awk.
47256 Match by word, not by line. Print error messages for matches.
47257 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47259 * Makerules [shlib-lds-flags empty]:
47260 ($(common-objpfx)libc_pic.opts): New target.
47261 ($(common-objpfx)libc_pic.os.clean): New target.
47262 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47264 * config.make.in (OBJCOPY): New variable.
47265 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47266 * configure: Regenerated.
47268 * config.make.in (use-default-link): New variable.
47269 * configure.in (use_default_link): Grok --with-default-link to set it.
47270 * configure: Regenerated.
47271 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47272 (shlib-lds, shlib-lds-flags): Define to empty.
47274 * Makerules (shlib-lds): New variable.
47275 (shlib-lds-flags): New variable.
47276 (build-shlib, build-moduile, build-module-asneeded): Use it.
47277 ($(common-objpfx)libc.so): Use $(shlib-lds).
47278 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47279 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47281 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47282 DT_FLAGS/DT_FLAGS_1 with zero flags.
47284 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47285 linker script munging.
47287 2011-07-02 Ulrich Drepper <drepper@gmail.com>
47289 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47291 * crypt/sha512.c (sha512_process_block): Perform total addition using
47292 128-bit if possible.
47293 (__sha512_finish_ctx): Likewise.
47294 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47296 * crypt/sha256.c (SWAP64): Define.
47297 (sha256_process_block): Perform total addition using 64-bit if
47299 (__sha256_finish_ctx): Likewise.
47301 2011-07-01 Ulrich Drepper <drepper@gmail.com>
47303 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
47304 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47305 * nscd/hstcache.c (cache_addhst): Likewise.
47306 * nscd/grpcache.c (cache_addgr): Likewise.
47307 * nscd/aicache.c (addhstaiX): Likewise
47308 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47310 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
47312 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47313 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47314 * nscd/hstcache.c (cache_addhst): Likewise.
47315 * nscd/grpcache.c (cache_addgr): Likewise.
47316 * nscd/aicache.c (addhstaiX): Likewise
47318 2011-07-01 Andreas Schwab <schwab@redhat.com>
47320 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47321 domain only when needed.
47323 2011-06-30 Andreas Schwab <schwab@redhat.com>
47325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47326 is always restored.
47328 2011-06-29 Ulrich Drepper <drepper@gmail.com>
47330 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47331 are re-adding the entry.
47332 * nscd/servicescache.c (cache_addserv): Likewise.
47334 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
47336 * sysdeps/generic/dl-irel.h: fix protection against multiple
47338 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47340 2011-06-28 Ulrich Drepper <drepper@gmail.com>
47343 * malloc/memusage.sh: Fix quoting in message.
47344 * debug/xtrace.sh: Likewise.
47346 * configure.in: Remove support for --experimental-malloc option, make
47348 * config.make.in: Likewise.
47349 * malloc/Makefile: Likewise.
47351 2011-06-27 Andreas Schwab <schwab@redhat.com>
47353 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47354 two-byte characters.
47356 2011-06-27 Roland McGrath <roland@hack.frob.com>
47358 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47359 AC_CACHE_CHECK invocation.
47360 * configure: Regenerated.
47362 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47364 2011-06-27 Ulrich Drepper <drepper@gmail.com>
47367 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
47368 bit from old_res_options.
47370 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47372 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47373 value type for setfct.
47375 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
47377 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47378 __gettimeofday instead of gettimeofday.
47380 2011-06-26 Ulrich Drepper <drepper@gmail.com>
47382 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47384 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
47386 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47388 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47391 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47394 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47395 strcpy-sse2-unaligned strncpy-sse2-unaligned
47396 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47397 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47398 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47399 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47400 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47401 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47402 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47403 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47404 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47405 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47406 (STRCPY): Support SSE2 and SSSE3 versions.
47408 2011-06-24 Ulrich Drepper <drepper@gmail.com>
47411 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47412 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47413 kernels which artificially limit size of requests.
47415 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47417 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47418 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47419 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47420 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47421 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47422 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47423 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47424 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47425 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47426 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47427 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47428 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47429 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47430 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47431 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47433 Enable unaligned load optimization for Intel Core i3, i5 and i7
47435 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47437 (index_Fast_Unaligned_Load): Define.
47438 (HAS_FAST_UNALIGNED_LOAD): Define.
47440 2011-06-23 Marek Polacek <mpolacek@redhat.com>
47442 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47444 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47447 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47448 until it is clear that the information is realy needed.
47449 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47451 2011-06-22 Andreas Schwab <schwab@redhat.com>
47453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47455 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47457 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47458 /sys/devices/system/cpu/online if it is usable.
47460 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47461 reading the information from the /proc filesystem to once a second.
47463 2011-06-21 Andreas Jaeger <aj@suse.de>
47465 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47466 NULL after inclusion of kernel headers.
47468 2011-06-21 Ulrich Drepper <drepper@gmail.com>
47470 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47471 calls to internal_setent.
47474 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47475 addresses using gethostbyname4_r ignore IPv4 addresses.
47477 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47478 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
47480 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47482 2011-06-20 David S. Miller <davem@davemloft.net>
47484 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47486 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47488 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47489 (elf_irel): Use it.
47490 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47491 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47492 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47493 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47494 * sysdeps/x86_64/dl-irel.h: Likewise.
47496 * elf/dl-runtime.c: Use elf_ifunc_invoke.
47497 * elf/dl-sym.c: Likewise.
47499 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47501 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
47502 need to dereference resplen2.
47504 2011-06-14 Andreas Schwab <schwab@redhat.com>
47506 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47508 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47510 * Makeconfig: Define vardbdir and inst_vardbdir.
47511 * nss/Makefile: Add rules to install db-Makefile.
47513 * nss/nss_db/db-XXX.c: Cleanup.
47515 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47516 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47518 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47519 * nss/makedb.c: Implement -g option to specify that value strings
47520 are generated and should not be added to table iterated over for
47522 * nss/nss_db/db-initgroups.c: New file.
47524 * nss/getent.c: Add support for initgroups lookups through getgrouplist
47527 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47528 (internal_getgrouplist): Adjust to name change.
47529 Update use_initgroups_entry if this is not the first call.
47530 * nss/databases.def: Add initgroups entry.
47532 * nss/makedb.c (compute_tables): Check result of multiple hash table
47533 sizes to minimize maximum chain length.
47535 2011-06-14 Ulrich Drepper <drepper@gmail.com>
47537 * Versions.def: Add entry for libnss_db.
47538 * shlib-versions: Likewise.
47539 * nss/Makefile: Add rules to build libnss_db.
47540 * nss/Versions: Add libnss_db information. Organize libnss_files
47542 * nss/db-Makefile: Add gshadow support. Change rules for the new
47543 makedb progra. Some minor improvements to generate smaller files.
47544 * nss/nss_db/nss_db.h: Move NSS database header data structures to
47546 * nss/makedb.c: ...here.
47547 Improve database format to be smaller and require less memory at
47549 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
47551 * nss/nss_db/db-netgrp.c: Likewise.
47552 * nss/nss_db/db-open.c: Likewise.
47553 * nss/nss_files/flies-XXX.x: Adjust comments.
47554 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47555 * nss/nss_files/files-grp.c: Likewise.
47556 * nss/nss_files/files-hosts.c: Likewise.
47557 * nss/nss_files/files-network.c: Likewise.
47558 * nss/nss_files/files-proto.c: Likewise.
47559 * nss/nss_files/files-pwd.c: Likewise.
47560 * nss/nss_files/files-rpc.c: Likewise.
47561 * nss/nss_files/files-service.c: Likewise.
47562 * nss/nss_files/files-sgrp.c: Likewise.
47563 * nss/nss_files/files-spwd.c: Likewise.
47564 * nss/nss_db/db-alias.c: Removed.
47565 * nss/nss_db/dummy-db.h: Removed.
47567 2011-06-02 Ulrich Drepper <drepper@gmail.com>
47569 * nss/makedb.c: Rewritten to not use database library.
47570 * nss/Makefile: Update to build new makedb program.
47572 2011-06-14 Andreas Jaeger <aj@suse.de>
47574 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47575 memset declaration.
47577 2011-06-10 Andreas Schwab <schwab@redhat.com>
47579 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47582 2011-06-10 Roland McGrath <roland@hack.frob.com>
47584 * Makerules (shlib.lds): Fail if the linker script comes out empty.
47585 * elf/Makefile ($(objpfx)ld.so): Likewise.
47587 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47588 Don't list ld.so twice in dependencies.
47590 * posix/bug-regex31.c: Include <stdlib.h>.
47592 * nscd/hstcache.c (cache_addhst): Remove unused variable.
47594 * nis/nss_compat/compat-spwd.c
47595 (getspent_next_nss_netgr): Remove unused variable.
47596 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47598 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47599 nonmembers" output to use the right array.
47601 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47603 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47605 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47606 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47607 * catgets/gencat.c (read_input_file): Likewise.
47608 * locale/programs/locarchive.c (enlarge_archive): Likewise.
47610 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47611 variable definition inside #if's controlling its use.
47613 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47615 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47617 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47619 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47622 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47624 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47625 * configure: Regenerated.
47627 * Makerules: Revert last change.
47628 * elf/Makefile: Likewise.
47630 2011-06-09 Roland McGrath <roland@hack.frob.com>
47632 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47633 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47634 (reloc-link): Likewise.
47636 2011-06-09 Ulrich Drepper <drepper@gmail.com>
47638 * elf/Makefile: Add rules to build pldd.
47639 * elf/pldd.c: New file.
47640 * elf/pldd-xx.c: New file.
47642 2011-06-07 Ulrich Drepper <drepper@gmail.com>
47644 * version.h: Update for 2.15 development version.
47646 2011-06-07 David S. Miller <davem@davemloft.net>
47648 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47650 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47651 elf_machine_lazy_rel): Likewise.
47652 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47653 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47654 elf_machine_lazy_rel): Likewise.
47655 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47656 dl_hwcap via passed in argument.
47657 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47660 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47662 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47664 2011-06-06 Roland McGrath <roland@hack.frob.com>
47667 * manual/fdl-1.1.texi: New file, verbatim from:
47668 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47669 * manual/lgpl-2.1.texi: New file, verbatim from:
47670 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47671 * manual/Makefile (licenses): New variable, list those new file names.
47673 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47675 * manual/fdl.texi: File removed.
47676 * manual/lesser.texi: File removed.
47677 * manual/libc.texinfo (Copying, Documentation License):
47678 Use new @include file names, put @appendix directive before @include.
47680 2011-06-04 Jakub Jelinek <jakub@redhat.com>
47683 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47684 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47685 (mq_open): Add __NTH.
47687 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47690 Assume Intel Core i3/i5/i7 processor if AVX is available.
47692 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47694 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47697 2011-05-31 Andreas Schwab <schwab@redhat.com>
47699 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47700 memory. Use alloca_account. Fix memory leak when retrying.
47702 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47704 * version.h (RELEASE): Bump for 2.14 release.
47705 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47707 * config.make.in (RANLIB): Remove entry.
47709 2011-05-30 Ulrich Drepper <drepper@gmail.com>
47711 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47712 (libc.pot): Work around missing support for .ksh extension in xgettext.
47715 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47716 if both request failed.
47717 (send_dg): In case of server errors clear resplen or *resplen2.
47720 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47721 when there are multiple maps.
47722 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47723 (_dl_fini): Remove test here.
47725 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47727 2011-05-29 Ulrich Drepper <drepper@gmail.com>
47730 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47731 bit from old_res_options.
47732 (gaih_inet): Likewise.
47735 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47738 * resolv/res_init.c (res_setoptions): Make the code more compact.
47741 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47745 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47747 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47750 * malloc/malloc.h: Declare malloc hook variables as volatile.
47752 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47756 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47757 raise in the comment.
47758 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47759 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47760 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47762 2011-05-28 Ulrich Drepper <drepper@gmail.com>
47765 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47766 grow the buffers more if it already has to be sufficient.
47767 (build_wcs_upper_buffer): Likewise.
47768 * posix/regexec.c (check_matching): Likewise.
47769 (clean_state_log_if_needed): Likewise.
47770 (extend_buffers): Don't enlarge buffers beyond size of the input
47772 Patches mostly by Emil Wojak <emil@wojak.eu>.
47773 * posix/bug-regex32.c: New file.
47774 * posix/Makefile (tests): Add bug-regex32.
47776 * locale/findlocale.c (_nl_find_locale): Return right away if
47777 _nl_explode_name failed.
47778 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47780 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47782 * debug/xtrace.sh: Unify messages.
47783 * malloc/memusage.sh: Likewise.
47786 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47787 time symbol from vDSO. Substitute with vsyscall if not available.
47788 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47791 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47792 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47793 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47794 Add sendmmsg and internal_sendmmsg.
47795 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47796 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47797 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47799 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47800 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47801 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47803 2011-05-27 Ulrich Drepper <drepper@gmail.com>
47806 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47807 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47809 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47813 * iconvdata/Makefile (tests): Add bug-iconv9.
47814 * iconvdata/bug-iconv9.c: New file.
47816 2011-05-27 Andreas Schwab <schwab@redhat.com>
47819 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47821 2011-05-25 Jakub Jelinek <jakub@redhat.com>
47823 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47824 (struct user_regs_struct): Change intcs field back to cs.
47826 2011-05-25 Ulrich Drepper <drepper@gmail.com>
47828 * po/ja.po: Update from translation team.
47830 2011-05-23 Ulrich Drepper <drepper@gmail.com>
47833 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47834 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47836 2011-05-20 Andreas Schwab <schwab@redhat.com>
47838 * stdlib/longlong.h: Update from GCC.
47840 2011-05-23 Andreas Schwab <schwab@redhat.com>
47842 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47844 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47845 Add parameter name.
47846 (__sysconf): Pass it down.
47848 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47851 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47853 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47854 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47855 add in in __libc_use_alloca calls. Adjust callers.
47856 (glob): Use malloc in some situations.
47858 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47859 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47862 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47864 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47865 and CLOCK_BOOTTIME_ALARM.
47868 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47871 * string/_strerror.c (__strerror_r): Print negative errors as signed
47875 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47876 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47877 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47879 * configure.in: Fix typo in redirection and correct removal of test
47880 files in two cases.
47883 * locale/setlocale.c (new_composite_name): Fix test to check for
47884 identical name of all categories.
47887 * libio/filedoalloc.c (local_isatty): New function.
47888 (_IO_file_doallocate): Use local_isatty.
47889 * stdio-common/perror.c (perror): In case a new stream is used
47890 forward the stream error.
47891 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47894 2011-05-20 Ulrich Drepper <drepper@gmail.com>
47897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47899 * include/alloca.h (extend_alloca_account): Define.
47902 * posix/regex.h: Fix comments with documentation of user-accessible
47903 fields after compilation and describe correct free'ing of pattern
47904 after re_compile_pattern.
47905 Patch by Reuben Thomas <rrt@sc3d.org>.
47907 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47909 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47910 and -mno-altivec to prevent the compiler from using Altivec and/or
47911 VSX instructions when the corresponding registers are not available.
47913 2011-05-19 Andreas Schwab <schwab@redhat.com>
47915 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47917 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47919 * libio/freopen.c (freopen): Use __dup2, not dup2.
47920 * libio/freopen64.c (freopen64): Likewise.
47922 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47925 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47926 * math/Makefile (tests): Add test-powl.
47927 (CFLAGS-test-powl.c): Define.
47928 * math/test-powl.c: New file.
47930 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47932 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47934 2011-05-17 Ulrich Drepper <drepper@gmail.com>
47937 * iconvdata/gb18030.c: Update to GB18020-2005.
47939 2011-05-16 Ulrich Drepper <drepper@gmail.com>
47941 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47942 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47943 Patch by Aharon Robbins <arnold@skeeve.com>.
47946 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47950 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47951 through underflows.
47954 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47955 point to strings before performing equality test for error_one_per_line
47959 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47962 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47963 (struct user_fpregs_struct): Avoid __uint*_t types.
47966 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47967 symbol info. Use it instead of calling _dl_addr locally.
47968 (lock_and_info): New function.
47969 (tr_freehook): Call lock_and_info and pass symbol info as additional
47970 parameter to tr_where.
47971 (tr_mallochook): Likewise.
47972 (tr_reallochook): Likewise.
47973 (tr_memalignhook): Likewise.
47975 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47976 used and couldn't be at all thread-safe.
47978 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47980 * libio/freopen.c (freopen): Don't close old file descriptor
47981 before the new one is opened. Instead dup the new file descriptor
47982 to the old one after the new stream is created.
47983 * libio/freopen64.c (freopen64): Likewise.
47984 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47985 * libio/fileops.c (_IO_new_file_close_it): Handle new
47986 _IO_FLAGS2_NOCLOSE flag.
47987 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47988 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47989 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47990 _IO_FLAGS2_NOCLOSE flag.
47991 * include/unistd.h: Add hidden_proto for dup3.
47992 Define __have_dup3.
47993 * io/dup3.c: Define hidden symbol.
47994 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47997 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47998 when an incomplete long option is used.
47999 * posix/tst-getopt_long1.c: New file.
48000 * posix/Makefile (tests): Add tst-getopt_long1.
48003 * scripts/config.guess: Update from autoconf-2.68.
48004 * scripts/config.sub: Likewise.
48007 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48009 (has_cpuclock): ...this. New function.
48010 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48011 macro here based on has_cpuclock code.
48014 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48015 First byte (not low byte) is now always NUL.
48016 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48018 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48019 Use non-cancelable interfaces.
48022 * locale/iso-639.def: Add entry for Sorani.
48025 * include/stdlib.h: Move include protection to the right place.
48026 Define abort_msg_s. Declare __abort_msg with it.
48027 * stdlib/abort.c (__abort_msg): Adjust type.
48028 * assert/assert.c (__assert_fail_base): New function. Majority
48029 of code from __assert_fail. Allocate memory for __abort_msg with
48031 (__assert_fail): Now call __assert_fail_base.
48032 * assert/assert-perr.c: Remove bulk of implementation. Use
48033 __assert_fail_base.
48034 * include/assert.hL Declare __assert_fail_base.
48035 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48037 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48039 2011-05-14 Ulrich Drepper <drepper@gmail.com>
48043 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48044 until all modules are registered in the DTV.
48045 * elf/Makefile: Add rules to build and run tst-tls19.
48046 * elf/tst-tls19.c: New file.
48047 * elf/tst-tls19mod1.c: New file.
48048 * elf/tst-tls19mod2.c: New file.
48049 * elf/tst-tls19mod3.c: New file.
48050 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48053 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48057 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48058 two-byte sequence errors.
48059 * iconvdata/Makefile (tests): Add bug-iconv8.
48060 * iconvdata/bug-iconv8.c: New file.
48063 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48066 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48069 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48070 (dummy_getcfa): New function.
48071 (init): Get _Unwind_GetCFA address, use dummy if not found.
48072 (backtrace_helper): In recursion check, also check whether CFA changes.
48073 (__backtrace): Completely initialize arg.
48075 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48076 storing incomplete byte sequence in state object. Avoid testing for
48077 guaranteed too small input if we know there is enough data available.
48079 2011-05-11 Andreas Schwab <schwab@redhat.com>
48081 * Makeconfig (+link-pie): Indent.
48082 * Rules (binaries-pie): Define if $(have-fpie) and
48084 (binaries-shared): Also filter out $(binaries-pie).
48085 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48086 * nscd/Makefile (others-pie): Add nscd.
48087 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48088 ($(objpfx)nscd): Remove command override.
48089 * login/Makefile (others-pie): Add pt_chown.
48090 ($(objpfx)pt_chown): Remove command override.
48091 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48092 remove command overrides.
48094 2011-05-13 Ulrich Drepper <drepper@gmail.com>
48096 * libio/tst_putwc.c: Fix error messages.
48099 * libio/fileops.c (_IO_new_file_close_it): Always flush when
48100 currently writing and seek to current position when not.
48101 * libio/Makefile (tests): Add bug-fclose1.
48102 * libio/bug-fclose1.c: New file.
48104 2011-05-12 Ulrich Drepper <drepper@gmail.com>
48107 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48108 don't set DF_1_NODELETE here.
48109 (do_lookup_x): When entering new entry test for copy relocation
48110 and if necessary set DF_1_NODELETE flag.
48111 * elf/tst-unique4.cc: New file.
48112 * elf/tst-unique4.h: New file.
48113 * elf/tst-unique4lib.cc: New file.
48114 * elf/Makefile: Add rules to build and run tst-unique4.
48115 Patch by Piotr Bury <pbury@goahead.com>.
48117 2011-05-11 Ulrich Drepper <drepper@gmail.com>
48120 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48123 * misc/mntent_r.c (addmntent): Flush the stream after the output
48126 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48127 (is_trusted_path_normalize): Skip initial colon. Append slash
48128 to empty buffer. Duplicate is_trusted_path code but allow
48129 constructed patch to be prefix.
48130 (is_dst): Allow $ORIGIN followed by /.
48131 (_dl_dst_substitute): Correct clearing of check_for_trusted.
48132 Correct testing of result of is_trusted_path_normalize
48133 (decompose_rpath): Fix warning.
48135 2011-05-10 Ulrich Drepper <drepper@gmail.com>
48138 * grp/initgroups.c (internal_getgrouplist): When we found the service
48139 list through the initgroups entry in nsswitch.conf do not always
48140 continue on a successful lookup. Don't always use the
48141 __nss_group_database value if it is set.
48142 * nss/nsswitch.conf (initgroups): Change action for successful db
48143 lookup to continue for compatibility.
48145 2011-05-09 Ulrich Drepper <drepper@gmail.com>
48148 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48150 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48152 * iconvdata/tst-tables.sh: Likewise.
48153 * iconvdata/cp770.c: New file.
48154 * iconvdata/cp771.c: New file.
48155 * iconvdata/cp772.c: New file.
48156 * iconvdata/cp773.c: New file.
48157 * iconvdata/cp774.c: New file.
48158 * iconvdata/testdata/CP770: New file.
48159 * iconvdata/testdata/CP770..UTF8: New file.
48160 * iconvdata/testdata/CP771: New file.
48161 * iconvdata/testdata/CP771..UTF8: New file.
48162 * iconvdata/testdata/CP772: New file.
48163 * iconvdata/testdata/CP772..UTF8: New file.
48164 * iconvdata/testdata/CP773: New file.
48165 * iconvdata/testdata/CP773..UTF8: New file.
48166 * iconvdata/testdata/CP774: New file.
48167 * iconvdata/testdata/CP774..UTF8: New file.
48169 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48171 * iconvdata/gen-8bit-gap.sh: Likewise.
48172 * iconvdata/gen-8bit.sh: Likewise.
48174 * locale/iso-639.def: Add ary entry.
48177 * locale/C-translit.h.in: Add U20A1 transliteration.
48180 * locale/iso-639.def: Add wae entry.
48181 Patch by Kevin Bortis <bortis@translate-wae.ch>.
48184 * locale/programs/localedef.c (construct_output_path): Use ssize_t
48188 * locale/C-translit.h.in: Add entry for U20B9.
48189 Patch by pravin.d.s@gmail.com.
48191 2011-05-08 Ulrich Drepper <drepper@gmail.com>
48194 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48195 ENAMETOOLONG use generic getcwd.
48196 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
48197 in rtld. Use *stat64.
48198 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48199 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48200 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48201 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48202 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48203 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48204 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48205 __fstatat64 macros.
48206 * include/dirent.h: Add libc_hidden_proto for rewinddir.
48207 * dirent/rewinddir.c: Add libc_hidden_def.
48208 * sysdeps/mach/hurd/rewinddir.c: Likewise.
48209 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
48211 * include/dirent.h (__alloc_dir): Add flags parameter.
48212 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48213 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48215 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
48216 from fdopendir if O_CLOEXEC is already set.
48218 2011-03-15 Alan Modra <amodra@gmail.com>
48220 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48221 l_tls_firstbyte_offset non-zero. Save padding offset in
48222 l_tls_firstbyte_offset for later use.
48223 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48224 freeing static tls block.
48226 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
48228 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48229 where #ifdef was intended. The intent is to prevent ARG_MAX from
48230 being defined by the kernel headers.
48232 2011-05-07 Ulrich Drepper <drepper@gmail.com>
48235 * resolv/resolv.h: Define RES_NOTLDQUERY.
48236 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48237 no-tld-query and set RES_NOTLDQUERY.
48238 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48239 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48240 modern BIND to search name as TLD unless forbidden.
48242 2011-05-07 Petr Baudis <pasky@suse.cz>
48243 Ulrich Drepper <drepper@gmail.com>
48246 * elf/dl-load.c (fillin_rpath): Move trusted path check...
48247 (is_trusted_path): ...to here.
48248 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48249 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48250 using is_trusted_path_normalize() in setuid scripts.
48252 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48254 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48255 __BEGIN/__END_DECLS.
48257 2011-05-06 Ulrich Drepper <drepper@gmail.com>
48259 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48260 NSS_STATUS_NOTFOUND if no record was found.
48262 2011-05-05 Andreas Schwab <schwab@redhat.com>
48264 * sunrpc/Makefile (headers): Add rpc/netdb.h.
48265 (headers-not-in-tirpc): Remove rpc/netdb.h
48266 * resolv/netdb.h: Revert last change.
48268 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48270 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48271 circular dependency between libgcc.a and libc.a.
48273 2011-05-05 Andreas Schwab <schwab@redhat.com>
48275 * resolv/netdb.h: Don't include <rpc/netdb.h>.
48276 * nis/Makefile: Don't install rpcsvc/*.
48277 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48278 instead of <rpc/types.h>.
48279 (MAXHOSTNAMELEN): Define.
48281 2011-05-03 Andreas Schwab <schwab@redhat.com>
48283 * elf/ldconfig.c (add_dir): Don't crash on empty path.
48285 2011-04-28 Maciej Babinski <mbabinski@google.com>
48288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48289 gethostbyname4_r when IPv6 results are possible.
48291 2011-05-02 Ulrich Drepper <drepper@gmail.com>
48294 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48295 _PC_PIPE_BUF handling.
48297 2011-04-30 Bruno Haible <bruno@clisp.org>
48300 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48301 * resolv/netdb.h (getnameinfo): Change type of flags parameter
48303 * inet/getnameinfo.c (getnameinfo): Likewise.
48305 2011-04-29 Ulrich Drepper <drepper@gmail.com>
48307 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48308 to groups setting in database lookup.
48309 * nss/nsswitch.conf: Add initgroups entry.
48311 2011-04-22 Ulrich Drepper <drepper@gmail.com>
48314 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48316 Patch by Eric Blake <eblake@redhat.com>.
48318 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
48320 * sunrpc/Makefile (need-export-routines): Add svc_run.
48321 (routines): Remove svc_run.
48322 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48323 * sunrpc/clnt_perr.c (clnt_perrno): Export.
48324 * sunrpc/svc_run.c (svc_run): Likewise.
48325 * sunrpc/svc_udp.c (svcudp_create): Likewise.
48327 2011-04-21 Ulrich Drepper <drepper@gmail.com>
48329 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48330 problem in reallocation in last patch.
48332 2011-04-20 Ulrich Drepper <drepper@gmail.com>
48334 * sunrpc/Makefile: Move inclusion of Rules.
48336 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48338 * nss/nss_files/files-initgroups.c: New file.
48339 * nss/Makefile (libnss_files-routines): Add files-initgroups.
48340 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48341 _nss_files_initgroups_dyn.
48343 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
48345 * elf/elf.h (R_ARM_IRELATIVE): Define.
48347 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48349 * po/ru.po: Update from translation team.
48351 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48353 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48356 2011-02-06 Mike Frysinger <vapier@gentoo.org>
48359 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48360 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48361 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48362 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48363 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48365 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
48367 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48369 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48370 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48371 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48373 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48376 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48378 * stdlib/bug-getcontext.c: New file.
48379 * stdlib/Makefile: Add rules to build and run bug-getcontext.
48381 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48383 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48384 instructions into .machine "z9-109".
48385 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48386 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48388 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48390 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48391 between environment variables and auxiliary vector.
48393 2011-04-16 Ulrich Drepper <drepper@gmail.com>
48395 * Makefile: Add rules to build linkobj/libc.so.
48396 * include/libc-symbols.h: Define libc_hidden_nolink.
48397 * include/rpc/auth.h: Mark functions which are to be hidden.
48398 * include/rpc/auth_des.h: Likewise.
48399 * include/rpc/auth_unix.h: Likewise.
48400 * include/rpc/clnt.h: Likewise.
48401 * include/rpc/des_crypt.h: Likewise.
48402 * include/rpc/key_prot.h: Likewise.
48403 * include/rpc/pmap_clnt.h: Likewise.
48404 * include/rpc/pmap_prot.h: Likewise.
48405 * include/rpc/pmap_rmt.h: Likewise.
48406 * include/rpc/rpc_msg.h: Likewise.
48407 * include/rpc/svc.h: Likewise.
48408 * include/rpc/svc_auth.h: Likewise.
48409 * include/rpc/xdr.h: Likewise.
48410 * nis/Makefile: Link all DSOs against linkobj/libc.so.
48411 * nss/Makefile: Likewise.
48412 * sunrpc/Makefile: Don't install headers. Build library with normal
48413 entry points. Don't build rpcinfo. Link RPC tests appropriately.
48414 * sunrpc/auth_des.c: Hide exported symbols by default, export some
48415 for the compat linking library. Remove use of INTDEF/INTUSE.
48416 * sunrpc/auth_none.c: Likewise.
48417 * sunrpc/auth_unix.c: Likewise.
48418 * sunrpc/authdes_prot.c: Likewise.
48419 * sunrpc/authuxprot.c: Likewise.
48420 * sunrpc/clnt_gen.c: Likewise.
48421 * sunrpc/clnt_perr.c: Likewise.
48422 * sunrpc/clnt_raw.c: Likewise.
48423 * sunrpc/clnt_simp.c: Likewise.
48424 * sunrpc/clnt_tcp.c: Likewise.
48425 * sunrpc/clnt_udp.c: Likewise.
48426 * sunrpc/clnt_unix.c: Likewise.
48427 * sunrpc/des_crypt.c: Likewise.
48428 * sunrpc/des_soft.c: Likewise.
48429 * sunrpc/get_myaddr.c: Likewise.
48430 * sunrpc/key_call.c: Likewise.
48431 * sunrpc/key_prot.c: Likewise.
48432 * sunrpc/netname.c: Likewise.
48433 * sunrpc/pm_getmaps.c: Likewise.
48434 * sunrpc/pm_getport.c: Likewise.
48435 * sunrpc/pmap_clnt.c: Likewise.
48436 * sunrpc/pmap_prot.c: Likewise.
48437 * sunrpc/pmap_prot2.c: Likewise.
48438 * sunrpc/pmap_rmt.c: Likewise.
48439 * sunrpc/publickey.c: Likewise.
48440 * sunrpc/rpc_cmsg.c: Likewise.
48441 * sunrpc/rpc_common.c: Likewise.
48442 * sunrpc/rpc_dtable.c: Likewise.
48443 * sunrpc/rpc_prot.c: Likewise.
48444 * sunrpc/rpc_thread.c: Likewise.
48445 * sunrpc/rtime.c: Likewise.
48446 * sunrpc/svc.c: Likewise.
48447 * sunrpc/svc_auth.c: Likewise.
48448 * sunrpc/svc_authux.c: Likewise.
48449 * sunrpc/svc_raw.c: Likewise.
48450 * sunrpc/svc_run.c: Likewise.
48451 * sunrpc/svc_simple.c: Likewise.
48452 * sunrpc/svc_tcp.c: Likewise.
48453 * sunrpc/svc_udp.c: Likewise.
48454 * sunrpc/svc_unix.c: Likewise.
48455 * sunrpc/svcauth_des.c: Likewise.
48456 * sunrpc/xcrypt.c: Likewise.
48457 * sunrpc/xdr.c: Likewise.
48458 * sunrpc/xdr_array.c: Likewise.
48459 * sunrpc/xdr_float.c: Likewise.
48460 * sunrpc/xdr_intXX_t.c: Likewise.
48461 * sunrpc/xdr_mem.c: Likewise.
48462 * sunrpc/xdr_rec.c: Likewise.
48463 * sunrpc/xdr_ref.c: Likewise.
48464 * sunrpc/xdr_sizeof.c: Likewise.
48465 * sunrpc/xdr_stdio.c: Likewise.
48467 2011-04-10 Ulrich Drepper <drepper@gmail.com>
48470 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48471 * sysdeps/ia64/dl-tls.h: Likewise.
48472 * sysdeps/powerpc/dl-tls.h: Likewise.
48473 * sysdeps/s390/dl-tls.h: Likewise.
48474 * sysdeps/sh/dl-tls.h: Likewise.
48475 * sysdeps/sparc/dl-tls.h: Likewise.
48476 * sysdeps/x86_64/dl-tls.h: Likewise.
48477 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48479 2011-03-14 Andreas Schwab <schwab@redhat.com>
48481 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48482 rpath element also skip the following colon.
48483 (expand_dynamic_string_token): Add is_path parameter and pass
48484 down to DL_DST_REQUIRED and _dl_dst_substitute.
48485 (decompose_rpath): Call expand_dynamic_string_token with
48486 non-zero is_path. Ignore empty rpaths.
48487 (_dl_map_object_from_fd): Call expand_dynamic_string_token
48490 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
48492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48495 2011-04-09 Ulrich Drepper <drepper@gmail.com>
48498 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48499 Patch by Filipe David Manana <fdmanana@apache.org>.
48501 2011-04-07 Andreas Schwab <schwab@redhat.com>
48503 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48504 Maintain aligned stack.
48505 (CHECK_RSP): Remove unused macro.
48507 2011-04-03 Ulrich Drepper <drepper@gmail.com>
48509 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48510 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48512 2011-04-02 Ulrich Drepper <drepper@gmail.com>
48514 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48516 * include/features.h: Mention __USE_XOPEN2K8 in comment.
48518 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
48521 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48522 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48523 * sysdeps/x86_64/memmove.c: New file.
48524 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48525 (memcpy): Renamed to ...
48526 (__new_memcpy): This.
48527 (memcpy): Provide GLIBC_2_14 memcpy.
48528 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48529 (memcpy): Provide GLIBC_2_2_5 memcpy.
48531 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48534 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48536 2011-03-30 Andreas Schwab <schwab@redhat.com>
48538 * misc/syncfs.c: New file.
48539 * misc/Makefile (routines): Add syncfs.
48540 * posix/unistd.h: Declare syncfs.
48541 * sysdeps/unix/syscalls.list: Add syncfs.
48543 2011-04-01 Andreas Schwab <schwab@redhat.com>
48545 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48547 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48548 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48549 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48550 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48551 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48552 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48553 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48555 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48557 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48558 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48559 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48560 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48561 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48562 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48563 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48565 * io/Makefile: Compile fallocate.c, fallocate64.c, and
48566 sync_file_range.c with -fexceptions.
48567 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48568 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48569 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48570 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48571 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48572 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48573 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48574 sync_file_range as cancellation point
48575 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
48576 now a wrapper around __call_sync_file_range with cancellation handling.
48577 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48578 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
48579 function name to __call_sync_file_range.
48580 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48581 Add call_sync_file_range.
48583 2011-04-01 Andreas Schwab <schwab@redhat.com>
48585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48588 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48590 * iconv/iconv.h: Fix typo in comment.
48591 * io/fcntl.h: Likewise.
48592 * libio/stdio.h: Likewise.
48593 * posix/spawn.h: Likewise.
48594 * posix/unistd.h: Likewise.
48595 * stdlib/stdlib.h: Likewise.
48596 * time/time.h: Likewise.
48597 * wcsmbs/wchar.h: Likewise.
48599 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48600 open_by_handle): Add.
48601 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48602 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
48603 Augment a few comments.
48604 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48605 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48606 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48607 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48608 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48609 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48612 * io/fcntl.h (AT_EMPTY_PATH): Define.
48614 2011-03-30 Ulrich Drepper <drepper@gmail.com>
48616 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48617 * sysdeps/unix/sysv/linux/bits/time.h: New file.
48618 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48620 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
48621 * Versions.def: Add GLIBC_2.14.
48622 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48625 2011-03-22 Ulrich Drepper <drepper@gmail.com>
48627 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48629 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48631 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48634 * string/test-strncmp.c (do_page_test): New function.
48635 (check2): Likewise.
48636 (test_main): Call check2.
48637 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48639 2011-03-20 Ulrich Drepper <drepper@gmail.com>
48642 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48643 Handle cache information in CPU leaf 4.
48644 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48646 2011-03-18 Ulrich Drepper <drepper@gmail.com>
48649 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48650 character representation.
48651 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48653 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48655 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48656 END(__isnan) to END(__isnanf) to match function entry point/label
48657 EALIGN(__isnanf,...).
48659 2011-03-10 Jakub Jelinek <jakub@redhat.com>
48661 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48663 2011-03-10 Ulrich Drepper <drepper@gmail.com>
48666 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48667 copy from the symbol referenced in the relocation to initialize the
48669 Patch by Piotr Bury <pbury@goahead.com>.
48670 * elf/Makefile: Add rules to build and tst-unique3.
48671 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48672 * elf/tst-unique3.cc: New file.
48673 * elf/tst-unique3.h: New file.
48674 * elf/tst-unique3lib.cc: New file.
48675 * elf/tst-unique3lib2.cc: New file.
48677 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48679 2011-03-10 Mike Frysinger <vapier@gentoo.org>
48681 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48682 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48685 2011-03-06 Ulrich Drepper <drepper@gmail.com>
48687 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48688 to-be-loaded object along a path to loader is ld.so.
48690 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48691 Ulrich Drepper <drepper@gmail.com>
48693 * sysdeps/x86_64/memset.S: After aligning destination, code
48694 branches to different locations depending on the value of
48695 misalignment, when multiarch is enabled. Fix this.
48697 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48699 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48700 Set _x86_64_preferred_memory_instruction for AMD processsors.
48701 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48702 Set bit_Prefer_SSE_for_memop for AMD processors.
48704 2011-03-04 Ulrich Drepper <drepper@gmail.com>
48706 * libio/fmemopen.c (fmemopen): Optimize a bit.
48708 2011-03-03 Andreas Schwab <schwab@redhat.com>
48710 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48712 2011-03-03 Roland McGrath <roland@redhat.com>
48714 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48716 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48718 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48719 __bzero_ultra1 instead of __memset_ultra1.
48721 2011-02-23 Andreas Schwab <schwab@redhat.com>
48722 Ulrich Drepper <drepper@gmail.com>
48725 * include/link.h (struct link_map): Add l_orig_initfini.
48726 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48727 returning unsuccessfully.
48728 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48729 close of a file loaded at startup, restore the original l_initfini
48731 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48732 list, store the pointer.
48733 * elf/Makefile ($(objpfx)noload-mem): New rule.
48734 (noload-ENV): Define.
48735 (tests): Add $(objpfx)noload-mem.
48736 * elf/noload.c: Include <memcheck.h>.
48737 (main): Call mtrace. Close all opened handles.
48739 2011-02-17 Andreas Schwab <schwab@redhat.com>
48742 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48743 dependencies are missing.
48745 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48747 Fix __if_freereq crash: Unlike the generic version which uses free,
48749 * sysdeps/mach/hurd/ifreq.h: New file.
48751 2011-01-27 Petr Baudis <pasky@suse.cz>
48752 Ulrich Drepper <drepper@gmail.com>
48755 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48756 to extend_alloca().
48757 * stdio-common/bug23.c: New file.
48758 * stdio-common/Makefile (tests): Add bug23.
48760 2010-09-28 Andreas Schwab <schwab@redhat.com>
48761 Ulrich Drepper <drepper@gmail.com>
48764 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48765 before performing relro protection. At old place add assertion
48766 to make sure nothing changed.
48768 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48769 Glauber de Oliveira Costa <glommer@gmail.com>
48771 * elf/elf.h: Add new ARM TLS relocs.
48773 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48776 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48778 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48780 * sysdeps/wordsize-64/tst-writev.c: New file.
48782 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48784 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48785 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48786 insns in _dl_start to prevent a TOC reference before relocs are
48789 2011-02-15 Ulrich Drepper <drepper@gmail.com>
48792 * Makeconfig: Remove RANLIB definition.
48793 * Makerules: Don't use RANLIB.
48794 * aclocal.m4: Remove ranlib test.
48795 * configure.in: No need to check for ranlib.
48796 * elf/rtld-Rules: Don't use RANLIB.
48798 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48800 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48802 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48803 inclusion protection macro.
48805 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48806 SIGRTMIN and SIGRTMAX and print information in that case only when
48807 SIGRTMIN is defined.
48809 2011-02-11 Jakub Jelinek <jakub@redhat.com>
48811 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48812 arginfo fn returning -1.
48814 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48815 and thousands string is zero terminated.
48817 2011-02-03 Andreas Schwab <schwab@redhat.com>
48819 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48820 sysdeps/unix/sysv/linux/bits/socket.h.
48822 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48824 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48825 (__CPU_COUNT): Remove old macros.
48826 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48827 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48828 (__CPU_ALLOC, __CPU_FREE): Add macros.
48829 (__sched_cpualloc, __sched_cpufree): Add declarations.
48831 2011-02-05 Ulrich Drepper <drepper@gmail.com>
48833 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48834 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48835 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48836 (readdhstai): Return value of addhstaiX call.
48837 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48838 (addgrbyX): Return value returned by cache_addgr.
48839 (readdgrbyname): Return value returned by addgrbyX.
48840 (readdgrbygid): Likewise.
48841 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48842 (addpwbyX): Return value returned by cache_addpw.
48843 (readdpwbyname): Return value returned by addhstbyX.
48844 (readdpwbyuid): Likewise.
48845 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48846 (addservbyX): Return value returned by cache_addserv.
48847 (readdservbyname): Return value returned by addservbyX:
48848 (readdservbyport): Likewise.
48849 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48850 (addhstbyX): Return value returned by cache_addhst.
48851 (readdhstbyname): Return value returned by addhstbyX.
48852 (readdhstbyaddr): Likewise.
48853 (readdhstbynamev6): Likewise.
48854 (readdhstbyaddrv6): Likewise.
48855 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48856 (readdinitgroups): Return value returned by addinitgroupsX.
48857 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48858 (prune_cache): Keep track of timeout value of re-added entries.
48859 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48860 * nscd/nscd.h: Adjust prototypes of readd* functions.
48862 2011-02-04 Roland McGrath <roland@redhat.com>
48864 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48865 (nis_stats): Likewise.
48866 * nis/nis_modify.c (nis_modify): Likewise.
48867 * nis/nis_remove.c (nis_remove): Likewise.
48868 * nis/nis_add.c (nis_add): Likewise.
48870 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48872 * posix/fnmatch_loop.c: Add some consts.
48874 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48876 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48879 * config.make.in (config-cflags-novzeroupper): Define.
48880 * configure.in: Substitute libc_cv_cc_novzeroupper.
48881 * elf/Makefile (AVX-CFLAGS): Define.
48882 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48883 (CFLAGS-tst-auditmod4a.c): Likewise.
48884 (CFLAGS-tst-auditmod4b.c): Likewise.
48885 (CFLAGS-tst-auditmod6b.c): Likewise.
48886 (CFLAGS-tst-auditmod6c.c): Likewise.
48887 (CFLAGS-tst-auditmod7b.c): Likewise.
48888 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48890 2011-02-02 Ulrich Drepper <drepper@gmail.com>
48892 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48893 function to the callback.
48894 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48896 2011-02-02 Andreas Schwab <schwab@redhat.com>
48898 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48901 2011-01-19 Ulrich Drepper <drepper@gmail.com>
48904 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48906 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48908 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48911 * elf/Makefile: Add rules to build and run new test.
48912 * elf/tst-initorder.c: New file.
48913 * elf/tst-initorder.exp: New file.
48914 * elf/tst-initordera1.c: New file.
48915 * elf/tst-initordera2.c: New file.
48916 * elf/tst-initordera3.c: New file.
48917 * elf/tst-initordera4.c: New file.
48918 * elf/tst-initorderb1.c: New file.
48919 * elf/tst-initorderb2.c: New file.
48920 * elf/tst-order-a1.c: New file.
48921 * elf/tst-order-a2.c: New file.
48922 * elf/tst-order-a3.c: New file.
48923 * elf/tst-order-a4.c: New file.
48924 * elf/tst-order-b1.c: New file.
48925 * elf/tst-order-b2.c: New file.
48926 * elf/tst-order-main.c: New file.
48927 New test case by George Gensure <werkt0@gmail.com>.
48929 2010-10-01 Andreas Schwab <schwab@redhat.com>
48931 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48932 decoding ACE if AI_CANONIDN.
48934 2011-01-18 Ulrich Drepper <drepper@gmail.com>
48936 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48938 2011-01-17 Ulrich Drepper <drepper@gmail.com>
48940 * version.h (RELEASE): Bump for 2.13 release.
48941 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48943 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48945 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48947 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48948 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48949 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48950 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48951 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48952 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48954 * posix/getconf.c: Update copyright year.
48955 * catgets/gencat.c: Likewise.
48956 * csu/version.c: Likewise.
48957 * debug/catchsegv.sh: Likewise.
48958 * debug/xtrace.sh: Likewise.
48959 * elf/ldconfig.c: Likewise.
48960 * elf/ldd.bash.in: Likewise.
48961 * elf/sprof.c (print_version): Likewise.
48962 * iconv/iconv_prog.c: Likewise.
48963 * iconv/iconvconfig.c: Likewise.
48964 * locale/programs/locale.c: Likewise.
48965 * locale/programs/localedef.c: Likewise.
48966 * malloc/memusage.sh: Likewise.
48967 * malloc/mtrace.pl: Likewise.
48968 * nscd/nscd.c (print_version): Likewise.
48969 * nss/getent.c: Likewise.
48971 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48972 PF_CAIF, and PF_ALG.
48973 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48975 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48977 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48978 (modules-names): Use them.
48979 (ifunc-test-modules, ifunc-pie-tests): Define.
48980 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48981 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48982 (test-extras): Likewise.
48983 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48984 $(compile-command.c).
48985 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48986 (all-built-dso): Define.
48987 (check-textrel.out, check-execstack.out): Depend on it.
48989 * configure.in: Don't override --enable-multi-arch.
48991 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48994 * nscd/hstcache.c (tryagain): Define.
48995 (cache_addhst): Return tryagain not notfound for temporary errors.
48996 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48999 2011-01-14 Ulrich Drepper <drepper@gmail.com>
49002 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49003 to make the syscall.
49004 * sysdeps/unix/sysv/linux/setgroups.c: New file.
49007 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49008 and fall back to matching as normal character if the string ends before
49009 the matching ']' is found. This is what POSIX requires.
49010 * posix/testfnm.c: Adjust test result.
49011 * posix/globtest.sh: Adjust test result. Add new test.
49012 * posix/tst-fnmatch.input: Likewise.
49013 * posix/tst-fnmatch2.c: Add new test.
49015 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
49017 * elf/Makefile (check-execstack): Revert last change. Depend on
49019 (check-execstack.h): New target.
49020 (generated): Add check-execstack.h.
49021 * elf/check-execstack.c: Include "check-execstack.h".
49022 (main): Revert last change.
49023 (handle_file): Return zero if GNU_STACK is absent and
49024 DEFAULT_STACK_PERMS doesn't include PF_X.
49026 2011-01-13 Ulrich Drepper <drepper@gmail.com>
49028 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49029 in child fails because the descriptor is already closed.
49030 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49031 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49032 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49035 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49039 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49040 temporary buffer used to handle multi lookups locally.
49041 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49043 2011-01-12 Ulrich Drepper <drepper@gmail.com>
49045 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49048 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
49050 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49051 alignment for SSE2.
49053 2011-01-12 Ulrich Drepper <drepper@gmail.com>
49056 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49057 characters. When rounding increased number of integer digits recompute
49059 * stdio-common/tst-grouping.c: New file.
49060 * stdio-common/Makefile: Add rules to build and run tst-grouping.
49062 2011-01-09 Ulrich Drepper <drepper@gmail.com>
49064 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49065 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
49067 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49069 * bits/select.h: Likewise.
49071 2011-01-08 Ulrich Drepper <drepper@gmail.com>
49073 * po/ja.po: Update from translation team.
49075 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
49078 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49079 implementation just like for lxstat, fxstatat, et al.
49081 2010-12-27 Jim Meyering <meyering@redhat.com>
49084 * posix/regexec.c (build_trtable): Return failure indication upon
49085 calloc failure. Otherwise, re_search_internal could infloop on OOM.
49087 2010-12-25 Ulrich Drepper <drepper@gmail.com>
49090 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49091 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49092 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49093 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49096 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49099 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49100 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49102 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
49104 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49105 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49106 script has SORT_BY_INIT_PRIORITY.
49107 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49108 NO_CTORS_DTORS_SECTIONS is defined.
49109 * elf/soinit.c: Likewise.
49110 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49111 NO_CTORS_DTORS_SECTIONS is defined.
49112 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49113 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49114 * sysdeps/sh/init-first.c: Likewise.
49115 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49117 2010-12-24 Ulrich Drepper <drepper@gmail.com>
49119 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49120 always use the slow path.
49122 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
49124 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49125 similar rule which adds the sysdep directories to the header search in
49126 order to pick up the correct platform stackinfo.h.
49127 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49128 perform test if it is, otherwise return successfully without testing.
49129 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49130 DEFAULT_STACK_PERMS define in stackinfo.h.
49131 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49132 defined in stackinfo.h.
49133 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49134 DEFAULT_STACK_PERMS defined in stackinfo.h.
49135 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49136 * sysdeps/ia64/stackinfo.h: Likewise.
49137 * sysdeps/s390/stackinfo.h: Likewise.
49138 * sysdeps/sh/stackinfo.h: Likewise.
49139 * sysdeps/sparc/stackinfo.h: Likewise.
49140 * sysdeps/x86_64/stackinfo.h: Likewise.
49141 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49142 PF_X for powerpc64. Retain PF_X for powerpc32.
49144 2010-12-19 Ulrich Drepper <drepper@gmail.com>
49146 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49148 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49149 GETDENTS_64BIT_ALIGNED.
49151 2010-12-14 Ulrich Drepper <dreper@gmail.com>
49153 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49155 2010-12-10 Andreas Schwab <schwab@redhat.com>
49157 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49160 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49161 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49163 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49164 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49166 2010-12-09 Ulrich Drepper <drepper@gmail.com>
49169 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49172 2010-12-09 Jakub Jelinek <jakub@redhat.com>
49174 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49176 2010-12-03 Ulrich Drepper <drepper@gmail.com>
49178 * po/it.po: Update from translation team.
49180 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
49182 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49185 2010-11-30 Ulrich Drepper <drepper@gmail.com>
49187 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49189 2010-11-24 Andreas Schwab <schwab@redhat.com>
49191 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49193 (gaih_getanswer_slice): Likewise.
49195 2010-10-20 Jakub Jelinek <jakub@redhat.com>
49197 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49199 2010-05-31 Petr Baudis <pasky@suse.cz>
49202 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49203 silently even in the chroot mode.
49205 2010-11-22 Ulrich Drepper <drepper@gmail.com>
49207 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49208 last patch a bit. Pretty printing
49210 2010-05-31 Petr Baudis <pasky@suse.cz>
49213 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49214 initialization of skip_initgroups_dyn.
49216 2010-11-19 Ulrich Drepper <drepper@gmail.com>
49218 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49219 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49221 2010-11-16 Ulrich Drepper <drepper@gmail.com>
49223 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49225 2010-11-11 Andreas Schwab <schwab@redhat.com>
49227 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49228 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49229 (tst-fnmatch-ENV): Set MALLOC_TRACE.
49230 ($(objpfx)tst-fnmatch-mem): New rule.
49231 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49232 * posix/tst-fnmatch.c (main): Call mtrace.
49234 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
49236 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49237 Support Intel processor model 6 and model 0x2c.
49239 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
49241 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49244 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
49247 * string/test-strncasecmp.c (check_result): New function.
49248 (do_one_test): Use it.
49249 (check1): New function.
49250 (test_main): Use it.
49251 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49252 Support strcasecmp and strncasecmp.
49254 2010-11-08 Ulrich Drepper <drepper@gmail.com>
49257 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49258 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49260 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
49262 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49266 * sysdeps/x86_64/multiarch/bzero.S: New file.
49267 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49268 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49269 * sysdeps/x86_64/multiarch/memset.S: New file.
49270 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49272 Set bit_Prefer_SSE_for_memop for Intel processors.
49273 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49275 (index_Prefer_SSE_for_memop): Define.
49276 (HAS_PREFER_SSE_FOR_MEMOP): Define.
49278 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
49280 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49281 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49283 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
49286 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49287 (__x86_64_raw_data_cache_size_half): Likewise.
49288 (__x86_64_raw_shared_cache_size): Likewise.
49289 (__x86_64_raw_shared_cache_size_half): Likewise.
49291 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49292 (__x86_64_raw_data_cache_size_half): Likewise.
49293 (__x86_64_raw_shared_cache_size): Likewise.
49294 (__x86_64_raw_shared_cache_size_half): Likewise.
49295 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49296 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49297 and __x86_64_raw_shared_cache_size_half. Round
49298 __x86_64_data_cache_size_half, __x86_64_data_cache_size
49299 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49300 to multiple of 256 bytes.
49302 2010-11-03 Ulrich Drepper <drepper@gmail.com>
49305 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49306 of inacessible symlinks. Verify result of symlink before returning it.
49307 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49308 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49310 2010-10-28 Erich Ritz <erichritz@gmail.com>
49312 * math/math.h (isinf): Fix typo in comment.
49314 2010-11-01 Ulrich Drepper <drepper@gmail.com>
49316 * po/da.po: Update from translation team.
49318 2010-10-26 Ulrich Drepper <drepper@gmail.com>
49320 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49321 is added to the list.
49323 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49324 Ulrich Drepper <drepper@gmail.com>
49326 * elf/dl-object.c (_dl_new_object): Don't append the new object to
49327 the global list here. Move code to...
49328 (_dl_add_to_namespace_list): ...here. New function.
49329 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49330 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49331 * elf/dl-load.c (lose): Don't remove the element from the list.
49332 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49333 (_dl_map_object): Likewise.
49335 2010-10-25 Ulrich Drepper <drepper@gmail.com>
49338 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49339 into all bytes of SSE register.
49340 Patch by Richard Li <richardpku@gmail.com>.
49342 2010-10-24 Ulrich Drepper <drepper@gmail.com>
49345 * malloc/malloc.c (_int_free): Fill correct number of bytes when
49348 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
49350 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49351 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49352 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49353 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49358 2010-10-22 Andreas Schwab <schwab@redhat.com>
49360 * include/dlfcn.h (__RTLD_SECURE): Define.
49361 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
49362 mode & __RTLD_SECURE instead.
49363 (open_path): Rename preloaded parameter to secure.
49364 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49365 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49366 * elf/dl-deps.c (openaux): Likewise.
49367 * elf/rtld.c (struct map_args): Remove is_preloaded.
49368 (map_doit): Don't use it.
49369 (dl_main): Likewise.
49370 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49371 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49373 2010-09-09 Andreas Schwab <schwab@redhat.com>
49375 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49376 (sysd-rules-targets): Remove duplicates.
49377 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49378 rtld-%.$o dependency.
49380 2010-10-18 Andreas Schwab <schwab@redhat.com>
49382 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49383 _dl_map_object do it.
49385 2010-10-19 Ulrich Drepper <drepper@gmail.com>
49387 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49388 fast fma builtins, define the macros in the C99 standard.
49389 (FP_FAST_FMAF): Likewise.
49390 (FP_FAST_FMAL): Likewise.
49391 * sysdeps/x86_64/bits/mathdef.h: Likewise.
49393 * bits/mathdef.h: Update copyright year.
49394 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49396 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
49398 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49399 builtins, define the macros in the C99 standard.
49400 (FP_FAST_FMAF): Likewise.
49401 (FP_FAST_FMAL): Likewise.
49402 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49404 (FP_FAST_FMAF): Likewise.
49406 2010-10-15 Jakub Jelinek <jakub@redhat.com>
49409 * math/libm-test.inc (fma_test): Some new testcases.
49410 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49411 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49412 y and infinite z. Do multiplication by C already in long double.
49413 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49414 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49415 y and infinite z. Do bitwise or of inexact bit into u.d.
49416 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49417 * sysdeps/i386/fpu/s_fmaf.S: Removed.
49418 * sysdeps/i386/fpu/s_fma.S: Removed.
49419 * sysdeps/i386/fpu/s_fmal.S: Removed.
49421 2010-10-16 Jakub Jelinek <jakub@redhat.com>
49424 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49425 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49426 computation is not scheduled after fetestexcept. Fix value
49427 of minimum denormal long double.
49429 2010-10-14 Jakub Jelinek <jakub@redhat.com>
49432 * math/libm-test.inc (fma_test): Add some more tests.
49433 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49436 2010-10-15 Andreas Schwab <schwab@redhat.com>
49438 * scripts/data/localplt-s390-linux-gnu.data: New file.
49439 * scripts/data/localplt-s390x-linux-gnu.data: New file.
49441 2010-10-13 Jakub Jelinek <jakub@redhat.com>
49444 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49445 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49447 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49449 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49450 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49451 if one of x and y is very large and the other is subnormal.
49452 * sysdeps/s390/fpu/s_fmaf.c: New file.
49453 * sysdeps/s390/fpu/s_fma.c: New file.
49454 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49455 * sysdeps/powerpc/fpu/s_fma.S: New file.
49456 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49457 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49458 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49460 2010-10-12 Jakub Jelinek <jakub@redhat.com>
49463 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49465 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49466 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49467 * sysdeps/i386/i686/multiarch/s_fma.c: Include
49468 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49469 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49470 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49471 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49473 2010-10-12 Ulrich Drepper <drepper@redhat.com>
49476 * posix/regcomp.c (parse_branch): One more memory leak plugged.
49477 * posix/bug-regex31.input: Add test case.
49479 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49481 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49482 * posix/bug-regex31.input: New file.
49485 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49486 (parse_sub_exp): Fix last change, use postorder.
49488 * posix/bug-regex31.c: New file.
49489 * posix/Makefile: Add rules to build and run bug-regex31.
49491 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49494 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49497 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49498 to have entries in sys_siglist.
49501 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49504 2010-10-07 Jakub Jelinek <jakub@redhat.com>
49507 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49508 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49509 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49510 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49511 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49512 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49513 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49514 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49515 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49516 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49517 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49518 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49519 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49520 * math/ftestexcept.c (fetestexcept): Likewise.
49521 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49522 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49523 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49524 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49525 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49526 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49527 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49529 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49532 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49535 2010-10-06 Ulrich Drepper <drepper@gmail.com>
49537 * string/bug-strstr1.c: New file.
49538 * string/Makefile: Add rules to build and run bug-strstr1.
49540 2010-10-05 Eric Blake <eblake@redhat.com>
49543 * string/str-two-way.h (two_way_long_needle): Always clear memory
49544 when skipping input due to the shift table.
49546 2010-10-03 Ulrich Drepper <drepper@gmail.com>
49549 * malloc/mcheck.c: Handle large requests.
49552 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49553 for strncmp and strncasecmp.
49554 * string/stratcliff.c: Add tests for strcmp and strncmp.
49555 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49557 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49559 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49562 2010-09-30 Andreas Jaeger <aj@suse.de>
49564 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49565 (CGROUP_SUPER_MAGIC): Define.
49566 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49567 Handle btrfs and cgroup file systems.
49568 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49571 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
49573 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49574 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49576 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49579 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49580 trying to locate the ELF header.
49582 2010-09-27 Andreas Schwab <schwab@redhat.com>
49585 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49586 Mask out sign-bit copies when constructing f_fsid.
49588 2010-09-24 Petr Baudis <pasky@suse.cz>
49590 * debug/stack_chk_fail_local.c: Add missing licence exception.
49591 * debug/warning-nop.c: Likewise.
49593 2010-09-15 Joseph Myers <joseph@codesourcery.com>
49595 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49596 implementing getdents64 using getdents syscall, set d_type if
49597 __ASSUME_GETDENTS32_D_TYPE.
49599 2010-09-16 Andreas Schwab <schwab@redhat.com>
49601 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49602 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49604 2010-09-21 Ulrich Drepper <drepper@redhat.com>
49607 * posix/unistd.h: Undo change of feature selection for ftruncate from
49610 2010-09-20 Ulrich Drepper <drepper@redhat.com>
49612 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49615 2010-09-20 Andreas Schwab <schwab@redhat.com>
49617 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49619 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49621 2010-09-14 Andreas Schwab <schwab@redhat.com>
49623 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49624 variables after CHECK_SP call.
49625 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49627 2010-09-13 Andreas Schwab <schwab@redhat.com>
49628 Ulrich Drepper <drepper@redhat.com>
49630 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49631 re-relocationg ld.so.
49632 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49633 _dl_init_paths call.
49634 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49637 2010-09-14 Ulrich Drepper <drepper@redhat.com>
49639 * resolv/res_init.c (__res_vinit): Count the default server we added.
49641 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49642 Ulrich Drepper <drepper@redhat.com>
49645 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49646 (____longjmp_chk): Use %ebx for saving value across system call.
49649 2010-09-06 Andreas Schwab <schwab@redhat.com>
49651 * manual/Makefile: Don't mix pattern rules with normal rules.
49653 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49655 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49657 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49658 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49659 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49660 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49661 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49664 2010-09-04 Ulrich Drepper <drepper@redhat.com>
49667 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49668 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49670 2010-09-02 Ulrich Drepper <drepper@redhat.com>
49672 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49673 * sysdeps/x86_64/addmul_1.S: Likewise.
49674 * sysdeps/x86_64/lshift.S: Likewise.
49675 * sysdeps/x86_64/mul_1.S: Likewise.
49676 * sysdeps/x86_64/rshift.S: Likewise.
49677 * sysdeps/x86_64/sub_n.S: Likewise.
49678 * sysdeps/x86_64/submul_1.S: Likewise.
49680 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49682 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49683 Define __sched_param instead of SCHED_* and sched_param when
49684 <bits/sched.h> is included with __need_schedparam defined.
49685 * bits/sched.h [__need_schedparam]
49686 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49687 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49688 (__defined_schedparam): Define to 1.
49689 (__sched_param): New structure, identical to sched_param.
49690 (__need_schedparam): Undefine.
49692 2010-08-31 Mike Frysinger <vapier@gentoo.org>
49694 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49695 (epoll_create1): Declare.
49697 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49699 2010-08-31 Andreas Schwab <schwab@redhat.com>
49702 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49703 shifting retval into place.
49705 2010-09-01 Ulrich Drepper <drepper@redhat.com>
49707 * nis/rpcsvc/nis.h: Update copyright notice.
49708 * nis/rpcsvc/nis.x: Likewise.
49709 * nis/rpcsvc/nis_callback.h: Likewise.
49710 * nis/rpcsvc/nis_callback.x: Likewise.
49711 * nis/rpcsvc/nis_object.x: Likewise.
49712 * nis/rpcsvc/nis_tags.h: Likewise.
49713 * nis/rpcsvc/yp.h: Likewise.
49714 * nis/rpcsvc/yp.x: Likewise.
49715 * nis/rpcsvc/ypupd.h: Likewise.
49716 * nis/yp_xdr.c: Likewise.
49717 * nis/ypupdate_xdr.c: Likewise.
49719 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49720 mainly the body of pmap_getport. Add parameters to specify timeouts.
49721 (pmap_getport): Use __libc_rpc_getport.
49722 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49723 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49724 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49726 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49731 2010-08-27 Roland McGrath <roland@redhat.com>
49733 * sysdeps/i386/i686/multiarch/Makefile
49734 (CFLAGS-varshift.c): New variable.
49736 2010-08-27 Ulrich Drepper <drepper@redhat.com>
49738 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49739 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49741 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49743 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49745 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49747 * sysdeps/x86_64/strlen.S: Unroll the loop.
49748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49749 strlen-sse2 strlen-sse2-bsf.
49750 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49751 __strlen_no_bsf if bit_Slow_BSF is set.
49752 (__strlen_sse42): Removed.
49753 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49754 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49756 2010-08-25 Roland McGrath <roland@redhat.com>
49758 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49759 * sysdeps/x86_64/multiarch/varshift.c: New file.
49760 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49761 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49762 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49763 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49765 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49767 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49768 strlen-sse2 strlen-sse2-bsf.
49769 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49770 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49771 (__strlen_sse2): Removed.
49772 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49773 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49775 bit_Slow_BSF for Atom.
49776 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49777 (index_Slow_BSF): Define.
49778 (HAS_SLOW_BSF): Define.
49780 2010-08-25 Ulrich Drepper <drepper@redhat.com>
49783 * resolv/res_init.c (__res_vinit): When no server address at all
49784 is given default to loopback.
49786 2010-08-24 Roland McGrath <roland@redhat.com>
49788 * configure.in: Remove config-name.h generation.
49789 * configure: Regenerated.
49790 * config-name.in: File removed.
49791 * scripts/config-uname.sh: New file.
49792 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49793 ($(objdir)config-name.h): New target.
49795 * sunrpc/rpc_parse.h: Avoid nested comment.
49797 2010-08-24 Richard Henderson <rth@redhat.com>
49798 Ulrich Drepper <drepper@redhat.com>
49799 H.J. Lu <hongjiu.lu@intel.com>
49801 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49803 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49804 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49805 _mm_alignr_epi8 with _mm_loadu_si128.
49806 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49807 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49808 (__m128i_shift_right): Removed.
49809 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49810 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49811 * sysdeps/x86_64/multiarch/varshift.h: New file.
49812 * sysdeps/x86_64/multiarch/varshift.S: New file.
49814 2010-08-21 Mike Frysinger <vapier@gentoo.org>
49816 * configure.in: Move assembler checks to before sysdep dir checking.
49818 2010-08-20 Petr Baudis <pasky@suse.cz>
49820 * LICENSES: Sync the sunrpc license.
49822 2010-08-19 Ulrich Drepper <drepper@redhat.com>
49824 * sunrpc/auth_des.c: Update copyright notice once again.
49825 * sunrpc/auth_none.c: Likewise.
49826 * sunrpc/auth_unix.c: Likewise.
49827 * sunrpc/authdes_prot.c: Likewise.
49828 * sunrpc/authuxprot.c: Likewise.
49829 * sunrpc/bindrsvprt.c: Likewise.
49830 * sunrpc/clnt_gen.c: Likewise.
49831 * sunrpc/clnt_perr.c: Likewise.
49832 * sunrpc/clnt_raw.c: Likewise.
49833 * sunrpc/clnt_simp.c: Likewise.
49834 * sunrpc/clnt_tcp.c: Likewise.
49835 * sunrpc/clnt_udp.c: Likewise.
49836 * sunrpc/clnt_unix.c: Likewise.
49837 * sunrpc/des_crypt.c: Likewise.
49838 * sunrpc/des_soft.c: Likewise.
49839 * sunrpc/get_myaddr.c: Likewise.
49840 * sunrpc/getrpcport.c: Likewise.
49841 * sunrpc/key_call.c: Likewise.
49842 * sunrpc/key_prot.c: Likewise.
49843 * sunrpc/openchild.c: Likewise.
49844 * sunrpc/pm_getmaps.c: Likewise.
49845 * sunrpc/pm_getport.c: Likewise.
49846 * sunrpc/pmap_clnt.c: Likewise.
49847 * sunrpc/pmap_prot.c: Likewise.
49848 * sunrpc/pmap_prot2.c: Likewise.
49849 * sunrpc/pmap_rmt.c: Likewise.
49850 * sunrpc/rpc/auth.h: Likewise.
49851 * sunrpc/rpc/auth_unix.h: Likewise.
49852 * sunrpc/rpc/clnt.h: Likewise.
49853 * sunrpc/rpc/des_crypt.h: Likewise.
49854 * sunrpc/rpc/key_prot.h: Likewise.
49855 * sunrpc/rpc/netdb.h: Likewise.
49856 * sunrpc/rpc/pmap_clnt.h: Likewise.
49857 * sunrpc/rpc/pmap_prot.h: Likewise.
49858 * sunrpc/rpc/pmap_rmt.h: Likewise.
49859 * sunrpc/rpc/rpc.h: Likewise.
49860 * sunrpc/rpc/rpc_des.h: Likewise.
49861 * sunrpc/rpc/rpc_msg.h: Likewise.
49862 * sunrpc/rpc/svc.h: Likewise.
49863 * sunrpc/rpc/svc_auth.h: Likewise.
49864 * sunrpc/rpc/types.h: Likewise.
49865 * sunrpc/rpc/xdr.h: Likewise.
49866 * sunrpc/rpc_clntout.c: Likewise.
49867 * sunrpc/rpc_cmsg.c: Likewise.
49868 * sunrpc/rpc_common.c: Likewise.
49869 * sunrpc/rpc_cout.c: Likewise.
49870 * sunrpc/rpc_dtable.c: Likewise.
49871 * sunrpc/rpc_hout.c: Likewise.
49872 * sunrpc/rpc_main.c: Likewise.
49873 * sunrpc/rpc_parse.c: Likewise.
49874 * sunrpc/rpc_parse.h: Likewise.
49875 * sunrpc/rpc_prot.c: Likewise.
49876 * sunrpc/rpc_sample.c: Likewise.
49877 * sunrpc/rpc_scan.c: Likewise.
49878 * sunrpc/rpc_scan.h: Likewise.
49879 * sunrpc/rpc_svcout.c: Likewise.
49880 * sunrpc/rpc_tblout.c: Likewise.
49881 * sunrpc/rpc_util.c: Likewise.
49882 * sunrpc/rpc_util.h: Likewise.
49883 * sunrpc/rpcinfo.c: Likewise.
49884 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49885 * sunrpc/rpcsvc/key_prot.x: Likewise.
49886 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49887 * sunrpc/rpcsvc/mount.x: Likewise.
49888 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49889 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49890 * sunrpc/rpcsvc/rex.x: Likewise.
49891 * sunrpc/rpcsvc/rstat.x: Likewise.
49892 * sunrpc/rpcsvc/rusers.x: Likewise.
49893 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49894 * sunrpc/rpcsvc/spray.x: Likewise.
49895 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49896 * sunrpc/rtime.c: Likewise.
49897 * sunrpc/svc.c: Likewise.
49898 * sunrpc/svc_auth.c: Likewise.
49899 * sunrpc/svc_authux.c: Likewise.
49900 * sunrpc/svc_raw.c: Likewise.
49901 * sunrpc/svc_run.c: Likewise.
49902 * sunrpc/svc_simple.c: Likewise.
49903 * sunrpc/svc_tcp.c: Likewise.
49904 * sunrpc/svc_udp.c: Likewise.
49905 * sunrpc/svc_unix.c: Likewise.
49906 * sunrpc/svcauth_des.c: Likewise.
49907 * sunrpc/xcrypt.c: Likewise.
49908 * sunrpc/xdr.c: Likewise.
49909 * sunrpc/xdr_array.c: Likewise.
49910 * sunrpc/xdr_float.c: Likewise.
49911 * sunrpc/xdr_mem.c: Likewise.
49912 * sunrpc/xdr_rec.c: Likewise.
49913 * sunrpc/xdr_ref.c: Likewise.
49914 * sunrpc/xdr_sizeof.c: Likewise.
49915 * sunrpc/xdr_stdio.c: Likewise.
49917 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49920 2010-08-19 Andreas Schwab <schwab@redhat.com>
49922 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49924 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
49926 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49927 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49928 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49929 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49930 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49931 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49932 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49933 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49934 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49935 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49936 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49937 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49938 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49939 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49941 2010-07-26 Anton Blanchard <anton@samba.org>
49943 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49944 * malloc/arena.c (heap_trim): Likewise.
49946 2010-08-16 Ulrich Drepper <drepper@redhat.com>
49948 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49950 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49951 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49953 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49955 * sysdeps/i386/elf/Makefile: New file.
49957 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49959 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49960 from fanotify_init.
49961 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49962 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49964 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49966 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49968 * sysdeps/multiarch/strcmp.S: Likewise.
49970 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49972 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49973 strncase_l-nonascii.
49974 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49975 Add strncase_l-ssse3.
49976 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49977 * sysdeps/x86_64/strcmp.S: Likewise.
49978 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49979 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49980 * sysdeps/x86_64/strncase.S: New file.
49981 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49982 * sysdeps/x86_64/strncase_l.S: New file.
49983 * string/Makefile (strop-tests): Add strncasecmp.
49984 * string/test-strncasecmp.c: New file.
49986 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49989 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49990 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49992 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49994 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49996 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49998 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49999 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50000 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50002 2010-05-01 Alan Modra <amodra@gmail.com>
50004 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50005 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50006 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50007 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50008 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50009 tidying. Don't tail-call __sigjmp_save for static lib.
50010 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50012 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50013 (CALL_MCOUNT): Add eh info, and nop after bl.
50014 (TAIL_CALL_SYSCALL_ERROR): New macro.
50015 (PSEUDO_RET): Use it.
50016 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50017 Correct save location of integer regs and cr.
50018 (_dl_profile_resolve): Correct cr save location. Delete nops
50019 after bl when SHARED. Reduce cfi size a little by better
50020 placement of cfi directives.
50021 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50022 make a stack frame. Instead use parm save area as a temp.
50023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50024 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
50025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50026 Don't make a stack frame for parent, use parm save area.
50027 Increase child stack frame to 112 bytes. Don't save unused reg,
50028 and adjust reg usage. Set up cfi on error recovery and
50029 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50031 (__makecontext): Add dummy nop after jump to exit.
50032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50033 Use correct parm save area and cr save, reduce stack frame.
50034 Correct cfi for possible PSEUDO_RET frame setup.
50035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50036 Branch to local label emitted by PSEUDO_RET rather than
50039 2010-08-12 Andreas Schwab <schwab@redhat.com>
50042 * locale/programs/locale.c (print_assignment): New function.
50043 (show_locale_vars): Use it.
50045 2010-08-11 Ulrich Drepper <drepper@redhat.com>
50047 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50049 (struct statfs64): Likewise.
50050 (_STATFS_F_FLAGS): Define.
50051 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50052 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50053 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50054 (ST_VALID): Define locally.
50055 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50056 __statvfs_getflags, use the provided value.
50057 * sysdeps/unix/sysv/linux/kernel-features.h: Define
50058 __ASSUME_STATFS_F_FLAGS.
50060 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50062 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50063 Add sys/fanotify.h.
50064 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50065 fanotify_mask for GLIBC_2.13.
50066 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50067 fanotify_init and fanotify_mark.
50068 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50069 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50071 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50073 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50074 prlimit64 for GLIBC_2.13.
50075 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50077 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50080 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50081 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50082 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50083 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
50085 * sysdeps/unix/sysv/linux/prlimit.c: New file.
50088 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50089 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50091 * nss/Makefile: Add rules to build and run tst-nss-test1.
50092 * shlib-versions: Add entry for libnss_test1.
50093 * nss/nss_test1.c: New file.
50094 * nss/tst-nss-test1.c: New file.
50096 * nss/nsswitch.c (__nss_database_custom): Define new variable.
50097 (__nss_configure_lookup): Set appropriate entry in
50098 __nss_configure_lookup to true.
50099 * nss/nsswitch.h: Define enum with indeces of databases in
50100 databases and __nss_database_custom arrays. Declare
50101 __nss_database_custom.
50102 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50103 to avoid using nscd when custom rules are installed.
50104 * nss/getXXbyYY_r.c: Likewise.
50105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50107 * nss/nss_files/files-parse.c: Whitespace fixes.
50109 2010-08-09 Ulrich Drepper <drepper@redhat.com>
50112 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50113 * posix/fnmatch_loop.c: Likewise.
50115 2010-07-17 Andi Kleen <ak@linux.intel.com>
50117 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50118 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50119 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50120 * Versions.def [GLIBC_2.13]: Add.
50122 2010-08-06 Ulrich Drepper <drepper@redhat.com>
50124 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50125 Also fail if tpwd after pwuid call is NULL.
50127 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
50129 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50130 when converting to ms.
50132 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50134 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50135 EOPNOTSUPP errors with ENOTTY.
50136 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50137 EOPNOTSUPP errors with ENOTTY.
50139 2010-07-31 Ulrich Drepper <drepper@redhat.com>
50141 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50142 Add strcasecmp_l-ssse3.
50143 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50145 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50146 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50147 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50149 2010-07-30 Ulrich Drepper <drepper@redhat.com>
50151 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50153 * string/Makefile (strop-tests): Add strcasecmp.
50154 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50155 strcasecmp_l-nonascii.
50156 (gen-as-const-headers): Add locale-defines.sym.
50157 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50158 * sysdeps/x86_64/strcasecmp.S: New file.
50159 * sysdeps/x86_64/strcasecmp_l.S: New file.
50160 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50161 * sysdeps/x86_64/locale-defines.sym: New file.
50162 * string/test-strcasecmp.c: New file.
50164 * string/test-strcasestr.c: Test both ends of the range of characters.
50165 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50167 2010-07-29 Roland McGrath <roland@redhat.com>
50170 * manual/locale.texi (Yes-or-No Questions): Fix example code.
50172 2010-07-27 Ulrich Drepper <drepper@redhat.com>
50174 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50177 2010-07-27 Andreas Schwab <schwab@redhat.com>
50179 * manual/memory.texi (Malloc Tunable Parameters): Document
50182 2010-07-26 Roland McGrath <roland@redhat.com>
50185 * configure.in (-fgnu89-inline check): Set and substitute
50186 gnu89_inline, not libc_cv_gnu89_inline.
50187 * configure: Regenerated.
50188 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50190 2010-07-26 Ulrich Drepper <drepper@redhat.com>
50192 * string/test-strnlen.c: New file.
50193 * string/Makefile (strop-tests): Add strnlen.
50194 * string/tester.c (test_strnlen): Add a few more test cases.
50195 * string/tst-strlen.c: Better error reporting.
50197 * sysdeps/x86_64/strnlen.S: New file.
50199 2010-07-24 Ulrich Drepper <drepper@redhat.com>
50201 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50202 lower-latency instructions.
50204 2010-07-23 Ulrich Drepper <drepper@redhat.com>
50206 * string/test-strcasestr.c: New file.
50207 * string/test-strstr.c: New file.
50208 * string/Makefile (strop-tests): Add strstr and strcasestr.
50209 * string/str-two-way.h: Don't undefine MAX.
50210 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50212 2010-07-21 Andreas Schwab <schwab@redhat.com>
50214 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50215 strcasestr-nonascii.
50216 (CFLAGS-strcasestr-nonascii.c): Define.
50217 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50218 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50219 Remove unused attribute.
50221 2010-07-20 Roland McGrath <roland@redhat.com>
50223 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50224 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
50225 ld.so.cache was broken. With it, there is no way to disable dsocaps
50226 like LD_HWCAP_MASK can disable hwcaps.
50228 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50230 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50232 2010-07-16 Ulrich Drepper <drepper@redhat.com>
50234 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50235 call in strcasestr.
50236 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50237 __strcasestr_sse42_nonascii.
50238 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50239 strcasestr-nonascii.c.
50240 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50242 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
50244 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50245 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50246 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50247 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50249 2010-07-09 Ulrich Drepper <drepper@redhat.com>
50251 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50254 2010-07-06 Andreas Schwab <schwab@redhat.com>
50257 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50260 2010-07-06 Ulrich Drepper <drepper@redhat.com>
50262 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50263 _PC_PIPE_BUF using F_GETPIPE_SZ.
50265 2010-07-05 Roland McGrath <roland@redhat.com>
50267 * manual/arith.texi (Rounding Functions): Fix rint description
50268 implicit in round description.
50270 2010-07-02 Ulrich Drepper <drepper@redhat.com>
50272 * elf/Makefile: Fix linking for a few tests to make recent linker
50275 2010-06-30 Andreas Schwab <schwab@redhat.com>
50277 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50278 $(common-objpfx)libc_nonshared.a.
50280 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
50282 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50283 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50284 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50285 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50286 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50287 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50288 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50289 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50304 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50305 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50306 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50307 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50308 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50309 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50310 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50311 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50312 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50313 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50314 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50315 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50331 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
50333 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50334 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
50335 * string/memmove.c (memmove): Renamed to ...
50336 (MEMMOVE): ...this. Default to memmove.
50337 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50338 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50340 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50341 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50342 mempcpy-ssse3-back memmove-ssse3-back.
50343 * sysdeps/x86_64/multiarch/bcopy.S: New file .
50344 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50345 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50346 * sysdeps/x86_64/multiarch/memcpy.S: New file.
50347 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50348 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50349 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50350 * sysdeps/x86_64/multiarch/memmove.c: New file.
50351 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50352 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50353 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50354 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50355 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50356 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50358 (index_Fast_Copy_Backward): Define.
50359 (HAS_ARCH_FEATURE): Define.
50360 (HAS_FAST_REP_STRING): Define.
50361 (HAS_FAST_COPY_BACKWARD): Define.
50363 2010-06-21 Andreas Schwab <schwab@redhat.com>
50365 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50366 Restore proper fallback handling.
50368 2010-06-19 Ulrich Drepper <drepper@redhat.com>
50371 * posix/group_member.c (__group_member): Correct checking loop.
50373 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50374 OOM in getpwuid_r correctly. Return error number when the caller
50375 should return, otherwise -1.
50376 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50377 call returning > 0 value.
50378 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50380 2010-06-07 Andreas Schwab <schwab@redhat.com>
50382 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50383 libc_nonshared.a from targets in modules-names.
50385 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
50387 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50390 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
50392 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50393 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50394 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50395 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50397 2010-06-02 Andreas Schwab <schwab@redhat.com>
50399 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50401 2010-06-14 Ulrich Drepper <drepper@redhat.com>
50403 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50405 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50406 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50407 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50408 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50409 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50410 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50412 2010-06-14 Roland McGrath <roland@redhat.com>
50414 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50416 2010-06-07 Jakub Jelinek <jakub@redhat.com>
50418 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50419 __REDIRECT followed by __THROW.
50420 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50421 * posix/getopt.h (getopt): Likewise.
50423 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50425 * hurd/lookup-at.c (__file_name_lookup_at): Accept
50426 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
50427 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50429 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50430 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50432 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
50434 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50436 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
50439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50440 Properly check family and model.
50442 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
50444 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50446 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
50448 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50450 2010-05-21 Ulrich Drepper <drepper@redhat.com>
50452 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50455 2010-05-19 Andreas Schwab <schwab@redhat.com>
50457 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50460 2010-05-21 Andreas Schwab <schwab@redhat.com>
50462 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50463 and internal_recvmmsg.
50464 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50465 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50466 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50467 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50469 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50470 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50471 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50473 2010-05-20 Andreas Schwab <schwab@redhat.com>
50475 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50477 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
50479 POWER7 optimizations.
50480 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50481 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50483 2010-05-19 Ulrich Drepper <drepper@redhat.com>
50485 * version.h: Update for 2.13 development version.
50487 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
50489 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50490 exceptions. Return 0.
50492 2010-05-07 Roland McGrath <roland@redhat.com>
50494 * elf/ldconfig.c (main): Add a const.
50496 2010-05-06 Ulrich Drepper <drepper@redhat.com>
50498 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50499 (args_options): Add no-idn option.
50500 (ahosts_keys_int): Add idn_flags to ai_flags.
50501 (parse_option): Handle 'i' option to clear idn_flags.
50503 * malloc/malloc.c (_int_free): Possible race in the most recently
50504 added check. Only act on the data if no current modification
50507 See ChangeLog.17 for earlier changes.